:root {
  --gold: #ff5722;
  --blue: #ff795e;
  --green: #ff6347;
  --bg: #080808;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: #fff;
  text-align: center;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.container {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 15px;
}

.container img {
  display: block;
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

video {
  display: block;
  width: 100%;
  min-height: 180px;
  margin-top: 10px;
  border-radius: 12px;
  background: #000;
  cursor: pointer;
}

.description {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 40px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(255, 87, 34, 0.25);
  cursor: pointer;
}

.download-btn:hover {
  background: linear-gradient(90deg, #e64a19, var(--green));
}

.download-btn.download-busy {
  opacity: 0.75;
  pointer-events: none;
}

.backup-row {
  display: grid;
  gap: 8px;
  margin: 12px 0 2px;
}

.download-btn.mini {
  min-height: 44px;
  width: 100%;
  padding: 11px 18px;
  font-size: 15px;
}

.overlay,
.poster-overlay,
.full-mask,
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
}

.overlay {
  flex-direction: column;
  padding: 24px;
}

.overlay h2 {
  max-width: 420px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
}

.poster-content {
  position: relative;
  width: min(100%, 480px);
  padding: 0 15px;
  text-align: center;
}

.poster-content img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

#posterDownloadBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.announce,
.lang-switch,
.floating-cta,
.contact-button {
  display: none !important;
}

.full-mask > div,
.modal-card {
  width: min(90vw, 380px);
  padding: 28px 22px;
  border-radius: 12px;
  background: #141414;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.full-mask h2,
.modal-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.full-mask p,
.modal-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
}

.modal-x {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.modal-button,
.modal-link {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  color: #fff;
  font-weight: 700;
}

.modal-link {
  margin-top: 8px;
  background: transparent;
}

@media (max-width: 360px) {
  .container {
    padding: 10px;
  }

  .download-btn {
    width: 100%;
    padding-inline: 18px;
    font-size: 18px;
  }

  #posterDownloadBtn {
    width: auto;
    min-width: 170px;
  }
}
