:root {
  --bg: #060606;
  --bg-soft: #0d0d0f;
  --text: #f6f3ee;
  --muted: #a8a5a2;
  --muted-2: #716d6a;
  --red: #f00516;
  --red-deep: #8f0010;
  --line: rgba(255,255,255,.1);
  --glass: rgba(255,255,255,.04);
  --radius: 22px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #050505;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 25%, rgba(127, 0, 15, .17), transparent 28%),
    radial-gradient(circle at 24% 80%, rgba(255, 0, 22, .07), transparent 26%),
    #050505;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-x: none;
  -webkit-tap-highlight-color: transparent;
}

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

.noise {
  position: fixed;
  inset: 0; z-index: 10; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.vignette { position: fixed; inset: 0; z-index: 9; pointer-events:none; background: radial-gradient(circle at center, transparent 48%, rgba(0,0,0,.62) 100%); }

.scene { position: fixed;
  min-height: 100%; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; width: 42vw; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .15; animation: float 13s ease-in-out infinite alternate; }
.orb-a { background: #e00016; left: -14vw; top: 15vh; }
.orb-b { background: #76000b; right: -13vw; bottom: -5vh; animation-delay: -5s; }
.beam { position: absolute; height: 160vh; width: 26vw; top: -30vh; filter: blur(32px); opacity: .06; transform: rotate(24deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); }
.beam-left { left: 11vw; animation: sweep 14s ease-in-out infinite alternate; }
.beam-right { right: 10vw; transform: rotate(-24deg); animation: sweep 17s ease-in-out infinite alternate-reverse; }
.dust { position:absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 12px rgba(255,255,255,.45); animation: dust 12s linear infinite; }
.dust-1 { left: 18%; top: 62%; animation-delay: -2s; }
.dust-2 { left: 71%; top: 28%; animation-delay: -6s; }
.dust-3 { left: 79%; top: 72%; animation-delay: -9s; }
.dust-4 { left: 38%; top: 19%; animation-delay: -4s; }
.dust-5 { left: 58%; top: 48%; animation-delay: -8s; }

.page-shell {
  position: relative; z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.topbar { min-height: 108px; padding-top: env(safe-area-inset-top); display:flex; align-items:center; justify-content:space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.brand { display:block; width: 170px; filter: drop-shadow(0 10px 22px rgba(230,0,20,.16)); transition: transform .35s ease, filter .35s ease; }
.brand:hover { transform: translateY(-2px); filter: drop-shadow(0 14px 30px rgba(230,0,20,.28)); }
.brand img { display:block; width:100%; height:auto; }
.status-pill { display:flex; align-items:center; gap: 9px; padding: 10px 13px; border:1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); border-radius: 999px; color:#bab7b5; font-size: 11px; letter-spacing:.13em; text-transform:uppercase; backdrop-filter: blur(12px); }
.status-dot { width:8px; height:8px; border-radius:50%; background: var(--red); box-shadow: 0 0 15px rgba(255,0,25,.75); animation:pulse 1.7s ease-in-out infinite; }

.hero { min-height: calc(100vh - 108px); display:grid; grid-template-columns: minmax(0, 1.13fr) minmax(320px, .87fr); align-items:center; gap: 90px; padding: 72px 0 58px; }
.eyebrow { margin:0 0 18px; color:#b7b2af; font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; }
h1 { margin:0; display:flex; flex-direction:column; font-family:Cinzel, Georgia, serif; font-size:clamp(72px, 10.8vw, 148px); line-height:.82; letter-spacing:-.055em; font-weight:700; text-transform:uppercase; }
h1 span:last-child { margin-left: .08em; }
.red { color:var(--red); text-shadow:0 0 28px rgba(235,0,20,.22); }
.lead { max-width: 620px; margin: 30px 0 28px; color: #bbb7b3; font-size: 17px; line-height: 1.8; }
.mini-line { display:flex; align-items:center; gap: 11px; width:min(530px, 100%); color:#77726f; font-size:9px; letter-spacing:.28em; font-weight:800; }
.mini-line .line { height:1px; flex:1; background:linear-gradient(90deg, transparent, rgba(255,255,255,.16)); }
.mini-line .line:last-child { transform:scaleX(-1); }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin-top: 31px; }
.button { min-height:50px; display:inline-flex; align-items:center; justify-content:center; gap:11px; padding: 0 19px; border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--red); box-shadow:0 18px 40px rgba(240,0,22,.2); }
.button-primary:hover { box-shadow:0 20px 50px rgba(240,0,22,.35); }
.play-icon { font-size:10px; transform: translateX(1px); }
.button-ghost { border:1px solid rgba(255,255,255,.11); background:rgba(255,255,255,.025); color:#d4d0cc; }
.button-ghost:hover { border-color:rgba(255,255,255,.23); background:rgba(255,255,255,.05); }

.poster-wrap { position:relative; justify-self:end; width:min(100%, 410px); perspective:1000px; }
.poster-glow { position:absolute; inset:10% 0 -5%; background:radial-gradient(circle, rgba(231,0,18,.24), transparent 61%); filter:blur(36px); animation:glow 4.5s ease-in-out infinite; }
.poster-card { position:relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; aspect-ratio: .69; padding: 22px; display:flex; flex-direction:column; justify-content:space-between; border-radius:28px; border:1px solid rgba(255,255,255,.13); overflow:hidden; background:
  radial-gradient(circle at 52% 48%, rgba(240,0,20,.18), transparent 30%),
  radial-gradient(circle at 50% 90%, rgba(0,0,0,.95), rgba(11,11,12,.92) 55%, rgba(20,20,20,.9));
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.03);
  transform: rotateY(-7deg) rotateX(2deg); transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .7s ease;
}
.poster-wrap:hover .poster-card { transform:rotateY(-1deg) rotateX(0deg) translateY(-7px); box-shadow:0 50px 95px rgba(0,0,0,.56), 0 0 40px rgba(240,0,18,.08), inset 0 0 0 1px rgba(255,255,255,.05); }
.poster-card::before { content:""; position:absolute; inset:0; background:linear-gradient(120deg, transparent 20%, rgba(255,255,255,.07) 42%, transparent 62%); transform:translateX(-120%); animation:shine 6s ease-in-out infinite; }
.poster-top,.poster-bottom { display:flex; justify-content:space-between; color:#77726f; font-size:9px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; position:relative; z-index:1; }
.poster-center { flex:1; display:flex; align-items:center; justify-content:center; flex-direction:column; position:relative; z-index:1; }
.film-ring { position:absolute; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.film-ring-1 { width:68%; aspect-ratio:1; animation:spin 18s linear infinite; }
.film-ring-2 { width:44%; aspect-ratio:1; border-style:dashed; border-color:rgba(240,0,18,.22); animation:spin-reverse 11s linear infinite; }
.heart { font-size:74px; color:#f00018; text-shadow:0 0 35px rgba(240,0,18,.32); animation:heartbeat 2.4s ease-in-out infinite; }
.poster-sub { margin-top:13px; color:#d1cfcc; font-family:Cinzel, Georgia, serif; font-size:11px; letter-spacing:.24em; }

.feature-row { display:grid; grid-template-columns: 1fr .9fr; gap:70px; padding:75px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.feature-kicker { color:var(--red); font-size:10px; font-weight:800; letter-spacing:.25em; text-transform:uppercase; }
.feature-row h2 { margin:12px 0 0; font-family:Cinzel, Georgia, serif; font-size: clamp(32px, 4vw, 54px); line-height:1.02; font-weight:500; letter-spacing:-.03em; }
.feature-row h2 strong { color:#fff; font-weight:700; }
.feature-row p { margin:0; align-self:end; color:#95918e; font-size:15px; line-height:1.9; }
.footer { min-height:86px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:18px; color:#5f5b58; font-size:9px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.footer-center { justify-self:center; color:#797470; }
.footer > :last-child { justify-self:end; }

.modal { position:fixed; inset:0;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right)); z-index:20; display:grid; place-items:center; padding:24px; opacity:0; pointer-events:none; transition:opacity .25s ease; }
.modal.open { opacity:1; pointer-events:auto; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.82); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.modal-card { position:relative; width:min(520px,100%); max-height: calc(100dvh - 48px); overflow:auto; -webkit-overflow-scrolling:touch; padding:44px; border:1px solid rgba(255,255,255,.13); border-radius:24px; background:linear-gradient(145deg, rgba(26,26,28,.96), rgba(10,10,11,.97)); box-shadow:0 45px 100px rgba(0,0,0,.55); transform:translateY(12px) scale(.98); transition:transform .35s ease; }
.modal.open .modal-card { transform:translateY(0) scale(1); }
.modal-close { position:absolute; top:13px; right:16px; width:38px; height:38px; border:0; color:#aaa6a2; background:transparent; font-size:27px; cursor:pointer; }
.modal-overline { color:var(--red); font-size:10px; letter-spacing:.24em; font-weight:900; }
.modal-card h3 { margin:12px 0 12px; font-family:Cinzel, Georgia, serif; font-size:34px; line-height:1.1; }
.modal-card p { margin:0; color:#a19d99; line-height:1.8; font-size:14px; }
.progress { height:2px; margin:28px 0 14px; background:rgba(255,255,255,.08); overflow:hidden; }
.progress span { display:block; width:55%; height:100%; background:var(--red); box-shadow:0 0 18px rgba(240,0,18,.55); animation:progress 2.7s ease-in-out infinite alternate; }
.modal-note { color:#66615e; font-size:9px; font-weight:800; letter-spacing:.2em; }
.modal-note strong { color:#bbb6b2; }

.reveal { opacity:0; transform:translateY(20px); animation:reveal .8s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal-1 { animation-delay:.10s; }
.reveal-2 { animation-delay:.22s; }
.reveal-3 { animation-delay:.35s; }
.reveal-4 { animation-delay:.48s; }
.reveal-5 { animation-delay:.60s; }
.reveal-6 { animation-delay:.72s; }

@keyframes reveal { to { opacity:1; transform:none; } }
@keyframes float { to { transform:translate3d(4vw,-3vh,0) scale(1.05); } }
@keyframes sweep { to { transform:translateX(7vw) rotate(24deg); opacity:.09; } }
@keyframes dust { 0% { transform:translate3d(0,20px,0); opacity:0; } 12% { opacity:.9; } 88% { opacity:.25; } 100% { transform:translate3d(0,-120px,0); opacity:0; } }
@keyframes pulse { 50% { transform:scale(1.35); box-shadow:0 0 20px rgba(255,0,25,.9); } }
@keyframes glow { 50% { transform:scale(1.06); opacity:.28; } }
@keyframes shine { 0%, 20% { transform:translateX(-120%); } 48%,100% { transform:translateX(120%); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes spin-reverse { to { transform:rotate(-360deg); } }
@keyframes heartbeat { 0%,100% { transform:scale(1); } 10% { transform:scale(1.06); } 20% { transform:scale(.98); } 30% { transform:scale(1.04); } 45% { transform:scale(1); } }
@keyframes progress { to { width:86%; } }

/* Desktop/base stylesheet. Mobile-specific rules live in mobile.css. */


/* Desktop-only layering fix: keep cinematic overlays behind all UI content.
   Mobile layering remains controlled independently by mobile.css. */
@media (min-width: 901px) {
  .noise,
  .vignette {
    z-index: 1;
  }

  .scene {
    z-index: 0;
  }

  .page-shell {
    z-index: 2;
  }
}
