:root {
  --ink: #06100b;
  --deep: #081b12;
  --green: #00e58a;
  --green-2: #00a965;
  --gold: #ffd84a;
  --gold-2: #ff9e16;
  --purple: #9f39ff;
  --pink: #ff1f9c;
  --white: #fffdf4;
  --muted: #a9b6ae;
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
.shell { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

.age-ribbon {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 18px;
  color: #bdd3c6;
  background: #020705;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .72rem;
  letter-spacing: .04em;
  text-align: center;
}
.age-ribbon span { color: var(--gold); font-weight: 900; }

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; letter-spacing: -.04em; }
.brand small { display: block; font-size: .52rem; color: var(--green); letter-spacing: .13em; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px 4px 12px 4px;
  color: var(--ink); background: linear-gradient(135deg, #fff094, var(--gold-2));
  box-shadow: 0 0 26px rgba(255,216,74,.35); font-family: var(--display);
}
.nav-cta {
  color: var(--ink); background: var(--gold); text-decoration: none;
  padding: 12px 16px; border-radius: 8px; font-size: .75rem; font-weight: 900;
  box-shadow: 0 8px 30px rgba(255,158,22,.22); position: relative;
}
.nav-actions { display:flex; align-items:center; gap:10px; }

.hero {
  min-height: 920px;
  display: flex;
  align-items: flex-start;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background: url("./assets/rio-jackpot-hero.webp") center 45% / cover no-repeat;
  transform: scale(1.02);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(2,8,5,.38) 0%, rgba(2,10,6,.2) 35%, rgba(3,13,8,.24) 67%, var(--ink) 100%),
    radial-gradient(circle at 50% 30%, transparent 0 24%, rgba(0,0,0,.5) 82%);
}
.hero-content { padding-top: 156px; text-align: center; }
.eyebrow, .section-kicker {
  color: var(--green); font-size: .77rem; font-weight: 900; letter-spacing: .2em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0,229,138,.5); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0,229,138,0); } }
h1, h2 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: -.055em; line-height: .92; }
h1 { margin-top: 20px; font-size: clamp(3.1rem, 12vw, 7.8rem); text-shadow: 0 12px 50px rgba(0,0,0,.7); }
h1 em { font-style: normal; color: var(--gold); text-shadow: 0 0 40px rgba(255,216,74,.33); }
.hero-copy { width: min(610px, 100%); margin: 25px auto 0; color: #f2f6f3; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; font-weight: 800; text-shadow:0 4px 18px rgba(0,0,0,.8); }
.primary-cta {
  width: min(420px, 100%); min-height: 68px; margin: 28px auto 0; display: flex; align-items: center; justify-content: center; gap: 16px;
  color: #06100b; background: linear-gradient(100deg, #ffbc22, #ffe46d 50%, #ff9d00); text-decoration: none;
  border-radius: 14px; font-weight: 1000; box-shadow: 0 14px 45px rgba(255,178,20,.32), inset 0 1px rgba(255,255,255,.8); position: relative; overflow: hidden;
}
.primary-cta::after { content:""; position: absolute; top:-80%; left:-30%; width: 20%; height: 260%; transform: rotate(25deg); background: rgba(255,255,255,.55); animation: sweep 3s infinite; }
@keyframes sweep { 0%,55%{left:-30%} 80%,100%{left:130%} }
.fineprint { margin: 11px 0 0; color: #a4b4aa; font-size: .72rem; }

.game-section { padding: 92px 0 125px; background:#05110b url("./assets/scene-rio.webp") center 58% / cover no-repeat; position: relative; isolation:isolate; overflow:visible; }
.game-section.game-first { padding-top:120px; }
.game-section::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(3,14,8,.9) 0%,rgba(3,17,10,.54) 19%,rgba(2,10,6,.34) 57%,rgba(2,8,5,.82) 100%),radial-gradient(circle at 50% 55%,transparent 0 34%,rgba(2,8,5,.56) 78%); }
.game-section .shell { position: relative; }
h2 { margin-top: 14px; font-size: clamp(2.6rem, 8vw, 5.8rem); text-align: center; }
h2 span { color: var(--gold); }
.section-intro { max-width: 640px; margin: 20px auto 32px; color: var(--muted); text-align: center; line-height: 1.65; }

.game-shell {
  width:min(780px,100vw); margin:0; padding:6px 0 24px; position:relative; left:50%; transform:translateX(-50%); overflow:visible;
  background: transparent; border: 0; border-radius: 0; box-shadow:none;
}
.secondary-hero { min-height:760px; }
.secondary-hero .hero-content { padding-top:105px; padding-bottom:95px; }
.game-topline { width:min(540px,calc(100% - 28px)); margin:0 auto; display:flex; align-items:center; justify-content:center; position:sticky; top:12px; z-index:12; }
.balance-block {
  width:100%; min-height:86px; padding:10px 52px; display:flex; align-items:center; justify-content:center; position:relative;
  color:#ffe27c; background:linear-gradient(180deg,#483015 0,#090c09 24%,#010806 70%,#211407 100%);
  border:3px solid transparent; border-radius:18px;
  background-clip:padding-box;
  box-shadow:0 17px 40px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.16),inset 0 -8px 18px rgba(0,0,0,.34);
}
.balance-block::before { content:""; position:absolute; inset:-4px; z-index:-1; border-radius:21px; background:linear-gradient(100deg,#4a2b05,#ffe18a 24%,#8e5b11 48%,#ffd36a 72%,#4a2b05); }
.balance-block::after { content:""; position:absolute; left:20px; right:20px; top:9px; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent); }
.balance-block.receive { animation:walletReceive .68s cubic-bezier(.2,1.5,.3,1); }
@keyframes walletReceive { 45%{transform:scale(1.055);box-shadow:0 0 48px rgba(255,216,74,.7),inset 0 0 30px rgba(255,216,74,.19)} }
.balance-copy { min-width:180px; text-align:center; }
.micro { display:block; color:#d4b66f; font-size:.58rem; letter-spacing:.3em; font-weight:1000; }
.balance-value { display:flex; align-items:baseline; justify-content:center; gap:8px; margin-top:3px; }
.balance-value span { color:#ffe78e; font-family:var(--display); font-size:1.35rem; }
.balance-value strong { display:block; min-width:112px; color:#ffe072; font-family:var(--display); font-size:2.25rem; line-height:1; letter-spacing:.03em; text-shadow:0 2px 0 #6d3d00,0 0 24px rgba(255,216,74,.28); }
.balance-value strong.bump { animation:balanceBump .52s cubic-bezier(.2,1.6,.3,1); }
@keyframes balanceBump { 45%{transform:scale(1.24);color:#fff7bf;text-shadow:0 0 30px #ffce2f} }
.wallet-icon { position:absolute; left:17px; top:50%; width:38px; height:28px; transform:translateY(-50%); border:3px solid #e2a92e; border-radius:8px; background:linear-gradient(180deg,#ffd869,#8b570b); box-shadow:inset 0 0 0 4px #171008,0 0 14px rgba(255,210,82,.12); }
.wallet-icon::after { content:""; position:absolute; right:-4px; top:7px; width:14px; height:10px; border:2px solid #ffd46a; border-radius:4px; background:#171008; }
.wallet-icon i { position:absolute; right:1px; top:11px; width:4px; height:4px; z-index:1; border-radius:50%; background:#ffe897; }
.balance-bolt { position:absolute; top:50%; width:5px; height:5px; margin-top:-2px; border-radius:50%; background:#d39b36; box-shadow:inset 0 1px #fff1ad,0 1px 2px #000; }
.balance-bolt-left { left:7px; }
.balance-bolt-right { right:7px; }
.sound-toggle { width:42px; height:42px; display:grid; place-items:center; color:var(--gold); background:rgba(3,15,9,.82); border:1px solid rgba(255,216,74,.35); border-radius:50%; cursor:pointer; font-weight:1000; backdrop-filter:blur(10px); }
.sound-toggle .sound-off { display:none; }
.sound-toggle[aria-pressed="false"] { color:#708078; }
.sound-toggle[aria-pressed="false"] .sound-on { display:none; }
.sound-toggle[aria-pressed="false"] .sound-off { display:inline; }
.wheel-stage { width:100%; height:min(100vw,690px); margin:16px auto 0; display:grid; place-items:center; position:relative; }
.wheel-stage.shake { animation:stageShake .32s ease both; }
@keyframes stageShake { 25%{transform:translateX(-3px)} 55%{transform:translateX(3px)} 80%{transform:translateX(-1px)} }
.wheel-wrap { width:min(100%,680px); aspect-ratio:1; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%; filter:drop-shadow(0 34px 38px rgba(0,0,0,.62)); animation:idleFloat 3.2s ease-in-out infinite; }
.wheel-wrap::before { content:""; position:absolute; z-index:2; inset:0; border-radius:50%; pointer-events:none; background:radial-gradient(circle closest-side,transparent 0 85.5%,#6d3a04 85.8% 87%,#f6ce66 87.3% 88.2%,#a66710 88.5% 91%,#e3a83d 91.3% 95.2%,#754008 95.5% 97%,#f5cd66 97.3% 98.2%,#8b520d 98.5% 100%); box-shadow:inset 0 0 0 2px rgba(255,242,178,.82),inset 0 0 18px rgba(54,25,0,.58),0 0 0 2px #8c550d; }
.wheel-wrap::after { content:""; position:absolute; z-index:2; inset:6.1%; border-radius:50%; pointer-events:none; border:3px solid #f5c653; box-shadow:0 0 0 2px #5e3404,inset 0 0 0 1px rgba(255,242,178,.45); }
.wheel-wrap.spinning { animation:none; transform:translate(-50%,-50%); filter:drop-shadow(0 28px 38px rgba(0,0,0,.6)) drop-shadow(0 0 18px rgba(255,215,60,.2)); }
@keyframes idleFloat { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-50%,calc(-50% - 4px)) scale(1.008)} }
.wheel-rotor { position:absolute; inset:6.6%; z-index:1; border-radius:50%; transform:rotate(0deg); will-change:transform; }
.wheel-face { position:absolute; inset:0; overflow:hidden; border-radius:50%; background:repeating-conic-gradient(from -22.5deg,rgba(255,255,255,.11) 0deg 1.2deg,rgba(255,255,255,0) 1.2deg 5.6deg),conic-gradient(from -22.5deg,#ec168f 0deg 45deg,#10b873 45deg 90deg,#ffd600 90deg 135deg,#0879e8 135deg 180deg,#ec168f 180deg 225deg,#0879e8 225deg 270deg,#ffd600 270deg 315deg,#10b873 315deg 360deg); box-shadow:inset 0 0 34px rgba(0,0,0,.32),inset 0 0 0 4px #442303,inset 0 0 0 7px #f1b843; }
.wheel-face::before { content:""; position:absolute; inset:0; border-radius:50%; background:repeating-conic-gradient(from -22.5deg,rgba(49,21,0,.9) 0deg .75deg,#ffd866 .9deg 1.45deg,transparent 1.65deg 45deg); }
.wheel-face::after { content:""; position:absolute; inset:2%; border-radius:50%; background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.28),transparent 14%),repeating-conic-gradient(from 0deg,transparent 0 5deg,rgba(255,255,255,.08) 5.2deg 6deg); mix-blend-mode:soft-light; }
.wheel-sheen { position:absolute; inset:4%; border-radius:50%; pointer-events:none; background:linear-gradient(112deg,transparent 24%,rgba(255,255,255,.18) 38%,transparent 50%); mix-blend-mode:screen; animation:sheenOrbit 4.8s ease-in-out infinite; }
@keyframes sheenOrbit { 0%,100%{transform:rotate(-12deg);opacity:.35} 50%{transform:rotate(20deg);opacity:.82} }
.wheel-prizes { position:absolute; inset:0; pointer-events:none; }
.prize-token { --angle:calc(var(--i) * 45deg); position:absolute; top:50%; left:50%; width:19%; aspect-ratio:1.72; transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-298%); filter:drop-shadow(0 5px 4px rgba(0,0,0,.52)); }
.token-card { width:100%; height:100%; display:flex; align-items:center; justify-content:flex-end; position:relative; padding:0 8% 0 35%; color:#fff; background:linear-gradient(145deg,#087849 0,#0ca35c 52%,#0874bd 100%); border:clamp(2px,.34vw,3px) solid #f8cc4d; clip-path:polygon(10% 0,90% 0,100% 24%,94% 50%,100% 76%,90% 100%,10% 100%,0 76%,6% 50%,0 24%); box-shadow:inset 0 0 0 1px rgba(255,255,255,.38),inset 0 -8px 12px rgba(0,45,57,.18); }
.ticket-stack { position:absolute; left:12%; bottom:17%; width:28%; height:65%; transform:rotate(-9deg); }
.ticket-stack i { position:absolute; bottom:0; left:36%; width:22%; height:100%; border-radius:2px; background:#ffd300; border:1px solid rgba(255,255,255,.5); box-shadow:0 1px 2px rgba(0,0,0,.35); transform-origin:bottom; }
.ticket-stack i:nth-child(1) { transform:rotate(-24deg); }
.ticket-stack i:nth-child(2) { background:#1689eb; transform:rotate(-4deg); }
.ticket-stack i:nth-child(3) { background:#30c86b; transform:rotate(18deg); }
.game-coin { position:absolute; z-index:2; left:11%; bottom:10%; width:20%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 36% 30%,#ffe59a 0 8%,#f5a900 18% 58%,#8b4c00 72% 100%); border:2px solid #ffe079; box-shadow:0 2px 3px rgba(0,0,0,.48),inset 0 0 0 2px rgba(103,53,0,.42); }
.game-coin::after { content:""; position:absolute; inset:27%; border-radius:50%; background:#0b7b48; box-shadow:inset 0 0 0 1px #f4c34e; }
.token-card b { position:relative; z-index:2; font-family:var(--display); font-size:clamp(.58rem,2.9vw,1.05rem); letter-spacing:-.08em; white-space:nowrap; text-shadow:-2px -2px 0 #052d21,2px -2px 0 #052d21,-2px 2px 0 #052d21,2px 2px 0 #052d21,0 3px 3px rgba(0,0,0,.52); }
.rim-bolts { position:absolute; z-index:4; inset:0; border-radius:50%; pointer-events:none; }
.rim-bolts i { position:absolute; left:50%; top:50%; width:1.65%; aspect-ratio:1; margin:-.825%; border-radius:50%; background:radial-gradient(circle at 35% 30%,#fff6c3 0 15%,#e0a33d 42%,#6d3c06 76%); border:1px solid #5a3103; box-shadow:0 1px 2px rgba(0,0,0,.6); transform:rotate(calc(var(--i) * 22.5deg)) translateY(-2770%); }
.winner-sector { position:absolute; z-index:3; inset:7%; border-radius:50%; opacity:0; pointer-events:none; background:conic-gradient(from -22.5deg at 50% 50%,rgba(255,234,126,.88) 0 45deg,transparent 45deg 360deg); -webkit-mask:radial-gradient(circle,transparent 0 29%,#000 30% 82%,transparent 83%); mask:radial-gradient(circle,transparent 0 29%,#000 30% 82%,transparent 83%); mix-blend-mode:screen; }
.wheel-wrap.winner .winner-sector { opacity:1; animation:winnerPulse .56s ease-in-out infinite alternate; }
@keyframes winnerPulse { to{opacity:.34;filter:brightness(1.6)} }
.hub-button { position:absolute; z-index:6; left:50%; top:50%; width:31%; aspect-ratio:1; padding:0; transform:translate(-50%,-50%); border:0; border-radius:50%; background:transparent; cursor:pointer; filter:drop-shadow(0 9px 10px rgba(0,0,0,.44)); transition:transform .14s ease,filter .2s ease; }
.hub-button img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.hub-button strong { position:relative; z-index:1; color:#fff; font-family:var(--display); font-size:clamp(.72rem,3.5vw,1.55rem); letter-spacing:.02em; text-shadow:0 2px 0 #092b84,0 0 12px rgba(255,255,255,.7); }
.hub-button:active { transform:translate(-50%,-50%) scale(.94); }
.hub-button:disabled { cursor:default; filter:grayscale(.25) brightness(.74) drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.pointer { position:absolute; z-index:8; top:1.6%; left:50%; transform:translateX(-50%); width:56px; height:84px; filter:drop-shadow(0 7px 9px rgba(0,0,0,.54)); pointer-events:none; }
.pointer-body { position:absolute; inset:0; transform-origin:50% 12%; will-change:transform; }
.pointer-body::before { content:""; position:absolute; inset:0; clip-path:polygon(50% 100%,12% 22%,22% 11%,50% 2%,78% 11%,88% 22%); background:linear-gradient(90deg,#805000,#e9ad37 22%,#fff0a3 50%,#d49120 78%,#754200); }
.pointer-body::after { content:""; position:absolute; inset:8% 19% 11%; clip-path:polygon(50% 100%,10% 21%,50% 2%,90% 21%); background:linear-gradient(90deg,#155eae,#73b7f0 42%,#c8ebff 52%,#277dcb 68%,#0c4d98); box-shadow:inset 0 0 0 1px rgba(255,255,255,.5); }
.pointer-body span { position:absolute; z-index:2; width:16px; height:16px; border-radius:50%; background:radial-gradient(circle at 38% 32%,#fffbe6,#f1c24d 38%,#875006 78%); box-shadow:0 0 8px rgba(255,235,146,.58); top:8px; left:20px; }
.aurora { position:absolute; width:65%; height:65%; border-radius:50%; filter:blur(50px); opacity:.3; }
.aurora-one { background:var(--green); left:-25%; top:10%; }
.aurora-two { background:var(--purple); right:-25%; bottom:5%; }
.reveal-layer { position:absolute; z-index:7; top:16%; left:50%; width:86%; height:25%; display:flex; flex-direction:column; align-items:center; justify-content:center; opacity:0; pointer-events:none; transform:translateX(-50%) scale(.55); transition:opacity .15s,transform .15s; text-align:center; }
.reveal-layer::before { content:""; position:absolute; width:78%; aspect-ratio:2.2; border-radius:50%; background:radial-gradient(ellipse,rgba(255,220,76,.56),transparent 68%); filter:blur(8px); }
.reveal-layer.show { opacity:1; transform:translateX(-50%) scale(1); transition:opacity .18s,transform .48s cubic-bezier(.15,1.55,.25,1); }
.reveal-layer small,.reveal-layer strong { position:relative; z-index:1; }
.reveal-layer small { color:#fff7ca; font-weight:1000; letter-spacing:.18em; text-shadow:0 3px 10px #000; }
.reveal-layer strong { color:#fff1a6; font-family:var(--display); font-size:clamp(2.8rem,12vw,5.4rem); letter-spacing:-.08em; -webkit-text-stroke:3px #ffb000; text-shadow:0 6px 0 #6d3500,0 0 35px rgba(255,214,60,.9); }
.spin-button {
  width:min(590px,calc(100% - 56px)); min-height:76px; margin:28px auto 0; border:0; border-radius:18px; position:relative; overflow:hidden; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; color:#07130d; background:linear-gradient(100deg,#ff9b13,#ffe779 46%,#ffb007);
  box-shadow:0 15px 34px rgba(255,174,20,.25), inset 0 2px rgba(255,255,255,.7); transform:translateY(0); transition:.2s;
}
.spin-button.ready { animation:buttonReady 1.35s ease-in-out infinite; }
@keyframes buttonReady { 50%{transform:scale(1.016);box-shadow:0 17px 44px rgba(255,197,42,.48),inset 0 2px rgba(255,255,255,.8)} }
.spin-button:hover { transform:translateY(-2px); }
.spin-button:active { transform:scale(.985); }
.spin-button:disabled { filter:grayscale(.8); opacity:.62; cursor:not-allowed; }
.spin-button strong { font-family:var(--display); font-size:1.25rem; }
.spin-button small { font-size:.72rem; font-weight:800; opacity:.7; }
.spin-shine { position:absolute; inset:-200% 70% -200% -20%; background:rgba(255,255,255,.35); transform:rotate(20deg); animation:sweep 2.6s infinite; }
.tap-guide { display:flex; align-items:center; justify-content:center; gap:9px; margin:13px 0 -1px; color:#fff0a7; font-size:.68rem; font-weight:1000; letter-spacing:.11em; animation:guideBounce 1.15s ease-in-out infinite; }
.tap-guide span { width:18px; height:24px; position:relative; display:inline-block; border:2px solid #fff0a7; border-radius:9px 9px 7px 7px; }
.tap-guide span::before { content:""; position:absolute; width:2px; height:9px; left:6px; top:-8px; background:#fff0a7; box-shadow:-5px 2px 0 -1px #fff0a7,5px 2px 0 -1px #fff0a7; }
.tap-guide.hide { display:none; }
@keyframes guideBounce { 50%{transform:translateY(4px)} }
.game-note { margin:17px 0 0; color:#eaf5ed; text-align:center; font-size:.74rem; line-height:1.5; font-weight:900; letter-spacing:.11em; text-shadow:0 3px 12px #000; }
.game-shell.final-glow { animation:finalGlow 1.1s ease-in-out 2; }
@keyframes finalGlow { 50%{filter:drop-shadow(0 0 42px rgba(255,210,45,.52))} }

.power-section { padding:105px 0; color:var(--ink); background:var(--gold); position:relative; overflow:hidden; }
.power-section::after { content:"B"; position:absolute; right:-.08em; bottom:-.35em; color:rgba(9,25,16,.07); font-family:var(--display); font-size:min(95vw,900px); line-height:1; }
.power-section .shell { position:relative; z-index:1; }
.section-kicker.gold { color:#654000; }
.section-intro.light { color:#3d422f; font-weight:600; }
.stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:38px; }
.stats-grid article { min-height:320px; padding:28px 22px; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; color:#fff; border-radius:24px; box-shadow:0 18px 0 rgba(89,55,0,.13); background-position:center; background-size:cover; overflow:hidden; position:relative; isolation:isolate; }
.stats-grid article::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(2,10,6,.05) 12%,rgba(2,10,6,.7) 58%,rgba(2,10,6,.97) 100%); }
.stats-grid article.members-card { background-image:url("./assets/scene-rio.webp"); }
.stats-grid article.activity-card { background-image:url("./assets/scene-neon.webp"); }
.stats-grid article.reserve-card { background-image:url("./assets/scene-palace.webp"); }
.stat-icon { margin-bottom:auto; padding:8px 11px; color:var(--gold); background:rgba(2,10,6,.52); border:1px solid rgba(255,216,74,.5); border-radius:999px; font-size:.62rem; letter-spacing:.14em; font-weight:1000; backdrop-filter:blur(8px); }
.stats-grid strong { font-family:var(--display); font-size:clamp(2.05rem,4vw,3.4rem); letter-spacing:-.07em; }
.stats-grid sup { color:var(--gold); font-size:.4em; }
.stats-grid span { margin-top:5px; color:#dce6df; font-size:.74rem; font-weight:900; letter-spacing:.08em; }
.stats-grid small { margin-top:14px; color:#7f9387; }
.data-warning { margin:25px auto 0; max-width:740px; padding:15px 18px; color:#493b13; background:rgba(255,255,255,.35); border:1px solid rgba(55,42,0,.2); border-radius:12px; font-size:.78rem; text-align:center; line-height:1.5; }

.feature-strip { padding:45px 0; background:#09140e; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.feature-grid article { display:flex; gap:16px; align-items:flex-start; }
.feature-grid article > span { color:var(--gold); font-family:var(--display); font-size:1.35rem; }
.feature-grid strong { font-size:.84rem; letter-spacing:.08em; }
.feature-grid p { margin:7px 0 0; color:#82958a; font-size:.82rem; line-height:1.5; }

.download { min-height:680px; padding:110px 0 90px; display:grid; place-items:center; position:relative; overflow:hidden; text-align:center; background:radial-gradient(circle at 50% 45%, #2d1150 0, #0a1010 50%, #040805 100%); }
.download::before { content:""; position:absolute; inset:0; background:url("./assets/rio-jackpot-hero.webp") center 70% / cover no-repeat; opacity:.15; filter:saturate(1.2); }
.download-glow { position:absolute; width:540px; height:540px; top:15%; left:50%; transform:translateX(-50%); border-radius:50%; border:1px solid rgba(255,216,74,.18); box-shadow:0 0 120px rgba(159,57,255,.28), inset 0 0 100px rgba(0,229,138,.1); }
.download-inner { position:relative; }
.download-badge { display:inline-block; padding:9px 13px; color:var(--gold); border:1px solid rgba(255,216,74,.4); border-radius:999px; font-size:.7rem; font-weight:900; letter-spacing:.14em; }
.download h2 { margin-top:20px; }
.download p { width:min(570px,100%); margin:22px auto; color:#b9c5bd; line-height:1.65; }
.download-button { min-width:min(360px,100%); min-height:76px; padding:13px 24px; display:inline-flex; align-items:center; justify-content:center; gap:15px; color:var(--ink); background:var(--green); border:0; border-radius:16px; cursor:pointer; box-shadow:0 18px 45px rgba(0,229,138,.24); position:relative; transition:opacity .2s, transform .2s; }
.android-icon { font-size:1.6rem; transform:rotate(45deg); }
.download-button span:last-child { text-align:left; }
.download-button small, .download-button strong { display:block; }
.download-button small { font-size:.62rem; font-weight:900; letter-spacing:.12em; }
.download-button strong { font-family:var(--display); font-size:1.35rem; }
.download p.download-note { margin-top:12px; color:#708077; font-size:.72rem; }
.download-button.is-loading,
.nav-cta.is-loading,
.primary-cta.is-loading,
.spin-button.is-loading {
  pointer-events:none;
  opacity:.78;
  cursor:wait;
}
.download-button.is-loading > *,
.spin-button.is-loading > * { visibility:hidden; }
.nav-cta.is-loading,
.primary-cta.is-loading { color:transparent !important; }
.nav-cta.is-loading span,
.primary-cta.is-loading span { visibility:hidden; }
.primary-cta.is-loading::after { animation:none; opacity:0; }
.download-button.is-loading::before,
.nav-cta.is-loading::before,
.primary-cta.is-loading::before,
.spin-button.is-loading::before {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  z-index:2;
  width:22px;
  height:22px;
  margin:-11px 0 0 -11px;
  border:2.5px solid rgba(6,16,11,.22);
  border-top-color:var(--ink);
  border-radius:50%;
  animation:btnSpin .7s linear infinite;
  visibility:visible;
}
.nav-cta.is-loading::before,
.primary-cta.is-loading::before { border-color:rgba(6,16,11,.2); border-top-color:var(--ink); }
@keyframes btnSpin { to { transform:rotate(360deg); } }

footer { padding:34px 0; background:#020503; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.brand.muted { opacity:.65; }
.footer-inner p { max-width:650px; margin:0; color:#68756d; font-size:.72rem; line-height:1.6; text-align:right; }

@keyframes raySpin { to{transform:translateX(-50%) rotate(360deg)} }
.toast { position:fixed; z-index:120; left:50%; bottom:24px; transform:translate(-50%,30px); width:min(440px,calc(100% - 32px)); padding:14px 18px; color:#eaf4ed; background:#10241a; border:1px solid rgba(0,229,138,.35); border-radius:12px; box-shadow:0 20px 50px rgba(0,0,0,.4); opacity:0; pointer-events:none; transition:.3s; text-align:center; font-size:.82rem; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.flying-token { position:fixed; z-index:109; width:110px; height:64px; pointer-events:none; filter:drop-shadow(0 8px 16px rgba(0,0,0,.52)); animation:tokenFly 1.48s cubic-bezier(.2,.7,.2,1) forwards; }
.flying-token .token-card b { font-size:.95rem; }
@keyframes tokenFly { 0%{opacity:0;transform:translate(-50%,-50%) rotateY(0) rotate(var(--tilt)) scale(.25)} 24%{opacity:1;transform:translate(calc(-50% + var(--spread)),calc(-50% + var(--rise))) rotateY(360deg) rotate(var(--tilt)) scale(.9)} 56%{opacity:1;transform:translate(-50%,-70%) rotateY(620deg) scale(.62)} 100%{opacity:0;transform:translate(calc(-50% + var(--target-x)),calc(-50% + var(--target-y))) rotateY(900deg) scale(.14)} }

@media (max-width: 720px) {
  .shell { width:min(100% - 28px,620px); }
  .nav { height:62px; }
  .nav-cta { min-height:44px; padding:10px 12px; display:flex; align-items:center; font-size:.66rem; }
  .hero { min-height:0; padding-bottom:clamp(30px,8vw,44px); }
  .hero-content { padding-top:124px; }
  .hero-copy { margin-top:20px; font-size:.96rem; }
  .primary-cta { margin-top:24px; }
  .fineprint { margin-top:10px; line-height:1.45; }
  .game-section { padding:44px 0 78px; }
  .game-section.game-first { padding-top:105px; }
  .power-section { padding:72px 0; }
  .game-section h2 { font-size:clamp(2.45rem,12.5vw,3.55rem); }
  .section-intro { margin:16px auto 25px; font-size:.96rem; line-height:1.55; }
  .game-shell { width:100vw; }
  .sound-toggle { width:44px;height:44px; flex:0 0 44px; }
  .game-topline { width:min(92vw,520px); }
  .balance-block { min-height:78px; padding-inline:50px; }
  .balance-value strong { min-width:102px; font-size:1.95rem; }
  .balance-value span { font-size:1.12rem; }
  .wheel-stage { height:min(112vw,670px); margin-top:22px; }
  .wheel-wrap { width:min(112vw,680px); max-width:none; }
  .spin-button { width:min(86vw,560px); min-height:74px; margin-top:32px; }
  .prize-token { width:19%; transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-298%); }
  .pointer { top:1.7%; width:52px; height:78px; }
  .pointer-body span { width:15px; height:15px; left:18.5px; top:7px; }
  .stats-grid { grid-template-columns:1fr; }
  .stats-grid article { min-height:205px; }
  .feature-strip { padding:38px 0; }
  .feature-grid { grid-template-columns:1fr; gap:24px; }
  .download { min-height:0; padding:76px 0; }
  .secondary-hero { min-height:0; }
  .secondary-hero .hero-content { padding-top:76px; padding-bottom:68px; }
  .footer-inner { flex-direction:column; align-items:flex-start; }
  .footer-inner p { text-align:left; }
}

@media (max-width: 380px) {
  .shell { width:calc(100% - 22px); }
  .brand { gap:7px; font-size:.86rem; }
  .brand small { font-size:.46rem; letter-spacing:.08em; }
  .brand-mark { width:35px; height:35px; }
  .nav-actions { gap:7px; }
  .nav-cta { padding-inline:10px; }
  .hero-content { padding-top:118px; }
  .eyebrow { font-size:.68rem; letter-spacing:.15em; }
  h1 { font-size:clamp(2.85rem,14vw,3.35rem); }
  .game-section { padding-top:38px; }
  .game-section.game-first { padding-top:100px; }
  .balance-block { padding-inline:45px; }
  .wheel-stage { height:114vw; }
  .wheel-wrap { width:114vw; }
  .spin-button { width:calc(100% - 44px); margin-top:30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}
