/* ====================================================================
   NV Casino — styles
   Palette derived from the logo: white + hot pink on dark purple→magenta
   ==================================================================== */

:root {
  --bg:        #0a0410;
  --bg-2:      #140a22;
  --bg-3:      #1c0e30;
  --panel:     rgba(255, 255, 255, 0.045);
  --panel-2:   rgba(255, 255, 255, 0.07);
  --border:    rgba(255, 255, 255, 0.10);
  --border-2:  rgba(255, 45, 120, 0.35);

  --pink:        #ff2d78;
  --pink-bright: #ff4d8d;
  --magenta:     #ff1e6f;
  --crimson:     #c9134e;
  --purple:      #7b2ff7;

  --gold:   #ffd24c;
  --green:  #25d07d;
  --red:    #ff4566;

  --text:   #f6eef9;
  --muted:  #b3a6c2;
  --muted-2:#857a96;

  --grad-brand: linear-gradient(135deg, #ff4d8d 0%, #ff1e6f 45%, #c9134e 100%);
  --grad-purple: linear-gradient(135deg, #7b2ff7 0%, #ff1e6f 100%);
  --glow: 0 0 0 1px rgba(255,45,120,.25), 0 18px 50px -12px rgba(255,30,111,.55);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --header-h: 68px;

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 15% -5%, rgba(123,47,247,.28), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(255,30,111,.30), transparent 55%),
    radial-gradient(800px 800px at 80% 100%, rgba(201,19,78,.22), transparent 60%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

/* ---------- helpers ---------- */
.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.narrow { max-width: 820px; }
.visually-hidden, .skip-link:not(:focus):not(:focus-visible) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--pink); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 700;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700;
  color: var(--pink-bright); margin-bottom: .9rem;
}
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 2.6rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

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

/* ---------- buttons ---------- */
.btn {
  --pad: .8rem 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  white-space: nowrap; color: var(--text); background: var(--panel-2);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,45,120,.4), 0 22px 60px -14px rgba(255,30,111,.75); }
.btn-outline { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn-outline:hover { background: rgba(255,45,120,.10); }
.btn-ghost { background: var(--panel); border-color: var(--border); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-lg { --pad: 1rem 1.8rem; font-size: 1.05rem; }
.btn-sm { --pad: .5rem .9rem; font-size: .85rem; }

/* ---------- promo bar ---------- */
.promo-bar {
  background: var(--grad-purple); color: #fff; text-align: center;
  font-size: .9rem; padding: .5rem 1rem;
}
.promo-bar p { margin: 0; }
.promo-bar a { text-decoration: underline; font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,4,16,.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; }
.brand-logo { border-radius: 11px; box-shadow: 0 6px 18px -6px rgba(255,30,111,.7); }
.brand-name { font-size: 1.2rem; letter-spacing: -.02em; }
.brand-accent { color: var(--pink-bright); }
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.wallet {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--panel-2); border: 1px solid var(--border-2);
  padding: .4rem .8rem; border-radius: 999px; font-weight: 700; font-family: var(--font-head);
}
.wallet-amount { color: var(--gold); }
.header-cta { display: inline-flex; }
#navToggle { display: none; padding: .55rem; width: 44px; height: 44px; }
.burger, .burger::before, .burger::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
#navToggle[aria-expanded="true"] .burger { background: transparent; }
#navToggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
#navToggle[aria-expanded="true"] .burger::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { border-bottom: 1px solid var(--border); background: rgba(10,4,16,.96); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 1rem 4%; gap: .3rem; }
.mobile-menu a { padding: .7rem .4rem; border-radius: 10px; font-weight: 600; color: var(--text); }
.mobile-menu a:hover { background: var(--panel); }
.mobile-menu .btn { margin-top: .5rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 0; overflow: hidden; }
.hero-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.orb-1 { width: 360px; height: 360px; background: var(--pink); top: -80px; right: 5%; animation: float 9s ease-in-out infinite; }
.orb-2 { width: 280px; height: 280px; background: var(--purple); bottom: -60px; left: -40px; animation: float 11s ease-in-out infinite reverse; }
.orb-3 { width: 220px; height: 220px; background: var(--crimson); top: 40%; left: 45%; animation: float 13s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(20px); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 540px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(37,208,125,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,208,125,.6);} 70% { box-shadow: 0 0 0 10px rgba(37,208,125,0);} 100% { box-shadow: 0 0 0 0 rgba(37,208,125,0);} }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 2rem; }
.hero-stats { display: flex; gap: 2rem; margin: 0; }
.hero-stats div { margin: 0; }
.hero-stats dt { color: var(--muted-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.hero-stats dd { margin: .1rem 0 0; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }

/* phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
  position: relative; width: 270px; aspect-ratio: 9/19; border-radius: 36px;
  background: linear-gradient(160deg, #2a1640, #120a22);
  padding: 12px; border: 1px solid var(--border);
  box-shadow: 0 40px 90px -30px rgba(255,30,111,.6), inset 0 0 0 2px rgba(255,255,255,.05);
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.phone-mock-lg { width: 300px; animation: none; }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #0a0410; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 26px; background: radial-gradient(120% 80% at 50% 0%, #2a1240, #0c0518); padding: 1.6rem 1rem 1rem; display: flex; flex-direction: column; gap: .9rem; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; }
.phone-top img { border-radius: 7px; }
.phone-top span:nth-child(2) { margin-right: auto; }
.phone-balance { color: var(--gold); }
.phone-slot { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; background: rgba(0,0,0,.35); padding: .8rem .5rem; border-radius: 14px; border: 1px solid var(--border-2); }
.mini-reel { font-size: 2rem; text-align: center; background: rgba(255,255,255,.05); border-radius: 10px; padding: .4rem 0; }
.phone-win { text-align: center; font-family: var(--font-head); font-weight: 800; color: var(--gold); text-shadow: 0 0 18px rgba(255,210,76,.7); margin: 0; animation: winPulse 1.5s ease-in-out infinite; }
@keyframes winPulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.08);} }
.phone-bars { display: flex; gap: .35rem; margin-top: auto; align-items: flex-end; height: 40px; }
.phone-bars span { flex: 1; background: var(--grad-brand); border-radius: 4px; animation: bars 1.4s ease-in-out infinite; }
.phone-bars span:nth-child(1){ height: 40%; animation-delay: 0s;}
.phone-bars span:nth-child(2){ height: 80%; animation-delay: .2s;}
.phone-bars span:nth-child(3){ height: 55%; animation-delay: .4s;}
.phone-bars span:nth-child(4){ height: 95%; animation-delay: .6s;}
@keyframes bars { 0%,100% { transform: scaleY(.6); opacity:.7;} 50% { transform: scaleY(1); opacity:1;} }

.jackpot-badge {
  position: absolute; bottom: 6%; right: -4%;
  background: rgba(10,4,16,.85); border: 1px solid var(--gold); border-radius: 14px;
  padding: .7rem 1rem; text-align: center; backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px -16px rgba(255,210,76,.6);
}
.jackpot-badge span { display: block; font-size: .66rem; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.jackpot-badge strong { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }

/* ticker */
.ticker { margin-top: 3rem; border-block: 1px solid var(--border); background: rgba(0,0,0,.25); overflow: hidden; }
.ticker-track { display: flex; gap: 2.5rem; padding: .8rem 0; width: max-content; animation: scrollX 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scrollX { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.ticker-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.ticker-item strong { color: var(--gold); }
.ticker-item .tk-game { color: var(--pink-bright); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; padding-block: clamp(3rem,6vw,4.5rem); }
.feature-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.3rem; transition: transform .2s, border-color .2s, background .2s; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--panel-2); }
.feature-ico { font-size: 1.8rem; display: block; margin-bottom: .7rem; }
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: .94rem; }

/* ---------- game catalog ---------- */
.cat-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.chip {
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; }

.game-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; }
.game-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid var(--border); background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; transition: transform .2s, box-shadow .25s, border-color .2s;
}
.game-tile:hover { transform: translateY(-5px); box-shadow: var(--glow); border-color: var(--border-2); }
.game-tile .gt-emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; opacity: .9; transition: transform .3s; }
.game-tile:hover .gt-emoji { transform: scale(1.12) rotate(-4deg); }
.game-tile .gt-meta { position: relative; z-index: 1; }
.game-tile h3 { font-size: 1rem; margin: 0; }
.game-tile p { margin: .15rem 0 0; font-size: .8rem; color: var(--muted); }
.gt-badge { position: absolute; top: .7rem; left: .7rem; z-index: 1; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .55rem; border-radius: 7px; background: var(--grad-brand); color: #fff; }
.gt-badge.hot { background: var(--gold); color: #2a1200; }
.gt-badge.new { background: var(--green); color: #04220f; }
.gt-rtp { position: absolute; bottom: .7rem; right: .7rem; z-index:1; font-size: .7rem; color: var(--muted-2); }

/* ---------- play section ---------- */
.section-play { background: linear-gradient(180deg, transparent, rgba(123,47,247,.06)); }
.balance-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem;
  background: var(--panel-2); border: 1px solid var(--border-2); border-radius: 999px;
  padding: .7rem 1.4rem; max-width: 640px; margin: 0 auto 2.4rem; font-family: var(--font-head);
}
.balance-strip strong { color: var(--gold); font-size: 1.2rem; }

.play-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.game-panel, .quiz-panel {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column;
}
.game-panel h3 { margin-bottom: .2rem; }
.game-panel-sub { color: var(--muted); font-size: .88rem; margin-bottom: 1.1rem; }
.game-result { margin-top: auto; padding-top: 1rem; font-weight: 600; min-height: 2.6em; }
.game-result.win { color: var(--green); }
.game-result.lose { color: var(--red); }

.bet-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.bet-row label { font-size: .85rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.stepper button { width: 34px; height: 36px; border: none; background: transparent; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: var(--panel-2); }
.stepper input { width: 60px; height: 36px; text-align: center; border: none; background: transparent; color: var(--text); font-weight: 700; font-family: var(--font-head); }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type=number] { -moz-appearance: textfield; }

/* slot machine */
.slot-machine { background: rgba(0,0,0,.35); border: 2px solid var(--border-2); border-radius: 16px; padding: 1rem; }
.reels { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.reel { height: 92px; overflow: hidden; background: linear-gradient(180deg, #1d0f33, #0d0719); border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); position: relative; }
.reel span { font-size: 2.8rem; }
.reel.spinning span { animation: reelSpin .12s linear infinite; }
@keyframes reelSpin { 0% { transform: translateY(-20px); opacity:.4;} 100% { transform: translateY(20px); opacity:.4;} }
.reel.win { border-color: var(--gold); box-shadow: 0 0 18px rgba(255,210,76,.5); }

/* roulette */
.roulette-wrap { position: relative; width: 180px; height: 180px; margin: .5rem auto 1rem; }
.roulette-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 16px solid var(--gold); z-index: 3; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.roulette {
  width: 100%; height: 100%; border-radius: 50%; position: relative;
  border: 6px solid #2a1640;
  background: conic-gradient(
    #1c0e30 0deg 10deg, var(--red) 10deg 30deg, #111 30deg 50deg,
    var(--red) 50deg 70deg, #111 70deg 90deg, var(--red) 90deg 110deg,
    #111 110deg 130deg, var(--red) 130deg 150deg, #111 150deg 170deg,
    var(--green) 170deg 190deg, #111 190deg 210deg, var(--red) 210deg 230deg,
    #111 230deg 250deg, var(--red) 250deg 270deg, #111 270deg 290deg,
    var(--red) 290deg 310deg, #111 310deg 330deg, var(--red) 330deg 350deg,
    #111 350deg 360deg);
  box-shadow: inset 0 0 0 10px rgba(0,0,0,.4), 0 12px 30px -10px rgba(0,0,0,.7);
  transition: transform 4s cubic-bezier(.17,.67,.2,1);
}
.roulette-center { position: absolute; inset: 35%; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; border: 3px solid #2a1640; }
.roul-controls { margin-top: 1rem; }
.bet-choice { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .4rem; }
.bet-choice .chip { font-size: .82rem; padding: .4rem .7rem; }
.bet-choice .chip.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* card game */
.card-game { display: flex; align-items: center; gap: 1rem; justify-content: center; margin: .5rem 0 1rem; }
.playing-card {
  width: 92px; height: 128px; background: #fff; border-radius: 12px; position: relative;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); color: #111;
  transition: transform .3s;
}
.playing-card.flip { animation: cardFlip .4s ease; }
@keyframes cardFlip { 0% { transform: rotateY(90deg) scale(.9);} 100% { transform: rotateY(0) scale(1);} }
.playing-card.red { color: var(--crimson); }
.card-rank { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.card-suit { font-size: 1.8rem; }
.card-streak { font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: .3rem; }
.card-streak strong { color: var(--gold); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.card-actions .btn-primary { grid-column: 1 / -1; }

/* dice game */
.dice-game { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .5rem 0 1.1rem; flex-wrap: wrap; }
.dice {
  width: 68px; height: 68px; border-radius: 16px; background: #fff; color: #1a0b2e;
  display: grid; place-items: center; font-size: 2.6rem; line-height: 1;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.7);
}
.dice.rolling { animation: diceRoll .5s ease; }
@keyframes diceRoll { 0% { transform: rotate(0) scale(1);} 50% { transform: rotate(180deg) scale(1.15);} 100% { transform: rotate(360deg) scale(1);} }
.dice-total { font-size: .9rem; color: var(--muted); }
.dice-total strong { color: var(--gold); font-family: var(--font-head); font-size: 1.2rem; }
.dice-game + .bet-choice { justify-content: center; }

/* leaderboard */
.section-board { background: linear-gradient(180deg, rgba(123,47,247,.06), transparent); }
.board-list { list-style: none; counter-reset: rank; margin: 0; padding: 0; display: grid; gap: .55rem; }
.board-row {
  counter-increment: rank;
  display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: .8rem;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .7rem 1rem; transition: border-color .2s, transform .2s;
}
.board-row::before { content: counter(rank); font-family: var(--font-head); font-weight: 800; color: var(--muted-2); text-align: center; }
.board-row:nth-child(1)::before { content: "🥇"; }
.board-row:nth-child(2)::before { content: "🥈"; }
.board-row:nth-child(3)::before { content: "🥉"; }
.board-row .br-name { font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.board-row .br-av { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; flex: none; }
.board-row .br-coins { font-family: var(--font-head); font-weight: 700; color: var(--gold); white-space: nowrap; }
.board-row.is-you { border-color: var(--pink); background: rgba(255,45,120,.12); }
.board-row.is-you .br-name::after { content: "YOU"; font-size: .6rem; background: var(--pink); color: #fff; padding: .1rem .4rem; border-radius: 6px; letter-spacing: .05em; }

/* ---------- jackpot cta ---------- */
.jackpot-cta { padding: clamp(3rem,7vw,5rem) 0; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(255,30,111,.18), transparent 70%); }
.jackpot-counter { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 8vw, 4.6rem); background: linear-gradient(135deg, #ffe79a, #ffd24c, #ff9e3d); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 60px rgba(255,210,76,.35); margin: .4rem 0 .8rem; letter-spacing: -.01em; }

/* ---------- two col (wheel + quiz) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: start; }

/* lucky wheel */
.lucky-wrap { position: relative; width: 240px; height: 240px; margin: .5rem auto 1.2rem; }
.lucky-pointer { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid var(--gold); z-index: 3; filter: drop-shadow(0 2px 5px rgba(0,0,0,.7)); }
.lucky-wheel {
  width: 100%; height: 100%; border-radius: 50%; border: 8px solid #2a1640;
  box-shadow: inset 0 0 0 4px rgba(255,210,76,.4), 0 14px 40px -12px rgba(255,30,111,.6);
  transition: transform 5s cubic-bezier(.12,.7,.16,1);
  /* background set by JS to align with segments */
}
.lucky-btn { width: 100%; margin-top: .4rem; }

/* quiz */
.quiz-progress { height: 8px; background: rgba(0,0,0,.4); border-radius: 999px; overflow: hidden; margin-bottom: 1rem; }
.quiz-progress-bar { display: block; height: 100%; background: var(--grad-brand); transition: width .3s ease; }
.quiz-step { font-size: .8rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .4rem; }
.quiz-question { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin: 0 0 1rem; }
.quiz-options { display: grid; gap: .6rem; }
.quiz-opt {
  text-align: left; padding: .85rem 1rem; border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; font-family: var(--font-body); font-size: .95rem; font-weight: 600; transition: all .18s;
}
.quiz-opt:hover { border-color: var(--pink); background: rgba(255,45,120,.12); transform: translateX(3px); }
.quiz-result { text-align: center; padding: 1rem 0; }
.quiz-emoji { font-size: 3rem; display: block; }
.quiz-result h4 { font-size: 1.4rem; margin: .4rem 0; }
.quiz-result p { color: var(--muted); }

/* ---------- bonuses ---------- */
.section-bonus { background: linear-gradient(180deg, rgba(123,47,247,.06), transparent); }
.bonus-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; }
.bonus-card { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.3rem; text-align: center; display: flex; flex-direction: column; gap: .4rem; transition: transform .2s, border-color .2s; }
.bonus-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.bonus-featured { background: var(--grad-purple); border-color: transparent; box-shadow: var(--glow); }
.bonus-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--gold); color: #2a1200; padding: .2rem .7rem; border-radius: 999px; }
.bonus-amount { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold); margin: .2rem 0; }
.bonus-featured .bonus-amount { color: #fff; }
.bonus-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.bonus-featured p { color: rgba(255,255,255,.85); }
.bonus-card .btn { margin-top: .8rem; }

/* ---------- app section ---------- */
.section-app { background: radial-gradient(700px 400px at 80% 50%, rgba(255,30,111,.12), transparent 60%); }
.app-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.app-features { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .55rem; }
.app-features li { color: var(--text); font-weight: 500; }
.store-badges { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.store-badge { display: inline-flex; align-items: center; gap: .6rem; background: #000; border: 1px solid var(--border); border-radius: 12px; padding: .55rem 1.1rem; transition: transform .2s, border-color .2s; }
.store-badge:hover { transform: translateY(-2px); border-color: var(--border-2); }
.store-badge small { display: block; font-size: .65rem; color: var(--muted); }
.store-badge strong { font-family: var(--font-head); font-size: 1.05rem; }
.store-ico { width: 26px; height: 26px; background: #fff; border-radius: 6px; mask: center/contain no-repeat; -webkit-mask: center/contain no-repeat; }
.store-ico { position: relative; }
.store-ico::before { content: "🍎"; font-size: 1.3rem; position: absolute; inset: 0; display: grid; place-items: center; }
.store-ico-play::before { content: "▶"; color: var(--green); }
.store-ico { background: transparent; }
.qr-row { display: flex; align-items: center; gap: 1rem; }
.qr-box { width: 80px; height: 80px; flex: none; background: repeating-conic-gradient(#fff 0% 25%, #111 0% 50%) 0/16px 16px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: var(--pink); font-family: var(--font-head); border: 4px solid #fff; }
.qr-row p { color: var(--muted); font-size: .9rem; margin: 0; }

.app-visual { display: flex; justify-content: center; }
.phone-screen-app { padding-top: 1.8rem; gap: .7rem; }
.app-hero-card { background: var(--grad-brand); border-radius: 16px; padding: 1rem; text-align: center; position: relative; }
.app-hero-card p { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.app-hero-card strong { font-family: var(--font-head); font-size: 1.8rem; display: block; }
.app-spin-btn { display: inline-block; margin-top: .5rem; background: rgba(0,0,0,.35); padding: .35rem 1rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.app-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.app-tiles span { aspect-ratio: 1; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255,255,255,.06); border-radius: 12px; }
.app-nav { display: flex; justify-content: space-around; margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--border); }
.app-nav span { font-size: 1.2rem; opacity: .5; }
.app-nav span.is-active { opacity: 1; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.review { margin: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.review blockquote { margin: 0 0 .8rem; font-size: .96rem; }
.review figcaption { color: var(--muted); font-weight: 600; font-size: .88rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: .7rem; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.2rem; transition: border-color .2s; }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--pink-bright); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: 0 0 1.1rem; }

/* ---------- cta band ---------- */
.cta-band { background: var(--grad-purple); margin: clamp(3rem,6vw,4.5rem) 0 0; padding: clamp(2.5rem,5vw,3.5rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-center { justify-content: center; text-align: center; flex-direction: column; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: .3rem 0 0; color: rgba(255,255,255,.9); }
.subscribe { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; position: relative; }
.subscribe input { padding: .9rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.25); color: #fff; min-width: 240px; font-size: 1rem; }
.subscribe input::placeholder { color: rgba(255,255,255,.6); }
.form-msg { position: absolute; bottom: -1.6rem; left: 1rem; font-size: .85rem; margin: 0; width: 100%; }
.form-msg.ok { color: #d4ffe7; } .form-msg.err { color: #ffd9df; }

/* ---------- footer ---------- */
.site-footer { background: rgba(0,0,0,.4); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 280px; }
.age-badge { display: inline-block; border: 2px solid var(--pink); color: var(--pink-bright); font-weight: 800; border-radius: 50%; width: 44px; height: 44px; line-height: 40px; text-align: center; font-family: var(--font-head); }
.footer-col h4 { font-size: .95rem; color: var(--text); margin-bottom: .9rem; }
.footer-col a { display: block; color: var(--muted); padding: .25rem 0; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--pink-bright); }
.footer-col p { color: var(--muted); font-size: .9rem; }
.footer-socials { display: flex; gap: 1rem; font-size: 1.3rem; margin-top: .6rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { color: var(--muted-2); font-size: .82rem; margin: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(20,10,34,.96); border: 1px solid var(--border-2); color: var(--text);
  padding: .9rem 1.4rem; border-radius: 14px; font-weight: 600; z-index: 300;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.8); opacity: 0; transition: opacity .3s, transform .3s;
  max-width: 90%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.win { border-color: var(--gold); }

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 1024px) {
  .features, .game-grid, .bonus-grid { grid-template-columns: repeat(2,1fr); }
  .play-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  #navToggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .eyebrow, .hero-cta { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-visual { order: -1; }
  .two-col, .app-grid { grid-template-columns: 1fr; }
  .app-visual { order: -1; }
  .jackpot-badge { right: 2%; }
}

@media (max-width: 560px) {
  .features, .game-grid, .bonus-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .subscribe { justify-content: center; }
  .subscribe input { min-width: 0; flex: 1; }
  .hero-stats dd { font-size: 1.2rem; }
  .balance-strip { flex-direction: column; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
}
