.promo-page {
  min-height: 100dvh;
  overflow-x: hidden;
  background: #070910;
}

.promo-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 7, 13, 0.98) 0%, rgba(4, 7, 13, 0.9) 42%, rgba(4, 7, 13, 0.38) 72%, rgba(4, 7, 13, 0.78) 100%),
    linear-gradient(0deg, rgba(4, 7, 13, 0.96) 0%, transparent 42%),
    url("../images/v2/gallery/time_portal_observation.jpg") center / cover no-repeat;
  pointer-events: none;
}

.promo-page::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  pointer-events: none;
}

.promo-frame {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
}

.promo-topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(16px);
}

.promo-topbar-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 68px;
  margin-inline: auto;
}

.promo-brand img {
  width: min(220px, 42vw);
  max-height: 48px;
  object-fit: contain;
}

.promo-language-links {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promo-language-links a {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.promo-language-links a:hover,
.promo-language-links a[aria-current="page"] {
  border-color: var(--line-strong);
  color: #061118;
  background: var(--cyan);
}

.promo-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.98fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  width: var(--container);
  padding-block: clamp(22px, 4vh, 48px);
  margin-inline: auto;
}

.promo-character {
  position: absolute;
  top: clamp(6px, 1.5vh, 14px);
  z-index: 0;
  width: auto;
  height: min(68dvh, 680px);
  max-width: none;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.72));
  pointer-events: none;
  user-select: none;
}

.promo-character--left {
  right: calc(100% - 28px);
  transform: scaleX(-1);
}

.promo-character--right {
  left: calc(100% - 28px);
  height: min(70dvh, 700px);
}

.promo-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.promo-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.promo-kicker::before {
  width: 28px;
  height: 1px;
  content: "";
  background: var(--cyan);
}

.promo-copy h1 {
  margin-bottom: 8px;
  max-width: 100%;
  font-size: clamp(3rem, 3.7vw, 4.25rem);
  line-height: 0.95;
  white-space: nowrap;
  text-wrap: balance;
}

.promo-tagline {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1.15;
}

.promo-lede {
  max-width: 650px;
  margin-bottom: 18px;
  color: #d4dbea;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.58;
}

.promo-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.promo-highlights li {
  padding: 7px 11px;
  border: 1px solid rgba(88, 217, 239, 0.28);
  border-radius: 999px;
  color: #e8edf7;
  background: rgba(8, 14, 25, 0.74);
  font-size: 0.82rem;
  font-weight: 750;
}

.promo-code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  max-width: 620px;
  padding: 14px 16px;
  border: 1px solid rgba(231, 187, 106, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(38, 26, 54, 0.92), rgba(13, 21, 35, 0.94));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.promo-code-label {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-code strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.045em;
}

.promo-code p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.promo-copy-button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #061118;
  background: var(--cyan);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
}

.promo-downloads {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(88, 217, 239, 0.36);
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 27, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.promo-download-heading {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.promo-download-heading h2 {
  margin-bottom: 3px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.promo-download-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.promo-version {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.promo-platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.promo-platform {
  min-height: 62px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--panel-raised);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.promo-platform:hover,
.promo-platform[aria-pressed="true"] {
  border-color: var(--cyan);
  color: #061118;
  background: linear-gradient(135deg, var(--cyan), #8be9f7);
}

.promo-platform-note {
  min-height: 2.5em;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.promo-download-actions {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 0.82fr);
  gap: 9px;
}

.promo-action {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(20, 29, 45, 0.96);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.25;
}

.promo-action:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.promo-action--primary {
  border-color: transparent;
  color: #061118;
  background: linear-gradient(135deg, var(--cyan), #8be9f7);
}

.promo-action.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.promo-download-help {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.promo-download-help a {
  color: var(--cyan);
  font-weight: 800;
}

.promo-footer {
  width: var(--container);
  padding: 12px 0 18px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.promo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
}

.promo-links a {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.promo-links a:hover {
  color: var(--cyan);
  background: rgba(88, 217, 239, 0.08);
}

.promo-disclaimer {
  margin: 7px 0 0;
  color: #818da1;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  .promo-page::before {
    background:
      linear-gradient(0deg, rgba(4, 7, 13, 0.98) 0%, rgba(4, 7, 13, 0.76) 74%, rgba(4, 7, 13, 0.55) 100%),
      url("../images/v2/gallery/time_portal_observation.jpg") 62% center / cover no-repeat;
  }

  .promo-main {
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: center;
  }

  .promo-character {
    display: none;
  }

  .promo-copy {
    max-width: 760px;
  }

  .promo-copy h1 {
    font-size: clamp(3.2rem, 12vw, 5.5rem);
    white-space: normal;
  }
}

@media (min-width: 1121px) and (max-width: 1580px) {
  .promo-character {
    display: none;
  }
}

@media (max-width: 640px) {
  .promo-topbar-inner {
    min-height: 60px;
  }

  .promo-language-links {
    gap: 2px;
  }

  .promo-language-links a {
    min-width: 29px;
    min-height: 29px;
    padding-inline: 6px;
    font-size: 0.66rem;
  }

  .promo-main {
    width: min(100% - 24px, 1180px);
    padding-block: 24px;
  }

  .promo-code {
    grid-template-columns: 1fr;
  }

  .promo-copy-button {
    width: 100%;
  }

  .promo-downloads {
    padding: 17px;
    border-radius: var(--radius);
  }

  .promo-download-heading {
    align-items: flex-start;
  }

  .promo-platforms {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-download-actions {
    grid-template-columns: 1fr;
  }

  .promo-action {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-action {
    transition: none;
  }
}
