/* ============================================================
   NanaBonanza — "SUNSET CARNIVAL"
   Game-lobby first. Berry plum base (never black), magenta /
   mango / gold / orchid — no blue, no green.
   ============================================================ */

:root {
  --bg:          #3a1840;
  --bg-2:        #4a1f4d;
  --surface:     #5c2758;
  --surface-2:   #6e3268;
  --surface-3:   #834078;
  --line:        rgba(255, 160, 90, .22);
  --line-strong: rgba(255, 90, 140, .42);

  --neon:        #ff2d8a;
  --neon-lt:     #ff6aad;
  --neon-dp:     #c21862;
  --ember:       #ff5a4a;
  --ember-lt:    #ff8578;
  --tangerine:   #ff9a1f;
  --orchid:      #e85cff;
  --orchid-dp:   #b83fd4;
  --butter:      #ffd24a;
  --butter-dp:   #f0ae2b;
  --butter-ink:  #5a3208;

  --text:        #fff5e8;
  --text-2:      #f0d4c4;
  --muted:       #c49a8e;
  --on-cta:      #3a1020;

  --glow-neon:   0 0 44px rgba(255, 45, 138, .45);
  --glow-ember:  0 10px 32px rgba(255, 90, 74, .45), 0 0 0 1px rgba(255, 154, 31, .38) inset;
  --glow-orchid: 0 0 26px rgba(232, 92, 255, .45);
  --glow-butter: 0 0 30px rgba(255, 210, 74, .5);
  --shadow-card: 0 18px 44px rgba(58, 24, 64, .45);
  --shadow-pop:  0 28px 70px rgba(58, 24, 64, .55);

  --grad-cta:    linear-gradient(100deg, #ff2d8a 0%, #ff5a4a 48%, #ff9a1f 100%);
  --grad-neon:   linear-gradient(140deg, #ff2d8a 0%, #c21862 100%);
  --grad-butter: linear-gradient(150deg, #ffe9a3 0%, #ffd24a 45%, #f0ae2b 100%);
  --grad-surface:linear-gradient(165deg, rgba(131,64,120,.92) 0%, rgba(74,31,77,.96) 62%);
  --grad-lobby:  radial-gradient(120% 90% at 50% 0%, #6b2a72 0%, #4a1f4d 42%, #3a1840 100%);

  --font-display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --cut:  28px 28px 28px 8px;
  --cut-r:28px 28px 8px 28px;
  --wrap: 1280px;
}

*, *::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.62;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 620px at 10% -6%, rgba(255, 45, 138, .28), transparent 70%),
    radial-gradient(760px 540px at 94% 8%, rgba(255, 154, 31, .18), transparent 72%),
    radial-gradient(1100px 700px at 50% 110%, rgba(232, 92, 255, .14), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255, 210, 74, .09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  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(--orchid);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orchid); color: var(--on-cta); padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 14px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--bg-2);
  background-image: radial-gradient(600px 400px at 50% 40%, rgba(255, 45, 138, .32), transparent 70%);
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader p {
  font-family: var(--font-display); font-size: 15px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.preloader-coin { position: relative; width: 76px; height: 76px; }
.preloader-coin::before,
.preloader-coin::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%; border: 4px solid transparent;
  animation: arcSpin 1.15s linear infinite;
}
.preloader-coin::before { border-top-color: var(--butter); border-right-color: var(--butter-dp); }
.preloader-coin::after {
  inset: 14px; border-top-color: var(--neon-lt); border-left-color: var(--ember);
  animation-direction: reverse; animation-duration: .9s;
}
.preloader-coin svg { position: absolute; inset: 24px; width: auto; height: auto; }
@keyframes arcSpin { to { transform: rotate(360deg); } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-pad: 14px 26px;
  position: relative;
  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;
  letter-spacing: -.01em;
  border: 0; border-radius: 999px;
  cursor: pointer;
  text-align: center; white-space: nowrap;
  overflow: hidden;
  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: 45%; height: 340%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), 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: .5; cursor: not-allowed; transform: none; }
.btn:disabled::after { display: none; }

.btn-primary {
  background: var(--grad-cta);
  color: #fff8f2;
  box-shadow: var(--glow-ember);
  text-shadow: 0 1px 0 rgba(120, 20, 40, .35);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(255, 90, 74, .5), 0 0 0 1px rgba(255,154,31,.5) inset; }

.btn-outline {
  background: rgba(255, 45, 138, .08);
  color: var(--text);
  box-shadow: 0 0 0 1.5px var(--line-strong) inset;
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  color: #fff;
  box-shadow: 0 0 0 1.5px var(--orchid) inset, var(--glow-orchid);
  background: rgba(232, 92, 255, .12);
}

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 45, 138, .12); }

.btn-butter {
  background: var(--grad-butter); color: var(--butter-ink);
  box-shadow: var(--glow-butter);
}
.btn-glow { animation: ctaPulse 2.4s ease-in-out infinite; }
@keyframes ctaPulse {
  50% { box-shadow: 0 0 40px rgba(255, 210, 74, .7), 0 10px 32px rgba(255, 90, 74, .35); }
}

.btn-sm  { --btn-pad: 10px 18px; font-size: 14px; }
.btn-lg  { --btn-pad: 16px 32px; font-size: 18px; }
.btn-xl  { --btn-pad: 19px 38px; font-size: 19px; }
.btn-block { width: 100%; }
.btn-header { padding: 11px 22px; font-size: 15px; }

/* ============================================================
   COMPLIANCE STRIP + HEADER
   ============================================================ */
.compliance-strip {
  position: relative; z-index: 95;
  background: linear-gradient(90deg, #6e3268 0%, #c21862 45%, #ff6a1f 100%);
  border-bottom: 1px solid rgba(255, 210, 74, .35);
  text-align: center;
  padding: 8px 16px;
}
.compliance-strip p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.7vw, 13.5px);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.35;
  color: #fff8f2;
  text-wrap: balance;
}

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(58, 24, 64, .82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; left: 50%; bottom: -1px;
  width: 62%; height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--neon), var(--butter), var(--orchid), transparent);
  opacity: .75;
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 12px 22px;
  display: flex; align-items: center; gap: 22px;
}
.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: 50%;
  background: var(--grad-neon);
  box-shadow: var(--glow-neon);
}
.brand-mark svg { position: relative; }
.brand:hover .brand-mark::before { filter: brightness(1.18); }

.brand-word {
  font-family: var(--font-display); font-weight: 700;
  font-size: 25px; letter-spacing: -.02em; line-height: 1;
}
.brand-word em {
  font-style: normal;
  background: var(--grad-butter);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-word-lg { font-size: 34px; }

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 9px 15px; border-radius: 999px;
  font-weight: 700; 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(--butter); transition: width .25s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 45, 138, .12); }
.main-nav a:hover::before { width: 44%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.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(--butter);
  background: rgba(255, 210, 74, .1);
  border: 1.5px solid rgba(255, 210, 74, .4);
  border-radius: 999px; cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}
.coin-chip:hover { box-shadow: var(--glow-butter); transform: translateY(-1px); }
.coin-chip.bump { animation: chipBump .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes chipBump {
  40% { transform: scale(1.16) rotate(-2deg); box-shadow: 0 0 46px rgba(255,210,74,.7); }
}

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: rgba(255,45,138,.12); 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; }

/* ============================================================
   LIVE WIN NOTIFICATIONS
   ============================================================ */
.live-wins {
  position: fixed; z-index: 85; left: 18px; bottom: 22px;
  display: grid; gap: 10px; pointer-events: none; max-width: min(340px, calc(100vw - 36px));
}
.live-win {
  padding: 12px 16px 12px 14px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--butter-ink);
  background: var(--grad-butter);
  border-radius: 18px 18px 18px 6px;
  box-shadow: var(--glow-butter), var(--shadow-card);
  animation: liveIn .45s cubic-bezier(.2,.9,.3,1.3);
}
.live-win b { font-weight: 700; }
.live-win.out { animation: liveOut .35s ease forwards; }
@keyframes liveIn  { from { opacity: 0; transform: translateX(-28px) scale(.92); } }
@keyframes liveOut { to   { opacity: 0; transform: translateX(-20px) scale(.95); } }

/* ============================================================
   LOBBY HERO — immersive game scene
   ============================================================ */
.lobby-hero {
  position: relative;
  min-height: min(92vh, 920px);
  padding: 18px 18px 80px;
  overflow: hidden;
  background: var(--grad-lobby);
}
.lobby-atmosphere { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* Full-bleed hero plate */
.lobby-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: heroKen 22s ease-in-out infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -1%, 0); }
}
.lobby-hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(74, 31, 77, .48) 0%, rgba(58, 24, 64, .28) 38%, rgba(58, 24, 64, .55) 72%, rgba(58, 24, 64, .92) 100%),
    radial-gradient(65% 55% at 50% 40%, rgba(255, 154, 31, .18) 0%, transparent 62%),
    radial-gradient(80% 70% at 50% 48%, transparent 35%, rgba(58, 24, 64, .55) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .lobby-hero-bg { animation: none; transform: none; }
}

.orb {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: .45;
  animation: orbDrift 14s ease-in-out infinite;
}
.orb-a { width: 280px; height: 280px; top: 8%; left: -4%; background: rgba(255,45,138,.45); }
.orb-b { width: 320px; height: 320px; top: 20%; right: -6%; background: rgba(255,154,31,.35); animation-delay: -4s; }
.orb-c { width: 220px; height: 220px; bottom: 10%; left: 40%; background: rgba(232,92,255,.3); animation-delay: -7s; }
@keyframes orbDrift {
  50% { transform: translate(20px, -24px) scale(1.08); }
}
.spark {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--butter); box-shadow: 0 0 12px var(--butter);
  animation: sparkle 3.2s ease-in-out infinite;
}
.s1 { top: 18%; left: 22%; }
.s2 { top: 30%; right: 18%; animation-delay: -1s; }
.s3 { bottom: 28%; left: 16%; animation-delay: -1.8s; }
.s4 { top: 55%; right: 28%; animation-delay: -2.4s; }
@keyframes sparkle { 50% { opacity: .2; transform: scale(.5); } }

.float-coin {
  position: absolute; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-butter);
  box-shadow: inset 0 -3px 0 rgba(90,50,8,.25), 0 0 18px rgba(255,210,74,.45);
  animation: coinFloat 7s ease-in-out infinite;
}
.float-coin::after {
  content: ""; position: absolute; inset: 8px;
  border-radius: 50%; border: 2px solid rgba(90,50,8,.35);
}
.fc1 { top: 22%; left: 8%; animation-delay: -1s; }
.fc2 { top: 48%; left: 4%; animation-delay: -2.5s; width: 28px; height: 28px; }
.fc3 { top: 16%; right: 10%; animation-delay: -3.5s; }
.fc4 { bottom: 30%; right: 6%; animation-delay: -5s; width: 44px; height: 44px; }
.fc5 { bottom: 22%; left: 28%; animation-delay: -6s; width: 24px; height: 24px; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(18deg); }
}

.lobby-hud {
  position: relative; z-index: 5;
  max-width: var(--wrap); margin: 0 auto 10px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch;
}
.hud-jackpot, .hud-balance, .hud-bonus {
  position: relative;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(92, 39, 88, .72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.hud-jackpot { flex: 1 1 220px; text-align: center; }
.hud-label {
  display: block; font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--butter); margin-bottom: 2px;
}
.hud-value {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1; letter-spacing: -.03em;
  color: #fff; text-shadow: 0 0 28px rgba(255,210,74,.65);
  font-variant-numeric: tabular-nums;
}
.hud-unit { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.hud-balance {
  flex: 0 1 160px; cursor: pointer; text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hud-balance:hover { transform: translateY(-2px); box-shadow: var(--glow-butter); }
.hud-coins {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--butter);
}
.hud-bonus {
  flex: 0 1 170px; display: flex; align-items: center; gap: 12px;
  cursor: pointer; text-align: left; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hud-bonus:hover { transform: translateY(-2px); box-shadow: var(--glow-neon); }
.hud-bonus-ring {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: var(--grad-cta);
  box-shadow: var(--glow-ember);
  animation: bonusPulse 2s ease-in-out infinite;
}
@keyframes bonusPulse { 50% { transform: scale(1.08); } }
.hud-bonus-cta {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text);
}

.lobby-stage {
  position: relative; z-index: 4;
  max-width: var(--wrap); margin: 0 auto;
  min-height: 520px;
  display: grid; place-items: center;
  padding: 20px 0 40px;
}

.lobby-brand {
  margin: 0 0 14px; text-align: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(42px, 7vw, 84px); letter-spacing: -.03em; line-height: .95;
  color: var(--text);
  text-shadow: 0 6px 40px rgba(255, 45, 138, .45);
}
.lobby-brand em {
  font-style: normal;
  background: var(--grad-butter);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(255,210,74,.4));
}
.lobby-tagline {
  margin: 18px 0 0; text-align: center;
  font-size: 15px; color: var(--text-2); letter-spacing: .04em;
}

.feature-stage { position: relative; z-index: 3; width: min(560px, 92vw); }
.feature-card {
  position: relative; display: block; overflow: visible;
  color: var(--text);
  border-radius: 32px;
  transform: rotate(-1.5deg);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.15);
}
.feature-card:hover { transform: rotate(0deg) scale(1.03); }
.feature-art {
  display: block; width: 100%; aspect-ratio: 400/260; object-fit: cover;
  border-radius: 32px;
  border: 3px solid rgba(255, 210, 74, .55);
  box-shadow: 0 30px 80px rgba(58, 24, 64, .55), 0 0 60px rgba(255, 45, 138, .35);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 32px; pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(58, 24, 64, .82) 100%);
}
.feature-shine {
  position: absolute; inset: 0; z-index: 2; border-radius: 32px; pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.28) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: featureShine 4.5s ease-in-out infinite;
}
@keyframes featureShine {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
.feature-badge {
  position: absolute; z-index: 4; top: -12px; left: 22px;
  padding: 8px 16px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-cta); background: var(--grad-cta);
  border-radius: 999px; box-shadow: var(--glow-ember);
}
.feature-meta {
  position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 88px;
  display: flex; flex-direction: column; gap: 4px;
  pointer-events: none;
}
.feature-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px);
  text-shadow: 0 4px 18px rgba(58,24,64,.8);
}
.feature-tag { font-size: 15px; color: var(--text-2); text-shadow: 0 2px 10px rgba(58,24,64,.8); }
.feature-play {
  position: absolute; z-index: 5; left: 50%; bottom: -22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 180px; padding: 16px 36px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--butter-ink); background: var(--grad-butter);
  border-radius: 999px; box-shadow: var(--glow-butter);
}
.feature-play-pulse {
  position: absolute; inset: -6px; border-radius: 999px;
  border: 2px solid rgba(255, 210, 74, .55);
  animation: playRing 1.8s ease-out infinite;
}
@keyframes playRing {
  to { transform: scale(1.18); opacity: 0; }
}

.sat-card {
  position: absolute; z-index: 2;
  width: min(168px, 22vw);
  border-radius: 20px;
  overflow: hidden;
  color: var(--text);
  border: 2px solid rgba(255, 210, 74, .35);
  box-shadow: var(--shadow-card);
  transition: transform .28s cubic-bezier(.2,.9,.3,1.2), box-shadow .28s ease;
  animation: satBob 5.5s ease-in-out infinite;
}
.sat-card img { display: block; width: 100%; aspect-ratio: 400/260; object-fit: cover; }
.sat-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  background: linear-gradient(transparent, rgba(58,24,64,.85));
}
.sat-card:hover {
  transform: scale(1.08) translateY(-6px);
  box-shadow: var(--glow-neon), var(--shadow-pop);
  z-index: 6;
}
.sat-1 { top: 12%; left: 2%; transform: rotate(-8deg); animation-delay: -1s; }
.sat-2 { top: 8%; right: 4%; transform: rotate(7deg); animation-delay: -2s; width: min(148px, 20vw); }
.sat-3 { bottom: 18%; left: 6%; transform: rotate(5deg); animation-delay: -3s; width: min(140px, 18vw); }
.sat-4 { bottom: 22%; right: 3%; transform: rotate(-6deg); animation-delay: -4s; }
@keyframes satBob {
  50% { translate: 0 -10px; }
}

.lobby-curve {
  position: absolute; left: -5%; right: -5%; bottom: -2px; height: 90px; z-index: 3;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ============================================================
   GAME RAILS / SLIDERS
   ============================================================ */
.shelf-section {
  position: relative; z-index: 2;
  padding: 52px 0 44px;
}
.trending-shelf { padding-top: 36px; }
.new-shelf {
  padding: 64px 0 52px;
  background:
    radial-gradient(70% 80% at 80% 40%, rgba(255, 154, 31, .12), transparent 70%),
    linear-gradient(180deg, transparent, rgba(232, 92, 255, .08), transparent);
}
.shelf-head {
  max-width: var(--wrap); margin: 0 auto 20px;
  padding: 0 22px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.shelf-kicker {
  margin: 0 0 6px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--neon-lt);
}
.shelf-head h2, .missions-head h2, .quick-head h2, .spin-copy h2, .jp-display h2, .vip-copy h2 {
  font-size: clamp(30px, 4vw, 46px); margin: 0; letter-spacing: -.03em;
}
.shelf-controls { display: flex; gap: 10px; }
.shelf-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
  background: rgba(92, 39, 88, .85);
  border: 1.5px solid rgba(255, 45, 138, .45);
  box-shadow: 0 8px 22px rgba(58, 24, 64, .35);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shelf-btn:hover {
  background: rgba(255, 45, 138, .28);
  border-color: var(--butter);
  box-shadow: var(--glow-butter);
  transform: scale(1.06);
}
.shelf-btn-butter {
  border-color: rgba(255, 210, 74, .45);
  color: var(--butter);
}
.shelf-btn-butter:hover {
  background: rgba(255, 210, 74, .16);
  color: #fff5e8;
}

.shelf-viewport {
  position: relative;
  max-width: 100%;
}
.shelf-viewport::before,
.shelf-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 18px; width: min(72px, 8vw); z-index: 3;
  pointer-events: none;
}
.shelf-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 10%, transparent);
}
.shelf-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 10%, transparent);
}
.shelf-viewport-marquee::before {
  background: linear-gradient(90deg, #4a1f4d 8%, transparent);
}
.shelf-viewport-marquee::after {
  background: linear-gradient(270deg, #4a1f4d 8%, transparent);
}

.shelf-rail {
  display: flex; gap: 18px; overflow-x: auto;
  padding: 10px max(22px, calc((100vw - var(--wrap)) / 2 + 22px)) 26px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(22px, calc((100vw - var(--wrap)) / 2 + 22px));
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.shelf-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shelf-rail.is-dragging .poster { pointer-events: none; }
.shelf-rail::-webkit-scrollbar { display: none; }

.poster {
  --poster-w: min(280px, 72vw);
  position: relative; flex: 0 0 var(--poster-w); width: var(--poster-w);
  scroll-snap-align: start;
  color: var(--text);
  text-decoration: none;
  transition: transform .28s cubic-bezier(.2,.9,.3,1.15);
}
.poster-lead { --poster-w: min(340px, 82vw); }
.poster-marquee { --poster-w: min(300px, 78vw); }
.poster:hover { transform: translateY(-8px); z-index: 2; }

.poster-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 400 / 260;
  border-radius: 20px;
  border: 2px solid rgba(255, 210, 74, .28);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(58, 24, 64, .45);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.poster-lead .poster-media {
  border-color: rgba(255, 45, 138, .55);
  box-shadow: 0 18px 44px rgba(58, 24, 64, .5), 0 0 34px rgba(255, 45, 138, .28);
}
.poster-marquee .poster-media {
  border-radius: 16px 28px;
  border-color: rgba(255, 154, 31, .4);
}
.poster:hover .poster-media {
  border-color: rgba(255, 210, 74, .75);
  box-shadow: var(--shadow-pop), 0 0 40px rgba(255, 45, 138, .32);
}
.poster-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.8,.3,1);
}
.poster:hover .poster-media img { transform: scale(1.07); }
.poster-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(58, 24, 64, .78) 100%);
  pointer-events: none;
}
.poster-shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.28) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.poster:hover .poster-shine { transform: translateX(120%); }

.poster-play {
  position: absolute; z-index: 3; left: 50%; top: 46%;
  transform: translate(-50%, -40%) scale(.82);
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--butter-ink);
  background: var(--grad-butter);
  box-shadow: var(--glow-butter);
  opacity: 0;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.9,.3,1.4);
}
.poster:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.poster-meta {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 4px 0;
}
.poster-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -.02em; line-height: 1.15;
}
.poster-studio {
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--butter); opacity: .9;
}
.poster-lead .poster-title { font-size: 22px; }

.pill {
  position: absolute; z-index: 4; top: 12px; left: 12px;
  padding: 6px 12px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(58, 24, 64, .35);
}
.pill-hot { color: #fff; background: var(--ember); box-shadow: 0 0 16px rgba(255,90,74,.55); }
.pill-new { color: var(--on-cta); background: var(--butter); }
.pill-jp  { color: #fff; background: linear-gradient(90deg, var(--orchid), var(--neon)); }

/* ============================================================
   DAILY SPIN ARENA
   ============================================================ */
.spin-arena {
  position: relative; z-index: 2;
  margin: 20px 0 10px;
  padding: 70px 22px 90px;
  overflow: hidden;
}
.spin-arena-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 72% 50%, rgba(255, 45, 138, .35), transparent 70%),
    linear-gradient(110deg, #5c2758 0%, #4a1f4d 45%, #6e3268 100%);
  border-radius: 0 0 40% 60% / 0 0 48px 80px;
  transform: skewY(-1.5deg);
  transform-origin: top left;
}
.spin-layout {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
}
.spin-sub { color: var(--text-2); font-size: 18px; max-width: 32ch; margin: 10px 0 22px; }
.spin-prizes {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 0 0 28px; padding: 0;
}
.spin-prizes li {
  padding: 8px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--butter-ink);
  background: var(--grad-butter); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255,210,74,.3);
}
.spin-visual {
  position: relative; display: grid; place-items: center; min-height: 380px;
}
.spin-halo {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,74,.35), transparent 68%);
  animation: haloPulse 3s ease-in-out infinite;
}
@keyframes haloPulse { 50% { transform: scale(1.1); opacity: .65; } }
.spin-wheel-art { position: relative; width: min(320px, 78vw); }
.spin-wheel-svg { display: block; width: 100%; filter: drop-shadow(0 18px 40px rgba(58,24,64,.5)); }
.spin-rotor-deco { transform-origin: 100px 100px; animation: slowSpin 28s linear infinite; }
@keyframes slowSpin { to { transform: rotate(360deg); } }
.spin-pointer {
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-top: 26px solid var(--butter);
  filter: drop-shadow(0 0 10px rgba(255,210,74,.8));
}
.prize-chip {
  position: absolute;
  padding: 8px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: #fff; background: var(--neon);
  border-radius: 999px; box-shadow: var(--glow-neon);
  animation: chipOrbit 6s ease-in-out infinite;
}
.pc1 { top: 8%; right: 8%; }
.pc2 { top: 38%; right: 0; animation-delay: -1.5s; background: var(--orchid); }
.pc3 { bottom: 18%; left: 4%; animation-delay: -3s; background: var(--ember); }
.pc4 { top: 20%; left: 2%; animation-delay: -4.5s; background: var(--tangerine); }
@keyframes chipOrbit {
  50% { transform: translateY(-12px) scale(1.06); }
}

/* ============================================================
   JACKPOT ZONE
   ============================================================ */
.jackpot-zone {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: 40px 22px 70px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center;
}
.jp-display { text-align: left; }
.jp-mega {
  margin: 8px 0 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 8vw, 92px); line-height: .95; letter-spacing: -.04em;
  background: var(--grad-butter);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255,210,74,.4));
  font-variant-numeric: tabular-nums;
}
.jp-note { color: var(--muted); font-size: 14px; margin: 0; }
.jp-games { display: grid; gap: 18px; }
.jp-game {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden;
  color: var(--text); min-height: 160px;
  border-radius: 24px 8px 24px 8px;
  border: 1px solid var(--line-strong);
  background: var(--grad-surface);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.jp-game:hover { transform: translateX(6px); box-shadow: var(--shadow-pop), var(--glow-orchid); }
.jp-game-2 { border-radius: 8px 24px 8px 24px; transform: translateX(28px); }
.jp-game-2:hover { transform: translateX(34px); }
.jp-game img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.jp-game-body {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 18px 20px;
}
.jp-game-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.jp-game .pill { position: static; align-self: flex-start; }

/* ============================================================
   MISSIONS PATH
   ============================================================ */
.missions-path {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 10px auto 20px;
  padding: 50px 22px 60px;
}
.missions-head { margin-bottom: 28px; }
.quest-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
  position: relative;
}
.quest-track::before {
  content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 4px;
  background: linear-gradient(180deg, var(--butter), var(--neon), var(--orchid));
  border-radius: 4px; opacity: .55;
}
.quest-node {
  position: relative;
  display: grid; grid-template-columns: 58px 1fr 56px; gap: 14px; align-items: center;
  padding: 18px 0;
}
.quest-marker {
  position: relative; z-index: 1;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 3px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}
.mission-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line-strong);
  transition: all .24s ease;
}
.quest-node.done .quest-marker {
  border-color: var(--butter);
  background: rgba(255, 210, 74, .15);
  box-shadow: var(--glow-butter);
}
.quest-node.done .mission-check {
  border-color: var(--butter); background: var(--butter);
  box-shadow: 0 0 16px rgba(255,210,74,.6);
  position: relative;
}
.quest-node.done .mission-check::after {
  content: ""; position: absolute; left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: 2.5px solid var(--butter-ink); border-top: 0; border-left: 0;
  transform: rotate(40deg);
}
.quest-body { min-width: 0; }
.quest-label {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 8px;
}
.quest-bar {
  display: block; height: 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden; margin-bottom: 8px;
}
.quest-fill {
  display: block; height: 100%; width: calc(var(--p, 0) * 1%);
  border-radius: 999px;
  background: var(--grad-cta);
  box-shadow: 0 0 12px rgba(255,45,138,.5);
  transition: width .6s ease;
}
.quest-node.done .quest-fill { width: 100%; }
.quest-reward {
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--butter);
}
.quest-chest {
  width: 48px; height: 40px; border-radius: 8px 8px 10px 10px;
  background: linear-gradient(160deg, #ffd24a, #ff9a1f);
  box-shadow: inset 0 -6px 0 rgba(90,50,8,.2), var(--glow-butter);
  position: relative;
}
.quest-chest::before {
  content: ""; position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
}
.quest-chest.locked { filter: grayscale(.4) brightness(.75); opacity: .7; }
.quest-node.done .quest-chest.locked { filter: none; opacity: 1; }

/* ============================================================
   QUICK PLAY
   ============================================================ */
.quick-play {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto;
  padding: 30px 22px 70px;
}
.quick-head { margin-bottom: 22px; }
.quick-cluster {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  grid-template-rows: 180px 180px;
  gap: 16px;
}
.quick-tile {
  position: relative; overflow: hidden;
  border-radius: 24px;
  color: var(--text);
  border: 2px solid rgba(255, 210, 74, .25);
  box-shadow: var(--shadow-card);
  transition: transform .28s ease, box-shadow .28s ease;
}
.quick-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.quick-tile:hover { transform: scale(1.03); box-shadow: var(--shadow-pop), var(--glow-neon); z-index: 2; }
.quick-tile:hover img { transform: scale(1.08); }
.qt-1 { grid-row: 1 / span 2; border-radius: 32px 16px 32px 16px; }
.qt-2 { border-radius: 16px 32px 16px 32px; }
.qt-3 { transform: translateY(12px); }
.qt-4 { border-radius: 40px 16px; }
.quick-name {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  text-shadow: 0 3px 12px rgba(58,24,64,.85);
}
.quick-go {
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: var(--butter-ink); background: var(--grad-butter);
  box-shadow: var(--glow-butter);
  opacity: 0; transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
}
.quick-tile:hover .quick-go { opacity: 1; transform: scale(1); }

/* ============================================================
   VIP STRIP
   ============================================================ */
.vip-strip {
  position: relative; z-index: 2;
  max-width: var(--wrap); margin: 0 auto 40px;
  padding: 0 22px;
}
.vip-panel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  padding: 28px 32px;
  border-radius: 28px 8px 28px 8px;
  background: linear-gradient(120deg, rgba(255,45,138,.22), rgba(92,39,88,.9) 50%, rgba(232,92,255,.18));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}
.vip-level {
  position: relative; width: 92px; height: 92px;
  display: grid; place-items: center; flex: 0 0 auto;
}
.vip-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--butter); border-right-color: var(--neon);
  animation: arcSpin 8s linear infinite;
  box-shadow: var(--glow-butter);
}
.vip-num {
  font-family: var(--font-display); font-weight: 700; font-size: 36px; color: var(--butter);
}
.vip-copy { flex: 1 1 220px; min-width: 0; }
.vip-bar {
  height: 14px; border-radius: 999px; margin: 12px 0 8px;
  background: rgba(255,255,255,.1); overflow: hidden;
}
.vip-fill {
  display: block; height: 100%; width: 28%;
  background: var(--grad-cta);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255,45,138,.5);
  transition: width .6s ease;
}
.vip-meta { margin: 0; font-size: 14px; color: var(--text-2); }

/* ============================================================
   FINALE CTA
   ============================================================ */
.finale-cta {
  position: relative; z-index: 2;
  padding: 40px 22px 70px;
}
.finale-inner {
  position: relative; overflow: hidden;
  max-width: 820px; margin: 0 auto;
  text-align: center;
  padding: 56px 32px;
  border-radius: 40px 16px;
  background: linear-gradient(145deg, #ff2d8a 0%, #ff5a4a 45%, #ff9a1f 100%);
  box-shadow: var(--shadow-pop), 0 0 80px rgba(255, 45, 138, .35);
}
.finale-inner h2 {
  font-size: clamp(32px, 5vw, 52px); margin: 0 0 10px; color: #fff8f2;
  text-shadow: 0 4px 20px rgba(58, 24, 64, .35);
}
.finale-inner p { color: rgba(255,245,232,.9); font-size: 18px; margin: 0 0 26px; }
.finale-inner .btn-primary {
  background: var(--grad-butter); color: var(--butter-ink);
  box-shadow: var(--glow-butter);
  text-shadow: none;
}
.finale-coins span {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-butter); opacity: .85;
  animation: coinFloat 5s ease-in-out infinite;
}
.finale-coins span:nth-child(1) { top: 18%; left: 8%; }
.finale-coins span:nth-child(2) { top: 30%; right: 10%; width: 34px; height: 34px; animation-delay: -2s; }
.finale-coins span:nth-child(3) { bottom: 16%; left: 18%; width: 28px; height: 28px; animation-delay: -3.5s; }

/* ============================================================
   RG STRIP
   ============================================================ */
.rg-strip { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto 90px; padding: 0 22px; }
.rg-strip-inner {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 38px 40px;
  border: 1px solid rgba(232, 92, 255, .35);
  border-radius: 30px 30px 30px 8px;
  background: linear-gradient(115deg, rgba(232,92,255,.16), rgba(74,31,77,.9) 55%);
  box-shadow: var(--shadow-card);
}
.rg-strip-copy { max-width: 62ch; }
.rg-strip-copy h2 { font-size: 30px; margin: 0 0 10px; }
.rg-strip-copy p { color: var(--text-2); font-size: 15.5px; 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(--butter);
}
.helpline:hover { color: #ffe28a; text-shadow: 0 0 18px rgba(255,210,74,.55); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 72px 22px 66px; text-align: center;
}
.page-hero h1 { position: relative; font-size: clamp(38px, 5vw, 62px); margin: 0 0 14px; }
.page-hero p { position: relative; max-width: 62ch; margin: 0 auto; color: var(--text-2); font-size: 18px; }
.hero-sunburst {
  position: absolute; inset: -20% -10% auto -10%; height: 140%;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 50% 22%,
      rgba(255, 45, 138, .08) 0deg 5deg, transparent 5deg 13deg);
  mask-image: radial-gradient(70% 62% at 50% 22%, #000 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 22%, #000 10%, transparent 74%);
  animation: slowSpin 90s linear infinite;
}

/* ============================================================
   LEGAL
   ============================================================ */
.legal-wrap { position: relative; z-index: 1; max-width: 880px; margin: 0 auto 92px; padding: 0 22px; }
.legal-card {
  padding: 46px 44px;
  background: var(--grad-surface);
  border: 1px solid var(--line);
  border-radius: 28px 28px 28px 8px;
  box-shadow: var(--shadow-card);
}
.legal-card h2 {
  font-size: 25px; margin: 44px 0 12px;
  padding-left: 16px; border-left: 3px solid var(--neon);
}
.legal-card h2:first-of-type { margin-top: 8px; }
.legal-card h3 { font-size: 19px; margin: 26px 0 8px; color: var(--butter); }
.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(255,45,138,.1);
  border: 1px solid var(--line); border-radius: 999px;
}
.callout {
  position: relative; overflow: hidden;
  margin: 22px 0; padding: 20px 24px;
  border: 1px solid rgba(255, 45, 138, .35);
  border-radius: 18px 18px 18px 6px;
  background: linear-gradient(115deg, rgba(255,45,138,.16), rgba(74,31,77,.62));
}
.callout p { position: relative; margin: 0; color: var(--text); font-weight: 500; }
.callout p + p { margin-top: 10px; }
.callout-coral {
  border-color: rgba(255, 90, 74, .42);
  background: linear-gradient(115deg, rgba(255,90,74,.18), rgba(74,31,77,.62));
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto 92px; padding: 0 22px;
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 26px; align-items: start;
}
.contact-form-card {
  padding: 38px 36px;
  background: var(--grad-surface);
  border: 1px solid var(--line);
  border-radius: 28px 28px 28px 8px;
  box-shadow: var(--shadow-card);
}
.contact-form-card h2 { font-size: 27px; margin: 0 0 22px; }
.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(74, 31, 77, .74);
}
.contact-info-card h3 {
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--neon-lt); 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(--butter);
  background: rgba(255, 210, 74, .12);
  border: 1px solid rgba(255, 210, 74, .4);
  border-radius: 16px 16px 16px 6px;
  font-weight: 700;
}

/* ============================================================
   FORMS
   ============================================================ */
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block; margin-bottom: 7px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em; 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(58, 24, 64, .55);
  border: 1.5px solid var(--line);
  border-radius: 14px 14px 14px 6px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b8889a; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(232, 92, 255, .18);
}
.field input.invalid { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 90, 74, .18); }

.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(--neon); cursor: pointer;
}
.form-error {
  margin: 0 0 14px; padding: 11px 15px;
  font-size: 14.5px; font-weight: 700; color: #ffd7e3;
  background: rgba(255, 90, 74, .16);
  border: 1px solid rgba(255, 90, 74, .42);
  border-radius: 12px 12px 12px 6px;
}

.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
  pointer-events: none;
}
.linkish {
  background: none; border: 0; padding: 0;
  font: inherit; font-weight: 700; color: var(--butter);
  text-decoration: underline; cursor: pointer;
}
.linkish:hover { color: #ffe28a; }
.otp-actions { text-align: center; }
.acct-navbtn {
  background: none; border: 0; font: inherit; font-weight: 700;
  color: var(--text-2); cursor: pointer; padding: 8px 12px;
}
.acct-navbtn:hover { color: var(--text); }
.acct-link {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 700;
  color: var(--butter); text-decoration: underline; cursor: pointer;
}
#acct-modal.signup-modal {
  display: grid; place-items: center;
}
#acct-modal.signup-modal[hidden] { display: none; }

/* ============================================================
   OVERLAYS / MODALS
   ============================================================ */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 22px;
  background: rgba(58, 24, 64, .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, #6e3268 0%, #4a1f4d 68%);
  border: 1px solid var(--line-strong);
  border-radius: 32px 32px 32px 8px;
  box-shadow: var(--shadow-pop), 0 0 90px rgba(255, 45, 138, .28);
  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(255,45,138,.16) 70px 72px),
    repeating-conic-gradient(from 0deg at 50% 12%, rgba(255,154,31,.08) 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(--butter);
  border-right-color: var(--butter-dp);
  background: radial-gradient(circle, rgba(255,210,74,.14), transparent 70%);
  box-shadow: var(--glow-butter);
  animation: arcSpin 12s linear infinite;
}
.age-gate-ring span {
  font-family: var(--font-display); font-weight: 700; font-size: 34px;
  color: var(--butter); letter-spacing: -.03em;
  animation: arcSpin 12s linear infinite reverse;
}
.age-gate-card h2 { font-size: 30px; 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: 180; 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(74, 31, 77, .95);
  border: 1px solid var(--line-strong);
  border-radius: 20px 20px 20px 6px;
  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: 210; }
.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(255,45,138,.12); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
  transition: all .2s ease;
}
.modal-close:hover { color: var(--text); background: rgba(255,90,74,.22); border-color: var(--ember); }

.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: #fff8f2; background: var(--grad-cta);
  border-radius: 0 999px 999px 0;
  box-shadow: 0 8px 22px rgba(255, 45, 138, .45);
}
.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,210,74,.6); border-left-color: rgba(255,45,138,.6);
  animation: arcSpin 9s linear infinite;
}
.modal-coins svg { filter: drop-shadow(0 0 24px rgba(255, 210, 74, .55)); }
.modal-card h2 { font-size: 29px; 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(--orchid); border-right-color: var(--butter);
  animation: arcSpin 7s linear infinite;
}
.success-coin svg { filter: drop-shadow(0 0 30px rgba(255, 210, 74, .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(255,45,138,.35), transparent 68%);
  animation: haloPulse 3s ease-in-out infinite;
}
.wheel { position: relative; display: block; width: 100%; filter: drop-shadow(0 14px 32px rgba(58,24,64,.55)); }
#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(--butter);
  filter: drop-shadow(0 0 12px rgba(255, 210, 74, .8));
}
.wheel-result {
  min-height: 1.6em; margin: 0 0 14px;
  font-family: var(--font-display); font-size: 20px; color: var(--butter);
  text-shadow: 0 0 22px rgba(255, 210, 74, .5);
}

/* ============================================================
   TOASTS / CONFETTI
   ============================================================ */
.toast-stack {
  position: fixed; z-index: 250; 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(--butter-ink); background: var(--grad-butter);
  border-radius: 999px;
  box-shadow: var(--glow-butter), 0 12px 30px rgba(58,24,64,.45);
  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: 260; 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: 34px 22px 22px; }
.game-hero-inner { max-width: var(--wrap); margin: 0 auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 18px; font-size: 14.5px; font-weight: 700;
  color: var(--text-2);
}
.back-link:hover { color: var(--butter); }
.game-hero-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.game-title { font-size: clamp(32px, 4.4vw, 52px); margin: 0; letter-spacing: -.03em; }
.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(--neon-lt);
  background: rgba(255, 45, 138, .14);
  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: var(--wrap); margin: 0 auto 92px; padding: 0 22px;
  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: #4a1f4d;
  border: 1px solid var(--line-strong);
  border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-pop), 0 0 70px rgba(255, 45, 138, .22);
}
.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(--bg-2);
  background-image: radial-gradient(500px 340px at 50% 46%, rgba(255,45,138,.3), 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(92, 39, 88, .9);
  border: 1px solid var(--line-strong); border-top: 0;
  border-radius: 0 0 26px 8px;
}
.game-frame-note { font-size: 14px; color: var(--muted); }

.game-about {
  padding: 28px 26px;
  background: var(--grad-surface);
  border: 1px solid var(--line);
  border-radius: var(--cut);
  box-shadow: var(--shadow-card);
}
.game-about h2 { font-size: 22px; 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(--neon-lt); 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(58, 24, 64, .45);
  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 {
  color: var(--text); border-color: var(--orchid);
  background: rgba(232, 92, 255, .1);
  transform: translateX(4px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative; z-index: 1;
  margin-top: 20px; padding-top: 70px;
  background: linear-gradient(180deg, #4a1f4d 0%, #3a1840 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(255, 45, 138, .13) 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: #4a1f4d; line-height: 0; }
.footer-wave svg { width: 100%; height: 70px; display: block; transform: rotate(180deg); }
.footer-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 22px 30px; }
.footer-top {
  display: grid; grid-template-columns: 1.35fr .8fr 1.1fr; gap: 42px;
  padding-bottom: 38px; 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: 700; font-size: 19px;
  color: var(--ember);
  border: 2px solid rgba(255, 90, 74, .55);
  background: rgba(255, 90, 74, .12);
  box-shadow: 0 0 26px rgba(255, 90, 74, .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(--neon-lt); margin: 0 0 6px;
}
.footer-links a { color: var(--text-2); font-size: 15px; }
.footer-links a:hover { color: var(--butter); }
.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: .68; filter: grayscale(1) brightness(1.9);
  transition: all .22s ease;
}
.partner-strip a:hover img { opacity: 1; filter: none; }

.footer-disclaimer { padding: 26px 0 18px; border-bottom: 1px solid var(--line); }
.footer-disclaimer p { font-size: 12.8px; line-height: 1.65; 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: 1040px) {
  .spin-layout { grid-template-columns: 1fr; text-align: center; }
  .spin-sub { margin-left: auto; margin-right: auto; }
  .spin-prizes { justify-content: center; }
  .jackpot-zone { grid-template-columns: 1fr; }
  .jp-game-2 { transform: none; }
  .jp-game-2:hover { transform: translateX(6px); }
  .quick-cluster { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .qt-1 { grid-row: auto; grid-column: 1 / -1; height: 200px; }
  .game-stage { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    padding: 14px 18px 20px;
    background: rgba(58, 24, 64, .97);
    border-bottom: 1px solid var(--line-strong);
    backdrop-filter: blur(18px);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }
  .header-actions { margin-left: auto; }
  .sat-card { display: none; }
  .lobby-hero { min-height: auto; padding-bottom: 70px; }
  .lobby-stage { min-height: auto; }
  .live-wins { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .compliance-strip { padding: 7px 12px; }
  .compliance-strip p { font-size: 11px; letter-spacing: .02em; }
  .blur-a, .blur-b, .blur-c, .blur-d { opacity: .4; }
  .lobby-hud { flex-direction: column; }
  .hud-balance, .hud-bonus { flex: 1 1 auto; }
  .feature-meta { bottom: 78px; }
  .quest-node { grid-template-columns: 48px 1fr; }
  .quest-chest { display: none; }
  .quest-track::before { left: 22px; }
  .quick-cluster { grid-template-columns: 1fr; grid-template-rows: none; }
  .qt-1, .qt-2, .qt-3, .qt-4 { height: 180px; transform: none; }
  .vip-panel { flex-direction: column; align-items: flex-start; }
  .legal-card { padding: 30px 22px; }
  .contact-form-card { padding: 28px 22px; }
  .age-gate-card, .modal-card { padding: 34px 24px 28px; }
  .rg-strip-inner { padding: 28px 24px; }
  .brand-word { font-size: 21px; }
  .brand-word-lg { font-size: 27px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookie-actions .btn { flex: 1; }
  .finale-inner { padding: 44px 22px; }
}

@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; }
}
