/* Name in Lights: the whole page is one idol concert, streamed like an arcade game.
   Stage (hero) -> LED screen (demo + chat) -> arcade cabinet (how it works) -> fan club booth (waitlist + fine print) -> end card.
   Look borrowed from Jake's video ("Idol Arcade" kit): night purple, hot pink, cyan, lemon, chunky ink outlines. */

@font-face { font-family: "Titan One"; src: url("fonts/TitanOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Bungee"; src: url("fonts/Bungee-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Press Start 2P"; src: url("fonts/PressStart2P-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }

:root {
  --night: #1a0b3d;
  --night-2: #2a0f5c;
  --deep: #0d0624;
  --ink: #12062b;
  --pink: #ff3da5;
  --bubble: #ff9ed8;
  --cyan: #2bf0ff;
  --lemon: #ffe94a;
  --lav: #b78cff;
  --mint: #6cffb8;
  --text: #f7f0ff;
  --text-soft: #d9cdf2;
  --titan: "Titan One", "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --bungee: "Bungee", "Titan One", "Arial Black", system-ui, sans-serif;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --body: "Fredoka", system-ui, -apple-system, sans-serif;
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 88C20 66 4 48 4 30 4 14 16 4 30 4c10 0 16 6 20 14 4-8 10-14 20-14 14 0 26 10 26 26 0 18-16 36-46 58Z' fill='%23ff3da5' stroke='%2312062b' stroke-width='8'/%3E%3C/svg%3E");
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0L61 39 100 50 61 61 50 100 39 61 0 50 39 39Z' fill='%23ffe94a'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink); border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lemon); color: var(--ink); font-family: var(--bungee); padding: 10px 16px; border: 3px solid var(--ink); border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

.kicker {
  font-family: var(--bungee);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.pix { font-family: var(--pixel); font-size: 10px; letter-spacing: 0; background: var(--pink); color: var(--ink); padding: 4px 7px; border-radius: 4px; margin-right: 8px; vertical-align: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  font-family: var(--titan); font-size: 19px; letter-spacing: .02em;
  color: var(--ink); text-decoration: none;
  border: 4px solid var(--ink); border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 var(--ink); filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-pink { background: var(--pink); }
.btn-lemon { background: var(--lemon); }
.btn[disabled] { opacity: .7; cursor: progress; }
.play-tri { width: 0; height: 0; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

/* ---------- stream HUD (top bar) ---------- */
.hud {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 10px clamp(14px, 3vw, 32px);
  background: rgba(13, 6, 36, .86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 2px 0 rgba(43, 240, 255, .45);
}
.hud-brand { font-family: var(--bungee); font-size: 15px; color: #fff; text-decoration: none; white-space: nowrap; }
.hud-stat { font-family: var(--pixel); font-size: 10px; color: var(--cyan); white-space: nowrap; }
.hud-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hud-nav a { font-family: var(--bungee); font-size: 13px; color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.hud-nav a:hover { color: var(--lemon); }
.hud-nav .hud-cta { background: var(--lemon); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); padding: 7px 14px; }
.hud-nav .hud-cta:hover { color: var(--ink); transform: translateY(-2px); }
.live {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--pixel); font-size: 11px; text-transform: uppercase;
  background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 6px 10px; cursor: pointer;
}
.live-dot, .rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff2d55; box-shadow: 0 0 10px #ff2d55; animation: blink 1.2s steps(2, start) infinite; }
.live.tapped { animation: wiggle .3s ease; }

/* ---------- hero: the concert stage ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(940px, calc(100svh - 64px));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 72px 18px 210px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(255, 61, 165, .5), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(43, 240, 255, .32), transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(183, 140, 255, .5), transparent 70%),
    linear-gradient(160deg, var(--night-2) 0%, var(--night) 55%, var(--deep) 100%);
}
.hero::before { /* dot grid, like the video's backdrops */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 2px, transparent 2.5px);
  background-size: 28px 28px;
}
.rays {
  position: absolute; left: 50%; top: 40%; width: 220vmax; height: 220vmax; z-index: -2;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .07) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 46%); mask: radial-gradient(circle, #000 0 18%, transparent 46%);
  animation: spin 90s linear infinite;
}
.spots { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.spot {
  position: absolute; top: -8%; width: 34vw; max-width: 460px; min-width: 200px; height: 125%;
  transform-origin: 50% 0;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  opacity: .5;
}
.spot-1 { left: 2%; background: linear-gradient(to bottom, rgba(255, 61, 165, .9), rgba(255, 61, 165, 0) 85%); animation: sweep 7s ease-in-out infinite alternate; }
.spot-2 { left: 24%; background: linear-gradient(to bottom, rgba(43, 240, 255, .75), rgba(43, 240, 255, 0) 80%); animation: sweep 9s ease-in-out -3s infinite alternate-reverse; }
.spot-3 { right: 24%; background: linear-gradient(to bottom, rgba(255, 233, 74, .7), rgba(255, 233, 74, 0) 80%); animation: sweep 8s ease-in-out -5s infinite alternate; }
.spot-4 { right: 2%; background: linear-gradient(to bottom, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 80%); animation: sweep 10s ease-in-out -1s infinite alternate-reverse; }

.cam-tags { position: absolute; inset: 18px clamp(14px, 3vw, 32px) auto; display: flex; justify-content: space-between; font-family: var(--pixel); font-size: 10px; text-transform: uppercase; color: var(--cyan); pointer-events: none; }
.rec { display: inline-flex; align-items: center; gap: 8px; color: #fff; }

.hero-inner { position: relative; z-index: 2; max-width: 1180px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 2.6vw, 38px); }
.word { display: flex; gap: clamp(5px, .8vw, 10px); }
.tiles b {
  --s: clamp(46px, 6.8vw, 104px);
  display: grid; place-items: center;
  width: var(--s); height: calc(var(--s) * 1.08);
  font-family: var(--titan); font-weight: 400; font-size: calc(var(--s) * .66); line-height: 1;
  color: #fff;
  -webkit-text-stroke: calc(var(--s) * .07) var(--ink); paint-order: stroke fill;
  text-shadow: 0 calc(var(--s) * .05) 0 var(--ink);
  background: var(--pink);
  border: calc(var(--s) * .06) solid var(--ink); border-radius: 22%;
  box-shadow: inset 0 calc(var(--s) * -.1) 0 rgba(0, 0, 0, .18), inset 0 calc(var(--s) * .08) 0 rgba(255, 255, 255, .35), 0 calc(var(--s) * .09) 0 var(--ink);
  animation: tile-in .7s cubic-bezier(.3, 1.6, .5, 1) both, bob 3.2s ease-in-out infinite;
  transition: scale .15s ease;
}
.tiles b:nth-child(4n+2) { background: var(--cyan); }
.tiles b:nth-child(4n+3) { background: var(--lemon); }
.tiles b:nth-child(4n+4) { background: var(--lav); }
.tiles .word:nth-child(2) b:nth-child(1) { background: var(--mint); }
.tiles .word:nth-child(2) b:nth-child(2) { background: var(--pink); }
.tiles b:nth-child(odd) { rotate: -4deg; }
.tiles b:nth-child(even) { rotate: 3deg; }
.tiles b:hover { scale: 1.12; }
/* staggered pop-in, then each tile bobs on its own beat */
.word:nth-child(1) b:nth-child(1) { animation-delay: .10s, .8s; }
.word:nth-child(1) b:nth-child(2) { animation-delay: .16s, .95s; }
.word:nth-child(1) b:nth-child(3) { animation-delay: .22s, 1.1s; }
.word:nth-child(1) b:nth-child(4) { animation-delay: .28s, 1.25s; }
.word:nth-child(2) b:nth-child(1) { animation-delay: .38s, 1.4s; }
.word:nth-child(2) b:nth-child(2) { animation-delay: .44s, 1.55s; }
.word:nth-child(3) b:nth-child(1) { animation-delay: .54s, 1.7s; }
.word:nth-child(3) b:nth-child(2) { animation-delay: .60s, 1.85s; }
.word:nth-child(3) b:nth-child(3) { animation-delay: .66s, 2s; }
.word:nth-child(3) b:nth-child(4) { animation-delay: .72s, 2.15s; }
.word:nth-child(3) b:nth-child(5) { animation-delay: .78s, 2.3s; }
.word:nth-child(3) b:nth-child(6) { animation-delay: .84s, 2.45s; }

.sticker-line {
  font-family: var(--titan); font-size: clamp(28px, 4.2vw, 54px); line-height: 1.1;
  color: #fff;
  -webkit-text-stroke: clamp(6px, .7vw, 9px) var(--ink); paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--pink), 0 10px 0 var(--ink);
  margin-top: 6px;
  animation: pop-in .6s .95s cubic-bezier(.3, 1.6, .5, 1) both;
}
.lede { max-width: 640px; font-size: clamp(18px, 1.6vw, 21px); color: var(--text); text-shadow: 0 2px 8px rgba(13, 6, 36, .9); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; margin-top: 6px; }

.signs { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 5; pointer-events: none; }
.sign {
  position: absolute; bottom: 0;
  font-family: var(--titan); font-size: clamp(14px, 1.5vw, 20px); text-transform: uppercase; color: var(--ink);
  background: #fff; border: 4px solid var(--ink); border-radius: 12px; padding: 8px 14px;
  box-shadow: 0 5px 0 var(--ink);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  animation: sign-bob 1.8s ease-in-out infinite;
}
.sign::after { /* the stick */
  content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 60px; margin-left: -4px; background: #f4eefe; border: 3px solid var(--ink); border-top: 0; z-index: -1;
}
.sign-1 { left: 6%; background: var(--lemon); --r: -6deg; }
.sign-2 { left: 50%; translate: -50% 0; background: #fff; --r: 2deg; animation-delay: -.6s; bottom: -40px; }
.sign-3 { right: 7%; background: var(--bubble); --r: 7deg; animation-delay: -1.1s; }
.heart { display: inline-block; width: 18px; height: 17px; background: var(--heart) center / contain no-repeat; }

.crowd { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; z-index: 4; pointer-events: none; display: block; }
.hero::after { /* stage lip under the crowd */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 3;
  background: linear-gradient(to bottom, transparent, rgba(13, 6, 36, .95));
}

/* ---------- LED stage: the demo ---------- */
.led-stage {
  position: relative; overflow: hidden;
  padding: 40px clamp(14px, 4vw, 56px) 190px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(183, 140, 255, .35), transparent 70%),
    linear-gradient(180deg, var(--deep) 0%, #1c0a44 60%, var(--deep) 100%);
}
.truss {
  height: 34px; margin: 0 auto 34px; max-width: 1240px;
  background:
    radial-gradient(circle, var(--lemon) 0 6px, transparent 7px) 0 50% / 64px 34px,
    linear-gradient(#3b2a66, #241446);
  border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 0 0 22px rgba(255, 233, 74, .3);
  animation: chase 1.2s steps(4) infinite;
}
.led-head { max-width: 1240px; margin: 0 auto 26px; display: grid; gap: 10px; }
.led-head h2 { font-family: var(--titan); font-size: clamp(40px, 6vw, 76px); line-height: 1; color: #fff; -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--cyan), 0 11px 0 var(--ink); }
.led-head p:last-child { max-width: 620px; color: var(--text-soft); }
.led-row { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.led { position: relative; padding: 22px; border-radius: 22px; background: #0a0418; border: 4px solid var(--ink); box-shadow: 0 0 0 3px #3b2a66, 0 0 60px rgba(255, 61, 165, .35), 0 16px 0 var(--ink); }
.led-bezel { /* chasing LED dots around the screen */
  position: absolute; inset: 6px; border-radius: 16px; pointer-events: none;
  background:
    radial-gradient(circle, var(--pink) 0 2.6px, transparent 3.2px) 0 0 / 14px 14px,
    radial-gradient(circle, var(--cyan) 0 2.6px, transparent 3.2px) 7px 7px / 14px 14px;
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 10px;
  animation: led-chase 1.6s linear infinite;
}
.led-screen { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; border: 3px solid var(--ink); }
.led-screen video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.now-playing {
  position: relative; margin-top: 16px; display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(18, 6, 43, .9); border: 3px solid var(--cyan); box-shadow: 0 0 18px rgba(43, 240, 255, .4);
  font-family: var(--pixel); font-size: 10px; text-transform: uppercase; color: #fff;
}
.np-label { color: var(--lemon); white-space: nowrap; }
.np-title { white-space: nowrap; }
.np-bar { flex: 1; height: 12px; border: 2px solid #fff; border-radius: 6px; overflow: hidden; min-width: 40px; }
.np-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--lemon), var(--cyan)); }
.np-time { white-space: nowrap; color: var(--cyan); }
#videoError { max-width: 1240px; margin: 16px auto 0; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 12px; border: 3px solid var(--ink); }
#videoError a, .linkish { color: #7a0a4a; font: inherit; font-weight: 600; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; min-height: 44px; }

.chat { background: rgba(18, 6, 43, .92); border: 4px solid var(--pink); border-radius: 18px; box-shadow: 0 0 0 3px var(--ink), 0 0 30px rgba(255, 61, 165, .35); overflow: hidden; }
.chat-head { padding: 12px 16px 10px; border-bottom: 2px solid rgba(255, 158, 216, .35); }
.chat-head h3 { font-family: var(--bungee); font-size: 16px; color: #fff; display: flex; align-items: center; gap: 8px; }
.chat-head h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff2d55; box-shadow: 0 0 10px #ff2d55; }
.chat-head p { font-size: 14px; color: var(--text-soft); }
.chat-window { height: 420px; overflow: hidden; position: relative; -webkit-mask: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.chat-list { list-style: none; margin: 0; padding: 8px 16px; display: grid; gap: 10px; font-size: 16px; line-height: 1.35; animation: chat-scroll 38s linear infinite; }
.chat:hover .chat-list, .chat:focus-within .chat-list { animation-play-state: paused; }
.chat-list li { color: var(--text); }
.chat-list b { font-weight: 600; margin-right: 6px; }
.c1 { color: var(--bubble); } .c2 { color: var(--cyan); } .c3 { color: var(--lemon); } .c4 { color: var(--mint); } .c5 { color: var(--lav); }
.crowd-short { height: 150px; }

/* ---------- arcade: how it works ---------- */
.arcade {
  position: relative; padding: 70px clamp(14px, 4vw, 56px) 90px;
  background:
    linear-gradient(180deg, var(--deep), #170838 40%, #12052c);
  overflow: hidden;
}
.arcade::before { /* neon grid floor */
  content: ""; position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image: linear-gradient(rgba(43, 240, 255, .5) 2px, transparent 2px), linear-gradient(90deg, rgba(43, 240, 255, .5) 2px, transparent 2px);
  background-size: 80px 80px;
  transform: perspective(500px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(transparent, #000 60%); mask: linear-gradient(transparent, #000 60%);
  animation: floor 3s linear infinite;
  pointer-events: none;
}
.cabinet { position: relative; max-width: 1240px; margin: 0 auto; padding: 14px; border-radius: 30px; background: linear-gradient(180deg, #ff3da5, #b78cff 55%, #2bf0ff); border: 4px solid var(--ink); box-shadow: 0 14px 0 var(--ink), 0 0 70px rgba(255, 61, 165, .35); }
.crt {
  position: relative; overflow: hidden;
  padding: 34px clamp(16px, 3.5vw, 48px) 40px;
  border-radius: 20px; border: 4px solid var(--ink);
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, #2c1060, #12062b 80%);
  text-align: center;
}
.crt::after { /* scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 5px);
  border-radius: inherit;
}
.hud-line { display: flex; justify-content: space-between; gap: 12px; font-family: var(--pixel); font-size: 10px; text-transform: uppercase; color: var(--cyan); margin-bottom: 24px; }
.blink { color: var(--lemon); animation: blink 1s steps(2, start) infinite; }
.crt h2 { font-family: var(--bungee); font-size: clamp(34px, 5vw, 60px); line-height: 1.05; color: #fff; text-shadow: 0 0 6px #fff, 0 0 18px var(--cyan), 0 0 42px var(--cyan), 0 0 70px var(--pink); }
.crt-sub { margin: 10px auto 30px; color: var(--text-soft); }
.players { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; position: relative; z-index: 1; }
.player {
  --c: var(--pink);
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 16px 16px 22px; border-radius: 18px;
  background: rgba(18, 6, 43, .9); border: 4px solid var(--c);
  box-shadow: 0 0 0 3px var(--ink), 0 0 24px color-mix(in srgb, var(--c) 45%, transparent);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s ease;
}
.player-2 { --c: var(--cyan); }
.player-3 { --c: var(--lemon); }
.player:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 0 0 3px var(--ink), 0 0 44px color-mix(in srgb, var(--c) 70%, transparent); }
.stage-no { font-family: var(--pixel); font-size: 11px; text-transform: uppercase; color: var(--ink); background: var(--c); align-self: flex-start; padding: 6px 9px; border-radius: 6px; }
.shot { position: relative; border-radius: 12px; overflow: hidden; border: 3px solid var(--ink); aspect-ratio: 16 / 9; background: #000; }
.shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.player:hover .shot img { transform: scale(1.06); }
.shot::before, .shot::after { /* camera brackets */
  content: ""; position: absolute; z-index: 1; width: 22px; height: 22px; border: 3px solid #fff; opacity: .85;
}
.shot::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; }
.shot::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.player h3 { font-family: var(--titan); font-size: 25px; line-height: 1.1; color: #fff; margin-top: 4px; }
.player p { color: var(--text-soft); font-size: 17px; }
.ready {
  position: absolute; top: -16px; right: 14px;
  font-family: var(--titan); font-size: 15px; text-transform: uppercase; color: var(--ink);
  background: var(--c); border: 3px solid var(--ink); border-radius: 999px; padding: 4px 12px; box-shadow: 0 4px 0 var(--ink);
  rotate: 6deg;
}
.player:hover .ready { animation: wiggle .4s ease; }
.press-start {
  display: inline-block; margin-top: 34px; position: relative; z-index: 1;
  font-family: var(--pixel); font-size: 13px; line-height: 1.6; text-transform: uppercase; color: var(--lemon); text-decoration: none;
  padding: 14px 18px; border: 3px dashed rgba(255, 233, 74, .6); border-radius: 10px;
  animation: pulse 1.4s ease-in-out infinite;
}
.press-start:hover, .press-start:focus-visible { animation: none; background: var(--lemon); color: var(--ink); }

/* ---------- fan club booth: waitlist + fine print ---------- */
.fanclub {
  position: relative; overflow: hidden;
  padding: 80px clamp(14px, 4vw, 56px) 90px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .28) 2.5px, transparent 3px) 0 0 / 30px 30px,
    repeating-conic-gradient(from 0deg at 50% 45%, rgba(255, 255, 255, .12) 0deg 8deg, transparent 8deg 20deg),
    radial-gradient(ellipse 80% 70% at 50% 45%, #ffb3e1 0%, #ff7cc8 55%, #d9409f 100%);
  color: var(--ink);
}
.fanclub-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: center; }
.ticket-wrap { rotate: -1.2deg; filter: drop-shadow(0 12px 0 var(--ink)); }
.ticket {
  position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr);
  background: #fffaf3; border: 5px solid var(--ink); border-radius: 26px;
  /* punched notches where stub meets ticket */
  -webkit-mask: radial-gradient(circle at 210px 0, transparent 20px, #000 21px) top / 100% 51% no-repeat, radial-gradient(circle at 210px 100%, transparent 20px, #000 21px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 210px 0, transparent 20px, #000 21px) top / 100% 51% no-repeat, radial-gradient(circle at 210px 100%, transparent 20px, #000 21px) bottom / 100% 51% no-repeat;
}
.stub {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px;
  padding: 28px 18px; border-right: 4px dashed var(--ink);
  background: linear-gradient(180deg, var(--pink), var(--lav));
  border-radius: 21px 0 0 21px;
}
.admit, .seat { font-family: var(--bungee); font-size: 15px; text-transform: uppercase; color: var(--ink); text-align: center; line-height: 1.2; }
.photocard { width: 150px; background: #fff; border: 4px solid var(--ink); border-radius: 14px; padding: 7px 7px 6px; box-shadow: 0 5px 0 var(--ink); rotate: -4deg; }
.photocard img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); }
.photocard span { display: block; font-family: var(--pixel); font-size: 8px; text-transform: uppercase; text-align: center; margin-top: 6px; }
.barcode { width: 130px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 13px, transparent 13px 15px); }
.ticket-main { position: relative; padding: 34px clamp(20px, 3.5vw, 44px) 36px; }
.ticket-main .kicker { color: #9b1068; }
.ticket-main h2 { font-family: var(--titan); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; color: #fff; -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--pink), 0 11px 0 var(--ink); margin: 8px 0 14px; }
.ticket-copy { color: #3a2550; margin-bottom: 20px; }
.card { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-family: var(--bungee); font-size: 14px; text-transform: uppercase; }
.field input {
  font: inherit; font-size: 18px; color: var(--ink);
  min-height: 54px; padding: 10px 16px; border: 4px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: inset 0 4px 0 rgba(18, 6, 43, .08);
}
.field input:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; box-shadow: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 16px; color: #3a2550; cursor: pointer; }
.consent input { width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--pink); cursor: pointer; }
.card .btn { justify-self: start; }
#signupMessage { min-height: 1.5em; font-weight: 600; color: #6b0a45; }
.stamp {
  position: absolute; right: 22px; top: 22px; pointer-events: none;
  font-family: var(--bungee); font-size: clamp(18px, 2.4vw, 28px); line-height: 1.05; text-transform: uppercase; text-align: center;
  color: var(--pink); border: 6px solid var(--pink); border-radius: 16px; padding: 8px 16px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 4px #fff;
  rotate: 10deg; opacity: 0; transform: scale(2.4);
}
.stamp.on { animation: stamp .45s cubic-bezier(.2, 1.4, .5, 1) forwards; }

.fine-print {
  position: relative; rotate: 2.5deg;
  background: var(--lemon); color: var(--ink);
  border: 5px solid var(--ink); border-radius: 22px; padding: 24px 24px 22px;
  box-shadow: 0 10px 0 var(--ink);
  outline: 3px dashed rgba(18, 6, 43, .4); outline-offset: -14px;
}
.fine-print::before { /* tape */
  content: ""; position: absolute; top: -18px; left: 50%; width: 110px; height: 32px; margin-left: -55px; rotate: -4deg;
  background: rgba(255, 255, 255, .65); border: 2px solid rgba(18, 6, 43, .25);
}
.fine-print h2 { font-family: var(--bungee); font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.fine-print h2 span { display: block; font-family: var(--body); font-size: 15px; font-weight: 600; text-transform: none; }
.fine-print ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 17px; font-weight: 500; }
.fine-print li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; }
.fine-print li::before { content: ""; width: 18px; height: 17px; margin-top: 4px; background: var(--heart) center / contain no-repeat; }

/* ---------- end card ---------- */
.endcard {
  padding: 50px 18px 60px; text-align: center; display: grid; gap: 8px;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(183, 140, 255, .3), transparent 70%), var(--deep);
  border-top: 3px solid var(--ink);
  color: var(--text-soft); font-size: 16px;
}
.endcard a { font-family: var(--bungee); color: #fff; text-decoration: none; font-size: 17px; }
.endcard a:hover { color: var(--lemon); }
.thanks > span { white-space: nowrap; margin: 0 8px; }
.thanks { font-family: var(--pixel); font-size: 11px; line-height: 1.8; text-transform: uppercase; color: var(--lemon); margin-bottom: 10px; }

/* ---------- delights ---------- */
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }
.sparkle { position: fixed; z-index: 70; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; background: var(--sparkle) center / contain no-repeat; animation: twinkle .7s ease-out forwards; }
.sparkle.s-cyan { filter: hue-rotate(110deg) saturate(1.4); }
.sparkle.s-pink { filter: hue-rotate(-60deg) saturate(1.6); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 0;
  font-family: var(--titan); font-size: 22px; text-align: center; color: var(--ink);
  background: var(--lemon); border: 4px solid var(--ink); border-radius: 18px; padding: 12px 22px; box-shadow: 0 6px 0 var(--ink);
  opacity: 0; transform: translateY(30px) scale(.9); pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1);
  max-width: calc(100vw - 32px);
}
.toast small { display: block; font-family: var(--body); font-size: 15px; font-weight: 600; }
.toast.show { opacity: 1; transform: none; }
body.encore .tiles b { animation: tile-in .7s both, party .5s ease-in-out infinite alternate; }
body.encore .spot { animation-duration: 1.6s; }
body.encore .sign { animation-duration: .6s; }

/* ---------- keyframes ---------- */
@keyframes spin { to { rotate: 360deg; } }
@keyframes sweep { from { transform: rotate(24deg); } to { transform: rotate(-24deg); } }
@keyframes blink { to { visibility: hidden; } }
@keyframes pulse { 50% { opacity: .55; } }
@keyframes tile-in { from { transform: translateY(-60px) scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes party { from { translate: 0 0; filter: hue-rotate(0deg); } to { translate: 0 -12px; filter: hue-rotate(160deg); } }
@keyframes pop-in { from { transform: scale(.4) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sign-bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-14px) rotate(calc(var(--r) * -1)); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) scale(1.08); } 75% { transform: rotate(8deg) scale(1.08); } }
@keyframes chase { to { background-position: 64px 50%, 0 0; } }
@keyframes led-chase { to { background-position: 14px 0, 21px 7px; } }
@keyframes chat-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes floor { to { background-position: 0 80px, 0 0; } }
@keyframes stamp { from { opacity: 0; transform: scale(2.4); } to { opacity: 1; transform: scale(1); } }
@keyframes twinkle { 0% { transform: scale(0) rotate(0); opacity: 1; } 50% { transform: scale(1.1) rotate(60deg); opacity: 1; } 100% { transform: scale(0) rotate(120deg); opacity: 0; } }

/* ---------- tablets and phones ---------- */
@media (max-width: 980px) {
  .hud-stat { display: none; }
  .led-row { grid-template-columns: 1fr; }
  .chat-window { height: 230px; }
  .players { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 30px; }
  .fanclub-inner { grid-template-columns: 1fr; max-width: 680px; }
  .fine-print { rotate: -1.5deg; max-width: 460px; justify-self: center; width: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hud { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .hide-sm { display: none; }
  .hud-nav a:not(.hud-cta) { display: none; }
  .hud-nav .hud-cta { font-size: 12px; padding: 8px 12px; }
  .hud-brand { font-size: 13px; }
  .live { padding: 6px 7px; font-size: 9px; gap: 6px; }
  .stub .photocard { order: 0; }
  .hero { padding: 58px 16px 170px; min-height: 0; }
  .cam-tags { top: 14px; font-size: 9px; }
  .hero-inner { gap: 16px; }
  .tiles { gap: 10px 14px; }
  .tiles b { --s: clamp(44px, 12.6vw, 74px); }
  .sticker-line { text-shadow: 0 4px 0 var(--pink), 0 8px 0 var(--ink); }
  .actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .signs { bottom: 108px; }
  .sign { font-size: 12px; padding: 6px 10px; border-width: 3px; }
  .sign-2 { display: none; }
  .sign-1 { left: 3%; } .sign-3 { right: 3%; }
  .crowd { height: 150px; }
  .crowd-short { height: 110px; }
  .led-stage { padding-bottom: 130px; }
  .led { padding: 12px; border-radius: 16px; }
  .led-bezel { inset: 3px; padding: 7px; }
  .now-playing { gap: 10px; padding: 9px 12px; font-size: 9px; }
  .np-title { display: none; }
  .cabinet { padding: 8px; border-radius: 22px; }
  .crt { padding: 24px 14px 30px; }
  .hud-line .blink { display: none; }
  .press-start { font-size: 11px; }
  .ticket-wrap { rotate: 0deg; }
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .stub { flex-direction: row; flex-wrap: wrap; justify-content: center; border-right: 0; border-bottom: 4px dashed var(--ink); border-radius: 21px 21px 0 0; padding: 18px 14px; }
  .photocard { width: 104px; }
  .barcode { display: none; }
  .ticket-main { padding: 24px 18px 28px; }
  .card .btn { justify-self: stretch; }
  .stamp { top: auto; bottom: 86px; right: 12px; }
}

/* ---------- calm mode ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .live-dot, .rec-dot, .blink, .press-start { animation: none !important; }
  .chat-window { height: auto; max-height: 420px; overflow-y: auto; -webkit-mask: none; mask: none; }
  .chat-list { animation: none !important; }
  .chat-list li.dupe { display: none; }
  .sparkle { display: none; }
}
.endcard-follow { display: grid; justify-items: center; gap: 10px; margin: 12px 0 4px; }
.endcard-follow > span { font-family: var(--pixel); font-size: 10px; text-transform: uppercase; color: var(--lemon); }
.rbs-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.endcard .rbs-social a { display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid var(--ink); border-radius: 12px; background: var(--night-2); color: var(--text); box-shadow: 0 4px 0 var(--ink); }
.endcard .rbs-social a:hover { background: var(--lemon); color: var(--ink); }
.endcard .rbs-social a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.rbs-social svg { width: 18px; height: 18px; }
