:root {
  --night: #14233a;
  --deep: #0d1828;
  --lane: #243652;
  --mist: #d7e4f2;
  --lilac: #b7a4e0;
  --candle: #e7b15a;
  --blush: #e08b9a;
  --ink: #14233a;
  --soft: #b7c6d8;
  --line: rgba(215, 228, 242, 0.18);
  --display: Newsreader, Palatino, serif;
  --body: Outfit, "Segoe UI", sans-serif;
  --max: 1180px;
  --focus: #e7b15a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(680px 280px at 12% -10%, rgba(183, 164, 224, 0.22), transparent 60%), var(--night); color: var(--mist); 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: 500; letter-spacing: -0.02em; line-height: 0.98; margin: 0 0 12px; }
h1 { font-size: clamp(3.2rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.4rem; margin: 0 0 8px; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--lilac); color: #14233a; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 80; background: var(--candle); color: #241808; 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(--mist); color: var(--ink); }
.band-foam .eyebrow { color: #6d4d8a; }
.eyebrow { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--candle); }
.lede { font-size: 1.12rem; max-width: 42ch; }
.fine, .disclaimer { color: var(--soft); }
.page-head { padding: 36px 0 8px; }
.noscript { margin: 0; padding: 12px 16px; background: var(--candle); color: #241808; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(20, 35, 58, 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.5rem; line-height: 0.92; }
.wordmark small { font-family: var(--body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lilac); }
.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(--candle); }
.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(--candle); color: #241808; }
.brand-rule { position: relative; height: 18px; background: linear-gradient(90deg, transparent, rgba(183, 164, 224, 0.7), transparent) center / 100% 1px no-repeat; }
.brand-rule::after { content: ""; position: absolute; left: 50%; top: 1px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; box-shadow: inset -6px 0 0 0 var(--candle); }
.btn { border: 0; background: var(--candle); color: #241808; padding: 0 16px; font-weight: 700; }
.btn-ghost { background: transparent; color: var(--mist); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-play { min-height: 56px; padding: 0 28px; background: var(--lilac); color: #1a1230; }
.btn-join { background: var(--candle); color: #241808; }
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(--lilac); color: #1a1230; border-color: var(--lilac); }
.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.1rem, 5.8vw, 5rem); }
.hero-kicker { margin: 0 0 8px; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: var(--soft); }
.moon { width: 28px; height: 28px; margin: 0 0 12px; border-radius: 50%; box-shadow: inset -10px 0 0 0 var(--candle); }
html[data-motion="on"] .moon { animation: drift 6s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(4px); } }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #9d7ad4; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; display: block; border-radius: 28px 28px 80px 28px; box-shadow: 0 0 0 1px rgba(183, 164, 224, 0.45), 0 24px 50px rgba(8, 14, 26, 0.45); }
.hero-art figcaption { margin-top: 8px; text-align: right; color: var(--soft); font-size: 0.85rem; }
.ticket { max-width: 460px; padding: 18px 20px; border-radius: 28px; background: #1c2d48; border: 1px solid rgba(183, 164, 224, 0.35); }
.ticket-kicker { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); }
.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: 24px; background: #1c2d48; color: inherit; text-decoration: none; }
.game-art { position: relative; display: block; aspect-ratio: 3/4; border-radius: 18px 18px 48px 18px; overflow: hidden; background: #0d1828; box-shadow: inset 0 0 0 1px rgba(183, 164, 224, 0.4); }
.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: var(--lilac); color: #1a1230; }
.pill-level { left: 10px; background: rgba(13, 24, 40, 0.82); color: var(--mist); }
.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.4rem; line-height: 1.05; }
.game-card .game-blurb { color: var(--soft); 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(--lilac); color: #1a1230; font-weight: 700; }
.is-locked .game-cta { background: transparent; color: var(--mist); 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(--lilac); padding-top: 12px; }
.steps span { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: #6d4d8a; }
.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(--soft); 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 rgba(183, 164, 224, 0.3); background: rgba(28, 45, 72, 0.75); 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(--lilac); }
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: #ffc1cb; 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 24px 64px 24px; display: block; margin: 8px 0 12px; }
.machine { background: var(--deep); border: 1px solid rgba(183, 164, 224, 0.35); border-radius: 20px; 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: 8px; font-family: var(--display); font-size: clamp(0.8rem, 1.5vw, 1.1rem); }
.cell[data-sym="wild"] { background: var(--candle); color: #241808; }
.cell[data-sym="high"] { background: var(--blush); color: #2a1020; }
.cell[data-sym="feat"] { background: var(--lilac); color: #1a1230; }
.cell.is-win { box-shadow: inset 0 0 0 3px #0d1828, inset 0 0 0 6px #fff; }
.cell.is-feature { box-shadow: inset 0 0 0 3px #0d1828, inset 0 0 0 6px var(--candle); }
.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(--candle); }
.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(--candle); color: #241808; }
.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.6rem; 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(--lilac); color: #1a1230; 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(--soft); 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(--soft); }
.band-foam .fine, .band-foam .host cite { color: #4d6078; }
@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(--night); 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; } .moon { animation: none; } }
