/* Crypto Games marketing site: Neon District tokens and the shared page chrome.
   Used by every page under site/ (landing, guides, legal, 404). Served at /site/site.css. */

@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;800&family=Golos+Text:wght@400;500;600;700&family=Nunito:wght@900&display=swap");

:root {
  --bg: #07050E;
  --bg-2: #0D0919;
  --surface: #120D22;
  --surface-2: #1B1332;
  --surface-3: #241A42;
  --line: rgba(160, 110, 255, .24);
  --line-2: rgba(160, 110, 255, .12);
  --text: #F4F0FF;
  --text-2: #D7CFF0;
  --muted: #9188AE;
  --faint: #5E557D;
  --violet: #8B5CF6;
  --violet-hi: #B794FF;
  --magenta: #FF3EA5;
  --cyan: #3EE7FF;
  --mint: #3EF5C8;
  --win: #3EE7FF;
  --loss: #FF4D6D;
  --warn: #FFC24B;
  --cta: linear-gradient(100deg, #8B5CF6 0%, #FF3EA5 100%);
  --cta-hover: linear-gradient(100deg, #9D73FF 0%, #FF5CB4 100%);
  --text-grad: linear-gradient(100deg, #B794FF 0%, #FF3EA5 100%);
  --cyan-grad: linear-gradient(100deg, #3EE7FF 0%, #B794FF 100%);
  --logo: linear-gradient(120deg, #3EE7FF 0%, #B794FF 100%);
  --glow-cta: 0 0 0 1px rgba(255,255,255,.12) inset, 0 8px 30px rgba(255, 62, 165, .40);
  --glow-card: 0 0 22px rgba(139, 92, 246, .16);
  --glow-cyan: 0 0 18px rgba(62, 231, 255, .45);
  --shadow: 0 16px 40px rgba(0, 0, 0, .55);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, sans-serif;
  --wordmark: "Nunito", ui-rounded, system-ui, sans-serif;
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 20px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 64px;
  --game-rocket: #FF8A1F; --game-aviator: #5CF2FF; --game-shashki: #FF2D55; --game-mines: #22E39A;
  --game-plinko: #FF3EA5; --game-pickaxe: #FFB020; --game-snake: #9DFF2E; --game-blackjack: #FFC24B;
  --game-durak: #E8EEFF; --game-rps: #14E0C8; --game-duel: #3EF5C8; --game-tower: #B794FF; --game-casebattle: #FFD65A;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg);
  background-image: radial-gradient(90% 40% at 100% 0%, rgba(255,62,165,.12), transparent 60%),
                    radial-gradient(80% 40% at 0% 30%, rgba(139,92,246,.14), transparent 60%);
  background-attachment: fixed;
  color: var(--text); font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.01em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(30px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.6vw, 34px); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-hi); margin: 0 0 10px; }
.grad { background: var(--text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-cyan { background: var(--cyan-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- word mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { width: 34px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(62,231,255,.5)); }
.wordmark { font-family: var(--wordmark); font-weight: 900; font-size: 22px; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 900; background: var(--logo); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  font-family: var(--display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; background: var(--cta); box-shadow: var(--glow-cta); text-decoration: none !important;
  transition: transform 120ms var(--ease), filter 120ms var(--ease), background 200ms var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--cta-hover); }
.btn:active { transform: scale(.97); filter: brightness(1.08); }
.btn.ghost { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.btn.ghost:hover { background: var(--surface-3); }
.btn.cash { background: linear-gradient(100deg, #3EE7FF, #3EF5C8); color: #04121A; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 8px 28px rgba(62,231,255,.4); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(7,5,14,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-2); }
.hdr .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.nav { display: none; align-items: center; gap: 22px; margin-left: 18px; }
.nav a { color: var(--text-2); font-weight: 500; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--cyan); }
.hdr .cta { margin-left: auto; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
#menu { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.mnav { display: none; border-top: 1px solid var(--line-2); background: rgba(13,9,25,.98); }
.mnav .wrap { display: grid; gap: 2px; padding-top: 8px; padding-bottom: 12px; }
.mnav a { display: block; padding: 12px 10px; border-radius: var(--r-sm); color: var(--text-2); font-weight: 500; }
.mnav a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.mnav a[aria-current="page"] { color: var(--cyan); }
#menu:checked ~ .mnav { display: block; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mnav, #menu:checked ~ .mnav { display: none; }
  .hdr .cta { margin-left: auto; }
}
@media (max-width: 899px) { .hdr .cta { margin-left: auto; } .menu-btn { margin-left: 0; } }

/* ---------- sections ---------- */
.sec { padding: 56px 0; }
@media (min-width: 760px) { .sec { padding: 80px 0; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.sec-head .btn { flex: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--glow-card); padding: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); margin: 0; font-size: 15px; }
.card p + p { margin-top: 10px; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 56px; min-height: 520px; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,5,14,.55) 0%, rgba(7,5,14,.35) 40%, var(--bg) 100%); }
.hero-text { max-width: 620px; display: grid; gap: 18px; justify-items: start; }
.hero-text h1 { text-transform: uppercase; text-shadow: 0 2px 30px rgba(7,5,14,.9); }
.hero-text .lead { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 540px; margin: 0; text-shadow: 0 1px 12px rgba(7,5,14,.9); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(18,13,34,.8); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--text-2); backdrop-filter: blur(6px); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(62,231,255,.2); }
@media (min-width: 760px) {
  .hero { padding: 72px 0 88px; min-height: 620px; }
  .hero::before { background: linear-gradient(90deg, rgba(7,5,14,.92) 0%, rgba(7,5,14,.6) 45%, rgba(7,5,14,.15) 75%), linear-gradient(180deg, rgba(7,5,14,0) 70%, var(--bg) 100%); }
  .hero-art img { object-position: 60% 50%; }
}
@media (max-width: 759px) {
  .hero-art img { object-position: 68% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(7,5,14,.25) 0%, rgba(7,5,14,.75) 55%, var(--bg) 100%); }
  .hero { align-items: flex-end; }
}

/* ---------- game grid ---------- */
.games { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .games { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .games { grid-template-columns: repeat(4, 1fr); } }
.game { position: relative; display: block; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--glow-card); transition: transform 200ms var(--ease), border-color 200ms var(--ease); text-decoration: none !important; }
.game:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent, var(--violet-hi)) 60%, transparent); }
.game .cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.game .cover img { width: 100%; height: 100%; object-fit: cover; }
.game .meta { padding: 10px 12px 12px; display: grid; gap: 2px; }
.game .meta b { font-family: var(--body); font-weight: 700; font-size: 14.5px; }
.game .meta span { font-size: 12.5px; color: var(--muted); }
.game .tag { position: absolute; top: 8px; right: 8px; font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--r-pill); color: #fff; background: var(--magenta); box-shadow: 0 0 12px rgba(255,62,165,.5); }
.game .tag.new { background: var(--cyan); color: #04121A; box-shadow: 0 0 12px rgba(62,231,255,.5); }
.game .tag.soon { background: var(--surface-3); color: var(--text-2); box-shadow: none; border: 1px solid var(--line); }
.game.soon .cover img { filter: saturate(.5) brightness(.7); }

/* ---------- deposit strip ---------- */
.pay { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .pay { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pay { grid-template-columns: repeat(4, 1fr); } }
.pay .card { display: grid; gap: 10px; align-content: start; }
.ico { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--cyan); }
.ico svg { width: 22px; height: 22px; }
.pay small { color: var(--muted); font-size: 12.5px; }
.pay .lim { font-family: var(--display); font-size: 12px; color: var(--cyan); }

/* ---------- feature / bonus cards ---------- */
.feat { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .feat { grid-template-columns: repeat(3, 1fr); } }
.feat .card { position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; padding: 18px; }
.feat .card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feat .card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,5,14,0) 20%, rgba(7,5,14,.92) 75%); }
.feat .card h3 { text-transform: uppercase; font-size: 18px; }
.feat .card p { font-size: 14px; }
.stat { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 36px); line-height: 1; color: var(--cyan); font-variant-numeric: tabular-nums; }
.stat small { font-size: 14px; color: var(--muted); font-family: var(--body); font-weight: 600; }

/* ---------- plain list cards ---------- */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); font-size: 15px; color: var(--text-2); }
.list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(62,231,255,.6); }
.list li b { color: var(--text); }

/* ---------- banner / CTA block ---------- */
.banner { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; border: 1px solid rgba(255,62,165,.35); background: var(--surface); padding: 28px 20px; display: grid; gap: 16px; }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,5,14,.35), rgba(7,5,14,.9)); }
.banner h2 { font-size: clamp(22px, 4vw, 36px); }
.banner p { color: var(--text-2); margin: 0; max-width: 560px; }
@media (min-width: 760px) {
  .banner { padding: 48px 44px; min-height: 320px; align-content: end; }
  .banner::before { background: linear-gradient(90deg, rgba(7,5,14,.92) 30%, rgba(7,5,14,.45) 70%, rgba(7,5,14,.2)); }
}

/* ---------- footer ---------- */
.ftr { margin-top: 40px; border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 40px 0 28px; color: var(--muted); font-size: 14px; }
.ftr-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } }
.ftr h4 { font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-hi); margin: 0 0 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: var(--text-2); }
.ftr a:hover { color: var(--text); }
.ftr .about p { margin: 12px 0 0; max-width: 360px; }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13px; }
.age { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--loss); color: var(--loss); font-family: var(--display); font-weight: 800; font-size: 12px; flex: none; }
.ftr-bottom .copy { flex: 1 1 260px; }

/* ---------- long-form pages (guides, legal) ---------- */
.page { padding: 36px 0 56px; }
.page-head { display: grid; gap: 10px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(26px, 4.5vw, 44px); text-transform: uppercase; }
.page-head .lead { font-size: 17px; color: var(--text-2); max-width: 720px; margin: 0; }
.page-head .upd { color: var(--muted); font-size: 13.5px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span::before { content: "/"; margin-right: 6px; color: var(--faint); }
.doc { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .doc { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; } .toc { position: sticky; top: calc(var(--header-h) + 20px); } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.toc b { display: block; font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-hi); margin-bottom: 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.toc a { display: inline-block; padding: 6px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-2); font-size: 13px; border: 1px solid var(--line-2); }
.toc a:hover { color: var(--text); background: var(--surface-3); text-decoration: none; }
@media (min-width: 960px) { .toc ul { display: grid; gap: 2px; } .toc a { display: block; background: transparent; border: 0; padding: 7px 10px; } }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(19px, 2.6vw, 26px); margin: 36px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; margin: 24px 0 8px; text-transform: uppercase; letter-spacing: .02em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--violet-hi); }
.prose b, .prose strong { color: var(--text); }
.prose figure { margin: 18px 0; }
.prose figure img { border-radius: var(--r-md); border: 1px solid var(--line); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.note { padding: 14px 16px; border-radius: var(--r-sm); background: rgba(62,231,255,.08); border: 1px solid rgba(62,231,255,.3); color: var(--text-2); font-size: 14.5px; margin: 16px 0; }
.note.warn { background: rgba(255,194,75,.08); border-color: rgba(255,194,75,.35); }
.note b { color: var(--text); }
.tbl { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl th { font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-hi); }
.tbl td { color: var(--text-2); }
.tbl td:first-child { color: var(--text); font-weight: 600; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* game sections in the games guide */
.gsec { display: grid; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--line-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.gsec:first-of-type { border-top: 0; padding-top: 0; }
.gsec .cover { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-2); }
.gsec .cover img { width: 100%; height: 100%; object-fit: cover; }
.gsec h2 { margin: 0; font-size: clamp(20px, 2.8vw, 28px); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gsec h2 em { font-style: normal; font-family: var(--display); font-size: 10px; letter-spacing: .1em; padding: 5px 9px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.gsec h2 em.pvp { color: var(--cyan); border-color: rgba(62,231,255,.4); }
.gsec h2 em.house { color: var(--magenta); border-color: rgba(255,62,165,.4); }
.gsec .body { display: grid; gap: 10px; }
.gsec .body p, .gsec .body li { color: var(--text-2); margin: 0; }
.gsec .body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); min-width: 110px; }
.facts li small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts li b { font-family: var(--display); font-size: 14px; color: var(--cyan); }
@media (min-width: 760px) { .gsec { grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; } .gsec .cover { position: sticky; top: calc(var(--header-h) + 20px); } }

/* guide hub cards */
.gcard { display: grid; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--glow-card); text-decoration: none !important; transition: transform 200ms var(--ease), border-color 200ms var(--ease); }
.gcard:hover { transform: translateY(-3px); border-color: var(--violet-hi); }
.gcard .cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.gcard .cover img { width: 100%; height: 100%; object-fit: cover; }
.gcard .meta { padding: 16px; display: grid; gap: 6px; }
.gcard .meta b { font-family: var(--display); font-size: 15px; text-transform: uppercase; }
.gcard .meta span { color: var(--muted); font-size: 14px; }
.gcard .meta i { font-style: normal; color: var(--cyan); font-size: 13px; font-weight: 600; }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); }
.steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cta); color: #fff; font-family: var(--display); font-size: 13px; font-weight: 700; }
.steps li b { color: var(--text); }

/* placeholder for material that does not exist yet */
.soon { display: grid; place-items: center; text-align: center; gap: 8px; padding: 28px 18px; border-radius: var(--r-md); border: 1px dashed var(--line); background: var(--surface); color: var(--muted); }
.soon b { font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }

/* 404 */
.notfound { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 48px 0; }
.notfound img { width: min(50vw, 220px); filter: drop-shadow(0 0 30px rgba(62,231,255,.3)); }
.notfound h1 { font-size: clamp(56px, 14vw, 120px); line-height: 1; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .game, .gcard, .btn { transition: none; } }

/* grid children must be allowed to shrink below their content (tables, long tokens) */
.doc > * { min-width: 0; }
.prose { min-width: 0; overflow-wrap: anywhere; }
.prose .tbl { min-width: 480px; }
.gsec .body { min-width: 0; overflow-wrap: anywhere; }

/* narrow phones: tighter header so the word mark, the CTA and the menu button all fit at 375px */
@media (max-width: 479px) {
  .hdr .wrap { gap: 10px; }
  .hdr .brand { min-width: 0; gap: 8px; }
  .hdr .brand img { width: 28px; height: 25px; }
  .hdr .wordmark { font-size: 18px; }
  .hdr .cta { padding: 0 12px; font-size: 11px; min-height: 38px; }
  .hdr .cta svg { width: 15px; height: 15px; }
  .menu-btn { width: 40px; height: 40px; }
}
/* phone hero: the mascot gets the top third, the text sits below it */
@media (max-width: 759px) {
  .hero { min-height: 700px; padding-top: 220px; }
  .hero-art img { object-position: 74% 0%; }
  .hero::before { background: linear-gradient(180deg, rgba(7,5,14,.15) 0%, rgba(7,5,14,.2) 22%, rgba(7,5,14,.88) 42%, var(--bg) 100%); }
}
