/* ═══════════════════════════════════════════════════════════════
   星耀云社 · FEAIA IDOL — style-s02.css
   S02 Extension: Scene System · New Pages · Responsive · Animations
   Namespace: all new classes prefixed to avoid collision with style.css
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   S02 TOKEN EXTENSIONS (extend, never override style.css :root)
───────────────────────────────────────────────────────────────*/
:root {
  --scene-h:     100dvh;
  --sidebar-w:   240px;
  --nav-h:       64px;
  --tabs-h:      52px;
  --glass-heavy: rgba(10,13,24,0.72);
  --glass-card:  rgba(255,255,255,0.035);
  --glass-hover: rgba(255,255,255,0.065);
  --pro-color:   #7B6CF6;
  --plus-color:  #4DD9C0;
  --gold-rgb:    245,200,66;
  --purple-rgb:  123,108,246;
  --cyan-rgb:    77,217,192;
}

/* ─────────────────────────────────────────────────────────────
   PAGE LOADER
───────────────────────────────────────────────────────────────*/
.page-loader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.page-loader.done {
  opacity: 0; pointer-events: none; transform: scale(1.04);
}
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.loader-mark {
  width: 56px; height: 56px;
  animation: loader-pulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(var(--gold-rgb), 0.6));
}
@keyframes loader-pulse {
  0%,100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(1.12) rotate(18deg); opacity: 0.7; }
}
.loader-bar {
  width: 160px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 99px;
  transition: width 0.4s var(--ease);
}
.loader-text {
  font-family: 'Noto Serif SC', serif;
  font-size: 0.8rem; letter-spacing: 0.25em;
  color: var(--text-dim);
}

/* ─────────────────────────────────────────────────────────────
   CUSTOM CURSOR (replaces S01 cursor-glow)
───────────────────────────────────────────────────────────────*/
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(var(--gold-rgb),0.8);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(var(--purple-rgb), 0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              border-color 0.25s var(--ease), opacity 0.3s;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: rgba(var(--gold-rgb), 0.7);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   NAV — S02 EXTENSIONS
───────────────────────────────────────────────────────────────*/
.brand-star {
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.6));
  animation: spin-slow 14s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.nav-brand-cn {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
}
.nav-sep { color: var(--text-faint); margin: 0 2px; }
.nav-brand-en {
  font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--text-dim); font-family: 'Space Grotesk', sans-serif;
}
.nav-highlight {
  color: var(--cyan) !important;
  border: 1px solid rgba(var(--cyan-rgb), 0.25) !important;
  border-radius: var(--r-sm) !important;
  padding: 5px 12px !important;
}
.nav-highlight:hover {
  background: rgba(var(--cyan-rgb), 0.1) !important;
  border-color: rgba(var(--cyan-rgb), 0.5) !important;
}
.btn-nav-login {
  padding: 7px 18px;
  border: 1px solid rgba(var(--purple-rgb), 0.35);
  border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text);
  background: rgba(var(--purple-rgb), 0.1);
  transition: all 0.25s var(--ease);
}
.btn-nav-login:hover {
  background: rgba(var(--purple-rgb), 0.22);
  border-color: rgba(var(--purple-rgb), 0.6);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; cursor: pointer;
}
.nav-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 16px;
  background: var(--glass-heavy);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.nav-mobile a {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 0.9rem; color: var(--text-dim);
  transition: all 0.2s;
}
.nav-mobile a:hover, .nav-mobile a:active {
  color: var(--text); background: var(--glass-card);
}
.nav-mobile.open { display: flex; }
.mobile-login-link {
  margin-top: 8px;
  border: 1px solid rgba(var(--gold-rgb), 0.3) !important;
  color: var(--gold) !important;
}
.nav-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-dim);
  margin-left: 16px;
}
.nav-breadcrumb a { color: var(--text-dim); }
.nav-breadcrumb a:hover { color: var(--text); }
.nav-breadcrumb span:last-child { color: var(--text); }

/* ─────────────────────────────────────────────────────────────
   SCENE WRAPPER — Full-screen vertical scroll snap
───────────────────────────────────────────────────────────────*/
.scene-wrapper {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: var(--scene-h);
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.scene-wrapper::-webkit-scrollbar { display: none; }

.scene {
  scroll-snap-align: start;
  min-height: var(--scene-h);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.scene.active,
.scene.in-view {
  opacity: 1; transform: translateY(0);
}
.scene-inner {
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 80px 24px 60px;
  position: relative; z-index: 2;
}

/* Scene header (consistent across all scenes) */
.scene-header {
  text-align: center; margin-bottom: 56px;
  position: relative;
}
.scene-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 12px;
}
.scene-tag::before, .scene-tag::after {
  content: ''; display: block;
  width: 22px; height: 1px;
  background: var(--cyan); opacity: 0.5;
}
.scene-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 14px;
}
.scene-desc { font-size: 0.95rem; color: var(--text-dim); }
.scene-footer-link { text-align: center; margin-top: 48px; }
.sfl-btn {
  font-size: 0.88rem; color: var(--cyan);
  border-bottom: 1px solid rgba(var(--cyan-rgb), 0.4);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.sfl-btn:hover { color: var(--text); border-color: var(--text); }

/* Side nav dots */
.scene-nav-dots {
  position: fixed; right: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex; flex-direction: column; gap: 10px;
}
.snd {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none; padding: 0; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.snd:hover { background: rgba(255,255,255,0.5); transform: scale(1.3); }
.snd.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.6);
  height: 24px; border-radius: 4px;
}
.scene-down-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.14em; color: var(--text-faint);
  text-transform: uppercase;
  animation: sdh-float 2.5s ease-in-out infinite;
  z-index: 3;
}
@keyframes sdh-float {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
.sdh-arrow {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
}

/* ─────────────────────────────────────────────────────────────
   SCENE 0 — HERO
───────────────────────────────────────────────────────────────*/
.scene-hero { align-items: stretch; }

.hero-bg-aurora {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-bg-aurora::before {
  content: ''; position: absolute;
  top: -20%; left: 25%; width: 65vw; height: 65vw;
  background: radial-gradient(ellipse, rgba(var(--purple-rgb),0.16) 0%, transparent 65%);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
.hero-bg-aurora::after {
  content: ''; position: absolute;
  bottom: -15%; right: 15%; width: 48vw; height: 48vw;
  background: radial-gradient(ellipse, rgba(var(--cyan-rgb),0.11) 0%, transparent 65%);
  animation: aurora-drift 30s ease-in-out infinite alternate-reverse;
}
@keyframes aurora-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-4%,6%) scale(1.1); }
}
.hero-noise-canvas {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.025;
}

/* Hero reel */
.hero-reel-track {
  position: absolute; inset: 0; z-index: 1;
}
.reel-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8%;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.reel-slide.active {
  opacity: 1; transform: translateX(0); pointer-events: auto;
}
.reel-3d-mount {
  width: min(440px, 42vw);
  aspect-ratio: 9/11;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(145deg,
    rgba(var(--purple-rgb),0.07),
    rgba(var(--cyan-rgb),0.04));
  overflow: hidden;
  position: relative;
}
.reel-glow {
  position: absolute;
  width: min(440px, 42vw); aspect-ratio: 9/11;
  border-radius: var(--r-xl);
  box-shadow: 0 0 80px -20px var(--glow-color, rgba(var(--purple-rgb),0.4));
  pointer-events: none;
}

/* Reel dots */
.reel-dots {
  position: absolute; bottom: 80px; right: calc(8% + min(220px,21vw));
  display: flex; gap: 8px; z-index: 4;
}
.rdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; cursor: pointer; padding: 0;
  transition: all 0.3s var(--ease);
}
.rdot.active {
  background: var(--gold); width: 20px; border-radius: 3px;
  box-shadow: 0 0 8px rgba(var(--gold-rgb),0.5);
}

/* Hero panel */
.hero-panel {
  position: absolute; left: 8%; top: 50%;
  transform: translateY(-50%);
  z-index: 3; max-width: 480px;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 20px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease) 0.8s forwards;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.5); }
}
.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 20px;
}
.ht-line {
  display: block;
  opacity: 0; transform: translateY(28px);
  animation: fade-up 0.9s var(--ease) forwards;
}
.ht-l1 { animation-delay: 0.85s; }
.ht-l2 { animation-delay: 1.0s;  }
.ht-l3 { animation-delay: 1.15s; }

.hero-char-caption {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; font-size: 0.88rem;
  opacity: 0; animation: fade-up 0.8s var(--ease) 1.3s forwards;
}
.caption-name { font-weight: 600; }
.caption-designer { color: var(--text-dim); }
.ur-badge {
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--gold), #ffb347);
  color: #0a0d18;
}
.ssr-badge {
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 700;
  background: rgba(var(--purple-rgb), 0.25);
  border: 1px solid rgba(var(--purple-rgb), 0.5);
  color: var(--purple);
}
.sr-badge {
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 700;
  background: rgba(var(--cyan-rgb), 0.15);
  border: 1px solid rgba(var(--cyan-rgb), 0.35);
  color: var(--cyan);
}

.hero-vote-quick {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  opacity: 0; animation: fade-up 0.8s var(--ease) 1.4s forwards;
}
.btn-vote-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold), #e8a82a);
  color: #0a0d18; font-weight: 700; font-size: 0.95rem;
  border-radius: var(--r-md);
  box-shadow: 0 0 28px rgba(var(--gold-rgb), 0.35);
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.btn-vote-hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn-vote-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(var(--gold-rgb), 0.5), 0 8px 24px rgba(0,0,0,0.3);
}
.btn-vote-hero:hover::after { background: rgba(255,255,255,0.08); }
.btn-view-char {
  font-size: 0.85rem; color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.btn-view-char:hover { color: var(--text); border-color: var(--text-dim); }

.hero-countdown {
  opacity: 0; animation: fade-up 0.8s var(--ease) 1.55s forwards;
}
.cd-label {
  font-size: 0.7rem; letter-spacing: 0.14em; color: var(--text-dim);
  margin-bottom: 10px;
}
.cd-digits {
  display: flex; align-items: center; gap: 6px;
}
.cd-cell {
  display: flex; flex-direction: column; align-items: center;
  background: var(--glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 14px; min-width: 52px;
}
.cd-cell span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem; font-weight: 500; line-height: 1;
  color: var(--text);
}
.cd-cell em { font-size: 0.6rem; color: var(--text-faint); font-style: normal; margin-top: 3px; }
.cd-colon { font-size: 1.4rem; color: var(--text-faint); margin-bottom: 14px; }

.hero-stats-float {
  position: absolute; right: 8%; bottom: 80px;
  z-index: 4;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; animation: fade-in 1s var(--ease) 1.7s forwards;
}
.hsf-item {
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 10px 16px;
  background: var(--glass-heavy);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(16px);
  text-align: right;
}
.hsf-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem; font-weight: 600; color: var(--cyan);
}
.hsf-label { font-size: 0.72rem; color: var(--text-dim); }

/* ─────────────────────────────────────────────────────────────
   SCENE 1 — TOP 3 ARENA
───────────────────────────────────────────────────────────────*/
.live-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.3);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  color: #E63946;
  margin-left: 12px;
}
.live-chip-sm {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 99px;
  background: rgba(230,57,70,0.12);
  font-size: 0.62rem; font-weight: 700;
  color: #E63946;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #E63946;
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}

.top3-arena {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 20px; align-items: end;
  max-width: 960px; margin: 0 auto;
}
.arena-card {
  position: relative;
  background: var(--glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 20px 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(14px);
}
.arena-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, transparent 55%, rgba(255,255,255,0.015));
  pointer-events: none;
}
.arena-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hov);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.arena-card.rank-1 {
  transform: translateY(-20px);
  border-color: rgba(var(--gold-rgb), 0.28);
  background: linear-gradient(145deg,
    rgba(var(--gold-rgb),0.06),
    rgba(var(--purple-rgb),0.06));
  box-shadow: 0 0 60px rgba(var(--gold-rgb),0.07);
}
.arena-card.rank-1:hover {
  transform: translateY(-30px);
  border-color: rgba(var(--gold-rgb), 0.5);
  box-shadow: 0 0 80px rgba(var(--gold-rgb),0.14), 0 28px 80px rgba(0,0,0,0.5);
}
.arena-card.rank-2 {
  background: linear-gradient(145deg,
    rgba(192,192,220,0.04), rgba(80,80,160,0.04));
}
.arena-card.rank-3 {
  background: linear-gradient(145deg,
    rgba(200,128,60,0.05), rgba(140,80,30,0.04));
}

/* Champion crown */
.champ-crown {
  position: absolute; top: -44px; left: 50%;
  transform: translateX(-50%);
  width: 64px;
  filter: drop-shadow(0 0 14px rgba(var(--gold-rgb),0.7));
  animation: crown-float 3.2s ease-in-out infinite;
}
@keyframes crown-float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

.ac-rank-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem; font-weight: 700;
  color: var(--text-faint); line-height: 1;
  margin-bottom: 16px;
}
.ac-rank-num.gold { color: var(--gold); }

.ac-stage {
  position: relative; height: 140px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.ac-char-art {
  width: 90px; height: 110px;
  background: linear-gradient(145deg,
    rgba(var(--purple-rgb),0.2), rgba(var(--cyan-rgb),0.1));
  border-radius: var(--r-lg);
  position: relative; z-index: 1;
  /* Replace with actual character art via background-image */
  background-image: url('assets/images/char_art_placeholder.png');
  background-size: cover; background-position: center top;
}
.champion-art { width: 108px; height: 130px; }
.ac-aura {
  position: absolute; inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--aura, rgba(var(--gold-rgb),0.3)) 0%, transparent 72%);
  opacity: 0.4; pointer-events: none;
}
.champ-particles {
  position: absolute; inset: 0; pointer-events: none;
}

.ac-info { margin-bottom: 14px; }
.ac-rarity {
  display: inline-block;
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.ac-rarity.ur {
  background: linear-gradient(135deg, var(--gold), #ffb347);
  color: #0a0d18;
}
.ac-rarity.ssr {
  background: rgba(var(--purple-rgb), 0.2);
  border: 1px solid rgba(var(--purple-rgb), 0.45);
  color: var(--purple);
}
.ac-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem; font-weight: 700; margin-bottom: 2px;
}
.ac-subtitle { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 10px; }
.ac-votes {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px;
}
.ac-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem; font-weight: 600; color: var(--text);
}
.ac-unit { font-size: 0.8rem; color: var(--text-dim); }
.ac-bar-track {
  height: 3px; background: var(--border);
  border-radius: 99px; overflow: hidden;
}
.ac-bar {
  height: 100%; width: var(--w, 50%);
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 99px;
  transition: width 1.2s var(--ease);
}
.champion-bar {
  background: linear-gradient(90deg, var(--gold), #ffb347);
  box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.5);
}

.btn-arena-vote {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 10px;
  border-radius: var(--r-md);
  font-size: 0.85rem; font-weight: 600;
  background: var(--glass-card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.25s var(--ease);
  margin-bottom: 8px;
}
.btn-arena-vote:hover {
  background: rgba(var(--purple-rgb), 0.15);
  border-color: rgba(var(--purple-rgb), 0.5);
  transform: translateY(-2px);
}
.btn-arena-vote.champion-vote {
  background: rgba(var(--gold-rgb), 0.1);
  border-color: rgba(var(--gold-rgb), 0.35);
  color: var(--gold);
}
.btn-arena-vote.champion-vote:hover {
  background: rgba(var(--gold-rgb), 0.2);
  border-color: rgba(var(--gold-rgb), 0.6);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.2);
}
.ac-detail-link {
  display: block; text-align: center;
  font-size: 0.75rem; color: var(--text-faint);
  transition: color 0.2s;
}
.ac-detail-link:hover { color: var(--text-dim); }
.rank1-halo {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%,
    rgba(var(--gold-rgb),0.04) 0%, transparent 70%);
  animation: halo-pulse 4s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%,100% { opacity: 0.5; } 50% { opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────
   SCENE 2 — CHARACTER GRID
───────────────────────────────────────────────────────────────*/
.filter-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-group {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.fbtn {
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-dim);
  background: var(--glass-card);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}
.fbtn:hover { color: var(--text); border-color: var(--border-hov); }
.fbtn.active {
  color: var(--text);
  background: rgba(var(--purple-rgb), 0.18);
  border-color: rgba(var(--purple-rgb), 0.5);
  box-shadow: 0 0 14px rgba(var(--purple-rgb), 0.2);
}
.sort-select {
  padding: 7px 14px;
  background: var(--glass-card); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text-dim);
  font-size: 0.82rem; font-family: inherit;
  cursor: pointer; appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.char-card {
  background: var(--glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(20px);
  animation: card-in 0.5s var(--ease) forwards;
}
@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}
.char-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-hov);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 2;
}
.cc-art {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--r-md); margin-bottom: 12px;
  background: linear-gradient(145deg,
    rgba(var(--purple-rgb),0.14), rgba(var(--cyan-rgb),0.08));
  background-size: cover; background-position: center top;
  position: relative; overflow: hidden;
}
.cc-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,8,16,0.7) 0%, transparent 50%);
}
.cc-rank-badge {
  position: absolute; top: 8px; left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 700;
  background: var(--glass-heavy); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 3px 8px; border-radius: var(--r-sm);
  color: var(--text-dim);
  z-index: 1;
}
.cc-rarity-dot {
  position: absolute; top: 8px; right: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  z-index: 1;
}
.cc-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 0.95rem; font-weight: 600; margin-bottom: 4px;
}
.cc-designer { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 8px; }
.cc-votes-row {
  display: flex; align-items: center; justify-content: space-between;
}
.cc-votes {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem; color: var(--text-dim);
}
.btn-cc-vote {
  padding: 5px 12px; border-radius: var(--r-sm);
  font-size: 0.75rem; font-weight: 600;
  background: rgba(var(--purple-rgb), 0.15);
  border: 1px solid rgba(var(--purple-rgb), 0.35);
  color: var(--purple);
  transition: all 0.2s;
}
.btn-cc-vote:hover {
  background: rgba(var(--purple-rgb), 0.28);
  border-color: rgba(var(--purple-rgb), 0.6);
}

/* ─────────────────────────────────────────────────────────────
   SCENE 3 — HOW IT WORKS
───────────────────────────────────────────────────────────────*/
.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
  max-width: 1000px; margin: 0 auto 48px;
}
.how-card {
  background: var(--glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: all 0.35s var(--ease);
}
.how-card:hover {
  border-color: var(--border-hov);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.how-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem; font-weight: 700;
  color: var(--border); line-height: 1;
  margin-bottom: 16px;
}
.how-icon-stage {
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.how-canvas { border-radius: 50%; }
.how-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 10px;
}
.how-desc { font-size: 0.85rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 14px; }
.how-badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 600;
  margin-bottom: 12px;
}
.how-badge.purple {
  background: rgba(var(--purple-rgb),0.15);
  border: 1px solid rgba(var(--purple-rgb),0.35);
  color: var(--purple);
}
.how-badge.cyan {
  background: rgba(var(--cyan-rgb),0.12);
  border: 1px solid rgba(var(--cyan-rgb),0.3);
  color: var(--cyan);
}
.how-badge.gold {
  background: rgba(var(--gold-rgb),0.1);
  border: 1px solid rgba(var(--gold-rgb),0.3);
  color: var(--gold);
}
.how-link { font-size: 0.78rem; color: var(--text-dim); transition: color 0.2s; }
.how-link:hover { color: var(--cyan); }

.how-connector {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 8px; padding-top: 80px;
}
.hc-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.hc-node {
  font-size: 0.8rem; color: var(--text-faint); margin: 6px 0;
  animation: spin-slow 8s linear infinite;
}

/* Revenue visual */
.revenue-visual {
  max-width: 700px; margin: 0 auto;
  background: var(--glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
}
.rv-title { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 14px; }
.rv-bar {
  display: flex; border-radius: var(--r-sm); overflow: hidden; height: 32px;
}
.rv-seg {
  width: var(--w); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600;
  transition: width 1.2s var(--ease);
  overflow: hidden; white-space: nowrap;
}
.rv-seg span { padding: 0 6px; }
.rv-seg.designer { background: linear-gradient(90deg, var(--purple), #9b8ef8); color: #fff; }
.rv-seg.scout    { background: rgba(var(--gold-rgb),0.8); color: #0a0d18; }
.rv-seg.supporter{ background: rgba(var(--cyan-rgb),0.7); color: #0a0d18; }
.rv-seg.platform { background: rgba(255,255,255,0.08); color: var(--text-dim); }

/* ─────────────────────────────────────────────────────────────
   SCENE 4 — VAULT
───────────────────────────────────────────────────────────────*/
.vault-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 32px;
  align-items: start;
}
.vault-3d-stage {
  position: relative;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(6,8,16,0.5);
  aspect-ratio: 16/9;
}
.vault-canvas {
  width: 100%; height: 100%; display: block;
}
.vault-overlay-ui {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.vault-coming-tag {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--glass-heavy); backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--gold-rgb),0.25);
  border-radius: 99px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--gold);
}
.vault-countdown-mini {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; color: var(--text-dim);
  background: var(--glass-heavy); backdrop-filter: blur(8px);
  padding: 4px 12px; border-radius: 99px;
}
.vault-aside { display: flex; flex-direction: column; gap: 16px; }
.va-title { font-size: 0.8rem; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 4px; }
.vault-past-list { display: flex; flex-direction: column; gap: 12px; }
.vpl-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.vpl-item:hover { border-color: var(--border-hov); background: var(--glass-hover); }
.vpl-art {
  width: 44px; height: 54px; border-radius: var(--r-sm);
  background: rgba(var(--purple-rgb),0.15);
  flex-shrink: 0;
  background-size: cover;
}
.vpl-info { flex: 1; }
.vpl-season { font-size: 0.65rem; color: var(--text-faint); }
.vpl-name { font-family: 'Noto Serif SC',serif; font-size: 0.92rem; font-weight: 600; }
.vpl-stat { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }
.btn-vault-detail {
  display: block; text-align: center;
  padding: 10px 20px;
  border: 1px solid rgba(var(--gold-rgb),0.3);
  border-radius: var(--r-md);
  font-size: 0.82rem; color: var(--gold);
  transition: all 0.25s var(--ease);
}
.btn-vault-detail:hover {
  background: rgba(var(--gold-rgb),0.1);
  border-color: rgba(var(--gold-rgb),0.5);
}

/* ─────────────────────────────────────────────────────────────
   SCENE 5 — PROOF + SUBSCRIBE
───────────────────────────────────────────────────────────────*/
.proof-ticker-wrap {
  overflow: hidden; margin: 0 -24px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.proof-track {
  display: flex; gap: 14px; width: max-content;
  animation: proof-scroll 32s linear infinite;
}
.proof-track:hover { animation-play-state: paused; }
@keyframes proof-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.proof-card {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--glass-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
}
.pc-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.pc-user { font-size: 0.82rem; font-weight: 600; }
.pc-action { font-size: 0.75rem; color: var(--text-dim); }
.pc-char {
  font-size: 0.7rem; color: var(--gold);
  padding: 2px 8px;
  background: rgba(var(--gold-rgb),0.1);
  border-radius: 99px;
  white-space: nowrap;
}

/* Subscribe band */
.subscribe-band {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  background: linear-gradient(135deg,
    rgba(var(--purple-rgb),0.1), rgba(var(--cyan-rgb),0.06));
  border: 1px solid rgba(var(--purple-rgb),0.2);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  position: relative; overflow: hidden;
}
.subscribe-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(var(--gold-rgb),0.03));
  pointer-events: none;
}
.sb-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.14em; color: var(--cyan);
  margin-bottom: 10px;
}
.sb-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700;
  margin-bottom: 10px;
}
.sb-desc { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 24px; }
.sb-plans {
  display: flex; gap: 12px; margin-bottom: 24px;
}
.sb-plan {
  padding: 14px 18px;
  background: var(--glass-card); border: 1px solid var(--border);
  border-radius: var(--r-md); text-align: center; min-width: 100px;
  position: relative;
}
.sb-plan.featured {
  border-color: rgba(var(--gold-rgb),0.35);
  background: rgba(var(--gold-rgb),0.06);
}
.sp-badge {
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px; border-radius: 99px;
  font-size: 0.62rem; font-weight: 700;
  background: var(--gold); color: #0a0d18;
}
.sp-name { display: block; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 4px; }
.sp-price {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem; font-weight: 700; color: var(--text);
}
.sp-price em { font-size: 0.7rem; font-style: normal; color: var(--text-dim); }
.sp-crystal { display: block; font-size: 0.72rem; color: var(--gold); margin-top: 4px; }
.btn-subscribe {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff; font-weight: 700; font-size: 0.95rem;
  border-radius: var(--r-md);
  box-shadow: 0 0 28px rgba(var(--purple-rgb),0.35);
  transition: all 0.3s var(--ease);
}
.btn-subscribe:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(var(--purple-rgb),0.5), 0 8px 24px rgba(0,0,0,0.3);
}
.sb-deco { width: 300px; flex-shrink: 0; }
.sb-deco canvas { border-radius: var(--r-xl); }

/* ─────────────────────────────────────────────────────────────
   VOTE MODAL
───────────────────────────────────────────────────────────────*/
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 20px;
}
.modal-overlay.open {
  opacity: 1; pointer-events: auto;
}
.modal-card {
  width: 100%; max-width: 440px;
  background: linear-gradient(145deg, #0c0f1e, #0f1225);
  border: 1px solid rgba(var(--purple-rgb),0.25);
  border-radius: var(--r-xl);
  overflow: hidden; position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7),
              0 0 60px rgba(var(--purple-rgb),0.08);
}
.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--glass-card); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(230,57,70,0.2); color: #E63946; }

.modal-char-preview {
  height: 200px; position: relative; overflow: hidden;
  background: linear-gradient(145deg,
    rgba(var(--purple-rgb),0.14), rgba(var(--cyan-rgb),0.08));
}
.mcp-art {
  width: 100%; height: 100%;
  background-size: cover; background-position: center top;
  /* Replaced via JS with character art */
}
.mcp-glow {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, #0c0f1e);
}
.modal-body { padding: 20px 24px 28px; }
.modal-meta {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.modal-rarity-tag {
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700;
  background: linear-gradient(135deg,var(--gold),#ffb347);
  color: #0a0d18;
}
.modal-season-tag { font-size: 0.72rem; color: var(--text-dim); }
.modal-char-name {
  font-family: 'Noto Serif SC',serif;
  font-size: 1.6rem; font-weight: 700; margin-bottom: 4px;
}
.modal-designer { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 16px; }
.modal-stats {
  display: flex; gap: 0; margin-bottom: 16px;
}
.ms-item {
  flex: 1; display: flex; flex-direction: column; gap: 3px;
  padding: 10px 12px;
  background: var(--glass-card); border: 1px solid var(--border);
}
.ms-item:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.ms-item:last-child  { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.ms-item:not(:last-child) { border-right: none; }
.ms-label { font-size: 0.65rem; color: var(--text-faint); }
.ms-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem; font-weight: 600;
}
.ms-val.gold { color: var(--gold); }
.ms-val.cyan { color: var(--cyan); }

.modal-divider {
  height: 1px; background: var(--border); margin: 14px 0;
}
.modal-amount-label {
  font-size: 0.75rem; color: var(--text-dim); margin-bottom: 10px;
}
.vote-amount-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 8px;
  margin-bottom: 16px;
}
.vag-btn {
  padding: 10px 6px;
  background: var(--glass-card); border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: all 0.22s var(--ease); cursor: pointer;
}
.vag-btn:hover {
  border-color: rgba(var(--purple-rgb),0.5);
  background: rgba(var(--purple-rgb),0.1);
}
.vag-btn.active {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb),0.1);
  box-shadow: 0 0 14px rgba(var(--gold-rgb),0.15);
}
.vag-num { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.vag-icon { font-size: 0.65rem; color: var(--gold); }

.btn-confirm-vote {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--gold), #e8a82a);
  color: #0a0d18; font-weight: 700; font-size: 1rem;
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
  transition: all 0.3s var(--ease);
  margin-bottom: 12px;
  box-shadow: 0 0 24px rgba(var(--gold-rgb),0.25);
}
.btn-confirm-vote:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(var(--gold-rgb),0.4), 0 6px 20px rgba(0,0,0,0.3);
}
.bcv-glow {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn-confirm-vote:hover .bcv-glow { background: rgba(255,255,255,0.1); }
.modal-hint {
  font-size: 0.72rem; color: var(--text-dim); text-align: center; line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   VOTE FLASH
───────────────────────────────────────────────────────────────*/
.vote-flash {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.vote-flash.show { opacity: 1; }
.flash-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.flash-badge {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 28px 40px;
  background: linear-gradient(145deg, #0c0f1e, #121528);
  border: 1px solid rgba(var(--gold-rgb),0.4);
  border-radius: var(--r-xl);
  box-shadow: 0 0 80px rgba(var(--gold-rgb),0.2), 0 0 200px rgba(var(--gold-rgb),0.05);
  transform: scale(0.8);
  transition: transform 0.4s var(--ease);
  text-align: center;
}
.vote-flash.show .flash-badge { transform: scale(1); }
.fb-star {
  font-size: 2.5rem; color: var(--gold);
  filter: drop-shadow(0 0 16px rgba(var(--gold-rgb),0.8));
  animation: fb-spin 0.6s var(--ease);
}
@keyframes fb-spin {
  from { transform: rotate(-180deg) scale(0); }
  to   { transform: rotate(0) scale(1); }
}
.fb-title { font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.fb-sub { font-size: 0.9rem; color: var(--text-dim); }
.fb-sub strong { color: var(--text); }
.fb-scout-hint { font-size: 0.75rem; color: var(--cyan); }

/* ─────────────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────────────────*/
.toast-stack {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  padding: 12px 20px;
  background: var(--glass-heavy);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(16px);
  font-size: 0.85rem;
  opacity: 0; transform: translateY(10px);
  animation: toast-in 0.3s var(--ease) forwards;
  white-space: nowrap;
  pointer-events: auto;
}
@keyframes toast-in {
  to { opacity: 1; transform: translateY(0); }
}
.toast.success { border-color: rgba(var(--cyan-rgb),0.4); color: var(--cyan); }
.toast.error   { border-color: rgba(230,57,70,0.4); color: #E63946; }
.toast.info    { border-color: rgba(var(--gold-rgb),0.3); color: var(--gold); }

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────*/
.footer {
  background: rgba(4,5,12,0.95);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  position: relative; z-index: var(--z-base);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px; margin: 0 auto; padding: 0 24px 48px;
}
.footer-col h4 {
  font-size: 0.78rem; letter-spacing: 0.1em; font-weight: 600;
  color: var(--text-dim); margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 0.85rem; color: var(--text-faint);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text); }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem; font-weight: 600;
  margin-bottom: 12px;
}
.footer-brand-col p {
  font-size: 0.82rem; color: var(--text-faint);
  line-height: 1.7; margin-bottom: 18px;
}
.footer-socials { display: flex; gap: 8px; }
.fs-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--glass-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: var(--text-dim);
  transition: all 0.2s;
}
.fs-btn:hover {
  background: rgba(var(--purple-rgb),0.15);
  border-color: rgba(var(--purple-rgb),0.4);
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-faint);
}
.footer-icp { opacity: 0.6; }

/* ─────────────────────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────────────────────────*/
.gold  { color: var(--gold); }
.cyan  { color: var(--cyan); }
.purple{ color: var(--purple); }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-item.in-view { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET
───────────────────────────────────────────────────────────────*/
@media (max-width: 1024px) {
  .scene-nav-dots { display: none; }
  .top3-arena { grid-template-columns: 1fr 1fr 1fr; }
  .arena-card.rank-1 { transform: translateY(0); }
  .vault-layout { grid-template-columns: 1fr; }
  .vault-aside { display: none; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-connector { padding: 0; flex-direction: row; height: 24px; }
  .hc-line { width: 40px; height: 1px; }
  .subscribe-band { grid-template-columns: 1fr; }
  .sb-deco { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-toggle { display: flex; }
  .hero-panel {
    left: 5%; right: 5%; max-width: none;
    top: auto; bottom: 120px; transform: none;
  }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .reel-slide { justify-content: center; padding-right: 0; }
  .reel-3d-mount { width: min(280px, 70vw); }
  .reel-dots { bottom: 60px; right: 50%; transform: translateX(50%); }
  .hero-stats-float { display: none; }
  .hero-vote-quick { flex-direction: column; align-items: flex-start; }
  .top3-arena { grid-template-columns: 1fr; gap: 12px; max-width: 400px; }
  .arena-card.rank-1 { order: -1; }
  .champ-crown { top: -30px; width: 44px; }
  .char-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .scene-inner { padding: 72px 16px 48px; }
  .subscribe-band { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .top3-arena { grid-template-columns: 1fr; max-width: 320px; }
  .vote-amount-grid { grid-template-columns: repeat(2,1fr); }
  .char-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .cd-cell span { font-size: 1.2rem; }
  .how-badge { display: none; }
}
