:root {
  --ink: #f4f7ff;
  --muted: #9ba6ba;
  --gold: #d6b97d;
  --cyan: #69c9ff;
  --panel: rgba(5, 10, 22, 0.76);
  --border: rgba(185, 211, 255, 0.18);
  --poster-shift-x: 0px;
  --poster-shift-y: 0px;
  --nebula-one-x: 0px;
  --nebula-one-y: 0px;
  --nebula-two-x: 0px;
  --nebula-two-y: 0px;
  --poster-tilt-x: 0deg;
  --poster-tilt-y: 0deg;
  --glass-x: 50%;
  --glass-y: 45%;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: #02040b;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, rgba(45, 89, 157, 0.14), transparent 42%),
    linear-gradient(180deg, #02040b 0%, #050712 48%, #02030a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.025) 4px);
  mix-blend-mode: screen;
}

button, a { -webkit-tap-highlight-color: transparent; }

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.nebula {
  position: fixed;
  z-index: 1;
  width: 58vw;
  height: 58vw;
  min-width: 580px;
  min-height: 580px;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .12;
  pointer-events: none;
  will-change: transform;
}

.nebula-one {
  top: 4%;
  left: -24%;
  background: radial-gradient(circle, rgba(25, 108, 204, .92), rgba(66, 25, 135, .22) 50%, transparent 72%);
  transform: translate(var(--nebula-one-x), var(--nebula-one-y));
}

.nebula-two {
  right: -24%;
  top: 33%;
  background: radial-gradient(circle, rgba(181, 58, 30, .74), rgba(87, 24, 102, .18) 50%, transparent 72%);
  transform: translate(var(--nebula-two-x), var(--nebula-two-y));
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  box-shadow: inset 0 0 180px 36px rgba(0, 0, 0, .72);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) clamp(18px, 4vw, 58px) 18px;
  background: linear-gradient(180deg, rgba(1, 3, 9, .86), transparent);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: clamp(.68rem, 1.2vw, .82rem);
  letter-spacing: .23em;
  white-space: nowrap;
}

.brand strong { color: var(--gold); font-weight: 650; }

.brand-mark {
  width: 16px;
  height: 24px;
  border: 1px solid rgba(214,185,125,.9);
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(214,185,125,.08));
  filter: drop-shadow(0 0 9px rgba(105,201,255,.4));
}

.audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  background: rgba(7, 11, 23, .56);
  backdrop-filter: blur(14px);
  font: inherit;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.audio-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(105,201,255,.48);
  background: rgba(11, 19, 36, .76);
}

.audio-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.audio-icon { position: relative; width: 23px; height: 18px; display: inline-block; }
.speaker {
  position: absolute;
  left: 1px;
  top: 6px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-right: 0;
}
.speaker::after {
  content: "";
  position: absolute;
  left: 5px;
  top: -4px;
  width: 8px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 66%);
}
.sound-wave {
  position: absolute;
  border: 1px solid currentColor;
  border-left: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 100% 100% 0;
  opacity: 0;
}
.wave-one { left: 14px; top: 5px; width: 5px; height: 9px; }
.wave-two { left: 15px; top: 2px; width: 8px; height: 15px; }
.mute-slash {
  position: absolute;
  left: 10px;
  top: 0;
  width: 1px;
  height: 20px;
  background: currentColor;
  transform: rotate(-42deg);
  transform-origin: center;
}
.audio-toggle[aria-pressed="true"] { color: var(--cyan); }
.audio-toggle[aria-pressed="true"] .sound-wave { opacity: 1; }
.audio-toggle[aria-pressed="true"] .mute-slash { opacity: 0; }

main { position: relative; z-index: 2; }

.hero {
  width: min(1320px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(92px, 10vw, 126px) 0 64px;
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(390px, 1.08fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.poster-stage {
  position: relative;
  width: min(100%, 620px);
  justify-self: end;
  perspective: 1500px;
  transform: translate(var(--poster-shift-x), var(--poster-shift-y));
  transition: transform .18s linear;
}

.poster-halo {
  position: absolute;
  inset: 9% -13% 4%;
  z-index: -1;
  border-radius: 30%;
  background:
    radial-gradient(circle at 50% 30%, rgba(95, 162, 255, .28), transparent 42%),
    radial-gradient(circle at 52% 70%, rgba(184, 76, 42, .20), transparent 52%);
  filter: blur(46px);
  animation: haloPulse 7s ease-in-out infinite;
}

.poster-shell {
  position: relative;
  overflow: hidden;
  transform: rotateX(var(--poster-tilt-x)) rotateY(var(--poster-tilt-y));
  transform-style: preserve-3d;
  border: 1px solid rgba(196, 219, 255, .24);
  border-radius: 5px;
  background: #02040a;
  box-shadow:
    0 42px 90px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.025),
    0 0 70px rgba(65, 139, 255, .12);
  transition: transform .16s ease-out;
}

.poster-shell::before,
.poster-shell::after {
  content: "";
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.poster-shell::before {
  inset: 10px;
  border: 1px solid rgba(255,255,255,.09);
}

.poster-shell::after {
  inset: -20%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.10) 46%, transparent 54%);
  transform: translateX(-60%);
  animation: posterSheen 9s ease-in-out infinite;
}

.poster { display: block; width: 100%; height: auto; }

.poster-glass {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 18%, transparent 80%, rgba(0,0,0,.18)),
    radial-gradient(circle at var(--glass-x) var(--glass-y), rgba(130, 199, 255, .08), transparent 35%);
  mix-blend-mode: screen;
}

.release-panel {
  position: relative;
  min-width: 0;
  max-width: 660px;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 36%),
    var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.release-panel::before,
.release-panel::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.release-panel::before { top: 0; left: 24px; }
.release-panel::after { bottom: 0; right: 24px; transform: rotate(180deg); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.eyebrow span:last-child { transform: rotate(180deg); }

h1 {
  margin: 0;
  max-width: 9ch;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.1rem, 7.2vw, 7rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: .018em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 8%, #bac4d6 48%, #6e788a 82%, #e9edf5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
}

.release-copy {
  max-width: 52ch;
  margin: 22px 0 32px;
  color: #aeb9cb;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(6px, 1.1vw, 14px);
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(105,201,255,.18);
  background: rgba(0, 4, 13, .42);
  box-shadow: inset 0 0 32px rgba(73, 147, 255, .035);
}

.countdown-unit { min-width: 0; text-align: center; }
.countdown-unit strong {
  display: block;
  color: #f6fbff;
  font-family: "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.7vw, 3.5rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: .055em;
  text-shadow: 0 0 22px rgba(105,201,255,.20);
}
.countdown-unit span {
  display: block;
  margin-top: 7px;
  color: #758197;
  font-size: clamp(.56rem, .8vw, .67rem);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.countdown-separator {
  margin-top: -20px;
  color: rgba(214,185,125,.72);
  font-size: 1.4rem;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #738097;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.status-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #77dcff;
  box-shadow: 0 0 12px #77dcff;
  animation: statusPulse 2s ease-in-out infinite;
}

footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 24px max(28px, env(safe-area-inset-bottom));
  color: #626d81;
  font-size: .62rem;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}
.footer-divider { width: 38px; height: 1px; background: rgba(214,185,125,.44); }

.audio-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  max-width: min(340px, calc(100vw - 48px));
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: #bdc7d7;
  background: rgba(5, 9, 18, .92);
  box-shadow: 0 12px 36px rgba(0,0,0,.45);
  font-size: .75rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.audio-notice.visible { opacity: 1; transform: translateY(0); }

@keyframes haloPulse {
  0%, 100% { opacity: .58; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes posterSheen {
  0%, 55% { transform: translateX(-65%); opacity: 0; }
  65% { opacity: 1; }
  82%, 100% { transform: translateX(65%); opacity: 0; }
}
@keyframes statusPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero {
    width: min(760px, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 100px;
  }
  .poster-stage { justify-self: center; width: min(88vw, 570px); }
  .release-panel { justify-self: center; width: 100%; text-align: center; }
  h1 { max-width: none; }
  .release-copy { margin-left: auto; margin-right: auto; }
  .eyebrow, .status-line { justify-content: center; }
}

@media (max-width: 560px) {
  .site-header { padding-left: 14px; padding-right: 14px; }
  .brand span:last-child { display: none; }
  .audio-toggle { padding: 8px 11px; }
  .audio-label { display: none; }
  .hero { width: min(100% - 20px, 520px); padding-bottom: 44px; }
  .poster-stage { width: 94%; }
  .release-panel { padding: 28px 17px 24px; }
  .eyebrow { gap: 8px; font-size: .58rem; letter-spacing: .16em; }
  .eyebrow span { width: 20px; }
  h1 { font-size: clamp(2.45rem, 13.5vw, 4.1rem); overflow-wrap: anywhere; }
  .release-panel { max-width: 100%; }
  .poster-halo { left: -4%; right: -4%; }
  .release-copy { font-size: .93rem; margin-bottom: 25px; }
  .countdown { gap: 3px; padding: 15px 8px; }
  .countdown-unit strong { font-size: clamp(1.55rem, 9vw, 2.4rem); }
  .countdown-unit span { font-size: .47rem; letter-spacing: .12em; }
  .countdown-separator { font-size: 1rem; margin-top: -17px; }
  footer { padding-left: 14px; padding-right: 14px; }
}


/* Keep mobile audio smooth by pausing purely decorative GPU-heavy effects while
   the soundtrack is playing. The starfield continues at an audio-friendly rate. */
@media (max-width: 900px), (pointer: coarse) {
  body.audio-playing .poster-halo,
  body.audio-playing .poster-shell::after,
  body.audio-playing .status-light {
    animation-play-state: paused;
  }

  body.audio-playing .poster-shell::after {
    opacity: 0;
  }

  body.audio-playing .release-panel,
  body.audio-playing .audio-toggle {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .poster-stage, .poster-shell, .nebula { transform: none !important; transition: none !important; }
}
