/* ============================================================
   SÜPER 1 TAKIM — 2026 stack
   - dvh/svh/lvh dynamic viewport units
   - oklch + color-mix() colors
   - @property animatable custom properties
   - :has() parent selectors
   - container queries
   - scroll-driven animations (animation-timeline)
   - text-wrap balance / pretty
   - content-visibility for offscreen perf
   - light-dark() with color-scheme
   - safe-area-inset for notched phones
   - native dialog + popover styling
   ============================================================ */

/* Modern @property defs — animatable custom props */
@property --hue {
  syntax: "<number>";
  inherits: true;
  initial-value: 230;
}
@property --grad-stop {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

:root {
  color-scheme: dark light;

  /* Brand */
  --brand-yellow: oklch(89% 0.18 95);
  --brand-orange: oklch(75% 0.20 50);
  --brand-pink:   oklch(70% 0.22 5);
  --brand-purple: oklch(62% 0.20 295);
  --brand-cyan:   oklch(82% 0.13 220);
  --brand-red:    oklch(65% 0.23 25);

  /* Dark surface palette (default) */
  --bg-0: oklch(13% 0.06 270);
  --bg-1: oklch(17% 0.07 268);
  --bg-2: oklch(24% 0.10 268);
  --bg-3: oklch(34% 0.12 270);

  --ink:       oklch(97% 0.02 260);
  --ink-soft:  oklch(82% 0.04 260);
  --ink-mute:  oklch(60% 0.05 260);

  --border-1: color-mix(in oklch, white 12%, transparent);
  --border-2: color-mix(in oklch, white 22%, transparent);

  /* Light fallback when user toggles */
  --light-bg-0: oklch(98% 0.02 90);
  --light-bg-1: oklch(94% 0.04 90);
  --light-ink:  oklch(20% 0.04 270);

  /* Type — Bangers ve Fredoka tam Türkçe desteğine sahip (latin-ext).
     Luckiest Guy latin-ext içermediği için kaldırıldı: ş/ğ/İ/ı içeren kelimelerde
     karakter bazında fallback olup karma font görüntüsüne yol açıyordu. */
  --font-display: "Bangers", system-ui, sans-serif;
  --font-comic:   "Bangers", system-ui, sans-serif;
  --font-body:    "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 38px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, .55);

  --max: 1240px;
  --pad-x: clamp(16px, 4vw, 36px);

  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);

  accent-color: var(--brand-yellow);
}


* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-padding-top: 90px;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-0);
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100dvh;
  text-wrap: pretty;
  padding-inline-start: var(--safe-left);
  padding-inline-end: var(--safe-right);
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklch, var(--brand-purple) 25%, transparent), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, color-mix(in oklch, var(--brand-pink) 18%, transparent), transparent 65%),
    radial-gradient(80% 60% at 0% 100%, color-mix(in oklch, var(--brand-cyan) 18%, transparent), transparent 65%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  z-index: -3;
  pointer-events: none;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; color: inherit; padding: 0; }

::selection { background: var(--brand-yellow); color: var(--bg-0); }

/* Skip link */
.skip {
  position: absolute;
  top: -100px; left: 12px;
  background: var(--brand-yellow);
  color: #000;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 100;
  transition: top .15s;
}
.skip:focus-visible { top: 12px; outline: 3px solid var(--ink); outline-offset: 2px; }

/* Better focus rings */
:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===================== Cosmic background ===================== */
.cosmos {
  position: fixed; inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: clip;
}
.stars {
  position: absolute; inset: -50%;
  background-repeat: repeat;
  opacity: .8;
  will-change: transform;
}
.stars-1 {
  background-image:
    radial-gradient(1px 1px at 20% 30%, currentColor 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 60% 70%, currentColor 50%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, currentColor 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 35% 80%, currentColor 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 60%, currentColor 50%, transparent 100%);
  background-size: 600px 600px;
  color: light-dark(oklch(50% 0.05 270), white);
  animation: drift 120s linear infinite;
}
.stars-2 {
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, currentColor 50%, transparent 100%),
    radial-gradient(1px 1px at 47% 55%, currentColor 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 73% 41%, currentColor 50%, transparent 100%),
    radial-gradient(1px 1px at 22% 88%, currentColor 50%, transparent 100%);
  background-size: 800px 800px;
  color: light-dark(oklch(50% 0.05 320), oklch(95% 0.05 320));
  animation: drift 180s linear infinite reverse;
  opacity: .6;
}
.stars-3 {
  background-image:
    radial-gradient(2.2px 2.2px at 25% 25%, currentColor 50%, transparent 100%),
    radial-gradient(2px 2px at 75% 75%, var(--brand-yellow) 60%, transparent 100%),
    radial-gradient(1.8px 1.8px at 45% 88%, currentColor 50%, transparent 100%);
  background-size: 1200px 1200px;
  color: light-dark(black, white);
  animation: twinkle 6s ease-in-out infinite;
}
.aurora {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 90deg at 30% 30%, transparent 0deg, color-mix(in oklch, var(--brand-purple) 18%, transparent) 60deg, transparent 120deg),
    conic-gradient(from 200deg at 70% 70%, transparent 0deg, color-mix(in oklch, var(--brand-pink) 14%, transparent) 80deg, transparent 160deg);
  filter: blur(60px);
  animation: aurora 30s linear infinite;
}
@keyframes drift  { from { transform: translate3d(0,0,0); } to { transform: translate3d(-300px,-300px,0); } }
@keyframes twinkle { 0%,100% { opacity:.5; } 50% { opacity:.95; } }
@keyframes aurora  { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ===================== Section heads ===================== */
section { position: relative; padding: clamp(60px, 8vw, 110px) var(--pad-x); }
/* content-visibility:auto kaldırıldı — IntersectionObserver scroll-reveal'larıyla çakışıyordu
   ve mobilde section içerikleri opacity:0'da donuyordu. Performans için worth değil. */

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 56px);
}
.kicker {
  display: inline-block;
  font-family: var(--font-comic);
  font-size: 14px;
  letter-spacing: 4px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange));
  color: #0a0e3a;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  border: 2px solid #0a0e3a;
  box-shadow: 0 4px 0 rgba(0,0,0,.3);
  transform: rotate(-2deg);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw + 1rem, 96px);
  letter-spacing: 1px;
  line-height: .95;
  margin: 18px 0 10px;
  color: var(--ink);
  text-shadow:
    3px 3px 0 #0a0e3a,
    6px 6px 0 rgba(0,0,0,.4);
  text-wrap: balance;
}
.section-sub {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw + .25rem, 18px);
  margin: 0;
  text-wrap: balance;
}

/* ===================== Nav ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: 14px var(--pad-x);
  padding-block-start: max(14px, var(--safe-top));
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: color-mix(in oklch, var(--bg-0) 55%, transparent);
  border-block-end: 1px solid var(--border-1);
  transition: background .25s, padding .2s, box-shadow .25s;
  box-shadow: 0 4px 22px rgba(0,0,0,.18);
}
.nav::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--brand-yellow) 80%, transparent) 30%, color-mix(in oklch, var(--brand-pink) 80%, transparent) 65%, transparent);
  opacity: .6;
  pointer-events: none;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg-0) 82%, transparent);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw + .5rem, 22px);
  line-height: .95;
  letter-spacing: .5px;
  color: var(--ink);
  text-shadow: 2px 2px 0 #0a0e3a;
}
.logo-text.small { font-size: 16px; }
.logo-bolt {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px color-mix(in oklch, var(--brand-yellow) 55%, transparent));
}
.logo-bolt svg { display: block; }
.logo-one {
  position: absolute;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-red);
  -webkit-text-stroke: 2px #0a0e3a;
  text-shadow: 2px 2px 0 #0a0e3a;
  transform: translate(-2px, 1px);
}
.logo-one.small { font-size: 20px; }

.nav-links {
  display: flex;
  gap: 6px;
  margin-inline-start: auto;
}
.nav-links a {
  font-family: var(--font-comic);
  letter-spacing: 2px;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--brand-yellow); }
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 14px; bottom: 6px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  background: color-mix(in oklch, var(--ink) 5%, transparent);
  color: var(--ink-soft);
  transition: color .2s, background .2s, border-color .2s;
  position: relative;
}
.icon-btn:hover { color: var(--brand-yellow); border-color: var(--brand-yellow); background: color-mix(in oklch, var(--brand-yellow) 8%, transparent); }
.icon-btn .i-sun { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-comic);
  letter-spacing: 2px;
  font-size: 13px;
  padding: 12px 18px;
  background: var(--brand-yellow);
  color: #0a0e3a;
  border-radius: 999px;
  border: 2px solid #0a0e3a;
  box-shadow: 0 6px 0 rgba(0,0,0,.4);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,.4), 0 0 0 4px color-mix(in oklch, var(--brand-yellow) 25%, transparent); }
.nav-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.4); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-1);
}
.nav-burger span {
  width: 22px; height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-cta { display: none; }
  .nav-burger { display: flex; margin-inline-start: auto; }
  .nav-actions { gap: 4px; }

  /* ===== Fullscreen kid-friendly mobile menu ===== */
  .nav-links {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    align-self: stretch;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding:
      calc(env(safe-area-inset-top, 0px) + 70px)
      24px
      calc(env(safe-area-inset-bottom, 0px) + 28px);
    background:
      radial-gradient(120% 70% at 50% -10%, color-mix(in oklch, var(--brand-purple) 40%, transparent), transparent 60%),
      radial-gradient(80% 50% at 110% 110%, color-mix(in oklch, var(--brand-pink) 35%, transparent), transparent 65%),
      radial-gradient(80% 50% at -10% 110%, color-mix(in oklch, var(--brand-cyan) 30%, transparent), transparent 65%),
      linear-gradient(180deg, color-mix(in oklch, var(--bg-0) 92%, black) 0%, var(--bg-0) 100%);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(.98);
    transition: opacity .25s ease, transform .35s cubic-bezier(.2,1.4,.3,1);
  }
  .nav-links.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  /* Comic halftone dot field */
  .nl-bg-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      radial-gradient(circle, color-mix(in oklch, var(--brand-yellow) 22%, transparent) 1.5px, transparent 2px);
    background-size: 22px 22px;
    background-position: 0 0;
    opacity: .35;
    mix-blend-mode: screen;
    animation: nlDotsDrift 18s linear infinite;
  }
  @keyframes nlDotsDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 44px 44px; }
  }

  /* Floating decorative bolts/stars */
  .nl-bolt {
    position: absolute;
    font-size: 28px;
    pointer-events: none;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,.35));
    opacity: 0;
    animation-fill-mode: forwards;
  }
  .nl-bolt-1 { top: 12%;  left: 10%;  color: var(--brand-yellow); }
  .nl-bolt-2 { top: 18%;  right: 14%; color: var(--brand-pink); font-size: 22px; }
  .nl-bolt-3 { bottom: 22%; left: 8%; font-size: 26px; }
  .nl-bolt-4 { bottom: 14%; right: 12%; color: var(--brand-cyan); font-size: 24px; }
  .nav-links.open .nl-bolt {
    animation: nlBoltFloat 3.6s ease-in-out infinite, nlBoltIn .6s ease forwards;
  }
  .nav-links.open .nl-bolt-1 { animation-delay: 0s, .15s; }
  .nav-links.open .nl-bolt-2 { animation-delay: -.9s, .25s; }
  .nav-links.open .nl-bolt-3 { animation-delay: -1.6s, .35s; }
  .nav-links.open .nl-bolt-4 { animation-delay: -2.3s, .45s; }
  @keyframes nlBoltFloat {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50%      { transform: translateY(-10px) rotate(8deg); }
  }
  @keyframes nlBoltIn {
    from { opacity: 0; transform: scale(.4) rotate(-30deg); }
    to   { opacity: 1; }
  }

  /* Close button (extra to the burger) */
  .nl-close {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    inset-inline-end: 16px;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--brand-yellow);
    color: #0a0e3a;
    border: 2px solid #0a0e3a;
    box-shadow: 0 5px 0 rgba(0,0,0,.45);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    z-index: 2;
  }
  .nl-close:hover { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 7px 0 rgba(0,0,0,.45); }
  .nl-close:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.45); }

  /* Eyebrow + Title */
  .nl-eyebrow {
    margin: 4px 0 0;
    text-align: center;
    font-family: var(--font-comic);
    letter-spacing: 3px;
    font-size: 12px;
    color: var(--brand-yellow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .35s .05s, transform .35s .05s;
    text-shadow: 0 2px 0 rgba(0,0,0,.4);
  }
  .nl-title {
    margin: 0 0 14px;
    text-align: center;
    font-family: var(--font-comic);
    font-weight: 400;
    font-size: clamp(38px, 11vw, 56px);
    line-height: .95;
    letter-spacing: 2px;
    color: #fff;
    -webkit-text-stroke: 2px #0a0e3a;
    text-shadow:
      3px 3px 0 #0a0e3a,
      6px 6px 0 color-mix(in oklch, var(--brand-pink) 70%, black);
    transform: rotate(-2deg) translateY(-10px);
    opacity: 0;
    transition: opacity .4s .1s, transform .5s .1s cubic-bezier(.2,1.6,.3,1);
  }
  .nl-title span {
    display: inline-block;
    margin-inline-start: .25em;
    color: var(--brand-yellow);
    text-shadow:
      3px 3px 0 #0a0e3a,
      6px 6px 0 color-mix(in oklch, var(--brand-purple) 70%, black);
    transform: rotate(3deg);
  }
  .nav-links.open .nl-eyebrow,
  .nav-links.open .nl-title {
    opacity: 1;
    transform: translateY(0) rotate(-2deg);
  }
  .nav-links.open .nl-eyebrow { transform: translateY(0); }

  /* Big bouncy menu items */
  .nav-links a:not(.nl-cta) {
    --c: var(--brand-pink);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    font-family: var(--font-comic);
    font-size: 22px;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(160deg,
      color-mix(in oklch, var(--c) 35%, transparent),
      color-mix(in oklch, var(--c) 12%, transparent));
    border: 2px solid #0a0e3a;
    border-radius: 18px;
    box-shadow: 0 6px 0 rgba(0,0,0,.55), inset 0 0 0 2px color-mix(in oklch, var(--c) 60%, transparent);
    text-shadow: 0 2px 0 rgba(0,0,0,.45);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-30px) rotate(-2deg);
    transition: opacity .4s, transform .45s cubic-bezier(.2,1.6,.3,1), background .2s;
  }
  .nav-links a[data-color="pink"]   { --c: var(--brand-pink); }
  .nav-links a[data-color="orange"] { --c: oklch(75% 0.18 60); }
  .nav-links a[data-color="yellow"] {
    --c: var(--brand-yellow);
    color: #0a0e3a;
    text-shadow: 0 2px 0 rgba(255,255,255,.4);
    background: linear-gradient(160deg,
      color-mix(in oklch, var(--brand-yellow) 90%, white),
      color-mix(in oklch, var(--brand-yellow) 70%, transparent));
  }
  .nav-links a[data-color="yellow"] .nl-emoji {
    background: rgba(10,14,58,.18);
    border-color: rgba(10,14,58,.35);
  }
  .nav-links a[data-color="yellow"] .nl-arrow { color: #0a0e3a; }
  .nav-links a[data-color="cyan"]   { --c: var(--brand-cyan); }
  .nav-links a[data-color="purple"] { --c: var(--brand-purple); }

  .nav-links a:not(.nl-cta)::after { display: none; }
  .nav-links a:not(.nl-cta):hover,
  .nav-links a:not(.nl-cta):active {
    transform: translateX(0) rotate(0) scale(1.03);
    background: linear-gradient(160deg,
      color-mix(in oklch, var(--c) 55%, transparent),
      color-mix(in oklch, var(--c) 25%, transparent));
    color: #fff;
  }
  .nl-emoji {
    font-size: 30px;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.28);
    border-radius: 14px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,.3));
    transition: transform .3s cubic-bezier(.2,1.6,.3,1);
  }
  .nav-links a:hover .nl-emoji,
  .nav-links a:active .nl-emoji {
    transform: rotate(-10deg) scale(1.12);
  }
  .nl-label { flex: 1; }
  .nl-arrow {
    font-size: 22px;
    opacity: .85;
    transition: transform .25s;
  }
  .nav-links a:hover .nl-arrow,
  .nav-links a:active .nl-arrow { transform: translateX(6px); }

  /* Stagger entrance */
  .nav-links.open a:not(.nl-cta) {
    opacity: 1;
    transform: translateX(0) rotate(-1deg);
  }
  .nav-links a:not(.nl-cta):nth-of-type(1) { transition-delay: .15s; }
  .nav-links a:not(.nl-cta):nth-of-type(2) { transition-delay: .22s; }
  .nav-links a:not(.nl-cta):nth-of-type(3) { transition-delay: .29s; }
  .nav-links a:not(.nl-cta):nth-of-type(4) { transition-delay: .36s; }
  .nav-links a:not(.nl-cta):nth-of-type(5) { transition-delay: .43s; }
  .nav-links.open a:not(.nl-cta):nth-of-type(odd)  { transform: translateX(0) rotate(-1deg); }
  .nav-links.open a:not(.nl-cta):nth-of-type(even) { transform: translateX(0) rotate(1deg); }

  /* Big CTA in mobile menu */
  .nav-links .nl-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 18px 24px;
    font-family: var(--font-comic);
    font-size: 20px;
    letter-spacing: 3px;
    color: #0a0e3a;
    background: var(--brand-yellow);
    border: 3px solid #0a0e3a;
    border-radius: 22px;
    box-shadow: 0 8px 0 rgba(0,0,0,.55), 0 0 0 4px color-mix(in oklch, var(--brand-yellow) 25%, transparent);
    text-shadow: 0 2px 0 rgba(255,255,255,.35);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px) scale(.95);
    transition: opacity .4s .55s, transform .5s .55s cubic-bezier(.2,1.6,.3,1), box-shadow .15s;
    animation: nlCtaPulse 2.2s ease-in-out infinite;
  }
  .nav-links.open .nl-cta {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .nav-links .nl-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 11px 0 rgba(0,0,0,.55), 0 0 0 6px color-mix(in oklch, var(--brand-yellow) 35%, transparent);
  }
  .nav-links .nl-cta:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 rgba(0,0,0,.55);
  }
  @keyframes nlCtaPulse {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50%      { filter: drop-shadow(0 0 18px color-mix(in oklch, var(--brand-yellow) 60%, transparent)); }
  }

  .nl-foot {
    margin: 12px 0 0;
    text-align: center;
    font-family: var(--font-comic);
    letter-spacing: 4px;
    font-size: 12px;
    color: var(--ink-soft);
    opacity: 0;
    transition: opacity .35s .7s;
  }
  .nav-links.open .nl-foot { opacity: .85; }

  /* Lock body scroll when menu open */
  body.menu-open { overflow: hidden; }

  @media (prefers-reduced-motion: reduce) {
    .nav-links, .nav-links a, .nl-cta, .nl-eyebrow, .nl-title, .nl-bolt, .nl-foot {
      transition: opacity .15s !important;
      animation: none !important;
      transform: none !important;
    }
  }
}

/* Hide close button on desktop */
.nl-close { display: none; }
.nl-bg-dots, .nl-bolt, .nl-eyebrow, .nl-title, .nl-emoji, .nl-arrow, .nl-foot { display: none; }
.nav-links .nl-cta { display: none; }
@media (max-width: 980px) {
  .nl-close, .nl-bg-dots, .nl-eyebrow, .nl-title, .nl-foot { display: block; }
  .nl-bolt { display: inline; }
  .nl-emoji, .nl-arrow { display: grid; }
  .nl-arrow { display: inline; }
  .nav-links .nl-cta { display: inline-flex; }
}
@media (max-width: 480px) {
  .icon-btn { width: 38px; height: 38px; }
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100dvh;
  min-height: 100lvh;
  padding-block: clamp(20px, 4vw, 36px) clamp(80px, 8vw, 120px);
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip;
  isolation: isolate;
}

/* Background video layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.05);
  animation: heroBgZoom 28s ease-in-out infinite alternate;
}
@keyframes heroBgZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.14); }
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--bg-0) 30%, transparent) 0%, color-mix(in oklch, var(--bg-0) 55%, transparent) 50%, color-mix(in oklch, var(--bg-0) 88%, transparent) 100%),
    radial-gradient(80% 60% at 50% 30%, transparent 0%, color-mix(in oklch, var(--bg-0) 35%, transparent) 70%);
  pointer-events: none;
}
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 50%, transparent 50%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { animation: none; }
}
@media (max-width: 720px) {
  .hero-bg-overlay { background:
    linear-gradient(180deg, color-mix(in oklch, var(--bg-0) 55%, transparent) 0%, color-mix(in oklch, var(--bg-0) 70%, transparent) 50%, color-mix(in oklch, var(--bg-0) 92%, transparent) 100%);
  }
}
.hero-flares { position: absolute; inset: 0; pointer-events: none; }
.flare {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  mix-blend-mode: screen;
  animation: floatFlare 18s ease-in-out infinite;
}
.flare-pink { background: var(--brand-pink); top: -20%; left: -15%; }
.flare-purple { background: var(--brand-purple); bottom: -25%; left: 30%; animation-delay: -6s; }
.flare-cyan { background: var(--brand-cyan); top: 10%; right: -20%; animation-delay: -12s; }
@keyframes floatFlare {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-40px) scale(1.08); }
}

.hero-grid {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  position: relative;
  container-type: inline-size;
  container-name: hero;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
}

.hero-tagline {
  font-family: var(--font-comic);
  letter-spacing: 4px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in oklch, var(--ink) 8%, transparent);
  border: 1px solid var(--border-2);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.tag-bolt { color: var(--brand-yellow); filter: drop-shadow(0 0 6px var(--brand-yellow)); }
.tag-text { letter-spacing: 4px; order: 3; font-size: 13px; }
.hero-tagline { gap: 10px; padding-block: 6px; padding-inline: 12px; }
.hero-tagline .tag-logo {
  height: 22px;
  width: auto;
  display: inline-block;
  order: 2;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.5));
  transition: transform .25s ease, filter .25s ease;
}
.hero-tagline:hover .tag-logo { transform: scale(1.06) rotate(-1.5deg); filter: drop-shadow(0 0 12px color-mix(in oklch, var(--brand-yellow) 60%, transparent)); }
@media (max-width: 480px) {
  .tag-text { font-size: 11px; letter-spacing: 2.5px; }
  .hero-tagline .tag-logo { height: 18px; }
}

.hero-title {
  font-family: var(--font-display);
  margin: 0;
  display: grid;
  gap: 4px;
  line-height: .92;
  text-wrap: balance;
}
.hero-title .t1 {
  font-size: clamp(44px, 8.5vw + 0.5rem, 132px);
  background: linear-gradient(180deg, var(--ink) 0%, color-mix(in oklch, var(--ink) 70%, var(--brand-purple)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}
.hero-title .t2 {
  font-size: clamp(54px, 11vw + 1rem, 180px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-shadow:
    4px 4px 0 #0a0e3a,
    8px 8px 0 color-mix(in oklch, var(--brand-pink) 55%, transparent);
  letter-spacing: 2px;
  white-space: nowrap;
}
.t2-bolt { display: inline-flex; }
.t2-bolt svg {
  width: clamp(36px, 6vw + .5rem, 56px);
  height: auto;
  filter: drop-shadow(0 6px 0 #0a0e3a) drop-shadow(0 0 22px color-mix(in oklch, var(--brand-yellow) 55%, transparent));
  animation: zap 2.4s ease-in-out infinite;
}
@keyframes zap {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  20%      { transform: rotate(2deg)  scale(1.05); }
  40%      { transform: rotate(-3deg) scale(.96); }
  60%      { transform: rotate(1deg)  scale(1.02); }
}
.hero-title .t3 {
  font-family: var(--font-comic);
  letter-spacing: 4px;
  font-size: clamp(13px, 1.3vw + .25rem, 22px);
  color: var(--brand-yellow);
  margin-top: 8px;
  text-shadow: 2px 2px 0 #0a0e3a;
}
@media (max-width: 980px) { .hero-title .t2 { justify-content: center; } }
@media (max-width: 480px) {
  .hero-title .t1 { font-size: clamp(38px, 11vw, 50px); }
  .hero-title .t2 {
    font-size: clamp(44px, 13vw, 56px);
    gap: 6px; letter-spacing: 1px;
    flex-wrap: wrap; white-space: normal; justify-content: center;
  }
  .t2-bolt svg { width: 36px; }
  .hero-title .t3 { font-size: 13px; letter-spacing: 3px; }
}

.hero-lede {
  margin: 24px 0 28px;
  font-size: clamp(15px, 1vw + .5rem, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  text-wrap: balance;
}
@media (max-width: 980px) { .hero-lede { margin-inline: auto; } }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-end: 32px;
}
@media (max-width: 980px) { .hero-cta-row { justify-content: center; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: 14px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 2px solid #0a0e3a;
  transition: transform .12s, box-shadow .12s, background .2s;
  white-space: nowrap;
  min-block-size: 48px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  color: #0a0e3a;
  box-shadow: 0 8px 0 rgba(0,0,0,.45), 0 0 0 0 transparent;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 11px 0 rgba(0,0,0,.45), 0 0 30px color-mix(in oklch, var(--brand-yellow) 45%, transparent); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0,0,0,.45); }
.btn-ghost {
  background: color-mix(in oklch, var(--ink) 6%, transparent);
  color: var(--ink);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  background: color-mix(in oklch, var(--ink) 12%, transparent);
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
}

/* Countdown */
.countdown {
  background: color-mix(in oklch, var(--ink) 5%, transparent);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  padding: 18px 20px;
  max-width: 520px;
  margin-block-end: 24px;
}
@media (max-width: 980px) { .countdown { margin-inline: auto; } }
.cd-label {
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--ink-mute);
  margin-block-end: 12px;
}
.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cd-cell {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 2px solid var(--bg-3);
  border-radius: var(--r-sm);
  padding: 12px 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cd-cell::after {
  content: "";
  position: absolute; inset: 0 0 50% 0;
  background: linear-gradient(180deg, color-mix(in oklch, white 8%, transparent), transparent);
  pointer-events: none;
}
.cd-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw + .5rem, 40px);
  color: var(--brand-yellow);
  text-shadow: 2px 2px 0 #0a0e3a;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  transition: --grad-stop .8s;
}
.cd-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-mute);
  margin-top: 4px;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .countdown { padding: 14px 12px; }
  .cd-grid { gap: 6px; }
  .cd-cell { padding: 10px 4px; }
  .cd-num { font-size: 24px; }
  .cd-tag { font-size: 9px; letter-spacing: 1.5px; }
}

.studio-row {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
@media (max-width: 980px) { .studio-row { justify-content: center; } }
.studio-row li {
  padding: 6px 12px;
  border: 1px solid var(--border-1);
  border-radius: 999px;
}
.studio-row li.studio-logo-li {
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
}
.studio-row .studio-logo {
  height: 18px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.5));
}
.studio-row li.studio-logo-li:hover {
  background: color-mix(in oklch, var(--brand-yellow) 14%, transparent);
  border-color: var(--brand-yellow);
}

/* Hero poster */
.hero-poster {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  isolation: isolate;
}
.poster-frame {
  position: relative;
  width: min(100%, 460px);
  border-radius: var(--r-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateY(-6deg) rotateX(4deg);
  box-shadow: var(--shadow-lg), 0 0 0 6px color-mix(in oklch, var(--brand-yellow) 12%, transparent);
  transition: transform .4s ease;
  will-change: transform;
}
.poster-frame:hover { transform: rotateY(0) rotateX(0) scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .poster-frame, .poster-frame:hover { transform: none; }
}
.poster-img {
  width: 100%;
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.poster-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklch, var(--brand-yellow) 25%, transparent), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: posterPulse 5s ease-in-out infinite;
  z-index: -1;
}
@keyframes posterPulse { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
.poster-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 10px;
  font-family: var(--font-display);
  font-size: clamp(11px, 1vw + .25rem, 14px);
  text-align: center;
  background: var(--brand-red);
  color: white;
  padding: 10px 14px;
  border: 3px solid #0a0e3a;
  border-radius: 12px;
  transform: rotate(8deg);
  box-shadow: 0 6px 0 rgba(0,0,0,.4);
  letter-spacing: 1px;
  line-height: 1.1;
  display: grid;
  gap: 2px;
}
.poster-badge b {
  font-size: clamp(9px, .9vw + .1rem, 11px);
  letter-spacing: 3px;
  color: var(--brand-yellow);
}

/* Comic pop bubbles — contained inside poster column */
.hero-pop {
  position: absolute;
  font-family: var(--font-display);
  letter-spacing: 1px;
  font-size: clamp(18px, 2vw + .25rem, 28px);
  padding: 12px 18px;
  border: 4px solid #0a0e3a;
  background: var(--brand-yellow);
  color: #0a0e3a;
  box-shadow: 6px 6px 0 #0a0e3a;
  animation: popFloat 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  --r: -8deg;
  transform: rotate(var(--r));
}
.pop-pow {
  top: 4%;
  inset-inline-start: 0;
  background: var(--brand-yellow);
  border-radius: 50%;
  padding: 14px 18px;
  --r: -12deg;
}
.pop-zap {
  bottom: 16%;
  inset-inline-start: 2%;
  background: var(--brand-cyan);
  color: #0a0e3a;
  border-radius: 14px;
  animation-delay: -1.2s;
  --r: 10deg;
}
.pop-boom {
  top: 8%;
  inset-inline-end: 0;
  background: var(--brand-pink);
  color: white;
  border-radius: 18px;
  animation-delay: -2.4s;
  --r: 8deg;
}
@keyframes popFloat {
  0%,100% { transform: translateY(0) rotate(var(--r)); }
  50%     { transform: translateY(-12px) rotate(var(--r)); }
}

@container hero (max-width: 720px) {
  .hero-pop { display: none; }
  .poster-frame { transform: none; }
  .poster-frame:hover { transform: scale(1.01); }
}

/* Scroll cue */
.scroll-down {
  position: absolute;
  bottom: calc(20px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--ink-mute);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  background: color-mix(in oklch, var(--ink) 4%, transparent);
  animation: bob 2.5s ease-in-out infinite;
  transition: color .2s, border-color .2s;
}
.scroll-down:hover { color: var(--brand-yellow); border-color: var(--brand-yellow); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ===================== STORY ===================== */
.story-grid {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 980px) { .story-grid { grid-template-columns: 1fr; } }

.story-card {
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 4%, transparent), color-mix(in oklch, var(--ink) 1%, transparent)),
    radial-gradient(120% 100% at 0% 0%, color-mix(in oklch, var(--brand-purple) 18%, transparent), transparent 60%);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.6vw, 42px);
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, color-mix(in oklch, var(--brand-yellow) 18%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.story-card p {
  font-size: clamp(15px, .8vw + .65rem, 17.5px);
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.story-card p:last-child { margin: 0; }
.story-card strong { color: var(--ink); font-weight: 600; }
.story-card em { color: var(--brand-yellow); font-style: normal; font-weight: 600; }
.story-punch {
  border-block-start: 1px dashed var(--border-2);
  padding-block-start: 16px;
  font-size: 17px !important;
}
.hl {
  background: linear-gradient(120deg, transparent 12%, color-mix(in oklch, var(--brand-yellow) 32%, transparent) 12% 88%, transparent 88%);
  padding: 0 4px;
  font-weight: 600;
  color: var(--ink);
}
.hl.bright { background: linear-gradient(120deg, transparent 12%, color-mix(in oklch, var(--brand-cyan) 32%, transparent) 12% 88%, transparent 88%); }
.hl.danger { background: linear-gradient(120deg, transparent 12%, color-mix(in oklch, var(--brand-red) 32%, transparent) 12% 88%, transparent 88%); color: white; }

.story-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  perspective: 1200px;
}
@media (max-width: 540px) { .story-side { grid-template-columns: 1fr 1fr; gap: 12px; } }

.story-stat {
  --accent-1: var(--brand-yellow);
  --accent-2: var(--brand-orange);
  position: relative;
  display: grid;
  gap: 6px;
  text-align: center;
  padding: clamp(20px, 2.4vw, 30px) clamp(14px, 2vw, 22px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklch, var(--accent-1) 18%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 7%, transparent), color-mix(in oklch, var(--ink) 1%, transparent));
  border: 1px solid color-mix(in oklch, var(--accent-1) 28%, var(--border-1));
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform .35s cubic-bezier(.2,1.6,.3,1), border-color .3s, box-shadow .35s;
  box-shadow:
    0 4px 14px rgba(0,0,0,.25),
    inset 0 1px 0 color-mix(in oklch, white 8%, transparent);
}
.story-stat[data-accent="hero"]    { --accent-1: var(--brand-yellow); --accent-2: var(--brand-orange); }
.story-stat[data-accent="laugh"]   { --accent-1: var(--brand-pink);   --accent-2: oklch(60% 0.22 0); }
.story-stat[data-accent="machine"] { --accent-1: var(--brand-cyan);   --accent-2: var(--brand-purple); }
.story-stat[data-accent="release"] { --accent-1: var(--brand-yellow); --accent-2: var(--brand-pink); }

/* Animated gradient ring */
.story-stat::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--ang, 0deg), color-mix(in oklch, var(--accent-1) 90%, transparent), color-mix(in oklch, var(--accent-2) 70%, transparent), color-mix(in oklch, var(--accent-1) 90%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  z-index: 1;
  pointer-events: none;
  animation: ringSpin 6s linear infinite;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ringSpin { to { --ang: 360deg; } }
.story-stat:hover::before { opacity: 1; }

/* Inner radial highlight that follows cursor */
.story-stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 160px at var(--mx, 50%) var(--my, 30%), color-mix(in oklch, var(--accent-1) 25%, transparent) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 1;
}
.story-stat:hover::after { opacity: 1; }

.story-stat:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-3deg) scale(1.02);
  border-color: color-mix(in oklch, var(--accent-1) 70%, transparent);
  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 0 50px color-mix(in oklch, var(--accent-1) 25%, transparent),
    inset 0 1px 0 color-mix(in oklch, white 12%, transparent);
}

.story-stat .stat-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin: 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in oklch, var(--accent-1) 28%, transparent), color-mix(in oklch, var(--accent-2) 18%, transparent));
  border: 1px solid color-mix(in oklch, var(--accent-1) 45%, transparent);
  color: var(--accent-1);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px color-mix(in oklch, var(--accent-1) 35%, transparent));
  transition: transform .4s cubic-bezier(.2,1.6,.3,1), background .3s;
}
.story-stat:hover .stat-icon {
  transform: rotate(-8deg) scale(1.15) translateY(-2px);
  background: linear-gradient(135deg, color-mix(in oklch, var(--accent-1) 45%, transparent), color-mix(in oklch, var(--accent-2) 35%, transparent));
}

.story-stat .num {
  display: block;
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw + 1rem, 76px);
  background: linear-gradient(180deg, white 0%, color-mix(in oklch, white 40%, var(--accent-1)) 60%, var(--accent-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: .95;
  letter-spacing: 1px;
  text-shadow: 0 0 30px color-mix(in oklch, var(--accent-1) 55%, transparent);
  transition: transform .4s cubic-bezier(.2,1.6,.3,1), filter .3s;
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,.45));
}
.story-stat .num.inf {
  font-size: clamp(56px, 6vw + 1rem, 92px);
  font-family: var(--font-body);
  font-weight: 800;
}
.story-stat:hover .num {
  transform: scale(1.1);
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,.45)) drop-shadow(0 0 16px color-mix(in oklch, var(--accent-1) 70%, transparent));
}

.story-stat .lbl {
  display: block;
  position: relative;
  z-index: 2;
  margin-top: 4px;
  font-family: var(--font-comic);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: color-mix(in oklch, white 75%, var(--accent-1));
  transition: color .3s, letter-spacing .3s;
}
.story-stat:hover .lbl {
  color: white;
  letter-spacing: 4px;
}

/* Sparkle dots that drift in on hover */
.story-stat .stat-sparkle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 18% 28%, color-mix(in oklch, var(--accent-1) 90%, transparent), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 22%, white, transparent 60%),
    radial-gradient(2.2px 2.2px at 75% 78%, color-mix(in oklch, var(--accent-2) 85%, transparent), transparent 60%),
    radial-gradient(1.6px 1.6px at 24% 86%, white, transparent 60%),
    radial-gradient(1.8px 1.8px at 50% 50%, color-mix(in oklch, var(--accent-1) 85%, transparent), transparent 60%);
  opacity: .35;
  transition: opacity .4s;
  animation: sparkleDrift 5s linear infinite;
  z-index: 1;
}
.story-stat:hover .stat-sparkle { opacity: 1; }
@keyframes sparkleDrift {
  0%   { transform: translate3d(0,0,0); }
  50%  { transform: translate3d(8px, -6px, 0); }
  100% { transform: translate3d(0,0,0); }
}

/* Bolt for release card */
.story-stat .stat-bolt {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  z-index: 3;
  color: var(--brand-yellow);
  filter: drop-shadow(0 4px 0 #0a0e3a) drop-shadow(0 0 12px color-mix(in oklch, var(--brand-yellow) 60%, transparent));
  animation: zap 2.4s ease-in-out infinite;
}
.story-stat .stat-bolt svg { display: block; }

@media (prefers-reduced-motion: reduce) {
  .story-stat::before { animation: none; }
  .story-stat .stat-bolt { animation: none; }
  .story-stat .stat-sparkle { animation: none; }
}

/* ============================================================
   🎆 EXPANDED ANIMATION PACK
   ============================================================ */

/* Floating particles drifting upward across hero */
.particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  bottom: -10%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-yellow);
  opacity: 0;
  filter: blur(.5px) drop-shadow(0 0 8px color-mix(in oklch, var(--brand-yellow) 80%, transparent));
  animation: particleRise var(--dur, 9s) linear infinite;
  animation-delay: var(--del, 0s);
}
.particle:nth-child(3n)   { background: var(--brand-pink); width: 4px; height: 4px; }
.particle:nth-child(4n)   { background: var(--brand-cyan); width: 5px; height: 5px; }
.particle:nth-child(5n)   { background: white; opacity: .6; }
.particle:nth-child(7n)   { width: 8px; height: 8px; background: var(--brand-orange); }
@keyframes particleRise {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.6); }
  10%  { opacity: 1; }
  90%  { opacity: .8; }
  100% { opacity: 0; transform: translate3d(var(--dx, 40px), -110vh, 0) scale(1.3); }
}

/* Pulsing glow rings around hero CTAs */
.btn-primary {
  position: relative;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid color-mix(in oklch, var(--brand-yellow) 60%, transparent);
  opacity: 0;
  animation: ctaPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid color-mix(in oklch, var(--brand-pink) 60%, transparent);
  opacity: 0;
  animation: ctaPulse 2.6s 1.3s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Studio row — infinite marquee feel */
.studio-row {
  perspective: 600px;
}
.studio-row li {
  animation: studioBob 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .25s);
}
.studio-row li:nth-child(1) { --i: 0; }
.studio-row li:nth-child(2) { --i: 1; }
.studio-row li:nth-child(3) { --i: 2; }
@keyframes studioBob {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50%      { transform: translateY(-4px) rotateX(8deg); }
}

/* Hero comic pop bubbles — wobble + spin variants */
.pop-pow  { animation: popFloat 3.5s ease-in-out infinite, popPulse 1.6s ease-in-out infinite; }
.pop-zap  { animation: popFloat 3.5s -1.2s ease-in-out infinite, popWobble 2s -.5s ease-in-out infinite; }
.pop-boom { animation: popFloat 3.5s -2.4s ease-in-out infinite, popSpin 6s linear infinite; }
@keyframes popPulse  { 0%,100% { box-shadow: 6px 6px 0 #0a0e3a; } 50% { box-shadow: 6px 6px 0 #0a0e3a, 0 0 30px color-mix(in oklch, var(--brand-yellow) 70%, transparent); } }
@keyframes popWobble { 0%,100% { letter-spacing: 1px; } 50% { letter-spacing: 3px; } }
@keyframes popSpin   { from { rotate: var(--r); } to { rotate: calc(var(--r) + 360deg); } }

/* Section title underline sweep */
.section-title {
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--brand-yellow), var(--brand-pink), transparent);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: titleSweep 2.4s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 80%;
}
@keyframes titleSweep {
  to { width: 60%; }
}

/* Kicker badge pulse */
.kicker {
  animation: kickerWiggle 4s ease-in-out infinite;
}
@keyframes kickerWiggle {
  0%, 100% { transform: rotate(-2deg); }
  25%      { transform: rotate(2deg) scale(1.04); }
  50%      { transform: rotate(-3deg) scale(.98); }
  75%      { transform: rotate(1deg)  scale(1.02); }
}

/* Cast tab bouncing underline indicator */
.cast-tab.active::after {
  content: "";
  position: absolute;
  inset: auto 8px -2px 8px;
  height: 3px;
  background: rgba(0,0,0,.6);
  border-radius: 999px;
  animation: tabUnderline .7s cubic-bezier(.2,1.6,.3,1) both;
}
@keyframes tabUnderline {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* Cast art floating particles */
.cast-art {
  position: relative;
}
.cast-art .cast-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(8px 8px at 20% 30%, color-mix(in oklch, var(--accent) 80%, transparent), transparent 60%),
    radial-gradient(6px 6px at 75% 25%, color-mix(in oklch, white 60%, transparent), transparent 60%),
    radial-gradient(10px 10px at 30% 78%, color-mix(in oklch, var(--accent) 70%, transparent), transparent 60%),
    radial-gradient(7px 7px at 80% 70%, color-mix(in oklch, white 50%, transparent), transparent 60%);
  opacity: .35;
  animation: castAuraDrift 8s ease-in-out infinite;
}
@keyframes castAuraDrift {
  0%, 100% { transform: translate(0,0) rotate(0); }
  33%      { transform: translate(8px, -10px) rotate(4deg); }
  66%      { transform: translate(-6px, 8px) rotate(-3deg); }
}

/* Story card edge glow scan */
.story-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--scAng, 0deg), transparent 0deg, color-mix(in oklch, var(--brand-yellow) 80%, transparent) 30deg, color-mix(in oklch, var(--brand-pink) 70%, transparent) 60deg, transparent 100deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  animation: scanRing 8s linear infinite;
}
.story-card:hover::after { opacity: 1; }
@property --scAng { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes scanRing { to { --scAng: 360deg; } }

/* Trailer / teaser thumb breathing */
.trailer-thumb, .teaser-thumb {
  animation: thumbBreath 8s ease-in-out infinite;
}
@keyframes thumbBreath {
  0%, 100% { transform: scale(1.02); }
  50%      { transform: scale(1.06); }
}

/* Trailer/teaser play button bounce */
.trailer-play, .teaser-play {
  animation: playBounce 1.4s ease-in-out infinite;
}
@keyframes playBounce {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.06); }
}
.trailer-frame:hover .trailer-play, .teaser-frame:hover .teaser-play {
  animation: playBounceHover .8s ease-in-out infinite;
}
@keyframes playBounceHover {
  0%, 100% { transform: translate(-50%, -50%) scale(1.08); }
  50%      { transform: translate(-50%, -50%) scale(1.14); }
}

/* Trailer/teaser badge bounce in */
.trailer-badge, .teaser-badge {
  animation: badgeBlink 2.2s ease-in-out infinite;
}
@keyframes badgeBlink {
  0%, 100% { color: var(--brand-yellow); }
  50%      { color: var(--brand-pink); }
}

/* Credit blocks staggered float */
.credit-block {
  animation: creditFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .35s);
}
.credit-block:nth-child(1) { --i: 0; }
.credit-block:nth-child(2) { --i: 1; }
.credit-block:nth-child(3) { --i: 2; }
.credit-block:nth-child(4) { --i: 3; }
.credit-block:nth-child(5) { --i: 4; }
.credit-block:nth-child(6) { --i: 5; }
.credit-block:nth-child(7) { --i: 6; }
.credit-block:nth-child(8) { --i: 7; }
@keyframes creditFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Release banner constant glow */
.release-banner {
  animation: bannerGlow 4s ease-in-out infinite;
}
@keyframes bannerGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  50%      { box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 60px color-mix(in oklch, var(--brand-yellow) 30%, transparent); }
}

/* Cast tab dot pulse on active */
.cast-tab.active .dot {
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px rgba(0,0,0,.3); }
  50%      { transform: scale(1.4); box-shadow: 0 0 0 2px rgba(0,0,0,.3), 0 0 18px color-mix(in oklch, var(--c, white) 80%, transparent); }
}

/* Hero tagline shake on hover */
.hero-tagline:hover {
  animation: tinyShake .4s ease-in-out;
}
@keyframes tinyShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-2px) rotate(-1deg); }
  75%      { transform: translateX(2px)  rotate(1deg); }
}

/* Nav link letters wave on hover */
.nav-links a:hover { animation: navLinkWave .5s ease; }
@keyframes navLinkWave {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Scroll-down chevron arrow trail */
.scroll-down::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid color-mix(in oklch, var(--brand-yellow) 30%, transparent);
  opacity: 0;
  animation: scrollHint 2s ease-out infinite;
  pointer-events: none;
}
@keyframes scrollHint {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Sticky countdown digits glow when seconds tick */
.cd-cell {
  animation: cdAmbient 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .3s);
}
.cd-cell:nth-child(1) { --i: 0; }
.cd-cell:nth-child(2) { --i: 1; }
.cd-cell:nth-child(3) { --i: 2; }
.cd-cell:nth-child(4) { --i: 3; }
@keyframes cdAmbient {
  0%, 100% { box-shadow: inset 0 0 0 transparent; }
  50%      { box-shadow: inset 0 0 14px color-mix(in oklch, var(--brand-yellow) 16%, transparent); }
}

/* Marquee text band — between sections */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  background: linear-gradient(90deg, color-mix(in oklch, var(--brand-yellow) 22%, transparent), color-mix(in oklch, var(--brand-pink) 22%, transparent));
  border-block: 2px solid #0a0e3a;
  transform: rotate(-1.5deg);
  margin-block: -10px;
}
.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeMove 22s linear infinite;
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: clamp(20px, 2.4vw, 30px);
  color: white;
  text-shadow: 2px 2px 0 #0a0e3a;
  width: max-content;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-track .dot { width: 10px; height: 10px; border-radius: 50%; background: #0a0e3a; flex: 0 0 auto; }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Confetti rain on click anywhere */
.confetti {
  position: fixed;
  top: -20px;
  width: 8px; height: 14px;
  pointer-events: none;
  z-index: 8400;
  animation: confettiFall var(--dur, 1.6s) cubic-bezier(.2,.8,.4,1) forwards;
}
@keyframes confettiFall {
  0%   { transform: translate3d(0,0,0) rotate(0); opacity: 1; }
  100% { transform: translate3d(var(--dx, 60px), 110vh, 0) rotate(var(--rot, 720deg)); opacity: .8; }
}

/* Cursor trail dots */
.cursor-trail {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-yellow);
  pointer-events: none;
  z-index: 8800;
  mix-blend-mode: screen;
  animation: trailFade .8s ease-out forwards;
  filter: blur(.5px) drop-shadow(0 0 6px color-mix(in oklch, var(--brand-yellow) 80%, transparent));
}
@keyframes trailFade {
  0%   { opacity: .8; transform: scale(1); }
  100% { opacity: 0; transform: scale(.3); }
}

/* Cast art floating tilt parallax-friendly */
.cast-art img {
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.cast-panel.active:hover .cast-art img { transform: scale(1.05) rotate(-2deg); }

/* Logo bolt jiggling rotate when hovered nav-logo */
.nav-logo:hover .nav-logo-img {
  animation: navLogoJiggle .55s cubic-bezier(.2,1.6,.3,1);
}
@keyframes navLogoJiggle {
  0%   { transform: scale(1) rotate(0); }
  35%  { transform: scale(1.08) rotate(-4deg); }
  65%  { transform: scale(1.02) rotate(3deg); }
  100% { transform: scale(1.05) rotate(-1.5deg); }
}

/* Story card paragraph words slide-in stagger via JS-applied class */
.story-card.in-view p {
  animation: pSlideIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.story-card.in-view p:nth-of-type(1) { animation-delay: .05s; }
.story-card.in-view p:nth-of-type(2) { animation-delay: .15s; }
.story-card.in-view p:nth-of-type(3) { animation-delay: .25s; }
.story-card.in-view p:nth-of-type(4) { animation-delay: .35s; }
@keyframes pSlideIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Disable extras under reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .particle-field, .cursor-trail, .confetti, .marquee { display: none !important; }
  .pop-pow, .pop-zap, .pop-boom,
  .studio-row li,
  .credit-block,
  .release-banner,
  .cd-cell,
  .kicker,
  .cast-art .cast-aura,
  .trailer-thumb, .teaser-thumb,
  .trailer-play, .teaser-play,
  .trailer-badge, .teaser-badge { animation: none !important; }
}

/* ===================== CAST ===================== */
.cast-stage {
  max-width: var(--max);
  margin-inline: auto;
  background:
    radial-gradient(140% 100% at 0% 0%, color-mix(in oklch, var(--brand-purple) 18%, transparent), transparent 55%),
    radial-gradient(140% 100% at 100% 100%, color-mix(in oklch, var(--brand-pink) 16%, transparent), transparent 55%),
    color-mix(in oklch, var(--ink) 3%, transparent);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  container-type: inline-size;
  container-name: cast;
}
.cast-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-block-end: 24px;
}
.cast-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-comic);
  letter-spacing: 2.5px;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--ink) 6%, transparent);
  border: 2px solid var(--border-1);
  color: var(--ink-soft);
  transition: all .2s;
  min-block-size: 42px;
}
.cast-tab:hover { color: var(--ink); border-color: var(--border-2); }
.cast-tab .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c, var(--brand-yellow));
  box-shadow: 0 0 0 2px rgba(0,0,0,.3);
}
.cast-tab.active {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  color: #0a0e3a;
  border-color: #0a0e3a;
  box-shadow: 0 6px 0 rgba(0,0,0,.4);
  transform: translateY(-1px);
}
.cast-tab.tab-villain.active {
  background: linear-gradient(135deg, var(--brand-red), oklch(45% 0.20 25));
  color: white;
}

.cast-panels { position: relative; }
.cast-panel[hidden] { display: none; }
.cast-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  view-transition-name: cast-panel;
}
@container cast (max-width: 720px) {
  .cast-panel { grid-template-columns: 1fr; }
  .cast-info { text-align: center; }
  .cast-info .cast-eyebrow { display: inline-block; margin-inline: auto; }
  .cast-info h3 { text-align: center; }
  .cast-meta { justify-content: center; }
  .cast-stats { justify-items: center; }
  .cast-stats li { width: 100%; max-width: 360px; text-align: start; }
  .cast-quote { text-align: start; }
  .cast-power { max-width: 420px; margin-inline: auto 18px; margin-inline-start: auto; }
}
@media (max-width: 720px) {
  .cast-info { text-align: center; }
  .cast-info .cast-eyebrow { display: inline-block; }
  .cast-meta { justify-content: center; }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cast-art {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-1);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cast-art::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%);
  pointer-events: none;
}
.cast-art::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 16px, color-mix(in oklch, white 3%, transparent) 16px 32px);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.cast-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.18);
  transform-origin: center 60%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.55));
  animation: bobChar 5.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .cast-art img { transform: scale(1.28); }
}
@keyframes bobChar { 0%,100% { transform: scale(var(--cs,1.18)) translateY(0); } 50% { transform: scale(var(--cs,1.18)) translateY(-12px); } }
.cast-art img { --cs: 1.18; }
@media (max-width: 720px) { .cast-art img { --cs: 1.28; } }

.cast-eyebrow {
  display: inline-block;
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: clamp(11px, 1vw + .1rem, 13px);
  margin-block-end: 6px;
  border-block-end: 2px dashed currentColor;
  padding-block-end: 4px;
}
.cast-info h3 {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.5vw + 1rem, 90px);
  margin: 8px 0 14px;
  line-height: 1;
  color: #fff;
  text-shadow:
    2px 2px 0 #0a0e3a,
    4px 4px 0 #0a0e3a,
    6px 6px 0 color-mix(in srgb, var(--accent) 75%, #0a0e3a);
  letter-spacing: 1px;
  filter: drop-shadow(0 0 22px color-mix(in oklch, var(--accent) 35%, transparent));
}
.cast-info p {
  font-size: clamp(15px, .8vw + .55rem, 17px);
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 56ch;
  text-wrap: pretty;
}
.cast-info p em { color: var(--accent, var(--brand-yellow)); font-style: normal; font-weight: 600; }
.cast-stats {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.cast-stats li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in oklch, var(--ink) 4%, transparent);
  border: 1px solid var(--border-1);
  font-size: 14px;
  align-items: baseline;
}
.cast-stats span {
  font-family: var(--font-comic);
  letter-spacing: 2px;
  font-size: 11px;
  color: #fff;
  opacity: .85;
  text-transform: uppercase;
}
.cast-stats b { font-weight: 700; color: #fff; }
@container cast (max-width: 540px) {
  .cast-stats li { grid-template-columns: 1fr; gap: 2px; }
}

.cast-villain .cast-art { background: linear-gradient(180deg, oklch(20% 0.10 5) 0%, oklch(10% 0.06 320) 100%); }

/* ============================================================
   🦸 CAST PANEL UPGRADES
   ============================================================ */

/* Halo behind character — accent radial bloom */
.cast-art .cast-halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 60% at 50% 35%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%),
    radial-gradient(30% 30% at 50% 65%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%);
  filter: blur(20px);
  animation: castHaloPulse 4s ease-in-out infinite;
}
@keyframes castHaloPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .9;  transform: scale(1.06); }
}

/* Top-right hero/villain tag */
.cast-art .cast-tag {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 4;
  font-family: var(--font-comic);
  letter-spacing: 2.5px;
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, transparent), color-mix(in srgb, var(--accent) 40%, transparent));
  border: 2px solid #0a0e3a;
  color: #0a0e3a;
  text-shadow: 1px 1px 0 color-mix(in srgb, white 40%, transparent);
  box-shadow: 0 4px 0 #0a0e3a, 0 0 18px color-mix(in srgb, var(--accent) 50%, transparent);
  white-space: nowrap;
  animation: tagPop .8s cubic-bezier(.2,1.6,.3,1) both, tagFloat 3.5s ease-in-out infinite;
}
.cast-art .cast-tag.villain-tag {
  background: linear-gradient(135deg, #1b0d12, #3b0a14);
  color: white;
  text-shadow: 1px 1px 0 #0a0e3a;
}
@keyframes tagPop {
  0%   { opacity: 0; transform: scale(.4) rotate(-12deg); }
  60%  { opacity: 1; transform: scale(1.1) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(-3deg); }
}
@keyframes tagFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -3px; }
}

/* Meta strip (Yaş / Üs / Kod) */
.cast-meta {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-meta li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--ink) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border-1));
  font-size: 12px;
  transition: transform .25s, border-color .25s, background .25s;
}
.cast-meta li:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.cast-meta li span {
  font-family: var(--font-comic);
  letter-spacing: 1.5px;
  font-size: 9px;
  text-transform: uppercase;
  color: #fff;
  opacity: .85;
}
.cast-meta li b {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

/* Quote bubble */
.cast-quote {
  position: relative;
  margin: 0 0 18px;
  padding: 14px 18px 14px 26px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border-1));
  border-inline-start: 3px solid var(--accent);
  font-style: italic;
  font-size: clamp(14px, .6vw + .55rem, 16px);
  color: color-mix(in oklch, white 85%, var(--accent));
  line-height: 1.5;
  isolation: isolate;
  overflow: hidden;
}
.cast-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 0% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.cast-quote .cq-mark {
  position: absolute;
  top: -8px;
  inset-inline-start: 8px;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 2px 2px 0 #0a0e3a;
}

/* Power level bars */
.cast-power {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: color-mix(in oklch, var(--ink) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border-1));
}
.cast-power .cp-row {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  align-items: center;
  gap: 10px;
}
.cast-power .cp-row span:first-child {
  font-family: var(--font-comic);
  letter-spacing: 1.5px;
  font-size: 10px;
  text-transform: uppercase;
  color: #fff;
  opacity: .9;
}
.cast-power .cp-row b {
  font-family: var(--font-display);
  font-size: 14px;
  text-align: end;
  background: linear-gradient(180deg, white, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 1px 1px 0 rgba(0,0,0,.4);
}
.cp-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  display: block;
}
.cp-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 80%, white), var(--accent));
  border-radius: 999px;
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.cp-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,.18) 6px 8px);
  border-radius: inherit;
  animation: cpStripe 1.6s linear infinite;
}
@keyframes cpStripe {
  from { background-position: 0 0; }
  to   { background-position: 16px 0; }
}
/* Animate width on active panel */
.cast-panel.active .cp-bar i { width: var(--w, 0%); }

@media (prefers-reduced-motion: reduce) {
  .cast-art .cast-halo { animation: none; }
  .cast-art .cast-tag { animation: none; }
  .cp-bar i::after { animation: none; }
}

.cast-footnote {
  text-align: center;
  margin-block-start: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ===================== TRAILER / TEASER ===================== */
.trailer-frame, .teaser-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--border-2);
  background: var(--bg-1);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  padding: 0;
}
.trailer-frame::after, .teaser-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 30%, transparent, rgba(0,0,0,.5) 80%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5));
  pointer-events: none;
  z-index: 1;
}
.trailer-thumb, .teaser-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .8s ease;
}
.trailer-frame:hover .trailer-thumb,
.teaser-frame:hover .teaser-thumb { transform: scale(1.04); }

.trailer-play, .teaser-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(72px, 10vw, 110px);
  height: clamp(72px, 10vw, 110px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  color: #0a0e3a;
  display: grid; place-items: center;
  border: 4px solid #0a0e3a;
  box-shadow: 0 12px 0 rgba(0,0,0,.45), 0 0 60px color-mix(in oklch, var(--brand-yellow) 35%, transparent);
  transition: transform .15s, box-shadow .2s;
  z-index: 2;
}
.teaser-play { width: clamp(60px, 8vw, 90px); height: clamp(60px, 8vw, 90px); }
.trailer-play::after {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px dashed color-mix(in oklch, var(--brand-yellow) 60%, transparent);
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.trailer-frame:hover .trailer-play, .teaser-frame:hover .teaser-play {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 14px 0 rgba(0,0,0,.45), 0 0 80px color-mix(in oklch, var(--brand-yellow) 60%, transparent);
}

.trailer-meta, .teaser-meta {
  position: absolute;
  inset-inline-start: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: clamp(11px, 1vw + .1rem, 12px);
  color: var(--ink);
  text-shadow: 1px 1px 0 #0a0e3a;
  flex-wrap: wrap;
}
.trailer-badge, .teaser-badge {
  background: rgba(0,0,0,.55);
  border: 1px solid var(--border-2);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  color: var(--brand-yellow);
}

/* ===================== CREDITS — PREMIUM ===================== */
.credits {
  position: relative;
}
/* Film strip backdrop decoration */
.credits::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, #0a0e3a 0 22px, transparent 22px 30px);
  opacity: .55;
  pointer-events: none;
}
.credits::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, #0a0e3a 0 22px, transparent 22px 30px);
  opacity: .55;
  pointer-events: none;
}

/* Mini stats strip */
.credits-stats {
  max-width: var(--max);
  margin: 0 auto clamp(20px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cs-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--ink) 5%, transparent);
  border: 1px solid var(--border-1);
  transition: transform .25s, border-color .25s, background .25s;
}
.cs-pill:hover {
  transform: translateY(-3px) rotate(-1deg);
  border-color: var(--brand-yellow);
  background: color-mix(in oklch, var(--brand-yellow) 8%, transparent);
}
.cs-pill .cs-num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw + .5rem, 28px);
  background: linear-gradient(180deg, var(--brand-yellow), var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 1px 2px 0 rgba(0,0,0,.4);
}
.cs-pill .cs-lbl {
  font-family: var(--font-comic);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cs-pill-accent {
  background: linear-gradient(135deg, color-mix(in oklch, var(--brand-yellow) 24%, transparent), color-mix(in oklch, var(--brand-pink) 18%, transparent));
  border-color: color-mix(in oklch, var(--brand-yellow) 50%, transparent);
}
.cs-pill-accent .cs-lbl { color: var(--ink); }

/* Credits grid — masonry-ish auto-fit */
.credits-grid {
  max-width: var(--max);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  perspective: 1200px;
}

/* Each credit block — premium */
.credit-block {
  --cb-accent: var(--brand-yellow);
  --cb-accent-2: var(--brand-orange);
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(20px, 2.4vw, 26px) clamp(18px, 2vw, 22px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in oklch, var(--cb-accent) 14%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 6%, transparent), color-mix(in oklch, var(--ink) 1%, transparent));
  border: 1px solid color-mix(in oklch, var(--cb-accent) 28%, var(--border-1));
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform .35s cubic-bezier(.2,1.6,.3,1), border-color .3s, box-shadow .35s;
  box-shadow:
    0 4px 14px rgba(0,0,0,.25),
    inset 0 1px 0 color-mix(in oklch, white 6%, transparent);
}

/* Animated conic gradient ring on hover */
.credit-block::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--cAng, 0deg), color-mix(in oklch, var(--cb-accent) 90%, transparent), color-mix(in oklch, var(--cb-accent-2) 70%, transparent), color-mix(in oklch, var(--cb-accent) 90%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  animation: credAng 6s linear infinite;
  z-index: 1;
}
@property --cAng { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes credAng { to { --cAng: 360deg; } }
.credit-block:hover::before { opacity: 1; }

/* Cursor radial highlight */
.credit-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 160px at var(--mx, 50%) var(--my, 30%), color-mix(in oklch, var(--cb-accent) 22%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
.credit-block:hover::after { opacity: 1; }

.credit-block:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-2deg) scale(1.015);
  border-color: color-mix(in oklch, var(--cb-accent) 70%, transparent);
  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 0 50px color-mix(in oklch, var(--cb-accent) 22%, transparent),
    inset 0 1px 0 color-mix(in oklch, white 10%, transparent);
}

/* Role icon */
.credit-block .cb-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in oklch, var(--cb-accent) 28%, transparent), color-mix(in oklch, var(--cb-accent-2) 16%, transparent));
  border: 1px solid color-mix(in oklch, var(--cb-accent) 50%, transparent);
  color: var(--cb-accent);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px color-mix(in oklch, var(--cb-accent) 35%, transparent));
  transition: transform .35s cubic-bezier(.2,1.6,.3,1), background .3s;
}
.credit-block:hover .cb-icon {
  transform: rotate(-8deg) scale(1.12);
  background: linear-gradient(135deg, color-mix(in oklch, var(--cb-accent) 50%, transparent), color-mix(in oklch, var(--cb-accent-2) 32%, transparent));
}

/* Tag (e.g., ★ Director) — only on featured */
.credit-block .cb-tag {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  font-family: var(--font-comic);
  font-size: 10px;
  letter-spacing: 2.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in oklch, var(--cb-accent) 50%, transparent), color-mix(in oklch, var(--cb-accent-2) 35%, transparent));
  border: 1px solid color-mix(in oklch, var(--cb-accent) 70%, transparent);
  color: white;
  text-shadow: 1px 1px 0 #0a0e3a;
}

/* Count chip (e.g., 04 / 02) */
.credit-block .cb-count {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  background: linear-gradient(180deg, var(--cb-accent), var(--cb-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .55;
  z-index: 3;
  filter: drop-shadow(1px 2px 0 rgba(0,0,0,.4));
  transition: opacity .25s, transform .25s;
}
.credit-block:hover .cb-count { opacity: 1; transform: scale(1.15); }

.cb-role {
  display: block;
  font-family: var(--font-comic);
  letter-spacing: 2.5px;
  font-size: 11px;
  color: color-mix(in oklch, var(--cb-accent) 60%, var(--ink-mute));
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  transition: color .25s, letter-spacing .25s;
}
.credit-block:hover .cb-role {
  color: color-mix(in oklch, var(--cb-accent) 80%, white);
  letter-spacing: 3.5px;
}

.cb-name {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .5px;
  font-size: clamp(22px, 1.4vw + .9rem, 30px);
  text-wrap: pretty;
  text-shadow:
    2px 2px 0 #0a0e3a,
    4px 4px 0 color-mix(in oklch, var(--cb-accent) 70%, #0a0e3a);
  position: relative;
  z-index: 2;
  transition: transform .25s cubic-bezier(.2,1.6,.3,1);
}
.credit-block:hover .cb-name { transform: translateY(-2px); }

/* Sparkle dots — for featured cards */
.credit-block .cb-spark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 14% 28%, color-mix(in oklch, var(--cb-accent) 90%, transparent), transparent 60%),
    radial-gradient(1.4px 1.4px at 82% 22%, white, transparent 60%),
    radial-gradient(2.2px 2.2px at 75% 78%, color-mix(in oklch, var(--cb-accent-2) 85%, transparent), transparent 60%),
    radial-gradient(1.6px 1.6px at 24% 86%, white, transparent 60%);
  opacity: .4;
  animation: credSparkleDrift 6s ease-in-out infinite;
  z-index: 1;
}
.credit-block:hover .cb-spark { opacity: 1; }
@keyframes credSparkleDrift {
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(8px, -6px, 0); }
}

/* FEATURED cards — span 2 cols on wide */
.credits-grid {
  grid-auto-flow: dense;
}
.credit-featured {
  grid-column: span 2;
}
.credit-featured .cb-name {
  font-size: clamp(28px, 2.2vw + 1rem, 42px);
  letter-spacing: 1px;
  text-shadow:
    3px 3px 0 #0a0e3a,
    6px 6px 0 color-mix(in oklch, var(--cb-accent) 80%, #0a0e3a);
}
.credit-featured .cb-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
}
.credit-director {
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in oklch, var(--cb-accent) 22%, transparent) 0%, transparent 60%),
    radial-gradient(120% 100% at 100% 100%, color-mix(in oklch, var(--cb-accent-2) 18%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 6%, transparent), color-mix(in oklch, var(--ink) 1%, transparent));
}
.credit-cast {
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in oklch, var(--cb-accent) 22%, transparent) 0%, transparent 60%),
    radial-gradient(120% 100% at 100% 100%, color-mix(in oklch, var(--cb-accent-2) 22%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, color-mix(in oklch, var(--ink) 6%, transparent), color-mix(in oklch, var(--ink) 1%, transparent));
}
@media (max-width: 720px) {
  .credit-featured { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  .credit-block::before { animation: none; }
  .credit-block .cb-spark { animation: none; }
}

.release-banner {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 22px clamp(20px, 3vw, 32px);
  background:
    radial-gradient(120% 120% at 0% 50%, color-mix(in oklch, var(--brand-yellow) 22%, transparent), transparent 55%),
    radial-gradient(120% 120% at 100% 50%, color-mix(in oklch, var(--brand-pink) 18%, transparent), transparent 55%),
    var(--bg-2);
  border: 2px solid color-mix(in oklch, var(--brand-yellow) 40%, transparent);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.release-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 24px, color-mix(in oklch, white 4%, transparent) 24px 28px);
  pointer-events: none;
}
.rb-bolt { filter: drop-shadow(0 0 18px color-mix(in oklch, var(--brand-yellow) 50%, transparent)); flex-shrink: 0; }
.rb-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: .95;
  flex-grow: 1;
  min-width: 0;
}
.rb-text span {
  font-size: clamp(26px, 3vw + .5rem, 44px);
  color: var(--brand-yellow);
  text-shadow: 3px 3px 0 #0a0e3a;
}
.rb-text strong {
  font-size: clamp(18px, 2vw + .25rem, 28px);
  color: var(--ink);
  text-shadow: 2px 2px 0 #0a0e3a;
  letter-spacing: 4px;
  margin-top: 4px;
}
@media (max-width: 540px) {
  .release-banner { justify-content: center; text-align: center; }
  .release-banner .btn { width: 100%; justify-content: center; }
}

/* ===================== FOOTER ===================== */
.foot {
  position: relative;
  padding: 64px var(--pad-x) calc(28px + var(--safe-bottom));
  background:
    radial-gradient(60% 70% at 50% 0%, color-mix(in oklch, var(--brand-purple) 32%, transparent), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, color-mix(in oklch, var(--brand-pink) 22%, transparent), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, color-mix(in oklch, var(--brand-cyan) 22%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in oklch, var(--bg-0) 88%, black) 0%, var(--bg-0) 100%);
  border-block-start: 0;
  overflow: hidden;
  isolation: isolate;
}

/* Comic halftone dots */
.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, color-mix(in oklch, var(--brand-yellow) 22%, transparent) 1.5px, transparent 2px);
  background-size: 26px 26px;
  background-position: 0 0;
  opacity: .25;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

/* Film strip across the very top */
.foot-strip {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
  background: #0a0e3a;
  border-block-end: 3px solid var(--brand-yellow);
  z-index: 1;
}
.foot-strip span {
  width: 22px;
  height: 14px;
  border-radius: 4px;
  background: color-mix(in oklch, var(--bg-0) 60%, black);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* Floating decorative bolts/stars */
.foot-deco {
  position: absolute;
  font-size: 28px;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,.45));
  pointer-events: none;
  z-index: 1;
  opacity: .85;
}
.foot-deco-1 { top: 56px;  left: 6%;   color: var(--brand-yellow); animation: footBolt 4.2s ease-in-out infinite; }
.foot-deco-2 { top: 80px;  right: 8%;  color: var(--brand-pink); font-size: 22px; animation: footBolt 5s -1.8s ease-in-out infinite; }
.foot-deco-3 { bottom: 22%; left: 4%;  font-size: 24px; animation: footBolt 4.6s -2.4s ease-in-out infinite; }
.foot-deco-4 { bottom: 26%; right: 5%; color: var(--brand-cyan); font-size: 22px; animation: footBolt 4.8s -3.1s ease-in-out infinite; }
@keyframes footBolt {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-8px) rotate(8deg); }
}

/* Hero section with logo + release date */
.foot-hero {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto 36px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.foot-hero .foot-brand {
  display: inline-block;
  transition: transform .3s cubic-bezier(.2,1.6,.3,1);
}
.foot-hero .foot-brand:hover { transform: rotate(-2deg) scale(1.04); }
.foot-tagline {
  margin: 0;
  font-family: var(--font-comic);
  letter-spacing: 4px;
  font-size: clamp(13px, 1.3vw + .3rem, 16px);
  color: var(--brand-yellow);
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
}
.foot-release {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    color-mix(in oklch, var(--brand-yellow) 95%, white),
    color-mix(in oklch, var(--brand-yellow) 70%, var(--brand-pink)));
  border: 3px solid #0a0e3a;
  box-shadow: 0 6px 0 rgba(0,0,0,.45);
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: clamp(14px, 1.4vw + .3rem, 18px);
  color: #0a0e3a;
  margin-top: 4px;
  transform: rotate(-1.5deg);
  animation: footReleasePulse 2.6s ease-in-out infinite;
}
.foot-release-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff3d3d;
  box-shadow: 0 0 0 4px rgba(255,61,61,.25);
  animation: footDotBlink 1.4s ease-in-out infinite;
}
@keyframes footReleasePulse {
  0%, 100% { box-shadow: 0 6px 0 rgba(0,0,0,.45); }
  50%      { box-shadow: 0 6px 0 rgba(0,0,0,.45), 0 0 30px color-mix(in oklch, var(--brand-yellow) 60%, transparent); }
}
@keyframes footDotBlink {
  0%, 60%, 100% { opacity: 1; transform: scale(1); }
  30%           { opacity: .5; transform: scale(.8); }
}

/* Logo override inside footer */
.foot .foot-brand-img {
  height: clamp(48px, 6vw, 64px);
}

/* Three-column grid */
.foot-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
  padding: 28px 0;
  border-block: 1px dashed color-mix(in oklch, var(--brand-yellow) 28%, transparent);
}
.foot-col { min-width: 0; }
.foot-h {
  margin: 0 0 14px;
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: 14px;
  color: var(--brand-yellow);
  text-shadow: 0 2px 0 rgba(0,0,0,.4);
}

.foot-links {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--font-comic);
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: color .2s, transform .2s;
}
.foot-links a span {
  font-size: 16px;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.4));
  transition: transform .25s cubic-bezier(.2,1.6,.3,1);
}
.foot-links a:hover {
  color: var(--brand-yellow);
  transform: translateX(4px);
}
.foot-links a:hover span { transform: rotate(-12deg) scale(1.18); }

/* Social row */
.foot-social {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 2px solid #0a0e3a;
  box-shadow: 0 4px 0 rgba(0,0,0,.45);
  font-family: var(--font-comic);
  letter-spacing: 2px;
  font-size: 11px;
  color: #fff;
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
}
.fs-btn svg { flex-shrink: 0; }
.fs-btn:hover {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 6px 0 rgba(0,0,0,.45);
  color: #0a0e3a;
}
.fs-ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.fs-yt:hover { background: #ff0000; color: #fff; }
.fs-tt:hover { background: #25f4ee; color: #0a0e3a; }
.fs-web:hover { background: var(--brand-yellow); color: #0a0e3a; }

/* Studios row */
.foot-studios-row {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.foot-studios-label {
  font-family: var(--font-comic);
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--ink-mute);
}
.foot-studios {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.foot-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.5));
  transition: transform .25s, filter .25s;
}
.foot-logo:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 16px color-mix(in oklch, var(--brand-yellow) 60%, transparent));
}
.foot-studio-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in oklch, var(--brand-yellow) 35%, transparent);
  background: rgba(255,255,255,.04);
  font-family: var(--font-comic);
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s, transform .2s;
}
.foot-studio-chip:hover {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
  transform: translateY(-2px);
}

/* Bottom row */
.foot-bottom {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 28px auto 0;
  padding-block-start: 18px;
  border-block-start: 1px solid color-mix(in oklch, var(--ink) 8%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-line {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .5px;
}
.foot-agency-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-1);
  transition: border-color .2s, background .2s, transform .2s;
  text-decoration: none;
}
.foot-agency-link .fa-mark {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--brand-yellow);
  color: #0a0e3a;
  font-weight: 900;
  font-size: 12px;
  border: 1.5px solid #0a0e3a;
}
.foot-agency-link .fa-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.foot-agency-link strong {
  font-family: var(--font-comic);
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--ink);
}
.foot-agency-link em {
  font-style: normal;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: .5px;
}
.foot-agency-link:hover {
  border-color: var(--brand-yellow);
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}

/* Tablet */
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 28px; }
  .foot-grid .foot-col:last-child { grid-column: 1 / -1; }
  .foot-grid .foot-col:last-child .foot-social { justify-content: flex-start; }
}

/* Mobile */
@media (max-width: 560px) {
  .foot {
    padding: 52px 18px calc(24px + var(--safe-bottom));
  }
  .foot-strip { height: 22px; }
  .foot-strip span { width: 16px; height: 10px; }
  .foot-deco { display: none; }

  .foot-hero { margin-bottom: 24px; gap: 10px; }
  .foot-hero .foot-brand-img { height: 44px; }
  .foot-tagline { letter-spacing: 2px; font-size: 12px; }
  .foot-release {
    padding: 9px 16px;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 2px;
    transform: rotate(-1deg);
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0;
    text-align: center;
  }
  .foot-grid .foot-col:last-child { grid-column: auto; }

  .foot-col {
    background: rgba(255,255,255,.04);
    border: 1px solid color-mix(in oklch, var(--brand-yellow) 22%, transparent);
    border-radius: 16px;
    padding: 16px 14px;
  }
  .foot-h {
    text-align: center;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed color-mix(in oklch, var(--brand-yellow) 25%, transparent);
    font-size: 13px;
    letter-spacing: 2.5px;
  }

  .foot-links {
    gap: 4px;
    justify-items: stretch;
  }
  .foot-links a {
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    font-size: 12px;
    letter-spacing: 1.5px;
  }
  .foot-links a:hover { transform: none; background: rgba(255,255,255,.08); }
  .foot-links a span { font-size: 15px; }

  .foot-social {
    justify-content: center;
    gap: 8px;
  }
  .fs-btn {
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .foot-studios-row {
    margin-top: 18px;
    flex-direction: column;
    gap: 10px;
  }
  .foot-studios { flex-wrap: wrap; gap: 8px; }
  .foot-logo { height: 26px; }
  .foot-studio-chip { font-size: 10px; padding: 5px 10px; }

  .foot-bottom {
    margin-top: 20px;
    padding-top: 14px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .foot-line { font-size: 11px; }
  .foot-agency-link strong { font-size: 11px; }
  .foot-agency-link em { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .foot-deco, .foot-release, .foot-release-dot { animation: none !important; }
}

/* ===================== Native dialog modal ===================== */
.video-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  inset: 0;
  margin: auto;
  width: min(96vw, 1080px);
  max-width: 100%;
  max-height: 95dvh;
}
.video-dialog::backdrop {
  background: color-mix(in oklch, black 75%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.video-dialog[open] {
  display: grid;
  animation: dlgIn .25s ease both;
}
.video-dialog[open]::backdrop { animation: bdIn .25s ease both; }
@keyframes dlgIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes bdIn  { from { opacity: 0; } to { opacity: 1; } }
.dlg-close {
  position: absolute;
  inset-block-start: -52px;
  inset-inline-end: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: color-mix(in oklch, black 30%, transparent);
  border: 1px solid var(--border-2);
  color: white;
  transition: background .2s, border-color .2s;
}
.dlg-close:hover { background: var(--brand-yellow); color: #0a0e3a; border-color: #0a0e3a; }
.dlg-frame {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: black;
  border: 2px solid var(--border-2);
}
.dlg-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 540px) {
  .dlg-close { inset-block-start: auto; inset-block-end: -52px; inset-inline-end: 50%; transform: translateX(50%); }
  .video-dialog { padding-inline: 12px; }
}

/* ===================== Scroll-driven reveal (no JS) ===================== */
@supports (animation-timeline: view()) {
  .section-head,
  .story-card, .story-stat,
  .cast-stage,
  .credit-block,
  .release-banner,
  .trailer-frame, .teaser-frame {
    animation: revealIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .stars-1, .stars-2, .stars-3, .aurora, .flare, .t2-bolt svg, .scroll-down,
  .poster-glow, .trailer-play::after { animation: none !important; }
}

/* prefers-reduced-transparency support */
@media (prefers-reduced-transparency: reduce) {
  .nav { backdrop-filter: none; background: var(--bg-0); }
  .video-dialog::backdrop { backdrop-filter: none; background: rgba(0,0,0,.92); }
}

/* ============================================================
   🖼️ Original PNG logos (replaces inline SVGs / text wordmark)
   ============================================================ */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px; width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* Nav logo — horizontal wordmark (white version) */
.nav-logo-img {
  height: clamp(38px, 4vw, 50px);
  width: auto;
  display: block;
  transition: transform .25s cubic-bezier(.2,1.6,.3,1), filter .25s ease;
}
.nav-logo-white {
  filter:
    drop-shadow(0 2px 0 rgba(0,0,0,.55))
    drop-shadow(0 0 12px color-mix(in oklch, white 35%, transparent));
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05) rotate(-1.5deg);
  filter:
    drop-shadow(0 2px 0 rgba(0,0,0,.55))
    drop-shadow(0 0 22px color-mix(in oklch, var(--brand-yellow) 60%, transparent));
}

/* Footer brand — horizontal white */
.foot-brand-img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform .3s cubic-bezier(.2,1.6,.3,1), filter .3s ease;
}
.foot-brand-white {
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.4));
  opacity: .92;
}
.foot-brand-img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px color-mix(in oklch, var(--brand-yellow) 60%, transparent));
  opacity: 1;
}

/* WHITE wordmark filter (hero + loader) */
.hero-logo-white,
.ll-img-white {
  filter:
    drop-shadow(0 8px 0 rgba(0,0,0,.55))
    drop-shadow(0 0 40px color-mix(in oklch, var(--brand-yellow) 40%, transparent));
}

/* Hero title — horizontal wordmark */
.hero-title-img {
  display: grid;
  gap: 14px;
  margin: 0;
  text-shadow: none;
}
.hero-logo-img {
  width: min(100%, 640px);
  height: auto;
  display: block;
  animation: heroLogoFloat 6s ease-in-out infinite;
}
.hero-logo-img:not(.hero-logo-white) {
  filter: drop-shadow(0 8px 0 rgba(0,0,0,.45)) drop-shadow(0 0 36px color-mix(in oklch, var(--brand-yellow) 25%, transparent));
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-6px) rotate(-1deg); }
}
@media (max-width: 980px) {
  .hero-title-img { justify-items: center; text-align: center; }
  .hero-logo-img { width: min(100%, 520px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-img { animation: none; }
}
/* Hero t3 keeps caption styling */
.hero-title-img .t3 { margin-top: 0; }

/* Loader — same horizontal logo big */
.loader-logo .ll-img {
  width: min(80vw, 620px);
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(60px) scale(.78) rotate(-4deg);
  animation: llImgIn 1s .25s cubic-bezier(.2,1.4,.3,1) forwards;
}
.loader-logo .ll-img:not(.ll-img-white) {
  filter: drop-shadow(0 10px 0 rgba(0,0,0,.55)) drop-shadow(0 0 50px color-mix(in oklch, var(--brand-yellow) 35%, transparent));
}
@keyframes llImgIn {
  0%   { opacity: 0; transform: translateY(60px) scale(.78) rotate(-4deg); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.04) rotate(1.5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

/* Release banner bolt as PNG */
.rb-bolt-img {
  width: 70px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.45)) drop-shadow(0 0 18px color-mix(in oklch, var(--brand-yellow) 50%, transparent));
  animation: zap 2.4s ease-in-out infinite;
}

/* Print sanity */
@media print {
  .cosmos, .hero-flares, .scroll-down, .nav-actions, .video-dialog { display: none !important; }
  body { background: white; color: black; }
}

/* ============================================================
   🎬 LOADER / OPENING SPLASH
   ============================================================ */
body.is-loading { overflow: hidden; }
body.is-loading .nav,
body.is-loading .hero,
body.is-loading section,
body.is-loading footer { opacity: 0; transform: translateY(14px); transition: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 110%, oklch(22% 0.14 295) 0%, transparent 60%),
    radial-gradient(80% 70% at 0% 0%, oklch(25% 0.16 320) 0%, transparent 60%),
    radial-gradient(80% 70% at 100% 0%, oklch(22% 0.18 250) 0%, transparent 60%),
    linear-gradient(180deg, #06082c, #0a0e3a);
  overflow: hidden;
  isolation: isolate;
  transition: opacity .65s cubic-bezier(.7,.0,.3,1), visibility .65s, filter .65s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  filter: blur(14px);
  pointer-events: none;
}

.loader-bg { position: absolute; inset: 0; pointer-events: none; }
.loader-orb {
  position: absolute;
  width: 70vmin; height: 70vmin;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  mix-blend-mode: screen;
  animation: orbFloat 9s ease-in-out infinite;
}
.loader-orb-1 { background: oklch(70% 0.22 5); top: -20%; left: -10%; }
.loader-orb-2 { background: oklch(62% 0.20 295); bottom: -25%; right: -10%; animation-delay: -3s; }
.loader-orb-3 { background: oklch(82% 0.13 220); top: 40%; left: 50%; transform: translate(-50%,-50%); animation-delay: -6s; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.12); }
}
.loader-orb-3 { /* override to keep centered */ animation-name: orbPulse; }
@keyframes orbPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:.45; }
  50%     { transform: translate(-50%,-50%) scale(1.18); opacity:.7; }
}
.loader-grid {
  position: absolute; inset: -10%;
  background:
    linear-gradient(transparent 95%, color-mix(in oklch, var(--brand-yellow) 22%, transparent) 95%) 0 0/60px 60px,
    linear-gradient(90deg, transparent 95%, color-mix(in oklch, var(--brand-yellow) 22%, transparent) 95%) 0 0/60px 60px;
  mask-image: radial-gradient(closest-side, black, transparent 75%);
  -webkit-mask-image: radial-gradient(closest-side, black, transparent 75%);
  animation: gridDrift 8s linear infinite;
  opacity: .35;
}
@keyframes gridDrift { to { background-position: 60px 60px, 60px 60px; } }
.loader-rays {
  position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0deg 8deg, rgba(255,230,0,.06) 8deg 12deg, transparent 12deg 30deg);
  animation: raysSpin 16s linear infinite;
  mix-blend-mode: screen;
}
@keyframes raysSpin { to { transform: rotate(360deg); } }

.loader-stage {
  position: relative;
  z-index: 2;
  text-align: center;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  padding: 0 24px;
  max-width: 900px;
}

.loader-presents {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(-12px);
  animation: presentsIn .8s .05s cubic-bezier(.2,.8,.2,1) forwards;
}
.loader-presents .lp-line {
  font-family: var(--font-comic);
  letter-spacing: 6px;
  font-size: clamp(11px, 1.2vw, 14px);
  color: rgba(255,255,255,.65);
  border-block-end: 1.5px dashed rgba(255,255,255,.3);
  padding-block-end: 4px;
}
.loader-presents .lp-logo {
  height: clamp(28px, 4vw, 44px);
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px color-mix(in oklch, var(--brand-yellow) 35%, transparent));
}
@keyframes presentsIn {
  from { opacity: 0; transform: translateY(-14px); letter-spacing: 2px; }
  to   { opacity: 1; transform: translateY(0); }
}

.loader-comic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.comic-burst {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 38px);
  letter-spacing: 1.5px;
  padding: 16px 26px;
  border: 4px solid #0a0e3a;
  background: var(--brand-yellow);
  color: #0a0e3a;
  border-radius: 50%;
  box-shadow: 6px 6px 0 #0a0e3a;
  opacity: 0;
  transform: scale(.4) rotate(-12deg);
  white-space: nowrap;
}
.burst-pow  { top: 7vh;    left: 5vw;     background: var(--brand-yellow); animation: burstIn 1.4s .15s cubic-bezier(.2,1.4,.3,1) forwards, burstFloat 4s 1.6s ease-in-out infinite;   --r: -10deg; }
.burst-zap  { top: 14vh;   right: 6vw;    background: var(--brand-cyan);   animation: burstIn 1.4s .35s cubic-bezier(.2,1.4,.3,1) forwards, burstFloat 4.5s 2s ease-in-out infinite;   --r: 12deg; border-radius: 18px; }
.burst-bam  { bottom: 12vh; right: 8vw;   background: var(--brand-pink);   color: white; animation: burstIn 1.4s .55s cubic-bezier(.2,1.4,.3,1) forwards, burstFloat 5s 2.4s ease-in-out infinite; --r: -6deg; border-radius: 22px; }
.burst-wow  { bottom: 9vh;  left: 7vw;    background: var(--brand-orange); color: #0a0e3a; animation: burstIn 1.4s .75s cubic-bezier(.2,1.4,.3,1) forwards, burstFloat 4.2s 2.8s ease-in-out infinite; --r: 8deg; }
.burst-boom { top: 28vh;   left: 4vw;     background: var(--brand-purple); color: white; animation: burstIn 1.4s .95s cubic-bezier(.2,1.4,.3,1) forwards, burstFloat 4.8s 3.2s ease-in-out infinite; --r: -14deg; border-radius: 14px; font-size: clamp(16px, 2.2vw, 28px); padding: 12px 20px; }
@keyframes burstIn {
  0%   { opacity: 0; transform: scale(.2) rotate(0); }
  60%  { opacity: 1; transform: scale(1.18) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
}
@keyframes burstFloat {
  0%,100% { translate: 0 0; }
  50%     { translate: 0 -10px; }
}

.loader-logo {
  display: grid;
  gap: 6px;
  justify-items: center;
  perspective: 800px;
}
.ll-text {
  font-family: var(--font-display);
  letter-spacing: 2px;
  color: white;
  text-shadow:
    4px 4px 0 #0a0e3a,
    8px 8px 0 color-mix(in oklch, var(--brand-pink) 55%, transparent);
}
.ll-super {
  font-size: clamp(48px, 9vw, 120px);
  background: linear-gradient(180deg, #fff 0%, color-mix(in oklch, white 30%, var(--brand-pink)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  -webkit-text-stroke: 2px #0a0e3a;
  opacity: 0;
  animation: dropIn .8s .1s cubic-bezier(.2,.8,.2,1) forwards;
}
.ll-row {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 14px);
}
.ll-one {
  font-family: var(--font-display);
  font-size: clamp(70px, 14vw, 180px);
  line-height: .9;
  color: var(--brand-red);
  -webkit-text-stroke: 4px #0a0e3a;
  text-shadow: 4px 4px 0 #0a0e3a, 8px 8px 0 rgba(0,0,0,.45);
  display: inline-block;
  opacity: 0;
  animation: oneIn .9s .35s cubic-bezier(.2,1.4,.3,1) forwards;
}
.ll-bolt {
  display: inline-flex;
  filter: drop-shadow(0 8px 0 #0a0e3a) drop-shadow(0 0 30px color-mix(in oklch, var(--brand-yellow) 70%, transparent));
  opacity: 0;
  animation: boltIn 1s .5s cubic-bezier(.2,1.6,.3,1) forwards, zap 2.4s 1.5s ease-in-out infinite;
}
.ll-bolt svg { width: clamp(80px, 14vw, 150px); height: auto; }
.ll-takim {
  font-size: clamp(50px, 10vw, 130px);
  color: var(--ink);
  opacity: 0;
  animation: dropIn .8s .65s cubic-bezier(.2,.8,.2,1) forwards;
}
.ll-tag {
  font-family: var(--font-comic);
  letter-spacing: 4px;
  font-size: clamp(11px, 1.4vw, 16px);
  color: var(--brand-yellow);
  text-shadow: 2px 2px 0 #0a0e3a;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: tagIn .7s .95s ease forwards;
  display: inline-block;
}

@keyframes dropIn {
  0%   { opacity: 0; transform: translateY(-90px) rotate(-10deg) scale(.8); }
  60%  { opacity: 1; transform: translateY(8px) rotate(2deg) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes oneIn {
  0%   { opacity: 0; transform: scale(0) rotate(-90deg); }
  70%  { opacity: 1; transform: scale(1.25) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes boltIn {
  0%   { opacity: 0; transform: scale(0) rotate(-180deg); }
  60%  { opacity: 1; transform: scale(1.3) rotate(20deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes tagIn {
  0%   { opacity: 0; transform: translateY(20px); letter-spacing: 1px; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: 4px; }
}

.loader-bar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  width: min(420px, 90vw);
  margin-inline: auto;
  opacity: 0;
  animation: tagIn .6s 1.2s ease forwards;
}
.loader-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  position: relative;
}
.loader-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange), var(--brand-pink));
  background-size: 200% 100%;
  border-radius: 999px;
  position: relative;
  transition: width .35s cubic-bezier(.2,.8,.2,1);
  animation: barShine 2s linear infinite;
  box-shadow: 0 0 18px color-mix(in oklch, var(--brand-yellow) 60%, transparent);
}
@keyframes barShine { to { background-position: 200% 0; } }
.loader-pct {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brand-yellow);
  text-shadow: 2px 2px 0 #0a0e3a;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  text-align: end;
}
.loader-meta {
  font-family: var(--font-comic);
  letter-spacing: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin: 6px 0 0;
  opacity: 0;
  animation: tagIn .6s 1.4s ease forwards;
}

/* Reveal page after loader */
body:not(.is-loading) .nav,
body:not(.is-loading) .hero,
body:not(.is-loading) section,
body:not(.is-loading) footer {
  opacity: 1;
  transform: none;
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
body.is-revealed .hero-title .hero-logo-img,
body.is-revealed .hero-title .t3,
body.is-revealed .hero-tagline,
body.is-revealed .hero-lede,
body.is-revealed .hero-cta-row,
body.is-revealed .countdown,
body.is-revealed .studio-row,
body.is-revealed .hero-poster {
  animation: heroIn .9s cubic-bezier(.2,.8,.2,1) both;
}
body.is-revealed .hero-tagline { animation-delay: .05s; }
body.is-revealed .hero-title .hero-logo-img { animation: heroLogoIn 1.1s .15s cubic-bezier(.2,1.4,.3,1) both, heroLogoFloat 6s 1.4s ease-in-out infinite; }
body.is-revealed .hero-title .t3 { animation-delay: .35s; }
body.is-revealed .hero-lede { animation-delay: .45s; }
body.is-revealed .hero-cta-row { animation-delay: .55s; }
body.is-revealed .countdown { animation-delay: .65s; }
body.is-revealed .studio-row { animation-delay: .75s; }
body.is-revealed .hero-poster { animation-delay: .35s; animation-duration: 1.2s; animation-name: posterIn; }
@keyframes heroLogoIn {
  0%   { opacity: 0; transform: translateY(60px) scale(.7) rotate(-6deg); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.06) rotate(2deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes posterIn {
  from { opacity: 0; transform: translateY(40px) scale(.92) rotate(-4deg); filter: blur(12px); }
  to   { opacity: 1; transform: translateY(0) scale(1) rotate(0); filter: blur(0); }
}

/* ============================================================
   Scroll progress bar
   ============================================================ */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-orange), var(--brand-pink), var(--brand-purple));
  background-size: 300% 100%;
  animation: barShine 4s linear infinite;
  box-shadow: 0 0 14px color-mix(in oklch, var(--brand-yellow) 60%, transparent);
  transition: width .15s linear;
}

/* ============================================================
   Custom Cursor (fine pointer only)
   ============================================================ */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    pointer-events: none;
    z-index: 9000;
    mix-blend-mode: difference;
    will-change: transform;
  }
  body { cursor: auto; }
  .cursor-dot {
    position: absolute;
    inset: -4px 0 0 -4px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand-yellow);
    box-shadow: 0 0 12px color-mix(in oklch, var(--brand-yellow) 60%, transparent);
    transition: transform .15s ease, background .2s;
  }
  .cursor-ring {
    position: absolute;
    inset: -22px 0 0 -22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid color-mix(in oklch, var(--brand-yellow) 70%, transparent);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, opacity .2s, width .2s, height .2s, inset .2s;
  }
  .cursor.is-link .cursor-ring {
    inset: -32px 0 0 -32px;
    width: 64px; height: 64px;
    border-color: var(--brand-pink);
    background: color-mix(in oklch, var(--brand-pink) 18%, transparent);
  }
  .cursor.is-link .cursor-dot { transform: scale(.5); }
  .cursor.is-down .cursor-ring { transform: scale(.7); }
}
@media (prefers-reduced-motion: reduce) {
  .cursor { display: none !important; }
}

/* ============================================================
   Magnetic buttons
   ============================================================ */
[data-magnetic] {
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
[data-magnetic] > * { transition: transform .25s cubic-bezier(.2,.8,.2,1); pointer-events: none; }

/* ============================================================
   Glitch hover on hero title word
   ============================================================ */
[data-glitch] [data-text] {
  position: relative;
  display: inline-block;
}
[data-glitch] [data-text]::before,
[data-glitch] [data-text]::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
[data-glitch]:hover [data-text]::before {
  animation: glitchA .7s cubic-bezier(.2,.8,.2,1) both;
  color: var(--brand-pink);
  -webkit-text-stroke: 0;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: none;
  mix-blend-mode: screen;
  opacity: .85;
}
[data-glitch]:hover [data-text]::after {
  animation: glitchB .7s cubic-bezier(.2,.8,.2,1) both;
  color: var(--brand-cyan);
  -webkit-text-stroke: 0;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: none;
  mix-blend-mode: screen;
  opacity: .85;
}
@keyframes glitchA {
  0%, 100% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  20% { transform: translate(-3px, -2px); clip-path: inset(10% 0 60% 0); }
  40% { transform: translate(3px, 2px); clip-path: inset(50% 0 20% 0); }
  60% { transform: translate(-2px, 3px); clip-path: inset(30% 0 40% 0); }
  80% { transform: translate(2px, -3px); clip-path: inset(70% 0 5% 0); }
}
@keyframes glitchB {
  0%, 100% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  20% { transform: translate(3px, 2px); clip-path: inset(60% 0 10% 0); }
  40% { transform: translate(-3px, -2px); clip-path: inset(20% 0 50% 0); }
  60% { transform: translate(2px, -3px); clip-path: inset(40% 0 30% 0); }
  80% { transform: translate(-2px, 3px); clip-path: inset(5% 0 70% 0); }
}

/* ============================================================
   In-view reveal animations (richer set)
   ============================================================ */
@supports (animation-timeline: view()) {
  .story-card { animation-name: revealLeft; }
  .story-side { animation-name: revealRight; animation-timeline: view(); animation-range: entry 0% entry 60%; animation-fill-mode: both; }
  .credit-block { animation-name: revealUp; animation-timeline: view(); animation-range: entry 0% entry 70%; animation-fill-mode: both; }
}
@keyframes revealLeft  { from { opacity: 0; transform: translateX(-40px) rotate(-1deg); } to { opacity: 1; transform: none; } }
@keyframes revealRight { from { opacity: 0; transform: translateX(40px); }  to { opacity: 1; transform: none; } }
@keyframes revealUp    { from { opacity: 0; transform: translateY(28px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Story stat numbers — animated counter via @property */
.story-stat .num { transition: transform .3s ease; }
.story-stat:hover .num { transform: scale(1.12); }

/* Cast tab ripple/glow on hover */
.cast-tab { position: relative; overflow: hidden; }
.cast-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at var(--mx, 50%) var(--my, 50%), color-mix(in oklch, var(--c, var(--brand-yellow)) 30%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.cast-tab:hover::before { opacity: 1; }

/* Credit block shine */
.credit-block { position: relative; overflow: hidden; }
.credit-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 45%, transparent 60%);
  transform: translateX(-110%);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.credit-block:hover::after { transform: translateX(110%); }

/* Trailer / teaser pulse rings */
.trailer-frame .trailer-play::before,
.teaser-frame .teaser-play::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid color-mix(in oklch, var(--brand-yellow) 60%, transparent);
  animation: pulseRing 1.6s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Scroll-down arrow extra cue */
body.is-revealed .scroll-down { animation: bob 2.5s 1s ease-in-out infinite; }

/* Footer agency line */
.foot-agency {
  display: inline-block;
  margin-top: 6px;
  letter-spacing: 1px;
  font-size: 11px;
  color: var(--ink-mute);
}
.foot-agency-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  background: color-mix(in oklch, var(--brand-yellow) 6%, transparent);
  transition: border-color .2s, background .2s, transform .2s, color .2s;
}
.foot-agency-link strong {
  font-family: var(--font-comic);
  letter-spacing: 2px;
  color: var(--brand-yellow);
  font-size: 12px;
}
.foot-agency-link span { font-size: 11px; color: var(--ink-soft); }
.foot-agency-link:hover {
  border-color: var(--brand-yellow);
  background: color-mix(in oklch, var(--brand-yellow) 16%, transparent);
  transform: translateY(-1px);
}
@media (max-width: 720px) { .foot-agency { display: block; } }

/* Hero pop bubbles — interactive on hover */
.hero-pop { transition: transform .25s ease; }
.hero-pop:hover { transform: scale(1.18) rotate(0); }

/* Comic burst particles container (created via JS) */
.spark-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8500;
  overflow: hidden;
}
.spark {
  position: absolute;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brand-yellow);
  text-shadow: 2px 2px 0 #0a0e3a;
  animation: sparkFly .9s ease-out forwards;
  letter-spacing: 1px;
}
@keyframes sparkFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx,40px), var(--dy,-60px)) scale(.4) rotate(var(--rot,180deg)); }
}

/* Section title hover wiggle */
.section-title { transition: transform .25s ease; cursor: default; }
.section-title:hover { transform: rotate(-1.2deg) scale(1.02); }

/* Studio row chips — interactive */
.studio-row li {
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.studio-row li:hover {
  transform: translateY(-2px) rotate(-1.5deg);
  background: color-mix(in oklch, var(--brand-yellow) 14%, transparent);
  border-color: var(--brand-yellow);
  color: var(--ink);
}

/* Countdown cell pop on tick */
.cd-num.flip {
  animation: flipNum .55s cubic-bezier(.2,1.6,.3,1);
}
@keyframes flipNum {
  0%   { transform: translateY(0) scale(1); color: var(--brand-yellow); }
  40%  { transform: translateY(-10px) scale(1.18); color: var(--brand-pink); }
  100% { transform: translateY(0) scale(1); color: var(--brand-yellow); }
}

/* Cast art big intro */
.cast-panel.active .cast-art img { animation: charIn .8s cubic-bezier(.2,1.4,.3,1) both, bobChar 5.5s 1s ease-in-out infinite; }
@keyframes charIn {
  0%   { opacity: 0; transform: translateY(40px) rotate(-6deg) scale(.85); }
  60%  { opacity: 1; transform: translateY(-8px) rotate(2deg) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

/* Cast eyebrow type-in feel */
.cast-panel.active .cast-eyebrow {
  animation: eyebrowSlide .7s .1s ease both;
}
@keyframes eyebrowSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.cast-panel.active .cast-info h3,
.cast-panel.active .cast-info p,
.cast-panel.active .cast-stats li {
  animation: eyebrowSlide .7s ease both;
}
.cast-panel.active .cast-info h3 { animation-delay: .15s; }
.cast-panel.active .cast-info p { animation-delay: .25s; }
.cast-panel.active .cast-stats li:nth-child(1) { animation-delay: .35s; }
.cast-panel.active .cast-stats li:nth-child(2) { animation-delay: .45s; }
.cast-panel.active .cast-stats li:nth-child(3) { animation-delay: .55s; }

/* Reduced motion: kill loader & extras */
@media (prefers-reduced-motion: reduce) {
  .loader, .loader.is-done { display: none !important; }
  body.is-loading { overflow: auto; }
  body.is-loading .nav,
  body.is-loading .hero,
  body.is-loading section,
  body.is-loading footer { opacity: 1; transform: none; }
  .scroll-progress, .cursor, .spark-layer { display: none !important; }
  .ll-bolt, .comic-burst, .hero-pop { animation: none !important; }
}
