:root {
  --ink: #0c1224;
  --deep: #070b16;
  --lane: #1a2440;
  --silver: #d5deea;
  --gold: #e7c56a;
  --mist: #b7c3d6;
  --paper: #f4f7fb;
  --foam: #e7edf5;
  --foam-ink: #1a2233;
  --line: rgba(213, 222, 234, 0.18);
  --display: "Instrument Serif", Palatino, serif;
  --body: Manrope, "Segoe UI", sans-serif;
  --max: 1180px;
  --focus: #e7c56a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(800px 360px at 80% 0%, rgba(231, 197, 106, 0.12), transparent 60%), var(--ink); color: var(--paper); font-family: var(--body); font-size: 1.05rem; line-height: 1.6; }
html, body { overflow-x: hidden; overflow-y: auto; height: auto; min-height: 100%; }
img { max-width: 100%; }
p { margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 0.95; margin: 0 0 12px; }
h1 { font-size: clamp(3.2rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.45rem; margin: 0 0 8px; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #1a1408; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 80; background: var(--gold); color: #1a1408; padding: 8px 12px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.wrap.narrow { width: min(740px, calc(100% - 32px)); }
.band { padding: 64px 0; }
.band-foam { background: var(--foam); color: var(--foam-ink); }
.eyebrow { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.lede { font-size: 1.12rem; max-width: 42ch; }
.fine, .disclaimer { color: var(--mist); }
.page-head { padding: 36px 0 8px; }
.noscript { margin: 0; padding: 12px 16px; background: var(--gold); color: #1a1408; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(12, 18, 36, 0.94); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 74px; }
.wordmark { display: flex; flex-direction: column; color: inherit; text-decoration: none; font-family: var(--display); font-size: 1.45rem; line-height: 0.9; }
.wordmark small { font-family: var(--body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.site-nav { display: flex; gap: 14px; margin-left: auto; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.header-tools { display: flex; gap: 8px; align-items: center; }
.header-tools .btn, .header-tools .text-btn, .level-pill, .coin-pill { white-space: nowrap; flex-shrink: 0; }
.nav-toggle, .text-btn, .chip, .btn, .level-pill, .coin-pill { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; border-radius: 999px; }
.nav-toggle, .text-btn, .chip { border: 1px solid var(--line); background: transparent; padding: 0 12px; }
.nav-toggle { display: none; }
.level-pill, .coin-pill { padding: 0 12px; font-weight: 700; }
.level-pill { border: 1px solid var(--line); }
.coin-pill { background: var(--silver); color: #121826; }
.brand-rule { height: 14px; background: radial-gradient(circle at 50% 120%, transparent 8px, #e7c56a 9px 10px, transparent 11px) 0 0 / 22px 14px repeat-x, #070b16; }
.btn { border: 0; background: var(--silver); color: #121826; padding: 0 16px; font-weight: 700; }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-play { min-height: 56px; padding: 0 28px; background: var(--silver); color: #121826; }
.btn-join { background: var(--gold); color: #1a1408; }
button:disabled { opacity: 0.55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chip[aria-pressed="true"] { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr); gap: 28px; align-items: center; padding: 28px 0 10px; }
.hero-copy h1 { font-size: clamp(3.2rem, 6vw, 5.2rem); }
.hero-kicker { margin: 0 0 8px; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: var(--mist); }
.orbit { width: 72px; height: 72px; margin: 0 0 12px; border: 1.5px solid rgba(231, 197, 106, 0.8); border-radius: 50%; box-shadow: inset 18px 0 0 -16px var(--silver); }
html[data-motion="on"] .orbit { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #7dffa8; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; display: block; border-radius: 50% 18px 50% 18px; box-shadow: 0 0 0 2px rgba(213, 222, 234, 0.35); }
.hero-art figcaption { margin-top: 8px; text-align: right; color: var(--mist); font-size: 0.85rem; }
.ticket { max-width: 460px; padding: 18px 20px; border-radius: 28px; background: #162038; border: 1px solid rgba(213, 222, 234, 0.3); }
.ticket-kicker { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ticket-num { margin: 4px 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 4.2rem); line-height: 0.9; }
.ticket-sub { margin: 0 0 12px; }
.spec { margin: 8px 0 0; }
.spec div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 12px 18px; border-top: 1px solid var(--line); padding: 14px 0; }
.spec dt { font-family: var(--display); font-size: 1.5rem; }
.spec dd { margin: 0; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.game-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px 10px 14px; border-radius: 28px; background: #162038; color: inherit; text-decoration: none; }
.game-art { position: relative; display: block; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; background: #070b16; box-shadow: inset 0 0 0 2px rgba(231, 197, 106, 0.35); }
.game-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill { position: absolute; top: 10px; z-index: 1; padding: 4px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pill-new { right: 10px; background: #1ed760; color: #06210f; }
.pill-level { left: 10px; background: rgba(7, 11, 22, 0.82); color: var(--paper); }
.game-card .game-copy { display: flex; flex-direction: column; gap: 4px; padding: 4px 4px 0; }
.game-card .game-name { font-family: var(--display); font-size: 1.3rem; line-height: 1.05; }
.game-card .game-blurb { color: var(--mist); font-size: 0.92rem; }
.game-card .game-cta { display: flex; align-items: center; align-self: stretch; margin: 8px 4px 0; min-height: 42px; justify-content: center; border-radius: 999px; background: var(--silver); color: #121826; font-weight: 700; }
.is-locked .game-cta { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 18px 0 0; padding: 0; list-style: none; }
.steps li { border-top: 3px solid var(--gold); padding-top: 12px; }
.steps span { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.post-list, .post { display: grid; }
.post-teaser, .post { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.post-title { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; }
.post-date { color: var(--mist); font-size: 0.92rem; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child, .blog-list .post:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.panel { border: 1px solid var(--line); background: rgba(22, 32, 56, 0.8); border-radius: 20px; padding: 16px; margin: 16px 0; }
.xp-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.12); margin: 8px 0 16px; overflow: hidden; }
.xp-track span { display: block; height: 100%; width: 0; background: var(--gold); }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input[type="text"], input[type="search"] { width: min(100%, 440px); min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: transparent; }
.stack { display: grid; gap: 10px; justify-items: start; margin-top: 8px; }
.form-error { color: #ffc1c1; font-weight: 700; }
.unlocks, .history, .clean, .prose ul { padding-left: 1.15rem; }
.unlocks li, .history li, .clean li { margin: 6px 0; }
.play-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr); gap: 28px; padding: 28px 0 56px; }
.play-main h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.play-art { width: min(100%, 420px); border-radius: 24px; display: block; margin: 8px 0 12px; }
.machine { background: var(--deep); border: 1px solid rgba(213, 222, 234, 0.3); border-radius: 24px; padding: 12px; }
.reels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cell { aspect-ratio: 1; display: grid; place-items: center; background: var(--lane); border-radius: 12px; font-family: var(--display); font-size: clamp(0.85rem, 1.6vw, 1.15rem); }
.cell[data-sym="wild"] { background: var(--gold); color: #1a1408; }
.cell[data-sym="high"] { background: var(--silver); color: #121826; }
.cell[data-sym="feat"] { background: var(--paper); color: #121826; }
.cell.is-win { box-shadow: inset 0 0 0 3px #070b16, inset 0 0 0 6px #fff; }
.cell.is-feature { box-shadow: inset 0 0 0 3px #070b16, inset 0 0 0 6px var(--gold); }
.reels.is-live .cell { opacity: 0.82; }
.win-banner { margin: 12px 0; font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 0.9; color: var(--gold); }
.controls { display: grid; gap: 8px; justify-items: start; margin-top: 14px; }
.control-label { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.bet-group { display: flex; flex-wrap: wrap; gap: 8px; }
.spin-btn { min-width: 180px; min-height: 56px; font-size: 1.15rem; background: var(--gold); color: #1a1408; }
.lock-note { padding: 12px; background: var(--lane); border-radius: 12px; }
.play-side table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.play-side th, .play-side td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.play-side h2 { font-size: 1.7rem; margin-top: 18px; }
.host { display: flex; gap: 12px; align-items: flex-start; }
.mono { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; background: var(--silver); color: #121826; border-radius: 50%; font-family: var(--display); font-size: 1.3rem; }
.host q { quotes: "“" "”"; }
.host cite { display: block; margin-top: 4px; font-style: normal; color: var(--mist); font-size: 0.92rem; }
.room-jump { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 28px; }
.footer-brand { font-family: var(--display); font-size: 1.8rem; margin-bottom: 8px; }
.footer-links, .help-links { list-style: none; margin: 0; padding: 0; }
.footer-links { display: grid; gap: 6px; }
.help-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.age-row { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.age-badge { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font-family: var(--display); }
.footer-base { margin-top: 18px; color: var(--mist); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: flex-start; padding: 8px 18px 16px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .header-tools { margin-left: auto; }
  .hero-grid, .play-layout, .footer-grid, .steps, .spec div { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .game-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .orbit { animation: none; } }
