:root {
  --bg: #02040b;
  --panel: #07101f;
  --panel-2: #0f172a;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --gold: #e8c762;
  --gold-2: #f59e0b;
  --line: rgba(148,163,184,.28);
  --shadow: 0 24px 60px rgba(0,0,0,.55);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 50% 0%, #101936 0, var(--bg) 42rem); }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; padding: .8rem 1rem; border-radius: .65rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 50; background: rgba(2,4,11,.96); border-bottom: 1px solid var(--line); }
.site-notice { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; padding: .55rem 1rem; font-size: .76rem; line-height: 1.45; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.site-notice span:first-child { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.site-banner { display: flex; align-items: center; justify-content: center; padding: .55rem 1rem; overflow: hidden; background: #000; border-bottom: 1px solid var(--line); }
.site-banner img { display: block; width: min(600px, calc(100vw - 2rem)); height: auto; object-fit: contain; image-rendering: auto; }
.site-nav-shell { max-width: 1180px; margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: .15rem; flex: 1; }
.site-nav-link { padding: .65rem .7rem; border-radius: .7rem; color: #e2e8f0; text-decoration: none; font-size: .86rem; font-weight: 700; }
.site-nav-link:hover, .site-nav-link.is-active { background: rgba(232,199,98,.12); color: var(--gold); }
.site-menu-button { display: none; border: 1px solid var(--line); border-radius: .7rem; background: #0b1222; color: #fff; padding: .65rem .85rem; }
.coin-pill { display: inline-flex; gap: .55rem; align-items: center; white-space: nowrap; border: 1px solid rgba(232,199,98,.55); background: #070b14; color: #fef3c7; border-radius: 999px; padding: .55rem .85rem; text-decoration: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.coin-pill strong { color: #fff; }
.page-width { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
main { min-height: 55vh; }
.hero { position: relative; margin-top: 2rem; padding: clamp(1.25rem,3vw,2rem); border-radius: 2rem; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6rem; background: linear-gradient(135deg, rgba(15,23,42,.98), rgba(2,6,23,.95)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero::before, .surface::before, .footer-panel::before { content: ""; position: absolute; inset: -35%; background: radial-gradient(circle at 20% 10%, rgba(232,199,98,.26), transparent 34%), radial-gradient(circle at 85% 80%, rgba(99,102,241,.22), transparent 34%); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero-copy, .hero-media { position: relative; z-index: 1; }
.hero-logo { width: min(390px, 88%); display: block; margin-bottom: .6rem; border-radius: 1rem; }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem,5vw,4rem); line-height: 1.02; margin: .45rem 0 1rem; }
h2 { font-size: clamp(1.55rem,3vw,2.35rem); }
.lede { max-width: 42rem; color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.disclosure-card { margin-top: 1.2rem; padding: 1rem 1.05rem; border-radius: 1rem; background: rgba(2,6,23,.72); border: 1px solid var(--line); color: #e2e8f0; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .75rem 1.1rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .09em; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #111827; border-color: transparent; }
.btn-secondary { background: rgba(15,23,42,.82); color: #fff; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.hero-media { display: flex; align-items: center; }
.media-card { position: relative; overflow: hidden; border-radius: 1.4rem; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.media-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-pill { position: absolute; left: 1rem; bottom: 1rem; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.38); background: rgba(2,6,23,.82); backdrop-filter: blur(8px); border-radius: 999px; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-block: 1.25rem 2.5rem; }
.feature-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 1.2rem; background: rgba(7,16,31,.84); }
.feature-card h2 { font-size: 1.15rem; color: var(--gold); }
.feature-card p { color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.surface { position: relative; overflow: hidden; margin: 2rem auto; padding: clamp(1.2rem,3vw,2rem); border-radius: 1.7rem; background: linear-gradient(145deg,rgba(15,23,42,.98),rgba(2,6,23,.98)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.surface > * { position: relative; z-index: 1; }
.section-heading { max-width: 48rem; margin-bottom: 1.2rem; }
.section-heading p { color: var(--muted); line-height: 1.65; }
.wheel-layout { display: grid; grid-template-columns: minmax(300px,.95fr) 1.05fr; gap: 2rem; align-items: center; }
.wheel-stage { display: grid; place-items: center; min-height: 430px; position: relative; }
.wheel-pointer { position: absolute; z-index: 3; top: 16px; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 34px solid var(--gold); filter: drop-shadow(0 5px 5px #000); }
.wheel-disc { width: 370px; height: 370px; max-width: 92vw; max-height: 92vw; position: relative; transition: transform 3.2s cubic-bezier(.17,.67,.19,1); border-radius: 50%; }
.wheel-disc canvas { width: 100%; height: 100%; display: block; }
.wheel-center { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 30% 20%,#fff,#d4af37 55%,#a16207); color: #111827; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 0 0 8px #07101f, 0 0 26px rgba(232,199,98,.75); }
.wheel-copy p { color: var(--muted); line-height: 1.65; }
.wheel-prize { min-height: 2rem; color: var(--gold); font-size: 1.35rem; font-weight: 900; }
.wheel-status { min-height: 3rem; padding: .85rem 1rem; border-radius: .85rem; background: rgba(2,6,23,.72); border: 1px solid var(--line); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.social-links { display: grid; gap: .75rem; }
.social-card { display: flex; align-items: center; gap: .8rem; text-decoration: none; padding: .8rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(2,6,23,.74); }
.social-card img { width: 44px; height: 44px; border-radius: .7rem; }
.social-card strong { display: block; color: var(--gold); }
.social-card span { color: var(--muted); font-size: .9rem; }
.video-frame { overflow: hidden; border-radius: 1.1rem; border: 1px solid var(--line); background: #000; }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.notice-panel { text-align: center; }
.notice-panel p { max-width: 58rem; margin-inline: auto; color: var(--muted); line-height: 1.7; }
.site-footer { margin-top: 3rem; padding: 0 1rem 1.5rem; }
.footer-panel { position: relative; overflow: hidden; max-width: 1120px; margin: auto; padding: 1.5rem; border-radius: 1.7rem; background: linear-gradient(145deg,#07101f,#020617); border: 1px solid var(--line); }
.footer-panel > * { position: relative; z-index: 1; }
.footer-brand-block { display: grid; grid-template-columns: 220px 1fr; gap: 1.4rem; align-items: center; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.footer-logo-link img { width: 100%; border-radius: 1rem; display: block; }
.footer-brand-block p { margin: 0; color: var(--muted); line-height: 1.65; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; padding: 1.3rem 0; }
.footer-grid h2 { font-size: 1rem; color: var(--gold); }
.footer-grid p { color: var(--muted); line-height: 1.75; font-size: .9rem; }
.footer-grid a, .footer-links a { color: #e2e8f0; }
.footer-socials { display: flex; gap: .5rem; margin-top: .7rem; }
.footer-socials img { width: 34px; height: 34px; border-radius: .55rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .82rem; }
.footer-copyright { text-align: center; color: #94a3b8; font-size: .8rem; margin: .8rem 0 0; }
.content-page { margin-top: 2rem; padding: clamp(1.3rem,4vw,2.5rem); min-height: 420px; border-radius: 1.5rem; border: 1px solid var(--line); background: rgba(7,16,31,.9); }
.content-page p { color: var(--muted); line-height: 1.7; max-width: 52rem; }
@keyframes drift { from { transform: translate3d(-1%,0,0); } to { transform: translate3d(2%,1%,0); } }
@media (max-width: 980px) {
  .site-nav-shell { flex-wrap: wrap; }
  .site-menu-button { display: inline-flex; margin-left: auto; }
  .site-nav { display: none; width: 100%; order: 10; flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav-link { text-align: center; }
  .hero, .wheel-layout, .social-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .feature-grid, .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .site-notice span:last-child { display: none; }
  .site-banner { padding: .4rem .5rem; }
  .site-banner img { width: min(430px, calc(100vw - 1rem)); height: auto; }
  .site-nav-shell { padding-inline: .8rem; }
  .coin-pill { margin-left: auto; font-size: .7rem; }
  .hero { border-radius: 1.35rem; }
  .feature-grid, .footer-grid, .footer-brand-block { grid-template-columns: 1fr; }
  .footer-logo-link { max-width: 230px; }
  .wheel-stage { min-height: 330px; }
  .wheel-disc { width: 290px; height: 290px; }
  .wheel-pointer { top: 10px; }
  .cta-row { flex-direction: column; }
}


/* Legal and policy pages */
.legal-page { max-width: 980px; margin-inline: auto; }
.legal-page > h1 { max-width: 18ch; }
.legal-page section { scroll-margin-top: 1rem; padding-top: 1.2rem; margin-top: 1.2rem; border-top: 1px solid var(--line); }
.legal-page section:first-of-type { margin-top: 1.5rem; }
.legal-page h2 { margin-bottom: .75rem; color: #f8fafc; font-size: clamp(1.35rem,2.2vw,1.85rem); }
.legal-page h3 { margin: 1.2rem 0 .55rem; color: var(--gold); font-size: 1.05rem; }
.legal-page p, .legal-page li, .legal-page address { color: var(--muted); line-height: 1.75; }
.legal-page p { max-width: none; }
.legal-page ul, .legal-page ol { padding-left: 1.35rem; }
.legal-page li + li { margin-top: .4rem; }
.legal-page a { color: #fef3c7; text-underline-offset: .18em; overflow-wrap: anywhere; }
.legal-page address { font-style: normal; padding: .8rem 1rem; border-left: 3px solid var(--gold); background: rgba(2,6,23,.5); border-radius: 0 .75rem .75rem 0; }
.legal-updated { color: #94a3b8 !important; font-size: .92rem; }
.legal-summary { margin: 1.3rem 0; padding: 1rem 1.1rem; border-radius: 1rem; border: 1px solid rgba(232,199,98,.5); background: rgba(232,199,98,.08); color: #f8fafc; line-height: 1.7; }
.legal-summary strong { color: var(--gold); }
.legal-toc { margin: 1.5rem 0; padding: 1.1rem 1.2rem; border-radius: 1rem; border: 1px solid var(--line); background: rgba(2,6,23,.55); }
.legal-toc h2 { font-size: 1.1rem; color: var(--gold); }
.legal-toc ol { columns: 2; column-gap: 2rem; margin-bottom: 0; }
.legal-toc li { break-inside: avoid; margin: 0 0 .45rem; }
@media (max-width: 700px) { .legal-toc ol { columns: 1; } }


/* 21+ session age gate */
#ci-age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: radial-gradient(circle at top, #080313 0, #020007 50%, #000 100%);
  backdrop-filter: blur(8px);
}
.ci-age-gate-inner {
  width: min(460px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-radius: 20px;
  padding: 22px 22px 18px;
  background: radial-gradient(circle at top left, rgba(147,51,234,.4), transparent 60%), radial-gradient(circle at bottom right, rgba(250,204,21,.45), #05020b 70%);
  border: 1px solid rgba(250,204,21,.65);
  box-shadow: 0 24px 60px rgba(0,0,0,.9), 0 0 0 1px rgba(15,23,42,.9);
  color: #fefce8;
}
.ci-age-gate-logo-wrap { text-align: center; margin-bottom: 10px; }
.ci-age-gate-logo { display: block; width: min(230px, 75%); height: auto; margin: 0 auto 4px; }
.ci-age-gate-badge-wrap { text-align: center; margin-bottom: 8px; }
.ci-age-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #facc15, #854d0e);
  box-shadow: 0 0 0 2px rgba(0,0,0,.9), 0 0 16px rgba(250,204,21,.7);
  font-weight: 800;
  font-size: 1.05rem;
  color: #020617;
}
.ci-age-gate-title { margin: 6px 0 8px; font-size: 1.35rem; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.ci-age-gate-text { margin: 0 0 14px; font-size: .9rem; line-height: 1.6; color: rgba(241,245,249,.9); }
.ci-age-gate-text strong, .ci-age-gate-text a { color: #fde68a; }
.ci-age-gate-note { margin: 0 0 14px; font-size: .72rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .13em; color: rgba(203,213,225,.95); }
.ci-age-gate-dob-label { font-size: .8rem; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .14em; color: rgba(226,232,240,.9); }
.ci-age-gate-dob-row { display: flex; gap: .5rem; margin-bottom: .4rem; }
.ci-age-gate-select { flex: 1 1 0; min-width: 0; padding: .5rem .6rem; border-radius: 999px; border: 1px solid rgba(148,163,184,.6); background: rgba(15,23,42,.95); color: #e5e7eb; font-size: .85rem; outline: none; }
.ci-age-gate-select:focus { border-color: rgba(56,189,248,.9); box-shadow: 0 0 0 1px rgba(15,23,42,1), 0 0 0 2px rgba(56,189,248,.75); }
.ci-age-gate-error { min-height: 1.25rem; margin: .25rem 0 .5rem; color: #fecaca; font-size: .8rem; line-height: 1.4; }
.ci-age-gate-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 4px; }
.ci-age-gate-btn { flex: 1 1 auto; min-width: 0; padding: .6rem 1rem; border-radius: 999px; border: 1px solid transparent; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; cursor: pointer; text-align: center; transition: transform .12s ease-out, box-shadow .12s ease-out, background .12s ease-out; }
.ci-age-gate-btn-primary { background: linear-gradient(135deg, #facc15, #f97316); color: #111827; border-color: rgba(15,23,42,.95); box-shadow: 0 12px 30px rgba(15,23,42,.9), 0 0 0 1px #000; }
.ci-age-gate-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(15,23,42,1), 0 0 0 1px #000; }
.ci-age-gate-btn-secondary { background: rgba(15,23,42,.85); color: #e5e7eb; border-color: rgba(148,163,184,.7); }
.ci-age-gate-btn-secondary:hover { background: rgba(15,23,42,1); }
@media (max-width: 480px) {
  .ci-age-gate-inner { padding: 18px 16px 16px; }
  .ci-age-gate-logo { width: min(190px, 70%); }
  .ci-age-gate-dob-row { gap: .35rem; }
  .ci-age-gate-select { padding-inline: .4rem; font-size: .78rem; }
  .ci-age-gate-actions { flex-direction: column; }
}


/* Policy page enhancements */
.rule-formula {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(232,199,98,.45);
  background: rgba(2,6,23,.72);
  color: #fef3c7;
  font-weight: 800;
  text-align: center;
  letter-spacing: .02em;
}
.security-page .btn { margin-top: .35rem; }
.game-rules-page section h3 { scroll-margin-top: 1rem; }
