/* ============================================================
   LamaCoins — social casino lobby
   Midnight-indigo arcade. Acid-lime CTAs, hot-magenta heat,
   electric-cyan HUD, amber-gold reserved for coins/jackpots.
   Motif: arc/ripple HUD rings + diagonal shears.
   ============================================================ */

:root {
  --ink:        #070b1c;
  --ink-2:      #0c1230;
  --surface:    #151b40;
  --surface-2:  #1d2557;
  --surface-3:  #2a3475;
  --line:       rgba(34, 211, 255, .18);
  --line-strong:rgba(34, 211, 255, .40);

  --cyan:       #22d3ff;
  --cyan-dp:    #0b7fb4;
  --magenta:    #ff2e93;
  --magenta-dp: #b8006a;
  --violet:     #8b5cf6;
  --lime:       #c6ff3d;
  --lime-dp:    #8fd400;
  --gold:       #ffc53d;
  --gold-dp:    #e09400;
  --gold-ink:   #3a2600;

  --text:       #edf1ff;
  --text-2:     #a8b2e0;
  --muted:      #6e78a8;
  --on-cta:     #10240a;

  --grad-cta:   linear-gradient(100deg, #d9ff5c 0%, #b6f52e 52%, #86e000 100%);
  --grad-hot:   linear-gradient(120deg, #ff2e93 0%, #ff6a3d 100%);
  --grad-cool:  linear-gradient(140deg, #22d3ff 0%, #8b5cf6 100%);
  --grad-gold:  linear-gradient(150deg, #ffe49a 0%, #ffc53d 45%, #e09400 100%);
  --grad-surf:  linear-gradient(165deg, rgba(42,52,117,.92) 0%, rgba(12,18,48,.95) 62%);

  --glow-cyan:  0 0 34px rgba(34, 211, 255, .5);
  --glow-lime:  0 12px 34px rgba(150, 230, 20, .42), 0 0 0 1px rgba(214,255,110,.5) inset;
  --glow-mag:   0 0 36px rgba(255, 46, 147, .5);
  --glow-gold:  0 0 32px rgba(255, 197, 61, .5);
  --shadow:     0 18px 44px rgba(2, 5, 18, .62);
  --shadow-pop: 0 30px 78px rgba(2, 5, 18, .78);

  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body:    'Outfit', 'Segoe UI', sans-serif;

  --r-lg: 26px; --r-md: 16px; --r-sm: 10px;
  --cut:   26px 26px 26px 4px;
  --cut-r: 26px 26px 4px 26px;
  --wrap: 1220px;
  --gutter: clamp(18px, 4.5vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  background-image:
    radial-gradient(1000px 620px at 8% -6%, rgba(139, 92, 246, .34), transparent 70%),
    radial-gradient(820px 560px at 96% 2%, rgba(255, 46, 147, .20), transparent 72%),
    radial-gradient(1200px 760px at 50% 106%, rgba(34, 211, 255, .16), transparent 72%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(34, 211, 255, .13) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 18%, transparent 76%);
}

img, svg { max-width: 100%; }
a { color: var(--cyan); text-decoration: none; transition: color .18s ease; }
a:hover { color: #8ce9ff; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 800;
  line-height: 1.02; letter-spacing: -.035em; margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--lime); color: #10240a; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 14px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--cyan);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--ink-2);
  background-image: radial-gradient(620px 420px at 50% 42%, rgba(139,92,246,.35), transparent 70%);
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader p {
  font-family: var(--font-display); font-size: 14px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--text-2);
}
.preloader-coin { position: relative; width: 78px; height: 78px; }
.preloader-coin::before, .preloader-coin::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 4px solid transparent; animation: arcSpin 1.1s linear infinite;
}
.preloader-coin::before { border-top-color: var(--cyan); border-right-color: var(--violet); }
.preloader-coin::after {
  inset: 15px; border-top-color: var(--gold); border-left-color: var(--magenta);
  animation-direction: reverse; animation-duration: .85s;
}
.preloader-coin svg { position: absolute; inset: 25px; width: auto; height: auto; }
@keyframes arcSpin { to { transform: rotate(360deg); } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-pad: 14px 26px;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad);
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.9,.3,1.2), box-shadow .22s ease, filter .2s ease;
}
.btn::after {
  content: ""; position: absolute; top: -120%; left: -60%; width: 42%; height: 340%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: rotate(18deg); transition: left .55s ease;
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn:disabled::after { display: none; }

/* primary = the lime GO button */
.btn-primary {
  background: var(--grad-cta); color: var(--on-cta);
  box-shadow: var(--glow-lime);
  text-transform: uppercase; letter-spacing: .04em;
}
.btn-primary:hover { box-shadow: 0 18px 46px rgba(150,230,20,.55), 0 0 0 1px rgba(214,255,110,.7) inset; }

.btn-hot { background: var(--grad-hot); color: #fff; box-shadow: 0 12px 32px rgba(255,46,147,.45); }

.btn-outline {
  background: rgba(34, 211, 255, .07); color: var(--text);
  box-shadow: 0 0 0 1.5px var(--line-strong) inset;
  backdrop-filter: blur(6px);
}
.btn-outline:hover { color: #ecfdff; box-shadow: 0 0 0 1.5px var(--cyan) inset, var(--glow-cyan); background: rgba(34,211,255,.12); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: rgba(34,211,255,.1); }

.btn-sm { --btn-pad: 10px 18px; font-size: 14px; }
.btn-lg { --btn-pad: 16px 32px; font-size: 18px; }
.btn-xl { --btn-pad: 20px 42px; font-size: 21px; }
.btn-block { width: 100%; }
.btn-header { padding: 11px 22px; font-size: 15px; white-space: nowrap; }
.btn-bonus { text-transform: uppercase; letter-spacing: .04em; }

/* ============================================================
   HEADER / HUD BAR
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(7, 11, 28, .8);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan) 40%, var(--lime) 62%, var(--magenta), transparent);
  opacity: .75;
}
.header-inner {
  max-width: 1480px; margin: 0 auto;
  padding: 11px var(--gutter);
  display: flex; align-items: center; gap: 20px;
  min-width: 0;
  max-width: 100%;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand-mark { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; }
.brand-mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 14px 14px 14px 4px;
  background: var(--grad-cool); box-shadow: var(--glow-cyan);
}
.brand-mark svg { position: relative; }
.brand:hover .brand-mark::before { filter: brightness(1.2); }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -.04em; line-height: 1; }
.brand-word em {
  font-style: normal; background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-word-lg { font-size: 34px; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--text-2);
}
.main-nav a::before {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px;
  border-radius: 2px; transform: translateX(-50%); background: var(--cyan);
  transition: width .25s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(34,211,255,.1); }
.main-nav a:hover::before { width: 46%; }

.header-actions {
  display: flex; align-items: center; gap: 10px;
  flex: 0 1 auto; min-width: 0; margin-left: 0;
}
.nav-auth-actions { display: none; }
.coin-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px 8px 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--gold);
  background: rgba(255, 197, 61, .1);
  border: 1.5px solid rgba(255, 197, 61, .4);
  border-radius: 999px; cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
  flex: 0 0 auto; white-space: nowrap;
}
.coin-chip:hover { box-shadow: var(--glow-gold); transform: translateY(-1px); }
.coin-chip.bump { animation: chipBump .55s cubic-bezier(.2,.9,.3,1.4); }
@keyframes chipBump { 40% { transform: scale(1.18) rotate(-3deg); box-shadow: 0 0 48px rgba(255,197,61,.75); } }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: rgba(34,211,255,.1); border: 1px solid var(--line-strong);
  border-radius: 14px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* ============================================================
   1. LOBBY STAGE
   ============================================================ */
.stage {
  position: relative; z-index: 1;
  padding: 46px var(--gutter) 0;
  overflow: hidden;
}
.stage-fx { position: absolute; inset: 0; pointer-events: none; }
.fx-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.fx-glow.g1 { width: 620px; height: 620px; left: -140px; top: -160px; background: radial-gradient(circle, #8b5cf6, transparent 68%); }
.fx-glow.g2 { width: 560px; height: 560px; right: -120px; top: 40px; background: radial-gradient(circle, #ff2e93, transparent 68%); }
.fx-glow.g3 { width: 700px; height: 420px; left: 34%; bottom: -180px; background: radial-gradient(circle, #22d3ff, transparent 68%); }
.fx-rings {
  position: absolute; inset: -10% -20% auto -20%; height: 150%;
  background:
    repeating-radial-gradient(circle at 50% 34%, transparent 0 88px, rgba(34,211,255,.12) 88px 90px),
    repeating-conic-gradient(from 0deg at 50% 34%, rgba(139,92,246,.08) 0deg 5deg, transparent 5deg 14deg);
  mask-image: radial-gradient(66% 58% at 50% 34%, #000 8%, transparent 74%);
  -webkit-mask-image: radial-gradient(66% 58% at 50% 34%, #000 8%, transparent 74%);
  animation: slowSpin 110s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

.fx-particles { position: absolute; inset: 0; }
.fx-particles span {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px currentColor;
  opacity: .8; animation: floatUp 14s linear infinite;
}
.fx-particles span:nth-child(3n)   { background: var(--gold); width: 8px; height: 8px; }
.fx-particles span:nth-child(4n)   { background: var(--magenta); }
.fx-particles span:nth-child(5n)   { background: var(--lime); width: 5px; height: 5px; }
.fx-particles span:nth-child(1)  { left: 4%;  animation-delay: -1s;  animation-duration: 15s; }
.fx-particles span:nth-child(2)  { left: 12%; animation-delay: -6s;  animation-duration: 18s; }
.fx-particles span:nth-child(3)  { left: 21%; animation-delay: -3s;  animation-duration: 13s; }
.fx-particles span:nth-child(4)  { left: 31%; animation-delay: -9s;  animation-duration: 17s; }
.fx-particles span:nth-child(5)  { left: 42%; animation-delay: -5s;  animation-duration: 20s; }
.fx-particles span:nth-child(6)  { left: 53%; animation-delay: -12s; animation-duration: 14s; }
.fx-particles span:nth-child(7)  { left: 63%; animation-delay: -2s;  animation-duration: 19s; }
.fx-particles span:nth-child(8)  { left: 72%; animation-delay: -8s;  animation-duration: 16s; }
.fx-particles span:nth-child(9)  { left: 81%; animation-delay: -4s;  animation-duration: 21s; }
.fx-particles span:nth-child(10) { left: 89%; animation-delay: -11s; animation-duration: 15s; }
.fx-particles span:nth-child(11) { left: 96%; animation-delay: -7s;  animation-duration: 18s; }
.fx-particles span:nth-child(12) { left: 36%; animation-delay: -14s; animation-duration: 22s; }
@keyframes floatUp {
  0%   { transform: translateY(105%) scale(.6); opacity: 0; }
  12%  { opacity: .9; }
  100% { transform: translateY(-20%) scale(1.1); opacity: 0; }
}

.stage-hud { position: relative; z-index: 3; max-width: 1480px; margin: 0 auto 18px; text-align: center; }
.hud-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  padding: 7px 16px 7px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lime);
  background: rgba(198, 255, 61, .09);
  border: 1px solid rgba(198, 255, 61, .34);
  border-radius: 999px;
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 12px var(--lime);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot { 50% { opacity: .3; transform: scale(.7); } }

.stage-title {
  font-size: clamp(42px, 7vw, 104px);
  letter-spacing: -.05em; margin: 0;
  text-shadow: 0 0 60px rgba(34, 211, 255, .3);
}
.title-pop {
  position: relative; display: inline-block;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 197, 61, .4));
}
.stage-sub { margin: 14px 0 0; color: var(--text-2); font-size: 17px; letter-spacing: .02em; }

/* --- core: cabinet + floating HUD panels --- */
.stage-core {
  position: relative; z-index: 3;
  max-width: 1480px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr;
  align-items: center; gap: 0;
}

.cabinet { position: relative; grid-column: 2; padding: 26px 0 0; }
.cabinet::before { /* HUD arc behind the cabinet */
  content: ""; position: absolute; left: 50%; top: -6%; width: 118%; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(34, 211, 255, .4);
  border-right-color: rgba(139, 92, 246, .35);
  animation: arcSpin 26s linear infinite;
}
.cabinet-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 140px 140px 30px 6px;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  box-shadow: var(--shadow-pop), 0 0 90px rgba(34, 211, 255, .26);
}
.promo {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.06);
  transition: opacity .7s ease, transform 1.4s ease;
}
.promo.is-active { opacity: 1; transform: scale(1); }
.promo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,11,28,.6) 0%, transparent 34%, rgba(7,11,28,.9) 100%),
    radial-gradient(70% 50% at 50% 100%, rgba(139,92,246,.4), transparent 70%);
}
.promo-meta {
  position: absolute; z-index: 3; left: 34px; bottom: 30px; right: 34px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px;
}
.promo-meta h2 { font-size: clamp(26px, 3.4vw, 44px); margin: 0; letter-spacing: -.04em; }
.promo-meta .promo-studio { font-size: 13.5px; color: var(--text-2); letter-spacing: .12em; text-transform: uppercase; }
.promo-badge {
  align-self: flex-start;
  padding: 5px 14px; border-radius: 999px;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: #fff; background: var(--grad-hot);
  box-shadow: 0 8px 22px rgba(255,46,147,.45);
}
.cabinet-glare {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(112deg, transparent 40%, rgba(255,255,255,.16) 48%, transparent 56%);
  transform: translateX(-120%);
  animation: glare 7s ease-in-out infinite;
}
@keyframes glare { 0%, 62% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }

.play-disc {
  position: absolute; z-index: 6; left: auto; right: 18px; top: auto; bottom: 22px;
  transform: none;
  display: grid; place-items: center; gap: 0;
  width: 72px; height: 72px; border-radius: 50%; border: 0;
  cursor: pointer;
  color: var(--on-cta); background: var(--grad-cta);
  box-shadow: 0 10px 28px rgba(150, 230, 20, .42), 0 0 0 5px rgba(198,255,61,.12);
  transition: transform .22s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s ease;
  animation: discPulse 2.6s ease-in-out infinite;
}
.play-disc svg { width: 22px; height: 22px; }
.play-disc span {
  font-family: var(--font-display); font-weight: 800; font-size: 9px;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.play-disc:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 34px rgba(150,230,20,.55), 0 0 0 7px rgba(198,255,61,.16);
}
@keyframes discPulse {
  50% { box-shadow: 0 10px 28px rgba(150,230,20,.5), 0 0 0 8px rgba(198,255,61,.1); }
}

.promo-dots { position: absolute; z-index: 6; right: 26px; top: 26px; display: flex; gap: 8px; }
.promo-dots button {
  width: 30px; height: 5px; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(237,241,255,.3); transition: background .2s ease, box-shadow .2s ease;
}
.promo-dots button.is-active { background: var(--cyan); box-shadow: var(--glow-cyan); }

/* --- floating HUD: jackpot (left) --- */
.hud-jackpot, .hud-bonus {
  position: relative; z-index: 5;
  padding: 22px 24px;
  background: var(--grad-surf);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(12px);
}
.hud-jackpot {
  grid-column: 1; grid-row: 1;
  justify-self: end; margin-right: -84px; max-width: 320px;
  border-radius: 24px 24px 24px 4px;
  border-color: rgba(255, 197, 61, .4);
  transform: rotate(-2.5deg);
  animation: hover1 7s ease-in-out infinite;
}
.hud-bonus {
  grid-column: 3; grid-row: 1;
  justify-self: start; margin-left: -84px; max-width: 300px;
  border-radius: 24px 24px 4px 24px;
  border-color: rgba(198, 255, 61, .4);
  transform: rotate(2.5deg);
  animation: hover2 8s ease-in-out infinite;
  text-align: center;
}
@keyframes hover1 { 50% { transform: rotate(-2.5deg) translateY(-14px); } }
@keyframes hover2 { 50% { transform: rotate(2.5deg) translateY(-18px); } }

.hud-label {
  margin: 0 0 6px; font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.hud-jackpot .jackpot-value {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 3.2vw, 42px); line-height: 1; letter-spacing: -.035em;
  color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(255, 197, 61, .7), 0 0 80px rgba(255, 197, 61, .3);
}
.hud-jackpot .jackpot-unit { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.hud-meter { margin-top: 14px; height: 6px; border-radius: 99px; background: rgba(7,11,28,.6); overflow: hidden; }
.hud-meter i { display: block; height: 100%; width: 72%; border-radius: 99px; background: var(--grad-gold); box-shadow: var(--glow-gold); }

.chest {
  position: relative; display: grid; place-items: center;
  width: 92px; height: 92px; margin: 0 auto 12px;
}
.chest::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--lime); border-right-color: var(--cyan);
  animation: arcSpin 8s linear infinite;
}
.chest::after {
  content: ""; position: absolute; inset: 10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,255,61,.4), transparent 70%);
  animation: haloPulse 2.6s ease-in-out infinite;
}
@keyframes haloPulse { 50% { transform: scale(1.14); opacity: .55; } }
.chest svg { position: relative; z-index: 2; }
.hud-bonus h3 { font-size: 20px; margin: 0 0 4px; }
.hud-bonus p { font-size: 13.5px; color: var(--text-2); margin: 0 0 14px; }

/* --- hero compliance line + shear --- */
.stage-compliance {
  position: relative; z-index: 3;
  max-width: 920px; margin: 28px auto 8px;
  padding: 0 20px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px;
  text-align: center;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: var(--muted);
}
.stage-compliance-sep { opacity: .55; }
.stage-compliance a {
  color: var(--cyan); font-weight: 700; text-decoration: none;
}
.stage-compliance a:hover { text-decoration: underline; }
.stage-disclaimer {
  position: relative; z-index: 3;
  max-width: 820px; margin: 12px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 12.5px; line-height: 1.55; font-weight: 500;
  color: rgba(237,241,255,.62);
}
.stage-shear {
  position: relative; z-index: 4; height: 96px; margin-top: -22px;
  background: linear-gradient(180deg, transparent, rgba(7,11,28,.72) 58%, var(--ink) 100%);
  clip-path: polygon(0 46%, 100% 14%, 100% 100%, 0 100%);
  pointer-events: none;
}

/* ============================================================
   2 & 6. SHELVES / RAILS
   ============================================================ */
.shelf { position: relative; z-index: 1; padding: 18px var(--gutter) 64px; }
.shelf-hot { padding-top: 4px; }
.shelf-head {
  display: flex; align-items: center; gap: 18px;
  max-width: 1480px; margin: 0 auto 22px;
}
.shelf-title { margin: 0; font-size: clamp(28px, 3.6vw, 46px); display: flex; align-items: center; gap: 14px; }
.shelf-flame {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px 14px 14px 4px;
  background: var(--grad-hot); box-shadow: var(--glow-mag); color: #fff;
}
.shelf-flame.is-cool { background: var(--grad-cool); box-shadow: var(--glow-cyan); }
.shelf-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.shelf-nav { display: flex; gap: 8px; }
.shelf-nav button {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  color: var(--text); background: rgba(34,211,255,.08);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: all .2s ease;
}
.shelf-nav button:hover { background: rgba(34,211,255,.18); box-shadow: var(--glow-cyan); }

.rail {
  display: flex; gap: 18px; align-items: stretch;
  max-width: 1480px; margin: 0 auto;
  overflow-x: auto; padding: 6px 4px 22px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--cyan-dp) transparent;
}
.rail::-webkit-scrollbar { height: 7px; }
.rail::-webkit-scrollbar-thumb { background: var(--cyan-dp); border-radius: 99px; }

.tile {
  position: relative; overflow: hidden; flex: 0 0 auto;
  width: 268px; scroll-snap-align: start;
  border-radius: 90px 90px 22px 4px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.15), box-shadow .3s ease, border-color .3s ease;
}
.tile-xl { width: 560px; border-radius: 120px 120px 26px 4px; }
.tile-tall { width: 244px; border-radius: 26px 26px 26px 4px; }
.tile:hover {
  transform: translateY(-10px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-pop), 0 0 56px rgba(34,211,255,.32);
}
.tile-link { display: block; color: var(--text); }
.tile-art { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.tile-tall .tile-art { aspect-ratio: 3 / 4.4; }
.tile-xl .tile-art { aspect-ratio: 16 / 9; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s cubic-bezier(.2,.8,.3,1); }
.tile:hover .tile-art img { transform: scale(1.09); }
.tile-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,28,.45) 0%, transparent 32%, rgba(21,27,64,.92) 100%);
}
.tile-shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.26) 48%, transparent 56%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.tile:hover .tile-shine { transform: translateX(120%); }
.tile-badge {
  position: absolute; z-index: 4; top: 14px; left: 50%; transform: translateX(-50%);
  padding: 5px 13px; border-radius: 999px;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #fff;
  background: var(--grad-hot); box-shadow: 0 6px 18px rgba(255,46,147,.5);
}
.tile-badge.is-new { background: var(--grad-cool); box-shadow: 0 6px 18px rgba(34,211,255,.5); }
.tile-badge.is-jackpot { background: var(--grad-gold); color: var(--gold-ink); box-shadow: 0 6px 18px rgba(255,197,61,.5); }
.tile-play {
  position: absolute; z-index: 5; left: 50%; top: 50%;
  transform: translate(-50%, -30%) scale(.7); opacity: 0;
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  color: var(--on-cta); background: var(--grad-cta);
  box-shadow: 0 14px 34px rgba(150,230,20,.5);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.9,.3,1.5);
}
.tile:hover .tile-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tile-foot {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 16px 20px 18px;
}
.tile-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.tile-xl .tile-name { font-size: 30px; }
.tile-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-2); letter-spacing: .1em; text-transform: uppercase; }
.tile-coin {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--gold);
}
.rail-stagger .tile:nth-child(even) { margin-top: 34px; }

/* ============================================================
   3. DAILY SPIN
   ============================================================ */
.spin {
  position: relative; z-index: 1; overflow: hidden;
  margin: 26px 0 0; padding: 92px var(--gutter) 100px;
}
.spin::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(112deg, rgba(139,92,246,.34) 0%, rgba(255,46,147,.22) 46%, transparent 78%);
  clip-path: polygon(0 0, 100% 5%, 100% 92%, 0 100%);
}
.spin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 22% 50%, transparent 0 74px, rgba(255,197,61,.13) 74px 76px);
  mask-image: radial-gradient(60% 90% at 22% 50%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(60% 90% at 22% 50%, #000 5%, transparent 72%);
}
.spin-inner {
  position: relative; z-index: 2;
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(320px, 560px) 1fr; gap: 56px; align-items: center;
}
.spin-stage { position: relative; margin-left: clamp(-160px, -8vw, -40px); }
.spin-stage::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,197,61,.3), transparent 66%);
  animation: haloPulse 3.4s ease-in-out infinite;
}
.big-wheel { position: relative; display: block; width: 100%; filter: drop-shadow(0 26px 60px rgba(2,5,18,.7)); }
.big-wheel .rotor { transform-origin: 150px 150px; animation: slowSpin 46s linear infinite; }
.spin-pointer {
  position: absolute; z-index: 3; left: 50%; top: -6px; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 16px solid transparent; border-right: 16px solid transparent;
  border-top: 30px solid var(--lime);
  filter: drop-shadow(0 0 14px rgba(198,255,61,.9));
}
.orbit-coin {
  position: absolute; display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--gold-ink); background: var(--grad-gold);
  box-shadow: var(--glow-gold), 0 10px 24px rgba(2,5,18,.5);
  animation: hover1 6s ease-in-out infinite;
}
.orbit-coin.o1 { top: -4%;  right: 4%;  animation-delay: -1s; }
.orbit-coin.o2 { bottom: 6%; right: -4%; animation-delay: -3s; }
.orbit-coin.o3 { bottom: -2%; left: 18%; animation-delay: -5s; }

.spin-copy h2 { font-size: clamp(34px, 4.6vw, 62px); margin: 0 0 14px; }
.spin-copy p { color: var(--text-2); font-size: 17.5px; max-width: 40ch; }
.prize-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 26px; padding: 0; }
.prize-chips li {
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--gold);
  background: rgba(255,197,61,.09); border: 1px solid rgba(255,197,61,.3);
}
.streak { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.streak-dots { display: flex; gap: 6px; }
.streak-dots i {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(34,211,255,.35);
}
.streak-dots i.on { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.streak span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   4. JACKPOT ZONE
   ============================================================ */
.jz { position: relative; z-index: 1; overflow: hidden; padding: 84px var(--gutter) 96px; }
.jz::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 76% 40%, rgba(255,197,61,.22), transparent 70%),
    linear-gradient(180deg, rgba(7,11,28,.2), rgba(12,18,48,.75));
}
.jz-inner {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 44px; align-items: center;
}
.jz-inner--meters { grid-template-columns: 1fr; max-width: 920px; }
.jz-tiers { display: grid; gap: 6px; }
.jz-tier { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.jz-tier .tier-name {
  flex: 0 0 118px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.jz-tier b {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; line-height: .95;
  font-size: clamp(34px, 5vw, 68px);
  color: #fff;
}
.jz-tier.is-grand { border-bottom: 0; padding-top: 18px; }
.jz-tier.is-grand .tier-name { color: var(--gold); }
.jz-tier.is-grand b {
  font-size: clamp(48px, 9vw, 132px);
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(255,197,61,.55));
  animation: jackGlow 3.4s ease-in-out infinite;
}
@keyframes jackGlow { 50% { filter: drop-shadow(0 0 70px rgba(255,197,61,.85)); } }
.jz-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }

.jz-feature { position: relative; }
.jz-feature .tile { width: 100%; transform: rotate(2deg); }
.jz-feature .tile:hover { transform: rotate(0deg) translateY(-8px); }

/* ============================================================
   5. MISSION PATH
   ============================================================ */
.quests { position: relative; z-index: 1; padding: 74px var(--gutter) 90px; }
.quests-head { max-width: 1480px; margin: 0 auto 34px; display: flex; align-items: center; gap: 16px; }
.quests-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); }
.path { position: relative; max-width: 1480px; margin: 0 auto; }
.path-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.mission-list {
  position: relative; z-index: 2;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  align-items: start;
}
.mission-list li {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--grad-surf);
  border: 1px solid var(--line);
  border-radius: 22px 22px 22px 4px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.mission-list li:nth-child(2) { margin-top: 46px; }
.mission-list li:nth-child(3) { margin-top: 12px; }
.mission-list li:nth-child(4) { margin-top: 58px; }
.mission-list li:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.mission-check {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 50% 50% 50% 6px;
  border: 2px solid var(--line-strong);
  color: var(--cyan);
  background: rgba(34,211,255,.08);
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
}
.mission-list li.done { border-color: rgba(198,255,61,.45); }
.mission-list li.done .mission-check {
  border-color: var(--lime); background: var(--lime); color: #10240a;
  box-shadow: 0 0 22px rgba(198,255,61,.55);
}
.mission-list li.done .mission-check::after {
  content: ""; position: absolute; left: 15px; top: 11px;
  width: 9px; height: 15px; border: 3px solid #10240a; border-top: 0; border-left: 0;
  transform: rotate(40deg);
}
.mission-list li.done .quest-fill { width: 100% !important; }
.mission-list li.is-locked { opacity: .62; }
.mission-list li.is-locked .mission-check { color: var(--muted); border-color: rgba(110,120,168,.4); background: rgba(110,120,168,.1); }
.quest-title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.03em; margin-bottom: 6px; }
.quest-desc { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 16px; min-height: 2.8em; }
.quest-bar { height: 8px; border-radius: 99px; background: rgba(7,11,28,.6); overflow: hidden; margin-bottom: 12px; }
.quest-fill { display: block; height: 100%; border-radius: 99px; background: var(--grad-cool); box-shadow: var(--glow-cyan); transition: width .8s ease; }
.mission-list li.done .quest-fill { background: var(--grad-cta); box-shadow: var(--glow-lime); }
.quest-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mission-list li b {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--gold);
  white-space: nowrap;
}
.quest-state { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   7. VIP STRIP
   ============================================================ */
.vip { position: relative; z-index: 1; overflow: hidden; padding: 34px var(--gutter); margin: 10px 0 0; }
.vip::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(139,92,246,.4), rgba(34,211,255,.18) 52%, rgba(255,46,147,.28));
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
}
.vip-inner {
  position: relative; z-index: 2; max-width: 1480px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 34px;
}
.vip-chevrons { display: flex; gap: 6px; }
.vip-chevrons i {
  width: 26px; height: 34px;
  clip-path: polygon(0 0, 66% 0, 100% 50%, 66% 100%, 0 100%, 34% 50%);
  background: rgba(237,241,255,.22);
}
.vip-chevrons i.on { background: var(--grad-gold); box-shadow: var(--glow-gold); }
.vip-copy { flex: 1 1 220px; }
.vip-copy h3 { margin: 0 0 4px; font-size: 22px; }
.vip-copy p { margin: 0; font-size: 14px; color: rgba(237,241,255,.78); }
.vip-bar { flex: 1 1 260px; }
.vip-bar .quest-bar { height: 12px; margin-bottom: 8px; }
.vip-bar .quest-fill { background: var(--grad-gold); box-shadow: var(--glow-gold); }
.vip-bar span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(237,241,255,.8); }

/* ============================================================
   8. LIVE WINS + FINAL CTA
   ============================================================ */
.finale { position: relative; z-index: 1; overflow: hidden; padding: 96px var(--gutter) 104px; }
.finale::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 118%, transparent 0 92px, rgba(34,211,255,.13) 92px 94px);
  mask-image: radial-gradient(86% 100% at 50% 114%, #000 5%, transparent 76%);
  -webkit-mask-image: radial-gradient(86% 100% at 50% 114%, #000 5%, transparent 76%);
}
.finale-inner {
  position: relative; z-index: 2; max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.finale-copy h2 { font-size: clamp(38px, 5.6vw, 76px); margin: 0 0 16px; }
.finale-copy p { color: var(--text-2); font-size: 18px; max-width: 44ch; }
.finale-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.coin-burst { position: relative; display: grid; place-items: center; min-height: 190px; margin-bottom: 18px; }
.coin-burst i {
  position: absolute; display: block; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-gold); box-shadow: var(--glow-gold);
  animation: burst 3.6s ease-in-out infinite;
}
.coin-burst i:nth-child(1) { --tx: -120px; --ty: -46px; animation-delay: -0s; }
.coin-burst i:nth-child(2) { --tx: -62px;  --ty: -86px; animation-delay: -.4s; }
.coin-burst i:nth-child(3) { --tx: 0px;    --ty: -104px; animation-delay: -.8s; width: 44px; height: 44px; }
.coin-burst i:nth-child(4) { --tx: 66px;   --ty: -80px; animation-delay: -1.2s; }
.coin-burst i:nth-child(5) { --tx: 124px;  --ty: -40px; animation-delay: -1.6s; }
.coin-burst i:nth-child(6) { --tx: -88px;  --ty: 40px;  animation-delay: -2s; }
.coin-burst i:nth-child(7) { --tx: 90px;   --ty: 46px;  animation-delay: -2.4s; }
@keyframes burst {
  0%, 100% { transform: translate(0,0) scale(.5); opacity: .15; }
  45%      { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 1; }
}
.coin-burst .burst-core {
  position: relative; z-index: 2;
  display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em;
  color: var(--gold-ink); background: var(--grad-gold);
  box-shadow: 0 0 60px rgba(255,197,61,.6);
}

.wins {
  position: relative;
  padding: 24px 24px 12px;
  background: var(--grad-surf);
  border: 1px solid var(--line-strong);
  border-radius: 26px 26px 4px 26px;
  box-shadow: var(--shadow-pop);
}
.wins-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wins-head h3 { margin: 0; font-size: 18px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); animation: pulseDot 1.6s ease-in-out infinite; }
.wins-feed { position: relative; height: 236px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 12%, #000 84%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 84%, transparent); }
.ticker-track { display: flex; flex-direction: column; gap: 10px; animation: feedRoll 26s linear infinite; }
.wins-feed:hover .ticker-track { animation-play-state: paused; }
@keyframes feedRoll { to { transform: translateY(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  font-size: 14px; color: var(--text-2);
  background: rgba(7,11,28,.5);
  border: 1px solid var(--line);
  border-radius: 999px 14px 14px 999px;
}
.ticker-item::before {
  content: ""; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-gold); box-shadow: 0 0 12px rgba(255,197,61,.6);
}
.ticker-item b { color: var(--gold); font-weight: 700; }

/* floating win notifications */
.win-pop-layer { position: fixed; z-index: 120; left: 22px; bottom: 22px; display: grid; gap: 10px; pointer-events: none; }
.win-pop {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px;
  font-size: 14.5px; color: var(--text);
  background: linear-gradient(120deg, rgba(21,27,64,.96), rgba(12,18,48,.96));
  border: 1px solid rgba(255,197,61,.45);
  border-radius: 999px 16px 16px 999px;
  box-shadow: var(--shadow-pop), 0 0 30px rgba(255,197,61,.2);
  animation: winIn .45s cubic-bezier(.2,.9,.3,1.4);
}
.win-pop.out { animation: winOut .35s ease forwards; }
.win-pop b { color: var(--gold); }
.win-pop::before {
  content: ""; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-gold); box-shadow: var(--glow-gold);
}
@keyframes winIn  { from { opacity: 0; transform: translateX(-30px) scale(.92); } }
@keyframes winOut { to   { opacity: 0; transform: translateX(-30px) scale(.92); } }

/* ============================================================
   RG STRIP
   ============================================================ */
.rg-strip { position: relative; z-index: 1; max-width: 1480px; margin: 0 auto 84px; padding: 0 var(--gutter); }
.rg-strip-inner {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
  padding: 34px 38px;
  border: 1px solid var(--line-strong);
  border-radius: 28px 28px 28px 4px;
  background: linear-gradient(115deg, rgba(34,211,255,.14), rgba(21,27,64,.92) 58%);
  box-shadow: var(--shadow);
}
.rg-strip-inner::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px;
  border-radius: 50%; border: 2px solid transparent;
  border-bottom-color: rgba(34,211,255,.35); border-left-color: rgba(34,211,255,.2);
}
.rg-strip-copy { max-width: 64ch; }
.rg-strip-copy h2 { font-size: 27px; margin: 0 0 10px; }
.rg-strip-copy p { color: var(--text-2); font-size: 15px; margin: 0; }
.rg-strip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.helpline {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--cyan);
}
.helpline:hover { color: #9ceeff; text-shadow: 0 0 18px rgba(34,211,255,.6); }

/* ============================================================
   INNER PAGES: page hero, legal, contact
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding: 72px var(--gutter) 62px; text-align: center; }
.hero-sunburst {
  position: absolute; inset: -30% -20% auto -20%; height: 170%; pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 50% 26%, rgba(34,211,255,.07) 0deg 5deg, transparent 5deg 13deg),
    repeating-radial-gradient(circle at 50% 26%, transparent 0 92px, rgba(139,92,246,.12) 92px 94px);
  mask-image: radial-gradient(66% 58% at 50% 26%, #000 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(66% 58% at 50% 26%, #000 10%, transparent 74%);
  animation: slowSpin 120s linear infinite;
}
.page-hero h1 { position: relative; font-size: clamp(36px, 5vw, 62px); margin: 0 0 14px; }
.page-hero p { position: relative; max-width: 62ch; margin: 0 auto; color: var(--text-2); font-size: 18px; }

.legal-wrap { position: relative; z-index: 1; max-width: 880px; margin: 0 auto 90px; padding: 0 var(--gutter); }
.legal-card {
  padding: 44px 42px;
  background: var(--grad-surf);
  border: 1px solid var(--line);
  border-radius: 28px 28px 28px 4px;
  box-shadow: var(--shadow);
}
.legal-card h2 { font-size: 24px; margin: 42px 0 12px; padding-left: 16px; border-left: 3px solid var(--cyan); }
.legal-card h2:first-of-type { margin-top: 6px; }
.legal-card h3 { font-size: 18px; margin: 24px 0 8px; color: var(--gold); }
.legal-card p, .legal-card li { color: var(--text-2); font-size: 16px; }
.legal-card ul, .legal-card ol { padding-left: 22px; }
.legal-card li { margin-bottom: 8px; }
.legal-card strong { color: var(--text); }
.legal-updated {
  display: inline-block; margin: 0 0 8px; padding: 6px 14px;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: rgba(34,211,255,.07);
  border: 1px solid var(--line); border-radius: 999px;
}
.callout {
  position: relative; overflow: hidden; margin: 22px 0; padding: 20px 24px;
  border: 1px solid rgba(139,92,246,.4);
  border-radius: 18px 18px 18px 4px;
  background: linear-gradient(115deg, rgba(139,92,246,.2), rgba(21,27,64,.6));
}
.callout::before {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px;
  border-radius: 50%; border: 2px solid transparent; border-top-color: rgba(34,211,255,.4);
}
.callout p { position: relative; margin: 0; color: var(--text); font-weight: 500; }
.callout p + p { margin-top: 10px; }
.callout-coral { border-color: rgba(255,46,147,.45); background: linear-gradient(115deg, rgba(255,46,147,.18), rgba(21,27,64,.6)); }
.callout-coral::before { border-top-color: rgba(255,46,147,.45); }

.contact-grid {
  position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto 90px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 24px; align-items: start;
}
.contact-form-card {
  padding: 36px 34px;
  background: var(--grad-surf); border: 1px solid var(--line);
  border-radius: 28px 28px 28px 4px; box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 26px; margin: 0 0 20px; }
.contact-aside { display: grid; gap: 16px; }
.contact-info-card {
  position: relative; overflow: hidden; padding: 24px 26px;
  border: 1px solid var(--line); border-radius: var(--cut-r);
  background: rgba(21,27,64,.72);
}
.contact-info-card::before {
  content: ""; position: absolute; left: -50px; top: -50px; width: 130px; height: 130px;
  border-radius: 50%; border: 2px solid transparent; border-bottom-color: rgba(34,211,255,.32);
}
.contact-info-card h3 { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
.contact-info-card p { color: var(--text-2); font-size: 15px; }
.form-success-note {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 16px 20px;
  color: var(--lime); background: rgba(198,255,61,.1);
  border: 1px solid rgba(198,255,61,.35); border-radius: 16px 16px 16px 4px; font-weight: 600;
}

/* ============================================================
   FORMS
   ============================================================ */
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block; margin-bottom: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
}
.field > span small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: rgba(7,11,28,.62);
  border: 1.5px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5c6699; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,255,.18); }
.field input.invalid { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255,46,147,.2); }
.check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lime); cursor: pointer; }
button.linkish {
  background: none; border: none; padding: 0; font: inherit; font-weight: 600;
  color: var(--cyan); text-decoration: underline; cursor: pointer;
}
#acct-modal.signup-modal { z-index: 1200; }
#acct-modal .modal-card,
#acct-modal .signup-card { max-width: 440px; }
.acct-navbtn {
  background: none; border: 0; font: inherit; font-weight: 700; color: inherit;
  cursor: pointer; padding: 6px 10px; opacity: .85;
  white-space: nowrap;
}
.acct-navbtn:hover { opacity: 1; text-decoration: underline; }
.header-actions [hidden],
.nav-auth-actions [hidden],
.acct-navbtn[hidden] {
  display: none !important;
}
.acct-link {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 700;
  color: inherit; text-decoration: underline; cursor: pointer;
}
.form-error {
  margin: 0 0 14px; padding: 11px 15px; font-size: 14.5px; font-weight: 600; color: #ffd6e9;
  background: rgba(255,46,147,.16); border: 1px solid rgba(255,46,147,.45);
  border-radius: 12px 12px 12px 4px;
}

/* ============================================================
   OVERLAYS / MODALS
   ============================================================ */
.overlay {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 22px;
  background: rgba(3, 6, 18, .86); backdrop-filter: blur(10px); overflow-y: auto;
}
.overlay[hidden] { display: none; }
.age-gate-card, .modal-card {
  position: relative; overflow: hidden;
  width: 100%; max-width: 500px; padding: 40px 38px 34px; text-align: center;
  background: linear-gradient(165deg, #232c66 0%, #0d1230 68%);
  border: 1px solid var(--line-strong);
  border-radius: 32px 32px 32px 6px;
  box-shadow: var(--shadow-pop), 0 0 90px rgba(34,211,255,.24);
  animation: popIn .4s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes popIn { from { opacity: 0; transform: translateY(22px) scale(.96); } }
.age-gate-burst {
  position: absolute; inset: -40% -30% auto -30%; height: 160%; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 50% 12%, transparent 0 70px, rgba(34,211,255,.16) 70px 72px),
    repeating-conic-gradient(from 0deg at 50% 12%, rgba(139,92,246,.09) 0deg 6deg, transparent 6deg 16deg);
  mask-image: radial-gradient(64% 60% at 50% 12%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(64% 60% at 50% 12%, #000, transparent 74%);
  animation: slowSpin 70s linear infinite;
}
.age-gate-card > * { position: relative; }
.age-gate-ring {
  display: grid; place-items: center; width: 108px; height: 108px; margin: 22px auto 20px;
  border-radius: 50%; border: 3px solid transparent;
  border-top-color: var(--gold); border-right-color: var(--gold-dp);
  background: radial-gradient(circle, rgba(255,197,61,.14), transparent 70%);
  box-shadow: var(--glow-gold);
  animation: arcSpin 12s linear infinite;
}
.age-gate-ring span {
  font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--gold);
  animation: arcSpin 12s linear infinite reverse;
}
.age-gate-card h2 { font-size: 29px; margin: 0 0 12px; }
.age-gate-card p { color: var(--text-2); font-size: 15.5px; }
.age-gate-actions { display: grid; gap: 10px; margin: 24px 0 18px; }
.age-gate-fineprint { font-size: 13px; color: var(--muted); }

.cookie-banner {
  position: fixed; z-index: 280; left: 22px; right: 22px; bottom: 22px;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px;
  background: rgba(12, 18, 48, .95);
  border: 1px solid var(--line-strong);
  border-radius: 20px 20px 20px 4px;
  box-shadow: var(--shadow-pop); backdrop-filter: blur(14px);
  animation: popIn .4s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 14.5px; color: var(--text-2); flex: 1 1 300px; }
.cookie-actions { display: flex; gap: 10px; }

.modal-overlay { z-index: 310; }
.modal-close {
  position: absolute; z-index: 5; top: 14px; right: 16px; width: 40px; height: 40px;
  font-size: 26px; line-height: 1; color: var(--text-2);
  background: rgba(34,211,255,.1); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer; transition: all .2s ease;
}
.modal-close:hover { color: #fff; background: rgba(255,46,147,.24); border-color: var(--magenta); }
.modal-ribbon {
  position: absolute; top: 22px; left: -4px; z-index: 4;
  padding: 7px 20px 7px 16px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: #fff; background: var(--grad-hot);
  border-radius: 0 999px 999px 0; box-shadow: 0 8px 22px rgba(255,46,147,.5);
}
.modal-coins { position: relative; display: grid; place-items: center; margin: 12px 0 18px; }
.modal-coins::before {
  content: ""; position: absolute; width: 132px; height: 132px; border-radius: 50%;
  border: 3px solid transparent; border-top-color: rgba(255,197,61,.65); border-left-color: rgba(34,211,255,.65);
  animation: arcSpin 9s linear infinite;
}
.modal-coins svg { filter: drop-shadow(0 0 24px rgba(255,197,61,.6)); }
.modal-card h2 { font-size: 28px; margin: 0 0 10px; }
.modal-sub { color: var(--text-2); font-size: 15.5px; margin-bottom: 22px; }
.modal-card form { text-align: left; }
.modal-card .btn-block { margin-top: 6px; }
.modal-fineprint { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.modal-body[hidden] { display: none; }
.success-coin { position: relative; display: grid; place-items: center; margin: 10px 0 20px; }
.success-coin::before {
  content: ""; position: absolute; width: 156px; height: 156px; border-radius: 50%;
  border: 3px solid transparent; border-top-color: var(--lime); border-right-color: var(--gold);
  animation: arcSpin 7s linear infinite;
}
.success-coin svg { filter: drop-shadow(0 0 30px rgba(255,197,61,.6)); }

.wheel-modal { max-width: 480px; }
.wheel-stage { position: relative; width: 300px; max-width: 100%; margin: 8px auto 18px; }
.wheel-stage::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.4), transparent 68%);
  animation: haloPulse 3s ease-in-out infinite;
}
.wheel { position: relative; display: block; width: 100%; filter: drop-shadow(0 14px 32px rgba(2,5,18,.7)); }
#wheel-rotor { transform-origin: 100px 100px; transition: transform 4.2s cubic-bezier(.12,.66,.03,1); }
.wheel-pointer {
  position: absolute; z-index: 3; left: 50%; top: -12px; transform: translateX(-50%);
  width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent;
  border-top: 24px solid var(--lime);
  filter: drop-shadow(0 0 12px rgba(198,255,61,.85));
}
.wheel-result {
  min-height: 1.6em; margin: 0 0 14px;
  font-family: var(--font-display); font-size: 20px; color: var(--gold);
  text-shadow: 0 0 22px rgba(255,197,61,.5);
}

/* ============================================================
   TOASTS / CONFETTI
   ============================================================ */
.toast-stack { position: fixed; z-index: 350; right: 22px; bottom: 22px; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast {
  padding: 13px 20px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--gold-ink); background: var(--grad-gold);
  border-radius: 999px;
  box-shadow: var(--glow-gold), 0 12px 30px rgba(2,5,18,.55);
  animation: toastIn .34s cubic-bezier(.2,.9,.3,1.4);
}
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn  { from { opacity: 0; transform: translateX(28px) scale(.9); } }
@keyframes toastOut { to   { opacity: 0; transform: translateX(28px) scale(.9); } }
.confetti-layer { position: fixed; inset: 0; z-index: 360; pointer-events: none; overflow: hidden; }
.confetti { position: absolute; top: -20px; width: 10px; height: 10px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(108vh) rotate(760deg); opacity: .1; } }

/* ============================================================
   GAME PAGE
   ============================================================ */
.game-hero { position: relative; padding: 32px var(--gutter) 20px; }
.game-hero-inner { max-width: 1480px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.back-link:hover { color: var(--cyan); }
.game-hero-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.game-title { font-size: clamp(32px, 4.4vw, 52px); margin: 0; }
.game-type-badge {
  padding: 6px 16px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--cyan);
  background: rgba(34,211,255,.12); border: 1px solid var(--line-strong); border-radius: 999px;
}
.game-tagline { margin: 10px 0 0; color: var(--text-2); font-size: 17.5px; }
.game-stage {
  position: relative; z-index: 1; max-width: 1480px; margin: 0 auto 88px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start;
}
.game-frame-wrap { min-width: 0; }
.game-frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  background: #05081a; border: 1px solid var(--line-strong);
  border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-pop), 0 0 70px rgba(34,211,255,.2);
}
.game-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.game-frame:fullscreen { aspect-ratio: auto; height: 100%; border-radius: 0; }
.game-frame-loader {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--ink-2);
  background-image: radial-gradient(500px 340px at 50% 46%, rgba(139,92,246,.32), transparent 70%);
  transition: opacity .4s ease, visibility .4s ease;
}
.game-frame-loader.done { opacity: 0; visibility: hidden; }
.game-frame-loader p { font-family: var(--font-display); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.game-frame-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 20px; background: rgba(21,27,64,.9);
  border: 1px solid var(--line-strong); border-top: 0; border-radius: 0 0 26px 4px;
}
.game-frame-note { font-size: 14px; color: var(--muted); }
.game-about {
  padding: 28px 26px; background: var(--grad-surf);
  border: 1px solid var(--line); border-radius: var(--cut); box-shadow: var(--shadow);
}
.game-about h2 { font-size: 21px; margin: 0 0 12px; }
.game-about p { color: var(--text-2); font-size: 15.5px; }
.game-meta { font-size: 13.5px; color: var(--muted); }
.game-more { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.game-more h3 { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.game-more-row { display: grid; gap: 12px; }
.mini-card {
  display: flex; align-items: center; gap: 12px; padding: 8px; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px 14px 14px 999px;
  background: rgba(7,11,28,.5); transition: all .22s ease;
}
.mini-card img { width: 62px; height: 62px; object-fit: cover; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--line-strong); }
.mini-card span { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.mini-card:hover { border-color: var(--cyan); background: rgba(34,211,255,.1); transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative; z-index: 1; margin-top: 10px; padding-top: 66px;
  background: linear-gradient(180deg, #0b1130 0%, #05081a 100%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 50% 108%, transparent 0 92px, rgba(34,211,255,.12) 92px 94px);
  mask-image: radial-gradient(80% 100% at 50% 104%, #000 5%, transparent 74%);
  -webkit-mask-image: radial-gradient(80% 100% at 50% 104%, #000 5%, transparent 74%);
}
.footer-wave { position: absolute; left: 0; right: 0; top: -1px; color: #0b1130; line-height: 0; }
.footer-wave svg { width: 100%; height: 70px; display: block; transform: rotate(180deg); }
.footer-inner { position: relative; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter) 30px; }
.footer-top { display: grid; grid-template-columns: 1.35fr .8fr 1.1fr; gap: 42px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-tag { margin: 14px 0 18px; color: var(--text-2); font-size: 15px; max-width: 38ch; }
.age-badge {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--magenta);
  border: 2px solid rgba(255,46,147,.55); background: rgba(255,46,147,.1);
  box-shadow: 0 0 26px rgba(255,46,147,.25);
}
.footer-links, .footer-help { display: flex; flex-direction: column; gap: 10px; }
.footer-links h3, .footer-help h3 { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin: 0 0 6px; }
.footer-links a { color: var(--text-2); font-size: 15px; }
.footer-links a:hover { color: var(--cyan); }
.footer-help p { margin: 0 0 4px; color: var(--text-2); font-size: 14.5px; }
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }
.partner-strip img { height: 34px; width: auto; opacity: .66; filter: grayscale(1) brightness(2); transition: all .22s ease; }
.partner-strip a:hover img { opacity: 1; filter: none; }
.footer-disclaimer { padding: 24px 0 16px; border-bottom: 1px solid var(--line); }
.footer-disclaimer p { font-size: 12.8px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.footer-bottom { padding-top: 18px; }
.footer-bottom p { font-size: 12.8px; color: var(--muted); margin: 0; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  .stage-core { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .cabinet { grid-column: 1; width: 100%; max-width: 760px; }
  .hud-jackpot, .hud-bonus {
    grid-column: 1; grid-row: auto; margin: 0; transform: none; animation: none;
    justify-self: center; max-width: 460px; width: 100%; text-align: left;
  }
  .hud-bonus { text-align: center; }
  .jz-inner { grid-template-columns: 1fr; }
  .jz-feature .tile { max-width: 420px; }
  .finale-inner { grid-template-columns: 1fr; }
  .mission-list { grid-template-columns: repeat(2, 1fr); }
  .mission-list li:nth-child(n) { margin-top: 0; }
  .mission-list li:nth-child(even) { margin-top: 34px; }
  .path-line { display: none; }
  .spin-inner { grid-template-columns: 1fr; gap: 34px; }
  .spin-stage { margin-left: 0; max-width: 460px; }
  .contact-grid, .game-stage { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tile-xl { width: 420px; }
}

@media (max-width: 860px) {
  .site-header { overflow: visible; }
  .header-inner {
    position: relative;
    gap: 6px;
    padding: 7px 10px;
  }
  .brand { gap: 6px; min-width: 0; flex: 0 1 auto; max-width: 44%; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand-word {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 14px 18px 20px;
    background: rgba(7, 11, 28, .98);
    border-bottom: 1px solid var(--line-strong);
    backdrop-filter: blur(18px); display: none;
    max-height: calc(100vh - 60px); overflow-y: auto; overflow-x: hidden;
    z-index: 100;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: flex; width: 38px; height: 38px; flex: 0 0 auto; }
  .header-actions {
    margin-left: auto;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .header-actions .btn-header {
    display: inline-flex;
    padding: 7px 10px;
    font-size: 12px;
    letter-spacing: .02em;
  }
  .header-actions .coin-chip {
    padding: 5px 8px 5px 6px;
    font-size: 12px;
    gap: 4px;
  }
  .header-actions .coin-chip svg { width: 14px; height: 14px; }
  .header-actions .acct-navbtn {
    padding: 6px 4px;
    font-size: 12px;
  }
  .nav-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .nav-auth-actions .btn { width: 100%; justify-content: center; }
  .stage { padding-top: 18px; }
  .stage-hud { margin-bottom: 10px; }
  .hud-kicker { margin: 0 0 8px; padding: 5px 12px 5px 10px; font-size: 11px; }
  .stage-title { font-size: clamp(28px, 9vw, 44px); }
  .stage-sub { margin-top: 8px; font-size: 14px; line-height: 1.4; }
  .stage-compliance { margin-top: 16px; font-size: 12.5px; gap: 6px 10px; }
  .play-disc { width: 64px; height: 64px; right: 14px; bottom: 18px; }
  .play-disc span { font-size: 8px; }
  .play-disc svg { width: 18px; height: 18px; }
  .win-pop-layer { display: none !important; }

  /* Compact signup so the full form fits on mobile */
  .overlay { padding: 10px; align-items: flex-start; }
  .signup-card { padding: 22px 18px 18px !important; }
  .modal-ribbon { top: 12px; padding: 5px 14px 5px 12px; font-size: 10px; }
  .modal-coins { margin: 4px 0 8px; }
  .modal-coins svg { width: 48px; height: 48px; }
  .modal-coins::before { width: 88px; height: 88px; }
  .signup-card h2 { font-size: 18px; margin: 0 0 6px; line-height: 1.2; }
  .signup-card .modal-sub { font-size: 12.5px; margin-bottom: 10px; line-height: 1.35; }
  .signup-card .field { margin-bottom: 8px; }
  .signup-card .field > span { margin-bottom: 3px; font-size: 11px; }
  .signup-card .field input { padding: 9px 12px; font-size: 15px; border-radius: 10px; }
  .signup-card .check { margin-bottom: 8px; font-size: 12px; gap: 8px; }
  .signup-card .check input { width: 16px; height: 16px; }
  .signup-card .btn-lg { --btn-pad: 12px 18px; font-size: 15px; }
  .signup-card .modal-fineprint { margin-top: 10px; font-size: 11px; }
  .signup-card .modal-close { width: 34px; height: 34px; top: 8px; right: 8px; font-size: 22px; }
}

@media (max-width: 420px) {
  .header-actions .btn-header { padding: 7px 8px; font-size: 11px; }
  .header-actions #acct-btn-login { display: none; }
  .header-actions #acct-btn-logout:not([hidden]) { display: inline-flex; }
  .brand-word { font-size: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stage { padding-top: 16px; }
  .stage-title { font-size: clamp(28px, 9vw, 44px); }
  .cabinet-frame { border-radius: 90px 90px 22px 4px; }
  .tile, .tile-xl, .tile-tall { width: 232px; }
  .tile-xl .tile-name { font-size: 22px; }
  .mission-list { grid-template-columns: 1fr; }
  .mission-list li:nth-child(even) { margin-top: 0; }
  .rail-stagger .tile:nth-child(even) { margin-top: 0; }
  .spin, .jz, .quests, .finale { padding-top: 60px; padding-bottom: 66px; }
  .legal-card { padding: 28px 20px; }
  .contact-form-card { padding: 26px 20px; }
  .age-gate-card, .modal-card { padding: 34px 22px 28px; }
  .rg-strip-inner { padding: 26px 22px; }
  .brand-word { font-size: 15px; }
  .brand-word-lg { font-size: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookie-actions .btn { flex: 1; }
  .jz-tier { flex-direction: column; gap: 2px; align-items: flex-start; }
  .jz-tier .tier-name { flex: none; }
}

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