:root {
  color-scheme: dark;
  --ink: #fff7ea;
  --muted: #b9a9c9;
  --soft: rgba(255, 247, 234, .74);
  --panel: rgba(28, 16, 44, .72);
  --line: rgba(245, 200, 105, .22);
  --gold: #f6c453;
  --gold-hi: #ffe9a8;
  --gold-dk: #b8842b;
  --rose: #ff4d8d;
  --violet: #7b3ff2;
  --emerald: #19c98a;
  --red: #ff3b54;
  --shadow: 0 40px 110px rgba(0, 0, 0, .65);
  --glow-gold: 0 0 34px rgba(246, 196, 83, .5);
  --r: 18px;
  --r-sm: 12px;
  --max: 1180px;
  --display: "Cinzel", Georgia, serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-width: 320px; color: var(--ink);
  font-family: var(--body); line-height: 1.55; overflow-x: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #3a1660 0%, #1c0a34 38%, #0c0418 72%, #07020f 100%);
  background-attachment: fixed;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.06; }
.gold { color: var(--gold); }

.skip-link {
  position: fixed; left: 1rem; top: .8rem; z-index: 60; padding: .6rem .85rem;
  background: var(--gold); color: #2a1c06; border-radius: var(--r-sm);
  transform: translateY(-160%); transition: transform .2s ease; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ================= dramatic background ================= */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.spotlight {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 110vh;
  background:
    radial-gradient(closest-side, rgba(246, 196, 83, .22), rgba(246, 196, 83, .06) 45%, transparent 70%),
    conic-gradient(from 180deg at 50% 0, transparent 42%, rgba(246,196,83,.10) 50%, transparent 58%);
  filter: blur(8px); opacity: .9;
}
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(0,0,0,.55) 100%);
}
.sparkles {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.5px 1.5px at 78% 16%, rgba(246,196,83,.9), transparent),
    radial-gradient(1.5px 1.5px at 34% 64%, rgba(255,255,255,.7), transparent),
    radial-gradient(2px 2px at 64% 48%, rgba(246,196,83,.7), transparent),
    radial-gradient(1.5px 1.5px at 88% 72%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 22% 86%, rgba(246,196,83,.7), transparent),
    radial-gradient(1.5px 1.5px at 52% 8%, rgba(255,255,255,.8), transparent);
  animation: twinkleBg 4s ease-in-out infinite;
}
@keyframes twinkleBg { 50% { opacity: .25; } }
.coin { position: absolute; font-size: 2.4rem; opacity: .14; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); animation: floatCoin 9s ease-in-out infinite; }
.c1 { top: 16%; left: 6%; } .c2 { top: 30%; right: 7%; font-size: 3rem; animation-delay: -2s; }
.c3 { bottom: 22%; left: 10%; animation-delay: -4s; } .c4 { bottom: 14%; right: 12%; font-size: 2rem; animation-delay: -6s; }
.c5 { top: 60%; left: 48%; font-size: 2.6rem; animation-delay: -3s; }
@keyframes floatCoin { 50% { transform: translateY(-22px) rotate(12deg); opacity: .22; } }

/* ================= header ================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(18,8,34,.85), rgba(18,8,34,.4));
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.stuck { background: rgba(12,5,24,.94); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.bar { width: min(100% - 2rem, var(--max)); height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-gem {
  width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; font-size: 1.4rem;
  border-radius: 12px; background: radial-gradient(circle at 35% 28%, #5a2b16, #2a1208);
  border: 1px solid var(--gold); box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255,255,255,.2);
}
.brand-text { font-family: var(--display); font-weight: 800; letter-spacing: .05em; font-size: 1.08rem; }
.brand-text em { font-style: normal; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bar-right { display: flex; align-items: center; gap: .5rem; }
.ghost-link { padding: .55rem .9rem; border-radius: 999px; color: var(--soft); font-weight: 600; font-size: .92rem; transition: background .2s ease, color .2s ease; }
.ghost-link:hover { background: rgba(255,255,255,.07); color: var(--ink); }
.cta {
  padding: .65rem 1.5rem; border-radius: 999px; font-weight: 800; color: #2a1c06; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-dk));
  box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .15s ease, filter .2s ease;
}
.cta::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%); transform: translateX(-130%); animation: sheen 4s ease-in-out infinite; }
@keyframes sheen { 0%,55% { transform: translateX(-130%); } 80%,100% { transform: translateX(130%); } }
.cta:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ================= hero ================= */
.hero { padding: 4.5rem 0 1rem; text-align: center; }
.hero-inner { width: min(100% - 2rem, 840px); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.5rem; padding: .45rem 1.1rem;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(246,196,83,.07);
  color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.spark { animation: twinkle 1.8s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .35; transform: scale(.8); } }
.hero h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6.5vw, 4.6rem); letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(0,0,0,.3), 0 0 50px rgba(246,196,83,.35);
}
.hero h1 .gold {
  background: linear-gradient(180deg, var(--gold-hi) 10%, var(--gold) 50%, var(--gold-dk));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 640px; margin: 1.4rem auto 0; color: var(--soft); font-size: 1.14rem; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.9rem; }
.hero-chips span {
  padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(40,22,60,.7), rgba(20,10,34,.7)); font-size: .9rem; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* ================= game ================= */
.game-section {
  width: min(100% - 2rem, var(--max)); margin: 2.5rem auto 0; padding-bottom: 4.5rem;
  display: grid; grid-template-columns: 1.5fr .9fr; gap: 1.6rem; align-items: start;
}

/* premium gold cabinet */
.machine {
  position: relative; padding: 2rem 1.7rem 1.7rem; border-radius: 30px;
  background:
    linear-gradient(180deg, #2a1142 0%, #1a0a2e 60%, #140722 100%);
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow:
    var(--shadow),
    inset 0 2px 0 rgba(255,255,255,.08),
    inset 0 0 60px rgba(123,63,242,.12);
}
/* metallic gold frame */
.machine::before {
  content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: 32px;
  background:
    linear-gradient(160deg, var(--gold-hi) 0%, var(--gold) 18%, var(--gold-dk) 40%, #5a3d12 55%, var(--gold) 78%, var(--gold-hi) 100%);
  box-shadow: var(--glow-gold);
}
.machine-glow {
  position: absolute; inset: 8px; z-index: 0; border-radius: 24px; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0, rgba(246,196,83,.16), transparent 60%);
}
.machine > * { position: relative; z-index: 1; }

/* marquee bulbs around the cabinet */
.bulbs {
  position: absolute; inset: 6px; z-index: 1; border-radius: 24px; pointer-events: none;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between;
  padding: 4px;
}
.bulb {
  width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6cf, var(--gold) 60%, var(--gold-dk));
  box-shadow: 0 0 8px rgba(246,196,83,.9); animation: bulbBlink 1.2s ease-in-out infinite;
}
@keyframes bulbBlink { 50% { opacity: .25; box-shadow: 0 0 3px rgba(246,196,83,.4); } }

.machine-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .2rem 0 1.1rem; }
.marquee {
  font-family: var(--display); font-weight: 800; letter-spacing: .12em; font-size: 1.15rem;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-dk));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 24px rgba(246,196,83,.4);
}
.freespins {
  padding: .35rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--rose)); color: #fff; box-shadow: 0 0 18px rgba(255,59,84,.5);
}

/* treasure meter */
.meter { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.meter-icon { font-size: 1.3rem; filter: drop-shadow(0 0 6px rgba(246,196,83,.6)); }
.meter-bar { flex: 1; height: 14px; border-radius: 999px; background: rgba(0,0,0,.45); overflow: hidden; border: 1px solid rgba(246,196,83,.25); box-shadow: inset 0 2px 6px rgba(0,0,0,.5); }
.meter-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--emerald), var(--gold) 70%, var(--gold-hi)); box-shadow: 0 0 16px rgba(246,196,83,.7); transition: width .4s ease; }
.meter-val { font-size: .82rem; font-weight: 800; color: var(--gold); min-width: 56px; text-align: right; }

/* reels — real fruit-machine look */
.grid-wrap {
  position: relative; border-radius: 16px; padding: 10px;
  background:
    linear-gradient(180deg, #1a0c2e, #0a0414);
  box-shadow: inset 0 10px 34px rgba(0,0,0,.8), 0 0 0 2px var(--gold-dk), 0 0 0 5px #160a26, 0 0 0 6px rgba(246,196,83,.3);
}
/* three vertical reel bands behind the symbols */
.grid {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  column-gap: 10px; row-gap: 4px; aspect-ratio: 1 / .82;
}
.cell {
  position: relative; display: grid; place-items: center; overflow: hidden;
  border-radius: 7px;
  /* cylinder shading top+bottom over an ivory reel face */
  background:
    linear-gradient(180deg, rgba(20,8,30,.55) 0%, transparent 22%, transparent 78%, rgba(20,8,30,.6) 100%),
    linear-gradient(180deg, #fffefa 0%, #f4ecdc 50%, #e9dcc2 100%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.9), inset 0 -3px 6px rgba(120,80,20,.18), inset 0 0 0 1px rgba(120,80,20,.22);
  font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; transition: box-shadow .2s ease, transform .2s ease;
}
/* round only the outer corners of each reel so 3 cells read as one strip */
.cell[style*="--col"] { }
.grid .cell:nth-child(1), .grid .cell:nth-child(2), .grid .cell:nth-child(3) { border-radius: 10px 10px 7px 7px; }
.grid .cell:nth-child(7), .grid .cell:nth-child(8), .grid .cell:nth-child(9) { border-radius: 7px 7px 10px 10px; }
.cell span { display: block; filter: drop-shadow(0 3px 4px rgba(0,0,0,.28)); }
.cell.spinning span { animation: blur .07s linear infinite; }
@keyframes blur { 0% { transform: translateY(-16px); opacity: .7; } 100% { transform: translateY(16px); opacity: .7; } }
.cell.win {
  box-shadow: inset 0 0 0 3px var(--gold), 0 0 30px rgba(246,196,83,.85); transform: scale(1.05); z-index: 3;
  background: radial-gradient(circle at 50% 40%, #fff7d8, #ffe29a); animation: cellpop .55s ease;
}
.cell.win span { animation: symbolBounce .5s ease; }
@keyframes symbolBounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18) rotate(-4deg); } }
.cell.dim { opacity: .38; }
@keyframes cellpop { 0%,100% { transform: scale(1.05); } 50% { transform: scale(1.14); } }
.lines { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); pointer-events: none; z-index: 4; }
.lines path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .25s ease; filter: drop-shadow(0 0 8px currentColor); }
.lines path.guide { stroke-width: 2; opacity: .16; filter: none; }
.lines path.show { opacity: .95; animation: lineGlow 1s ease infinite; }
@keyframes lineGlow { 50% { opacity: .55; } }

/* win banner */
.winbar { margin: 1rem 0; padding: .9rem 1rem; border-radius: 14px; text-align: center; font-weight: 700; min-height: 52px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(246,196,83,.18); }
.winbar.big {
  background: linear-gradient(135deg, rgba(246,196,83,.28), rgba(255,77,141,.2));
  border-color: var(--gold); color: var(--gold-hi); font-size: 1.12rem;
  box-shadow: 0 0 26px rgba(246,196,83,.4); animation: bannerPulse 1s ease infinite;
}
@keyframes bannerPulse { 50% { box-shadow: 0 0 40px rgba(246,196,83,.7); } }

/* controls */
.controls { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: .7rem; align-items: stretch; }
.stat, .bet {
  padding: .65rem .85rem; border-radius: 14px; display: flex; flex-direction: column; justify-content: center; gap: .15rem;
  background: linear-gradient(180deg, rgba(40,22,60,.8), rgba(18,8,30,.8)); border: 1px solid rgba(246,196,83,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.stat span, .bet span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.stat strong { font-size: 1.25rem; font-weight: 800; }
.stat.win strong { color: var(--gold); text-shadow: 0 0 14px rgba(246,196,83,.5); }
.bet-ctrl { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.bet-ctrl button { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--gold-dk); background: linear-gradient(180deg, rgba(246,196,83,.22), rgba(246,196,83,.08)); color: var(--gold); font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.bet-ctrl button:hover { background: rgba(246,196,83,.32); }
.bet-ctrl strong { font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.spin-btn {
  min-width: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .05rem;
  border: 2px solid var(--gold-hi); border-radius: 16px; cursor: pointer; color: #3a2607;
  background: radial-gradient(circle at 50% 18%, #fff2c2, var(--gold) 48%, var(--gold-dk));
  box-shadow: var(--glow-gold), inset 0 2px 0 rgba(255,255,255,.7), inset 0 -6px 12px rgba(120,80,20,.4);
  transition: transform .12s ease, filter .2s ease;
}
.spin-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.spin-btn:active { transform: translateY(1px) scale(.98); }
.spin-btn:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.3); }
.spin-label { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .14em; }
.spin-sub { font-size: .7rem; font-weight: 800; opacity: .85; }

.machine-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.mini-btn { padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink); font-weight: 700; font-size: .85rem; cursor: pointer; transition: background .2s ease; }
.mini-btn:hover { background: rgba(246,196,83,.16); }
.foot-note { margin-left: auto; color: var(--muted); font-size: .78rem; }

/* paytable */
.paytable {
  padding: 1.7rem; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34,18,52,.85), rgba(18,8,30,.85)); backdrop-filter: blur(10px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}
.paytable h2 { font-family: var(--display); font-size: 1.5rem; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paytable-sub { margin: .4rem 0 1.2rem; color: var(--muted); font-size: .9rem; }
.paytable ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.paytable li { display: flex; align-items: center; gap: .8rem; padding: .55rem .85rem; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.04); }
.paytable li .sym { font-size: 1.6rem; }
.paytable li .pay { margin-left: auto; font-weight: 800; color: var(--gold); }
.paytable li .pay small { color: var(--muted); font-weight: 600; }
.pt-special { margin-top: 1.2rem; display: grid; gap: .7rem; }
.pt-special p { margin: 0; font-size: .9rem; color: var(--soft); display: flex; align-items: center; gap: .6rem; }
.pt-special span { font-size: 1.5rem; }
.pt-special strong { color: var(--gold); }

/* ================= sections ================= */
.how-section, .fair-section, .faq-section { width: min(100% - 2rem, var(--max)); margin: 0 auto; padding: 4.5rem 0; }
.head { max-width: 700px; margin: 0 auto 2.6rem; text-align: center; }
.kicker { margin: 0 0 .7rem; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.head p { margin: 1rem auto 0; color: var(--soft); }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.how-card { position: relative; padding: 1.7rem 1.4rem; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34,18,52,.7), rgba(18,8,30,.7)); backdrop-filter: blur(8px); transition: transform .2s ease, border-color .2s ease; }
.how-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 0 30px rgba(246,196,83,.2); }
.how-num { font-family: var(--display); font-size: 1.7rem; font-weight: 800; color: var(--gold); }
.how-card h3 { margin: .5rem 0 .4rem; font-size: 1.2rem; }
.how-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.fair-section { background: linear-gradient(180deg, rgba(246,196,83,.05), transparent 70%); border-radius: var(--r); }
.fair-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fair-grid article { padding: 1.5rem; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.fair-grid strong { display: block; margin-bottom: .5rem; font-size: 1.05rem; }
.fair-grid p { margin: 0; color: var(--muted); font-size: .94rem; }

.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
details { border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.03); overflow: hidden; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(246,196,83,.16); color: var(--gold); transition: transform .2s ease; }
details[open] summary::after { content: "−"; transform: rotate(180deg); }
details p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0,0,0,.4)); padding: 3rem 0 1.6rem; }
.foot-grid { width: min(100% - 2rem, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .85fr; gap: 2.5rem; }
.foot-grid > div > p { max-width: 520px; margin: 1rem 0 0; color: var(--muted); }
.foot-note-box { padding: 1.2rem; border: 1px solid rgba(246,196,83,.25); border-radius: var(--r-sm); background: rgba(246,196,83,.06); }
.foot-note-box strong { color: var(--gold); }
.foot-note-box p { margin: .5rem 0 0; color: var(--muted); font-size: .92rem; }
.foot-links { width: min(100% - 2rem, var(--max)); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.foot-links a, .link-btn { color: var(--muted); font-size: .88rem; font-weight: 600; transition: color .2s ease; }
.foot-links a:hover, .link-btn:hover { color: var(--gold); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; }
.legal { width: min(100% - 2rem, var(--max)); margin: 1rem auto 0; text-align: center; color: var(--muted); font-size: .84rem; }

/* ================= cookie banner ================= */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 1rem; }
.cookie[hidden] { display: none; }
.cookie-inner {
  width: min(100% - 1rem, 960px); margin: 0 auto; display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.3rem; border-radius: 18px; border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(34,18,52,.98), rgba(16,8,28,.98)); backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 28px rgba(246,196,83,.25);
  animation: cookieUp .4s ease;
}
@keyframes cookieUp { from { transform: translateY(20px); opacity: 0; } }
.cookie-emoji { font-size: 2.2rem; flex: 0 0 auto; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { display: block; margin-bottom: .2rem; }
.cookie-text p { margin: 0; color: var(--muted); font-size: .9rem; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; flex: 0 0 auto; }
.btn-decline, .btn-accept { padding: .65rem 1.2rem; border-radius: 999px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-decline { border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink); }
.btn-decline:hover { background: rgba(255,255,255,.1); }
.btn-accept { border: none; color: #2a1c06; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-dk)); box-shadow: var(--glow-gold); }
.btn-accept:hover { filter: brightness(1.06); }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cookie-actions { width: 100%; }
  .btn-decline, .btn-accept { flex: 1; }
}

/* ================= legal pages ================= */
.legal-page { width: min(100% - 2rem, 820px); margin: 0 auto; padding: 3.5rem 0 4.5rem; }
.legal-page .back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; color: var(--gold); font-weight: 700; }
.legal-page h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); }
.legal-page .updated { margin: .6rem 0 2rem; color: var(--muted); font-size: .9rem; }
.legal-page h2 { font-family: var(--display); font-size: 1.4rem; color: var(--gold); margin: 2.2rem 0 .6rem; }
.legal-page p, .legal-page li { color: var(--soft); }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal-page .callout { margin: 1.5rem 0; padding: 1.1rem 1.3rem; border-radius: var(--r-sm); border: 1px solid rgba(246,196,83,.3); background: rgba(246,196,83,.07); }
.legal-page .callout strong { color: var(--gold); }
.legal-page a.inline { color: var(--gold); text-decoration: underline; }

/* responsive */
@media (max-width: 920px) {
  .game-section { grid-template-columns: 1fr; }
  .how-grid, .fair-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ghost-link { display: none; }
  .controls { grid-template-columns: 1fr 1fr; }
  .spin-btn { grid-column: span 2; min-height: 60px; flex-direction: row; gap: .6rem; }
  .how-grid, .fair-grid, .faq, .foot-grid { grid-template-columns: 1fr; }
  .foot-note { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
