:root {
  --bg: #050714;
  --blue: #0b4dff;
  --blue-2: #7eb0ff;
  --gold: #ffd15a;
  --cream: #f4f7ff;
  --muted: #9aafd4;
  --line: rgba(150, 180, 255, 0.22);
  --green: #3dff9a;
  --red: #ff4d6a;
  --display: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  --font: "Outfit", "Segoe UI", sans-serif;
  --pixel: "Silkscreen", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--cream);
  background:
    radial-gradient(1000px 520px at 90% -10%, rgba(11, 77, 255, 0.28), transparent 55%),
    radial-gradient(800px 420px at -10% 16%, rgba(11, 77, 255, 0.16), transparent 50%),
    var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: white; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(76px, 13vw, 148px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: 0.02em;
}
h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.03em;
}
h3 { margin: 0; font-family: var(--display); font-size: 40px; font-weight: 400; letter-spacing: 0.04em; }
.lede { font-size: 18px; line-height: 1.65; color: #d7e4ff; max-width: 70ch; }
.lede.tight { margin-bottom: 18px; }
.muted { color: var(--muted); }
.role { margin: 0 0 8px; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; font-weight: 700; }

.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0; }
.sec-head { margin-bottom: 22px; max-width: 760px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--blue);
  color: white;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(11, 77, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--gold); color: #1a1400; }
.btn.ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.btn.ghost:hover { background: white; color: #111; }
.btn.tiny { padding: 9px 14px; box-shadow: none; }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 77, 106, 0.7);
  animation: ping 1.6s infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 106, 0); }
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: rgba(5, 7, 20, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #0033d4;
  box-shadow: 0 0 0 3px rgba(11, 77, 255, 0.35);
}
.brand-mark.lg { width: 84px; height: 84px; margin-bottom: 12px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.brand-name { font-family: var(--display); font-size: 28px; letter-spacing: 0.04em; line-height: 0.85; }
.brand-name small { display: block; margin-top: 4px; font-family: var(--pixel); font-size: 10px; color: var(--gold); letter-spacing: 0.14em; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--cream); text-decoration: none; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links a:hover { color: var(--gold); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: white; }

#loader { transition: opacity 0.7s ease, visibility 0.7s ease; }
#loader.out { opacity: 0; visibility: hidden; }
.loader-card { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 24px; }
.loader-orb {
  position: relative;
  width: min(210px, 54vw);
  aspect-ratio: 1;
  margin: 18px 0 6px;
  animation: logoIn 0.8s cubic-bezier(0.2, 1.4, 0.3, 1) both;
}
.logo-orb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #0033d4;
  box-shadow: 0 0 0 8px rgba(11, 77, 255, 0.16), 0 0 48px rgba(11, 77, 255, 0.7);
}
.logo-orb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); display: block; }
.loader-orb .logo-orb img { animation: glow 2.2s ease-in-out infinite 0.8s; }
#loader.out .loader-orb { transform: scale(7); opacity: 0; transition: transform 0.7s ease, opacity 0.7s ease; }
.ring { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); }
.ring circle { fill: none; stroke-width: 3; }
.ring .track { stroke: rgba(255, 255, 255, 0.12); }
.ring .bar {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 351.86;
  stroke-dashoffset: 351.86;
  transform-origin: center;
  transform: rotate(-90deg);
  animation: fillring 3.2s linear forwards;
}
@keyframes fillring { to { stroke-dashoffset: 0; } }
@keyframes logoIn { from { transform: scale(0.4) rotate(-8deg); opacity: 0; } }
@keyframes glow {
  50% { filter: drop-shadow(0 0 18px rgba(255, 209, 90, 0.85)); }
}
.loader-title { margin: 8px 0 0; font-family: var(--display); font-size: clamp(42px, 8vw, 72px); letter-spacing: 0.06em; line-height: 0.9; }
.loader-ticker { margin: 0; color: var(--gold); font-family: var(--pixel); letter-spacing: 0.2em; }
#loaderStatus { min-height: 1.4em; color: var(--muted); margin: 4px 0 0; }

.brand-mark { border-radius: 50%; }

.hero { padding-top: 36px; }
.ticker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); margin: 14px 0; }
.ticker {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #1a1400;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: 0.08em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.banner-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 40, 180, 0.35);
}
.banner-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: ken 18s ease-in-out infinite alternate;
}
@keyframes ken { to { transform: scale(1.06); } }
.banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.16), transparent 70%);
  transform: translateX(-120%);
  animation: sheen 5.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen { 40%, 100% { transform: translateX(120%); } }
#popcorn { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.stamp {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  font-family: var(--pixel);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(12deg);
  background: rgba(5, 7, 20, 0.45);
  animation: stamp 4.5s ease-in-out infinite;
}
@keyframes stamp { 50% { transform: rotate(8deg) scale(1.04); } }

.marquee { overflow: hidden; border-block: 1px solid rgba(255, 209, 90, 0.28); background: #071022; }
.marquee-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 28s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 28px; padding: 12px 28px 12px 0; }
.marquee-group span { font-family: var(--pixel); font-size: 12px; color: var(--gold); white-space: nowrap; }
.marquee-group span::before { content: "★  "; color: var(--blue-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

.reel-wrap { overflow: hidden; padding: 16px 0 8px; }
.reel-track { display: flex; gap: 10px; width: max-content; animation: ticker 48s linear infinite; }
.reel-wrap:hover .reel-track { animation-play-state: paused; }
.reel-track img {
  height: 132px;
  width: 112px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b1430;
}

.sprockets {
  height: 26px;
  background:
    radial-gradient(circle at 16px 50%, #050714 6px, transparent 7px) left center / 32px 26px repeat-x,
    var(--blue);
}

.synopsis { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 28px; align-items: center; }
.showcard {
  background: linear-gradient(180deg, #10245f, #081026);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.show-title { margin: 0; font-family: var(--display); font-size: 54px; letter-spacing: 0.04em; line-height: 0.9; }
.show-title.sm { font-size: 36px; }
.show-ticker { margin: 6px 0 12px; color: var(--gold); font-weight: 800; letter-spacing: 0.14em; }
.showcard ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.showcard li { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.role-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.role-row button {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
}
.role-row button:hover { border-color: var(--gold); color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.stat { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 34px; letter-spacing: 0.03em; line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 13px; }

.auditorium {
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(11, 77, 255, 0.35), transparent 60%),
    linear-gradient(#070d22, #050714);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
}
.screen {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 18px;
  background: #070b18;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  animation: flicker 7s infinite;
}
@keyframes flicker {
  0%, 91%, 100% { box-shadow: inset 0 0 0 1px rgba(120, 160, 255, 0.25), 0 18px 70px rgba(11, 77, 255, 0.22); }
  93% { box-shadow: inset 0 0 0 1px rgba(120, 160, 255, 0.05); }
  96% { box-shadow: inset 0 0 0 1px rgba(255, 209, 90, 0.45), 0 18px 80px rgba(11, 77, 255, 0.4); }
}
.screen img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; transition: opacity 0.35s ease, transform 0.45s ease; }
.screen img.swap { opacity: 0; transform: scale(0.98); }
.screen-copy { padding: 22px 22px 22px 0; display: flex; flex-direction: column; justify-content: center; }
.screen-copy .btn { align-self: flex-start; margin-top: 8px; }
.seat-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  justify-content: safe center;
  padding: 26px 8px 8px;
  scroll-snap-type: x proximity;
}
.seat {
  width: 76px;
  flex: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: center;
  color: var(--muted);
  scroll-snap-align: center;
}
.chair {
  position: relative;
  height: 48px;
  margin-top: 24px;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(#1d4fff, #0a2ea8);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.2);
}
.seat img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%);
  border: 2px solid #050714;
  background: #0033d4;
}
.seat small { display: block; margin-top: 6px; font-family: var(--pixel); font-size: 9px; }
.seat.on .chair { background: linear-gradient(#ffe08a, #e0a820); box-shadow: 0 0 18px rgba(255, 209, 90, 0.45); }
.seat.on { color: var(--gold); }
.seat:hover .chair { filter: brightness(1.15); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.filters button {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 14px;
}
.filters button.on, .filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }

.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card button {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: rgba(8, 14, 36, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card button:hover { transform: translateY(-6px); border-color: rgba(255, 209, 90, 0.65); }
.pic { position: relative; aspect-ratio: 1; overflow: hidden; background: #0b1430; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.45s ease; }
.card button:hover img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: #1a1400;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 7px;
  border-radius: 999px;
}
.meta { padding: 12px 12px 14px; }
.meta h3 { font-size: 32px; }
.meta .line { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.card[data-id="laugh"] img { animation: wobble 0.9s ease-in-out infinite; transform-origin: center 30%; }
.card[data-id="laugh"] button:hover img { animation: none; }
@keyframes wobble {
  50% { transform: rotate(1.6deg) scale(1.02); }
}
.card[data-id="buff"] img { animation: flex 2.4s ease-in-out infinite; }
@keyframes flex {
  50% { transform: scale(1.035); }
}

.chart-layout { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: stretch; }
.wojak-booth, .chart-panel, .panel {
  background: rgba(8, 14, 36, 0.88);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.wojak-booth { padding: 16px; display: grid; align-content: start; gap: 12px; }
.wojak-booth img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.wojak-booth.shook img { animation: shake 0.45s linear; }
@keyframes shake {
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
#quote { margin: 0; min-height: 3.2em; color: #d7e4ff; }
.timer {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  justify-self: start;
  background:
    radial-gradient(circle at center, #070b18 0 38px, transparent 39px),
    conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
}
.timer b, .timer span { position: relative; z-index: 1; }
.timer b { font-family: var(--display); font-size: 42px; line-height: 0.8; }
.timer span { font-family: var(--pixel); font-size: 9px; color: var(--gold); }
.chart-panel { padding: 16px 16px 8px; min-width: 0; }
.chart-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
#indexValue { display: block; font-family: var(--display); font-size: 64px; line-height: 0.85; letter-spacing: 0.03em; }
#indexDelta { font-style: normal; font-weight: 700; }
#indexDelta.up { color: var(--green); }
#indexDelta.down { color: var(--red); }
.last-check { color: var(--muted); margin: 0; font-size: 13px; }
#chartCanvas { width: 100%; height: 320px; display: block; }

.token-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; }
.panel { padding: 18px; }
.bar-stack { display: flex; height: 18px; border-radius: 999px; overflow: hidden; margin: 8px 0 16px; }
.bar-stack i { width: var(--w); display: block; }
.bar-stack i:nth-child(1) { background: var(--blue); }
.bar-stack i:nth-child(2) { background: var(--gold); }
.bar-stack i:nth-child(3) { background: #7eb0ff; }
.bar-stack i:nth-child(4) { background: #8d7cff; }
.bar-stack i:nth-child(5) { background: var(--red); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: flex; align-items: center; gap: 8px; color: #d7e4ff; }
.legend i, .c1, .c2, .c3, .c4, .c5 { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.c1 { background: var(--blue); }
.c2 { background: var(--gold); }
.c3 { background: #7eb0ff; }
.c4 { background: #8d7cff; }
.c5 { background: var(--red); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0; }
.facts div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.facts dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.facts dd { margin: 4px 0 0; font-weight: 700; }
.menu-row { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.12); }
.menu-row b { margin-left: auto; color: var(--gold); white-space: nowrap; }

.scenes, .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scenes li, .steps li {
  position: relative;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 36, 0.75);
  min-height: 210px;
}
.scenes li > span, .steps li > span {
  font-family: var(--display);
  font-size: 42px;
  color: rgba(255, 209, 90, 0.85);
  line-height: 1;
}
.tag { margin: 6px 0; font-family: var(--pixel); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-2); }
.tag.now { color: var(--gold); }
.scenes p, .steps p { color: var(--muted); margin-bottom: 0; }

.ca-box {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 209, 90, 0.55);
  background: rgba(255, 209, 90, 0.05);
}
.ca-box code { display: block; margin-top: 6px; color: var(--cream); font-size: 14px; }

.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gossip {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 36, 0.8);
}
.gossip img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.gossip b { display: block; }
.gossip p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 8px 0 4px; }

.footer { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 22px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.foot-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.fine { grid-column: 1 / -1; color: var(--muted); font-size: 13px; margin: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 4, 12, 0.78);
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.lightbox, .ticket {
  position: relative;
  width: min(860px, 100%);
  background: #0b1228;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: pop 0.35s ease;
}
@keyframes pop { from { transform: translateY(12px) scale(0.98); opacity: 0; } }
.lightbox { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.lightbox img { width: 100%; height: 100%; max-height: 78vh; object-fit: cover; }
.lightbox-copy, .ticket-body > div:first-child { padding: 22px; }
.x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  cursor: pointer;
  font-size: 22px;
}
.ticket-body { display: grid; grid-template-columns: 1.3fr 0.7fr; min-height: 280px; }
.ticket-stub {
  background:
    radial-gradient(circle at 0 18px, transparent 10px, #12307a 11px) left center / 18px 28px repeat-y,
    #0b4dff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
}
.ticket-stub img { width: 120px; height: 120px; object-fit: cover; border-radius: 16px; border: 2px solid white; }
.ticket-stub b { font-family: var(--display); font-size: 42px; }
.serial { font-family: var(--pixel); color: var(--gold); letter-spacing: 0.08em; }
body.lock { overflow: hidden; }

.toasts {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 260;
  display: grid;
  gap: 8px;
  width: min(440px, calc(100% - 24px));
  pointer-events: none;
}
.toast {
  background: #10182f;
  border: 1px solid rgba(255, 209, 90, 0.5);
  border-radius: 999px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: pop 0.35s ease;
}

.rain { position: fixed; inset: 0; pointer-events: none; z-index: 280; overflow: hidden; }
.rain span { position: absolute; top: -12%; animation: fall 3.4s linear forwards; }
@keyframes fall { to { transform: translateY(115vh) rotate(280deg); } }

@media (max-width: 980px) {
  .synopsis, .chart-layout, .token-grid, .scenes, .steps { grid-template-columns: 1fr 1fr; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .feed { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .screen { grid-template-columns: 1fr; }
  .screen-copy { padding: 8px 16px 18px; }
  .foot { grid-template-columns: auto 1fr; }
  .foot-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
    background: rgba(6, 10, 24, 0.97);
    border: 1px solid var(--line);
  }
  .nav { position: sticky; }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
}
@media (max-width: 680px) {
  .synopsis, .chart-layout, .token-grid, .scenes, .steps, .feed, .lightbox, .ticket-body, .facts { grid-template-columns: 1fr; }
  .cast-grid, .stats { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(64px, 18vw, 96px); }
  .ca-box { flex-direction: column; align-items: stretch; }
  .stamp { width: 74px; height: 74px; font-size: 8px; }
  #indexValue { font-size: 52px; }
  .show-title { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
