/* ============================================================
   GTA Vice Hub — Design System v3
   Direction: Cinematic Precision — minimal, rich, premium
   ============================================================ */

:root {
  --pink:        #ff2d95;
  --pink-hot:    #ff1f8e;
  --cyan:        #2de2e6;
  --purple:      #7b2ff7;
  --orange:      #ff8a3d;
  --gold:        #ffd166;

  --bg:          #06050d;
  --bg-2:        #0d0b1e;
  --bg-card:     #0f0c20;
  --panel:       rgba(12, 9, 24, 0.68);
  --panel-brd:   rgba(255, 45, 149, 0.18);
  --surface:     rgba(255,255,255,.028);
  --border:      rgba(255,255,255,.07);

  --txt:         #f4f0ff;
  --txt-dim:     #7a7298;
  --txt-faint:   #3c3460;

  --grad-sunset: linear-gradient(120deg, var(--pink) 0%, var(--orange) 55%, var(--purple) 100%);
  --grad-neon:   linear-gradient(120deg, var(--cyan) 0%, var(--pink) 60%, var(--purple) 100%);
  --grad-vi:     linear-gradient(135deg, var(--cyan) 0%, var(--pink) 100%);

  --maxw:        1240px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: "DM Sans", "Inter", system-ui, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  isolation: isolate;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   AMBIENT — aurora + grain
   ============================================================ */
.aurora-bg {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.aurora-bg::before {
  content: '';
  position: absolute; border-radius: 50%;
  width: 80vw; height: 80vw; max-width: 960px; max-height: 960px;
  background: radial-gradient(circle, rgba(255,45,149,.075) 0%, transparent 65%);
  top: -30%; left: -25%;
  animation: aurora-drift 22s ease-in-out infinite;
  will-change: transform;
}
.aurora-bg::after {
  content: '';
  position: absolute; border-radius: 50%;
  width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(45,226,230,.05) 0%, transparent 65%);
  bottom: -20%; right: -25%;
  animation: aurora-drift 30s ease-in-out infinite reverse;
  animation-delay: -12s;
  will-change: transform;
}
@keyframes aurora-drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(7%, 10%) scale(1.07); }
  66%       { transform: translate(-4%, 5%) scale(.96); }
}

.site-grain {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none; opacity: .02; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift .2s steps(1) infinite; will-change: transform;
}
@keyframes grain-shift {
  0%   { transform: translate(0,0); }   10%  { transform: translate(-4%,-8%); }
  20%  { transform: translate(-9%, 5%); } 30%  { transform: translate(7%,-7%); }
  40%  { transform: translate(-5%, 9%); } 50%  { transform: translate(9%, 2%); }
  60%  { transform: translate(-7%, 1%); } 70%  { transform: translate(4%, 7%); }
  80%  { transform: translate(-3%,-5%); } 90%  { transform: translate(7%,-3%); }
  100% { transform: translate(0,0); }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.9); pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .18s, height .18s, opacity .18s;
  will-change: left, top;
}
.cursor-dot.hidden { opacity: 0; }
.cursor-ring {
  position: fixed; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  pointer-events: none; z-index: 9998; transform: translate(-50%,-50%);
  transition: width .4s var(--ease), height .4s var(--ease), border-color .3s, opacity .3s;
  will-change: left, top;
}
.cursor-ring.is-hovering { width: 44px; height: 44px; border-color: rgba(255,255,255,.45); }
.cursor-ring.hidden { opacity: 0; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   BRAND
   ============================================================ */
.brand,
.footer-brand {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
}
.brand-logo {
  height: 26px; width: auto;
  filter: brightness(.85);
  transition: filter .25s;
}
.brand:hover .brand-logo { filter: brightness(1); }
.brand-word {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: .92rem; letter-spacing: -.01em; color: var(--txt); white-space: nowrap;
  line-height: 1;
}
.brand-word em {
  font-style: italic;
  background: var(--grad-vi); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-brand .brand-logo { height: 28px; }
.footer-brand .brand-word { font-size: .98rem; }
@media (max-width: 420px) { .brand-word { display: none; } }

/* ============================================================
   BUTTONS — white fill primary, clean outlined ghost
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.4rem; border-radius: 8px;
  font-family: inherit; font-weight: 500; font-size: .83rem; letter-spacing: .02em;
  cursor: pointer; border: 1px solid transparent;
  transition: background .22s, border-color .22s, color .22s,
              transform .3s var(--ease), box-shadow .3s var(--ease);
  text-align: center; white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--txt);
  color: #06050d;
  border-color: var(--txt);
  font-weight: 600;
}
.btn-primary:hover {
  background: transparent;
  color: var(--txt);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.btn-ghost {
  background: transparent;
  color: var(--txt-dim);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--txt);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.035);
  transform: translateY(-1px);
}
.btn.is-disabled { opacity: .38; pointer-events: none; }

/* ============================================================
   CINEMATIC INTRO
   ============================================================ */
.nav,
.hero-content,
.hero-center,
.scroll-cue {
  transition: opacity 1.5s cubic-bezier(0.4,0,0.2,1);
}
html.intro .nav,
html.intro .hero-content,
html.intro .hero-center,
html.intro .scroll-cue {
  opacity: 0 !important; pointer-events: none;
}
html { --intro-duration: 1.5s; }
html:not(.intro) .nav { transition-duration: var(--intro-duration); }

.intro-skip {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  font-size: .65rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.28); cursor: pointer; background: none;
  padding: .48rem .9rem;
  border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
  transition: opacity 1.4s ease, color .2s, border-color .2s;
  animation: skip-appear 0.6s 1.2s ease both;
}
.intro-skip:hover { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.28); }
html:not(.intro) .intro-skip { opacity: 0; pointer-events: none; }
@keyframes skip-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   NAV — lightweight, refined
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,5,13,.88);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom-color: var(--border);
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: .8rem; font-weight: 400; letter-spacing: .01em;
  color: var(--txt-dim); padding: .3rem 0;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -.1rem; left: 0; right: 0;
  height: 1px; background: var(--txt);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--txt); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[data-soon]::before {
  content: "soon"; position: absolute; top: -.9rem; left: 50%;
  transform: translateX(-50%);
  font-size: .48rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--cyan); border: 1px solid rgba(45,226,230,.3); border-radius: 3px; padding: .06rem .28rem;
}
.nav-cta { --pad: .48rem .9rem; font-size: .78rem; }
.nav-right { display: flex; align-items: center; gap: .55rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6rem clamp(1.25rem, 5vw, 4rem) clamp(3rem, 7vh, 5rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) brightness(.92);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 15% 100%, rgba(6,5,13,.92) 0%, rgba(6,5,13,.3) 45%, transparent 70%),
    linear-gradient(180deg, rgba(6,5,13,.72) 0%, rgba(6,5,13,.04) 22%, transparent 42%, rgba(6,5,13,.5) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6,5,13,.45) 0%, transparent 60%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .38; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

/* ---- Hero center (logo + CTAs) ---- */
.hero-center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
  text-align: center;
}
.hero-logo-mark {
  height: clamp(56px, 10vw, 84px); width: auto;
  filter: drop-shadow(0 0 48px rgba(255,45,149,.35)) brightness(.95);
  animation: logo-float 5s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
.hero-kicker {
  font-size: clamp(.68rem, 1.2vw, .78rem); letter-spacing: .32em; text-transform: uppercase;
  font-weight: 400; color: rgba(255,255,255,.3); margin-top: -.8rem;
}
.hero-ctas {
  display: flex; gap: .65rem; flex-wrap: wrap; justify-content: center;
}

/* ---- Hero corner (countdown) ---- */
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-content--corner {
  position: absolute;
  left: clamp(1.25rem, 5vw, 4rem);
  bottom: clamp(2.5rem, 6vh, 4.5rem);
  z-index: 2; max-width: 100%;
}

/* ---- Countdown ---- */
.countdown-wrap { margin: 0; }
.countdown-label {
  font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500;
  color: var(--txt-faint); margin-bottom: .8rem;
}
.countdown {
  display: inline-flex; align-items: stretch;
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  overflow: hidden; backdrop-filter: blur(20px);
  background: rgba(6,5,13,.52);
}
.cd-unit {
  display: flex; flex-direction: column; align-items: center;
  padding: .8rem 1.1rem .65rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.cd-unit:last-child { border-right: none; }
.hero-content--corner .cd-unit { padding: .6rem .85rem .5rem; }
.cd-num {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--txt);
}
.hero-content--corner .cd-num { font-size: clamp(1.2rem, 3vw, 1.9rem); }
.cd-sep { display: none; }
.cd-tag {
  margin-top: .3rem; font-size: .5rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--txt-faint); font-weight: 500;
}
.countdown-target {
  margin-top: .75rem; font-size: .72rem; color: var(--txt-faint); letter-spacing: .04em;
}

/* ---- Scroll cue ---- */
.scroll-cue {
  position: absolute; bottom: 1.8rem; right: 2.5rem; z-index: 3;
  width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue span {
  width: 2px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.45);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(12px); }
}

/* ---- Eyebrow label ---- */
.eyebrow {
  font-size: .63rem; letter-spacing: .35em; text-transform: uppercase; font-weight: 500;
  color: var(--txt-faint); margin-bottom: .65rem;
}

/* ============================================================
   MILESTONES — horizontal timeline
   ============================================================ */
.milestones {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
  position: relative;
}
/* Connecting timeline line */
.milestones::before {
  content: '';
  position: absolute;
  left: clamp(1.25rem,4vw,2.5rem);
  right: clamp(1.25rem,4vw,2.5rem);
  top: calc(clamp(3rem,7vw,5rem) + 1.15rem);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255,45,149,.6) 0%,
    rgba(255,45,149,.25) 35%,
    rgba(45,226,230,.15) 65%,
    rgba(255,255,255,.04) 100%
  );
}
.milestone {
  position: relative;
  padding: 1.8rem 1.5rem 1.5rem;
}
/* Vertical separator between milestones */
.milestone:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.5rem; bottom: 0; right: 0;
  width: 1px; background: var(--border);
}
/* Dot marker */
.milestone-accent {
  width: 11px; height: 11px; border-radius: 50%;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
  border: 2px solid var(--txt-faint);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--bg);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.milestone[data-state="preorder"] .milestone-accent {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(255,45,149,.55);
}
.milestone[data-state="release"] .milestone-accent {
  border-color: rgba(255,255,255,.28);
}
.milestone[data-state="hub"] .milestone-accent {
  border-color: rgba(255,255,255,.12);
}
.milestone:hover .milestone-accent { border-color: rgba(255,255,255,.45); }

.m-date {
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--txt-faint); font-weight: 500;
}
.m-title {
  font-family: "Archivo", sans-serif; font-weight: 700;
  font-size: 1.08rem; margin: .45rem 0 .45rem; letter-spacing: -.01em; color: var(--txt);
}
.m-desc { color: var(--txt-dim); font-size: .84rem; line-height: 1.65; }
.milestone.is-active .m-title { color: var(--pink); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head {
  max-width: 700px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center;
}
.section-head h2 {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: clamp(2rem, 5.5vw, 3.8rem); line-height: .97;
  letter-spacing: -.03em; color: var(--txt);
}
.section-sub {
  color: var(--txt-dim); margin-top: .85rem; font-size: .93rem;
  max-width: 500px; line-height: 1.7; margin-left: auto; margin-right: auto;
}

/* ============================================================
   STATS STRIP — editorial rule-separated
   ============================================================ */
.stats-strip {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 9vw, 7rem);
}
.stats-strip-inner {
  display: flex; align-items: flex-start;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.stat-divider { display: none; }
.stat-item {
  flex: 1; text-align: center; text-decoration: none; padding: 0 1rem;
  border-right: 1px solid var(--border);
  transition: opacity .25s var(--ease);
}
.stat-item:first-child { padding-left: 0; text-align: left; }
.stat-item:last-child { border-right: none; padding-right: 0; text-align: right; }
.stat-item:hover { opacity: .55; }
.stat-num {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1;
  letter-spacing: -.03em; color: var(--txt);
  display: block;
}
.stat-label {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--txt-faint); margin-top: .45rem; font-weight: 500; display: block;
}
@media (max-width: 680px) {
  .stats-strip-inner { flex-wrap: wrap; border-top: none; padding-top: 0; gap: 0; }
  .stat-item {
    flex: 1 1 44%; text-align: center; padding: 1.4rem .5rem;
    border-right: none; border: 1px solid var(--border); margin: -1px;
  }
  .stat-item:first-child, .stat-item:last-child { text-align: center; padding: 1.4rem .5rem; }
}

/* ============================================================
   FEATURES — bento grid with number accents
   ============================================================ */
.features {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}
.feature-card {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
  text-decoration: none;
  min-height: 380px;
  background: var(--bg-card);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top,
    rgba(6,5,13,.98) 0%,
    rgba(6,5,13,.6) 40%,
    rgba(6,5,13,.18) 70%,
    transparent 100%
  );
}
.feature-card:hover {
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 24px 70px -20px rgba(0,0,0,.85),
              inset 0 1px 0 rgba(255,255,255,.04);
}
/* Hero card spans full width */
.fc--hero {
  grid-column: 1 / -1;
  min-height: 460px;
}
.fc--hero .fc-body { max-width: 520px; }
.fc--hero .fc-body h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.fc--hero .fc-list { grid-template-columns: repeat(4, 1fr); gap: .3rem 1rem; }

/* Big decorative number */
.fc-num {
  position: absolute; top: .2rem; right: .8rem; z-index: 2;
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: 7rem; line-height: 1; letter-spacing: -.05em;
  color: rgba(255,255,255,.028);
  pointer-events: none; user-select: none;
  transition: color .5s;
}
.feature-card:hover .fc-num { color: rgba(255,255,255,.05); }

.fc-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; pointer-events: none;
}
.fc-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: .52rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(45,226,230,.65); background: rgba(45,226,230,.07);
  padding: .2rem .5rem; border-radius: 4px;
  border: 1px solid rgba(45,226,230,.16);
}
.fc-body {
  position: relative; z-index: 1;
  padding: 1.4rem 1.5rem 1.6rem; width: 100%;
}
.fc-body h3 {
  font-family: "Archivo", sans-serif; font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.18;
  letter-spacing: -.015em; color: var(--txt);
}
.fc-body > p { color: var(--txt-dim); margin: .3rem 0 .8rem; font-size: .875rem; line-height: 1.6; }
.fc-list { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .8rem; }
.fc-list li {
  position: relative; padding-left: .85rem; font-size: .8rem;
  color: var(--txt-dim); line-height: 1.5;
}
.fc-list li::before {
  content: ""; position: absolute; left: 0; top: .63em;
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.fc-explore {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .8rem; font-size: .75rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,.28);
  transition: color .22s, gap .3s var(--ease);
}
.feature-card:hover .fc-explore { color: var(--txt); gap: .55rem; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .fc--hero { grid-column: auto; min-height: 400px; }
  .fc--hero .fc-list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   POSTCARD MARQUEE
   ============================================================ */
.postcards { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.postcards .section-head { padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; gap: .7rem; width: max-content;
  animation: scroll-x 50s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track figure {
  position: relative; width: 400px; flex: 0 0 auto; border-radius: 10px; overflow: hidden;
}
.marquee-track img {
  width: 100%; height: 268px; object-fit: cover;
  transition: transform .55s var(--ease);
}
.marquee-track figure:hover img { transform: scale(1.04); }
.marquee-track figcaption {
  position: absolute; left: 1rem; bottom: .9rem;
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: 1rem; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.9);
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.marquee-track figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,5,13,.62) 0%, transparent 55%);
  opacity: 0; transition: opacity .25s; border-radius: inherit;
}
.marquee-track figure:hover::after { opacity: 1; }
.marquee-track figure:hover figcaption { opacity: 1; transform: none; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   NOTIFY
   ============================================================ */
.notify { padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2.5rem); }
.notify-inner {
  max-width: 560px; margin: 0 auto; text-align: center; padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 16px; position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.notify-inner h2 {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}
.notify-inner > p { color: var(--txt-dim); margin: .65rem auto 1.5rem; max-width: 400px; font-size: .9rem; }
.notify-form { display: flex; gap: .5rem; max-width: 420px; margin: 0 auto; flex-wrap: wrap; }
.notify-form input {
  flex: 1 1 200px; padding: .7rem 1rem; border-radius: 8px;
  font-size: .88rem; font-family: inherit;
  background: rgba(0,0,0,.35); border: 1px solid var(--border); color: var(--txt);
  transition: border-color .2s;
}
.notify-form input::placeholder { color: var(--txt-faint); }
.notify-form input:focus { outline: none; border-color: rgba(255,255,255,.22); }
.notify-msg { margin-top: .9rem; font-size: .85rem; min-height: 1.2em; font-weight: 500; }
.notify-msg.ok { color: var(--cyan); }
.notify-msg.err { color: var(--pink); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 22px; height: 14px; background: none; border: none; padding: 0;
  cursor: pointer; margin-left: .6rem; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 1px;
  background: rgba(255,255,255,.55); border-radius: 2px;
  transition: transform .32s var(--ease), opacity .25s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(6,5,13,.96); backdrop-filter: blur(30px) saturate(1.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.nav-mobile.is-open { opacity: 1; pointer-events: all; }
.nav-mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: 1px solid var(--border);
  border-radius: 6px; padding: .33rem .62rem;
  color: var(--txt-dim); font-size: .82rem; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.nav-mobile-close:hover { color: var(--txt); border-color: rgba(255,255,255,.28); }
.nav-mobile-links {
  display: flex; flex-direction: column; align-items: center;
  gap: .08rem; text-align: center;
}
.nav-mobile-links a {
  font-family: "Archivo Black", sans-serif; font-style: italic;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  color: rgba(255,255,255,.28); line-height: 1.28; padding: .2rem 1.5rem;
  transition: color .18s, transform .22s; letter-spacing: -.025em;
}
.nav-mobile-links a:hover { color: var(--txt); transform: translateX(8px); }
.nav-mobile-ctas { display: flex; gap: .6rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 860px) { .nav-hamburger { display: flex; } }

/* ============================================================
   TRAILERS
   ============================================================ */
.trailers-section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.trailers-wrap { max-width: var(--maxw); margin: 0 auto; }
.trailer-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto; gap: .65rem; align-items: start;
}
.trailer-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.trailer-card:hover {
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 18px 55px -18px rgba(0,0,0,.85);
}
.trailer-card--featured { grid-row: 1 / 3; }
.trailer-card video { width: 100%; display: block; aspect-ratio: 16/9; background: #000; }
.trailer-meta { padding: 1rem 1.2rem 1.3rem; }
.trailer-tag {
  display: inline-block; font-size: .52rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--txt-faint);
  border: 1px solid var(--border); padding: .18rem .45rem; border-radius: 4px;
}
.trailer-meta h3 {
  font-family: "Archivo", sans-serif; font-weight: 700;
  font-size: .93rem; line-height: 1.28; margin: .48rem 0 .22rem; letter-spacing: -.012em;
}
.trailer-meta p { color: var(--txt-dim); font-size: .8rem; }
.trailer-card--side .trailer-meta h3 { font-size: .86rem; }
.trailer-card--cover .trailer-tag { color: rgba(45,226,230,.55); border-color: rgba(45,226,230,.14); }
@media (max-width: 860px) {
  .trailer-grid { grid-template-columns: 1fr; }
  .trailer-card--featured { grid-row: auto; }
}

/* ============================================================
   CHARACTERS — horizontal scroll strip
   ============================================================ */
.characters-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.characters-wrap { max-width: var(--maxw); margin: 0 auto; }
.characters-wrap .section-head { padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.char-scroll-wrap {
  overflow-x: auto; scrollbar-width: none;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.char-scroll-wrap:active { cursor: grabbing; }
.char-scroll-wrap::-webkit-scrollbar { display: none; }
.char-grid { display: flex; gap: .65rem; width: max-content; padding-bottom: .25rem; }

.char-card {
  flex: 0 0 200px; height: 310px;
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .35s;
  will-change: transform;
}
.char-card:hover { border-color: rgba(255,255,255,.16); }
/* Top line accent revealed on hover */
.char-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-vi); opacity: 0; z-index: 3;
  transition: opacity .35s;
}
.char-card:hover::before { opacity: 1; }
.char-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.char-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(6,5,13,.97) 0%, rgba(6,5,13,.32) 42%, transparent 65%);
}
.char-name {
  font-family: "Archivo", sans-serif; font-weight: 700;
  font-size: .88rem; letter-spacing: -.01em; color: var(--txt); line-height: 1.22;
}
.char-role {
  font-size: .56rem; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--txt-faint); margin-top: .28rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 3.5rem clamp(1.25rem, 4vw, 2.5rem) 5rem;
  text-align: center; border-top: 1px solid var(--border);
}
.footer-brand { margin-bottom: 1.2rem; justify-content: center; display: flex; }
.footer-disclaimer {
  max-width: 540px; margin: 0 auto; color: var(--txt-faint); font-size: .74rem; line-height: 1.85;
}
.footer-copy { margin-top: .85rem; color: var(--txt-faint); font-size: .7rem; opacity: .55; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .milestones { grid-template-columns: 1fr; }
  .milestones::before { display: none; }
  .milestone:not(:last-child)::after {
    top: auto; bottom: 0; right: auto; left: 0;
    width: 100%; height: 1px;
  }
  .scroll-cue { display: none; }
  .nav-dropdown { right: 0; left: auto; min-width: 180px; }

  /* Forum */
  .forum-main { padding: 5rem 1rem 3rem; }
  .cat-row { padding: .9rem 1rem; }
  .page-hero { flex-direction: column; gap: 1rem; }
  .page-hero-inner h1 { font-size: 1.4rem; }
  .breadcrumb { padding: 0 1rem; }
  .thread-wrap, .reply-section { padding: 0; }

  /* Wiki */
  .wiki-main { padding: 5rem 1rem 3rem; }
  .article-wrap { padding: 5rem 1rem 3rem; }
  .wiki-edit-wrap { padding: 5rem 1rem 3rem; }

  /* Profile */
  .profile-wrap { padding: 5rem 1rem 3rem; }
  .profile-header { gap: 1.25rem; }

  /* Tools */
  .tools-wrap { padding: 5rem 1rem 3rem; }
}

@media (max-width: 520px) {
  .cd-unit { padding: .5rem .7rem .42rem; }
  .fc-list { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .cat-meta { flex-direction: column; gap: .15rem; }
  .nav-cta + .nav-cta { display: none; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .notes-layout { min-height: auto; }
  .profile-stats { gap: 1rem; }
  .profile-stat-num { font-size: 1.1rem; }
  .collect-item-hint { display: none; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee-track { animation: none; }
  .site-grain { animation: none; }
  .aurora-bg::before, .aurora-bg::after { animation: none; }
  .hero-logo-mark { animation: none; }
}

/* ============================================================
   PRE-ORDER NAV HIGHLIGHT
   ============================================================ */
.nav-preorder { color: var(--pink) !important; }
.nav-preorder::after { background: var(--pink) !important; }
