/* Ace Club Poker website — social-casino style matching the game: purple night, glossy gold, green play. */
:root {
  --bg0: #0b0620;
  --bg1: #160a35;
  --bg2: #2a1260;
  --purple: #8b3be3;
  --pink: #e8338a;
  --gold-hi: #fff7b8;
  --gold: #ffd34a;
  --gold-2: #f4a91c;
  --orange: #b4480f;
  --brown: #4a1702;
  --green-hi: #8dff8a;
  --green: #2ee65a;
  --green-2: #0f9b34;
  --felt: #1b88bc;
  --felt-2: #0e608f;
  --text: #ffffff;
  --muted: #c2b8e6;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --title: 'Lilita One', 'Arial Black', sans-serif;
  --body: 'Rubik', system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 400 17px/1.6 var(--body); overflow-x: hidden;
  background: radial-gradient(1200px 800px at 50% 0%, var(--bg2), var(--bg1) 55%, var(--bg0));
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- glossy game titles ---------- */
.mega, .title {
  position: relative; display: inline-block; margin: 0; font-family: var(--title); font-weight: 400;
  line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase; isolation: isolate;
}
.mega { font-size: clamp(64px, 14vw, 200px); }
.title { font-size: clamp(42px, 7vw, 92px); }
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; position: relative; }
.ch > i { font-style: normal; display: block; }
.ch .f { position: relative; z-index: 2; color: transparent;
  background: linear-gradient(180deg, var(--gold-hi) 8%, var(--gold) 38%, var(--gold-2) 62%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; }
/* thick dark outline + 3D extrusion behind the fill */
.ch .o { position: absolute; inset: 0; z-index: 1; color: var(--brown); -webkit-text-stroke: 0.14em var(--brown);
  text-shadow: 0 0.06em 0 var(--brown), 0 0.1em 0 #2a0c00, 0 0.2em 0.3em rgba(0, 0, 0, 0.55); }
/* shine sweep on top */
.ch .s { position: absolute; inset: 0; z-index: 3; color: transparent;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.9) 50%, transparent 60%);
  background-size: 300% 100%; background-position: 150% 0; -webkit-background-clip: text; background-clip: text;
  animation: sweep 4.5s ease-in-out infinite; animation-delay: calc(var(--n, 0) * 60ms + 1.6s); }
@keyframes sweep { 0%, 60% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.pop .ch { opacity: 0; transform: translateY(-0.6em) scale(0.3) rotate(-12deg); animation: pop 0.7s var(--spring) forwards; animation-delay: calc(var(--n, 0) * 70ms + var(--d, 0ms)); }
@keyframes pop { to { opacity: 1; transform: none; } }
.title.pop .ch { animation-play-state: paused; }
.title.pop.in .ch { animation-play-state: running; }

.ribbon {
  position: relative; display: inline-block; margin-top: -0.2em; padding: 0.18em 1.1em 0.12em;
  font: 400 clamp(26px, 4.4vw, 58px)/1 var(--title); letter-spacing: 0.18em; color: #fff;
  background: linear-gradient(180deg, #ff5aa8, var(--pink) 55%, #a1145a);
  border-radius: 12px; box-shadow: 0 6px 0 #6d0b3c, 0 16px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.45);
  text-shadow: 0 3px 0 #6d0b3c; transform: rotate(-2deg) scale(0); animation: stamp 0.6s var(--spring) 1.1s forwards;
}
@keyframes stamp { to { transform: rotate(-2deg) scale(1); } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 34px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 0;
  font: 400 clamp(20px, 2.4vw, 26px)/1 var(--title); letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform 0.18s var(--out), filter 0.2s; touch-action: manipulation; overflow: hidden;
}
.btn svg { width: 26px; height: 26px; flex: none; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); transform: translateX(-130%); animation: btnshine 3.2s ease-in-out infinite; }
@keyframes btnshine { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); }
.btn:active { transform: translateY(2px) scale(0.98); }
.btn-play {
  color: #fff; text-shadow: 0 3px 0 #0a6b25;
  background: linear-gradient(180deg, var(--green-hi), var(--green) 40%, var(--green-2));
  box-shadow: 0 7px 0 #075f20, 0 18px 36px rgba(46, 230, 90, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 7px 0 #075f20, 0 18px 50px rgba(46, 230, 90, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.6); } }
.btn-dark {
  color: #fff; background: linear-gradient(180deg, #3c2a78, #23144c); text-shadow: 0 2px 0 #0b0620;
  box-shadow: 0 7px 0 #120a2c, 0 16px 30px rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.25);
  font-size: clamp(17px, 2vw, 20px);
}
.btn-dark small { display: block; font: 500 11px/1 var(--body); letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 3px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.3s, backdrop-filter 0.3s; }
.top.solid { background: rgba(11, 6, 32, 0.78); backdrop-filter: blur(12px); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 400 24px/1 var(--title); letter-spacing: 0.04em; }
.logo svg { width: 40px; height: 40px; }
.top .btn { margin-left: auto; min-height: 46px; padding: 0 22px; font-size: 18px; }
.top .btn::after { display: none; }

/* ---------- stars + flying things ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.flyers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.fly {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); will-change: transform;
  animation: drift var(--t, 9s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s);
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.45));
}
.fly > * { transform: translate(var(--px, 0), var(--py, 0)); transition: transform 0.6s var(--out); }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(var(--r0, -15deg)); }
  to { transform: translate3d(var(--dx, 20px), var(--dy, -40px), 0) rotate(var(--r1, 20deg)); }
}
.fly .pc { width: 100%; aspect-ratio: 5 / 7; border-radius: 10%; background: linear-gradient(160deg, #fff, #ece6f6); color: #15121f; font: 700 calc(var(--s) * 0.34)/1 var(--body); padding: 8% 10%; position: relative; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.06); }
.fly .pc.red { color: #d61f45; }
.fly .pc b { position: absolute; right: 10%; bottom: 6%; font-size: 1.6em; }
.fly svg { width: 100%; height: auto; display: block; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 90px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 50%; top: 46%; width: 140vmax; height: 140vmax; transform: translate(-50%, -50%); z-index: 0;
  background: repeating-conic-gradient(from 0deg, rgba(255, 211, 74, 0.07) 0 6deg, transparent 6deg 18deg);
  mask-image: radial-gradient(circle, #000 0, transparent 45%); animation: rays 60s linear infinite; }
@keyframes rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-core { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.tagline { margin: 26px 0 30px; font: 500 clamp(17px, 2vw, 22px)/1.4 var(--body); color: var(--muted); opacity: 0; animation: fade 0.6s var(--out) 1.5s forwards; }
.tagline b { color: #fff; }
@keyframes fade { to { opacity: 1; } }
.cta { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; opacity: 0; animation: up 0.7s var(--spring) 1.7s forwards; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.badge18 { margin-top: 26px; display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); opacity: 0; animation: fade 0.6s 2s forwards; }
.badge18 i { font-style: normal; font: 400 14px/1 var(--title); color: #fff; background: #d61f45; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; box-shadow: 0 3px 0 #7b0b22; }

/* character portraits with a spinning gold ring */
.char { position: absolute; z-index: 2; width: clamp(150px, 20vw, 290px); aspect-ratio: 1; border-radius: 50%; padding: 7px; }
.char::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--gold-hi), var(--gold-2), var(--orange), var(--gold), var(--gold-hi), var(--gold-2), var(--gold-hi)); animation: spin 6s linear infinite; }
.char::after { content: ''; position: absolute; inset: -30px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255, 211, 74, 0.35), transparent 65%); }
.char img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg1); }
.char.host { left: 4%; bottom: 12%; animation: floaty 5s ease-in-out infinite, slideL 1s var(--spring) 0.6s both; }
.char.host img { object-position: 50% 14%; }
.char.milo { right: 4%; bottom: 16%; animation: floaty 4.4s ease-in-out infinite reverse, slideR 1s var(--spring) 0.8s both; }
.char.milo img { object-position: 50% 30%; }
.bubble { position: absolute; top: -14px; right: -26px; z-index: 3; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: #fff; color: #2a1260; font: 400 17px/1 var(--title); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2); animation: bub 0.5s var(--spring) 2.4s both; white-space: nowrap; }
.char.milo .bubble { right: auto; left: -30px; border-radius: 18px 18px 4px 18px; animation-delay: 3s; }
@keyframes bub { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 50% { translate: 0 -16px; } }
@keyframes slideL { from { transform: translateX(-140%) rotate(-30deg); } to { transform: none; } }
@keyframes slideR { from { transform: translateX(140%) rotate(30deg); } to { transform: none; } }
@media (max-width: 900px) {
  .char { width: 120px; }
  .char.host { left: 3%; bottom: 3%; }
  .char.milo { right: 3%; bottom: 5%; }
  .bubble { font-size: 13px; }
}
@media (max-width: 560px) { .char { width: 96px; padding: 5px; } .hero { padding-bottom: 150px; } }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; z-index: 3; width: 30px; height: 48px; margin-left: -15px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 20px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 9px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: var(--gold); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 560px) { .scroll-cue { display: none; } }

/* ---------- sections ---------- */
.sec { position: relative; overflow-x: clip; padding: clamp(70px, 10vw, 130px) 0; text-align: center; }
.sec-sub { margin: 18px auto 0; max-width: 34ch; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

/* live table */
.stage { position: relative; width: min(860px, 100%); margin: 50px auto 0; aspect-ratio: 16 / 9; perspective: 1400px; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.4s var(--out); }
.table {
  position: absolute; inset: 8% 4% 6%; border-radius: 50% / 48%;
  background: radial-gradient(ellipse at 50% 38%, #3fb2e3, var(--felt) 45%, var(--felt-2) 85%);
  box-shadow: 0 0 0 16px #6f412b, 0 0 0 19px #a76f4f, 0 0 0 24px #301713, 0 50px 80px -10px rgba(0, 0, 0, 0.8), inset 0 0 70px rgba(0, 0, 0, 0.45);
  transform: rotateX(22deg); display: grid; place-items: center;
}
.table::before { content: ''; position: absolute; inset: 9% 7%; border-radius: inherit; border: 2px solid rgba(255, 255, 255, 0.25); }
.table-logo { position: absolute; bottom: 15%; font: 400 clamp(14px, 2vw, 22px)/1 var(--title); letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.25); }
.board { display: flex; gap: clamp(5px, 1vw, 10px); }
.pot { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font: 400 clamp(14px, 1.8vw, 20px)/1 var(--title); letter-spacing: 0.05em; color: var(--gold); background: rgba(0, 0, 0, 0.45); padding: 7px 16px 7px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.pot svg { width: 22px; height: 22px; }
.hole { position: absolute; left: 50%; bottom: -4%; display: flex; transform: translateX(-50%) translateZ(80px); }
.hole .card { --w: clamp(56px, 8vw, 92px); }
.hole .card:first-child { transform: rotate(-10deg) translateX(12px); }
.hole .card:last-child { transform: rotate(9deg) translateX(-12px) translateY(-5px); }
.seat { position: absolute; width: clamp(48px, 7vw, 74px); aspect-ratio: 1; border-radius: 50%; padding: 3px; background: conic-gradient(var(--gold-hi), var(--gold-2), var(--gold-hi)); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55); transform: translateZ(60px); }
.seat img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.seat.s1 { left: 0; top: 38%; } .seat.s2 { left: 20%; top: 0; } .seat.s3 { right: 20%; top: 0; } .seat.s4 { right: 0; top: 38%; }
.seat.thinking::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--green); animation: ping 1.2s var(--out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.win-banner { position: absolute; left: 50%; top: 22%; z-index: 6; transform: translate(-50%, -50%) scale(0) rotate(-6deg); pointer-events: none; transition: transform 0.5s var(--spring); white-space: nowrap; }
.win-banner.show { transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.win-banner .title { font-size: clamp(34px, 6vw, 76px); }

/* playing cards */
.card { --w: clamp(44px, 6.4vw, 72px); position: relative; width: var(--w); aspect-ratio: 5 / 7; transform-style: preserve-3d; transition: transform 0.6s var(--spring), opacity 0.3s; }
.card .face, .card .back { position: absolute; inset: 0; border-radius: calc(var(--w) * 0.1); backface-visibility: hidden; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4); }
.card .face { background: linear-gradient(160deg, #fff, #efeaf7); color: #15121f; font: 700 calc(var(--w) * 0.32)/1 var(--body); padding: 7% 9%; display: flex; flex-direction: column; }
.card.red .face { color: #d61f45; }
.card .face .big { position: absolute; right: 9%; bottom: 6%; font-size: calc(var(--w) * 0.5); }
.card .back { transform: rotateY(180deg); border: 3px solid #fff; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 3px 10px), linear-gradient(160deg, #8b3be3, #3c1489); }
.card.down { transform: rotateY(180deg); }
.card.win .face { box-shadow: 0 0 0 3px var(--gold), 0 0 26px var(--gold); }
.card.win { animation: jump 0.5s var(--spring); }
@keyframes jump { 40% { translate: 0 -14px; } }
.card.dim .face { filter: brightness(0.45); }
.board .card.gone { opacity: 0; transform: translateY(-40px) rotateY(180deg) scale(0.8); }

/* game modes tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff;
  padding: 30px 20px 60px; border-radius: 30px 30px 50% 50% / 30px 30px 18% 18%;
  background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25), 0 22px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--spring); opacity: 0; transform: translateY(60px) scale(0.9);
}
.tile.in { opacity: 1; transform: none; transition: transform 0.7s var(--spring), opacity 0.5s; transition-delay: calc(var(--i) * 120ms); }
.tile.in:hover { transform: translateY(-10px) rotate(-1deg); transition-delay: 0s; }
.tile .art { width: 100%; max-width: 220px; aspect-ratio: 1; display: grid; place-items: center; }
.tile .art svg { width: 82%; height: auto; overflow: visible; }
.tile h3 { margin: 10px 0 4px; font: 400 clamp(28px, 3vw, 38px)/1 var(--title); text-transform: uppercase; letter-spacing: 0.03em; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35); }
.tile p { margin: 0; color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.go { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font: 400 26px/1 var(--title); color: #fff; text-shadow: 0 2px 0 #075f20;
  background: radial-gradient(circle, var(--green) 52%, transparent 53%), repeating-conic-gradient(#fff 0 15deg, var(--green-2) 15deg 45deg);
  box-shadow: 0 8px 0 #064f1a, 0 14px 24px rgba(0, 0, 0, 0.45); transition: transform 0.5s var(--spring); }
.tile:hover .go { transform: translateX(-50%) rotate(180deg) scale(1.08); }
.tile:hover .go span { display: inline-block; transform: rotate(-180deg); transition: transform 0.5s var(--spring); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; gap: 70px; max-width: 420px; margin-inline: auto; } }
.t-gold { --c1: #ffb33a; --c2: #c2410c; }
.t-pink { --c1: #ff4fa0; --c2: #8e1350; }
.t-blue { --c1: #39a8ff; --c2: #2b2aa6; }
.trophy { animation: hop 2s var(--spring) infinite; transform-origin: 50% 100%; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-16px) scale(1.05, 0.95); } }
.mini-wheel { animation: spin 5s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.crown { animation: tilt 2.4s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes tilt { 50% { transform: rotate(-8deg) translateY(-6px); } }
.bar { transform-origin: 50% 100%; transform-box: fill-box; animation: grow 2.4s var(--spring) infinite; }
@keyframes grow { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* lucky wheel */
.wheel-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; text-align: left; }
.wheel-wrap { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; }
.wheel-wrap::before { content: ''; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 211, 74, 0.35), transparent 65%); animation: glow 2s ease-in-out infinite; }
@keyframes glow { 50% { opacity: 0.5; transform: scale(1.05); } }
#wheel { position: relative; width: 100%; height: 100%; transition: transform 4.6s cubic-bezier(0.12, 0.8, 0.12, 1); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }
.pointer { position: absolute; top: -4%; left: 50%; width: 13%; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.5)); }
.pointer.tick { animation: tick 0.12s ease-in-out; }
@keyframes tick { 50% { transform: translateX(-50%) rotate(-14deg); } }
.hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; border: 0; cursor: pointer; font: 400 clamp(18px, 2.4vw, 26px)/1 var(--title); color: #fff; text-shadow: 0 2px 0 #075f20;
  background: radial-gradient(circle at 35% 30%, var(--green-hi), var(--green) 45%, var(--green-2)); box-shadow: 0 6px 0 #064f1a, 0 0 0 6px var(--gold), 0 12px 24px rgba(0, 0, 0, 0.5); transition: transform 0.2s var(--spring); }
.hub:hover { transform: translate(-50%, -50%) scale(1.08); }
.hub:disabled { cursor: default; filter: saturate(0.6); }
.prize { min-height: 1.2em; margin: 10px 0 24px; font: 400 clamp(30px, 4vw, 48px)/1.1 var(--title); color: var(--gold); text-shadow: 0 4px 0 var(--brown); }
.prize.show { animation: stamp2 0.6s var(--spring); }
@keyframes stamp2 { from { transform: scale(0.2) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) { .wheel-zone { grid-template-columns: 1fr; text-align: center; } }

/* coin shower */
.coin-fx { position: fixed; z-index: 80; width: 34px; height: 34px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 40%, var(--gold-2) 70%, var(--orange)); box-shadow: inset 0 0 0 3px rgba(122, 52, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.4); }

/* final */
.final .panel { position: relative; padding: clamp(60px, 9vw, 110px) 20px; border-radius: 40px; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 211, 74, 0.25), transparent 70%), linear-gradient(180deg, #3a1a86, #1a0b44); box-shadow: inset 0 0 0 3px rgba(255, 211, 74, 0.35), 0 30px 60px rgba(0, 0, 0, 0.5); }
.final .btn { margin-top: 34px; }

/* footer */
.foot { padding: 40px 0 34px; text-align: center; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-bottom: 14px; }
.foot nav a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.foot nav a:hover { color: var(--gold); }
.foot p { margin: 6px auto; max-width: 70ch; }

/* guide page */
.article { padding: 120px 0 70px; text-align: left; }
.article .wrap { max-width: 800px; }
.article h1 { font: 400 clamp(40px, 6vw, 66px)/1 var(--title); color: var(--gold); text-shadow: 0 4px 0 var(--brown); margin: 0 0 20px; }
.article h2 { font: 400 clamp(26px, 3.4vw, 34px)/1.1 var(--title); color: #fff; margin: 1.6em 0 0.5em; }
.article p, .article li, .article dd { color: #ddd6f3; }
.article .lead { font-size: 20px; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink); }
.glossary dt { font-weight: 700; margin-top: 12px; }
.glossary dd { margin: 4px 0 0; }

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