:root {
  --ink: #06101f;
  --ink-2: #0c1728;
  --paper: #030711;
  --surface: #0b1525;
  --surface-2: #101d30;
  --white: #f7f9fc;
  --text: #f2f6fb;
  --muted: #99a8bb;
  --line: rgba(255,255,255,.11);
  --cyan: #00c8ff;
  --green: #55ef63;
  --lime: #c9ff2f;
  --orange: #ff7a18;
  --gold: #ffc343;
  --rainbow: linear-gradient(105deg, var(--cyan), var(--green) 42%, var(--lime) 68%, var(--orange));
  --content: min(1160px, calc(100% - 36px));
  --radius: 22px;
  --shadow: 0 22px 54px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; min-height: 44px; padding: 10px 14px; display: flex; align-items: center; border-radius: 10px; background: white; color: var(--ink); font-weight: 900; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 50; top: 0; min-height: 72px; padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  color: white; background: rgba(6,16,31,.96); border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.brand img { width: 92px; height: 52px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 7px 14px rgba(0,0,0,.28)); }
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu { position: relative; }
.menu summary { width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; list-style: none; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { width: 18px; height: 2px; display: block; background: white; border-radius: 2px; }
.menu nav { position: absolute; right: 0; top: 56px; width: min(320px, calc(100vw - 36px)); padding: 10px; display: grid; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: var(--ink-2); box-shadow: var(--shadow); }
.menu nav a { min-height: 48px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 750; }
.menu nav a:last-child { border-bottom: 0; }
.menu nav b { color: var(--lime); }

.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--rainbow); color: var(--ink); box-shadow: 0 10px 30px rgba(65,224,105,.22); font-weight: 950; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 42px; padding: 0 17px; font-size: 12px; }
.button-ghost { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: white; font-weight: 800; }
.header-actions > .button { display: none; }

.page-shell { position: relative; overflow: hidden; }
.page-shell::before, .page-shell::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); opacity: .23; pointer-events: none; }
.page-shell::before { width: 520px; height: 520px; top: 190px; left: -360px; background: radial-gradient(circle, var(--cyan), transparent 70%); }
.page-shell::after { width: 620px; height: 620px; top: 760px; right: -430px; background: radial-gradient(circle, var(--lime), transparent 70%); }
.theme-rewards .page-shell::after { background: radial-gradient(circle, var(--gold), transparent 70%); }
.theme-support .page-shell::before { background: radial-gradient(circle, #65a9ff, transparent 70%); }
.theme-legal .page-shell::after { background: radial-gradient(circle, #9a8cff, transparent 70%); }

.breadcrumbs { width: var(--content); margin: 0 auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { min-width: 44px; min-height: 44px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; }
.breadcrumbs .crumb-pair { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs .current-crumb { flex: 1 1 160px; }
.breadcrumbs .current-crumb strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs strong { color: var(--text); }

.page-hero { width: var(--content); margin: 0 auto; padding: 54px 0 62px; display: grid; gap: 34px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: #72ee9a; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 950; }
.intent-chip { width: fit-content; margin-bottom: 18px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #b2bfd0; background: rgba(255,255,255,.055); font-size: 11px; font-weight: 850; }
.page-hero h1 { margin: 0; font-size: clamp(46px, 13vw, 78px); line-height: .94; letter-spacing: -.06em; }
.page-hero-copy > p:last-of-type { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .plain-link { min-height: 48px; padding: 0 5px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.45); font-weight: 850; }
.local-proof { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.local-proof span { min-height: 35px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(255,255,255,.055); box-shadow: 0 5px 18px rgba(0,0,0,.14); color: #aebacc; font-size: 11px; font-weight: 750; }
.article-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.article-meta > * { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: #b6c2d1; background: rgba(255,255,255,.045); font-size: 11px; font-weight: 800; }
.article-meta a { color: var(--lime); }

.hero-visual, .signal-visual { min-height: 340px; position: relative; overflow: hidden; margin: 0; border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); isolation: isolate; }
.hero-visual img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,16,31,.68), transparent 58%); }
.hero-visual figcaption { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: white; font-size: 12px; font-weight: 850; }
.signal-visual { display: grid; place-content: center; text-align: center; }
.signal-visual::before, .signal-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.signal-visual::before { width: 260px; height: 260px; inset: calc(50% - 130px); box-shadow: 0 0 0 42px rgba(0,200,255,.05), 0 0 0 84px rgba(201,255,47,.035); }
.signal-visual::after { width: 150px; height: 150px; left: -40px; bottom: -45px; background: conic-gradient(from 40deg, var(--cyan), transparent, var(--lime), transparent); opacity: .45; }
.signal-visual strong { position: relative; z-index: 2; color: transparent; background: var(--rainbow); background-clip: text; -webkit-background-clip: text; font-size: 88px; line-height: .78; letter-spacing: -.1em; }
.signal-visual span { position: relative; z-index: 2; margin-top: 14px; color: white; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 900; }
.signal-visual b { position: absolute; right: 20px; top: 20px; width: 54px; height: 54px; display: grid; place-content: center; border-radius: 50%; background: rgba(255,255,255,.09); color: var(--lime); font-size: 13px; }

.content-wrap { width: var(--content); margin: 0 auto; padding-bottom: 78px; }
.module { margin-top: 74px; content-visibility: auto; contain-intrinsic-size: auto 560px; }
.module:first-child { margin-top: 0; }
.module-heading { margin-bottom: 25px; display: grid; gap: 9px; }
.module-heading h2 { margin: 0; font-size: clamp(34px, 9vw, 58px); line-height: 1; letter-spacing: -.05em; }
.module-heading p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.6; }

.card-grid, .mini-grid, .step-grid, .related-grid { display: grid; gap: 14px; }
.content-card, .mini-card, .step-card, .related-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11,21,37,.92); box-shadow: 0 14px 36px rgba(0,0,0,.16); }
.content-card { min-height: 235px; padding: 24px; transition: transform .2s ease, border-color .2s ease; }
.content-card:active { transform: translateY(1px); }
.content-card:hover { border-color: var(--green); }
.content-card::before { content: ""; position: absolute; right: -70px; top: -70px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(0,200,255,.06); }
.content-card > span, .mini-card > span { color: #72ee9a; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 950; }
.content-card strong { display: block; margin-top: 28px; color: transparent; background: var(--rainbow); background-clip: text; -webkit-background-clip: text; font-size: 34px; }
.content-card h3 { margin: 54px 0 10px; font-size: 23px; line-height: 1.08; }
.content-card strong + h3 { margin-top: 10px; }
.content-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }
.content-card b { position: absolute; top: 22px; right: 22px; color: #72ee9a; font-size: 19px; }
.content-card.image-card { padding-top: 168px; }
.content-card-image { position: absolute; inset: 0 0 auto; width: 100%; height: 142px; object-fit: cover; border-bottom: 1px solid var(--line); }
.content-card.image-card h3 { margin-top: 32px; }

.article-toc { margin-top: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11,21,37,.92); }
.article-toc summary { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none; color: white; font-weight: 900; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary span { color: var(--muted); font-size: 11px; font-weight: 700; }
.article-toc nav { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.article-toc a { min-height: 48px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; border-radius: 12px; color: #c4cedb; background: rgba(255,255,255,.035); font-size: 13px; line-height: 1.35; }
.article-toc a b { color: var(--lime); font-size: 10px; }

.section-block { margin-top: 58px; padding-top: 38px; scroll-margin-top: 96px; border-top: 1px solid var(--line); }
.section-block h2 { margin: 0 0 20px; font-size: clamp(31px, 8vw, 50px); line-height: 1; letter-spacing: -.045em; }
.insight-panel { position: relative; overflow: hidden; padding: 25px; border-radius: var(--radius); color: white; background: var(--ink-2); }
.insight-panel::after { content: ""; position: absolute; width: 170px; height: 170px; right: -80px; bottom: -95px; border-radius: 50%; background: var(--rainbow); opacity: .19; }
.insight-panel p { position: relative; z-index: 1; max-width: 770px; margin: 0; color: #c3cedb; font-size: 17px; line-height: 1.65; }
.article-copy { max-width: 780px; }
.article-copy p { margin: 0 0 18px; color: #c1ccda; font-size: 17px; line-height: 1.78; }
.article-copy p:last-child { margin-bottom: 0; }
.article-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.article-links a { min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(85,239,99,.26); border-radius: 999px; color: #d9f8df; background: rgba(85,239,99,.07); font-size: 13px; font-weight: 850; }
.article-links a span { color: var(--lime); }
.mini-card { min-height: 128px; padding: 20px; }
.mini-card i { width: 30px; height: 30px; display: grid; place-content: center; margin-bottom: 24px; border-radius: 50%; background: var(--surface-2); color: var(--lime); font-style: normal; font-weight: 950; }
.mini-card p { margin: 0; line-height: 1.5; font-weight: 750; }
.step-card { min-height: 178px; padding: 22px; }
.step-card > b { width: 34px; height: 34px; display: grid; place-content: center; border-radius: 50%; color: var(--ink); background: var(--rainbow); font-size: 12px; }
.step-card h3 { margin: 28px 0 8px; font-size: 20px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 64px; padding: 16px 2px; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary b { color: #72ee9a; font-size: 26px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary b { transform: rotate(45deg); }
.faq-list p { margin: -2px 0 20px; color: var(--muted); line-height: 1.65; }

.search-panel { padding: 18px; border-radius: var(--radius); background: var(--ink); color: white; }
.search-field { min-height: 52px; padding: 0 17px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.08); }
.search-field input { min-width: 0; min-height: 44px; flex: 1; border: 0; outline: 0; background: transparent; color: white; }
.search-field input::placeholder { color: #8796a9; }
.filter-row { margin-top: 14px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
.filter-row button { min-height: 44px; flex: 0 0 auto; padding: 0 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: transparent; color: #aebac8; text-transform: capitalize; }
.filter-row button[aria-pressed="true"] { color: var(--ink); border-color: var(--lime); background: var(--lime); font-weight: 900; }
.game-card[hidden] { display: none; }
.empty-state { margin-top: 16px; padding: 28px; border: 1px dashed rgba(255,255,255,.22); border-radius: 16px; color: #b9c4d1; text-align: center; }

.contact-form { padding: 22px; display: grid; gap: 17px; border-radius: var(--radius); color: white; background: var(--ink); }
.contact-form label { display: grid; gap: 8px; color: #c5cfdb; font-size: 13px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #34455d; border-radius: 12px; outline: 0; color: white; background: #0f1e34; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--cyan); }
.form-note { margin: 0; color: #8e9db0; font-size: 12px; line-height: 1.5; }

.sitemap-links { margin-top: 18px; display: grid; }
.sitemap-links a { min-height: 44px; padding: 9px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: #c1ccda; font-size: 13px; line-height: 1.35; }
.sitemap-links a:last-child { border-bottom: 0; }
.sitemap-links a:hover { color: var(--lime); }

.related-card { min-height: 110px; padding: 18px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.related-card h3 { margin: 0 0 5px; font-size: 17px; }
.related-card p { margin: 0; color: var(--muted); font-size: 12px; }
.related-card b { color: #72ee9a; font-size: 20px; }
.page-cta { padding: 80px 18px; text-align: center; color: white; background: radial-gradient(circle at 15% 20%, rgba(0,200,255,.2), transparent 32%), radial-gradient(circle at 82% 80%, rgba(201,255,47,.13), transparent 34%), var(--ink); }
.page-cta h2 { margin: 0; font-size: clamp(45px, 13vw, 82px); line-height: .94; letter-spacing: -.06em; }
.page-cta p { max-width: 580px; margin: 18px auto 28px; color: #b7c3d3; line-height: 1.6; }

.age-strip { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; color: white; background: rgba(6,16,31,.96); box-shadow: var(--shadow); }
.age-strip p { margin: 0; font-size: 12px; line-height: 1.45; }
.age-strip button { min-width: 74px; min-height: 44px; border: 0; border-radius: 999px; color: var(--ink); background: var(--lime); font-weight: 950; }
.age-strip[hidden] { display: none; }
.toast { position: fixed; z-index: 90; right: 16px; bottom: 82px; padding: 12px 16px; border-radius: 999px; color: var(--ink); background: white; box-shadow: var(--shadow); font-size: 12px; font-weight: 900; opacity: 0; transform: translateY(18px); pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.mobile-cta { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); min-height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; background: var(--rainbow); color: var(--ink); box-shadow: 0 16px 45px rgba(6,16,31,.34); font-weight: 950; }
.age-strip:not([hidden]) ~ .mobile-cta, body:has(.menu[open]) .mobile-cta { display: none; }

.site-footer { padding: 68px 18px calc(98px + env(safe-area-inset-bottom)); color: white; background: #030914; }
.footer-top { display: grid; gap: 34px; }
.footer-brand img { width: 132px; height: 74px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 8px 18px rgba(0,0,0,.32)); }
.footer-brand p { max-width: 280px; color: #98a6b8; line-height: 1.55; }
.domain-copy { min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: white; background: transparent; font-weight: 900; }
.domain-copy span { margin-left: 7px; color: var(--lime); font-size: 10px; }
.social-links { margin-top: 36px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.social-links > p { margin: 0 0 16px; color: white; font-size: 13px; font-weight: 900; }
.social-links > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.social-links a { min-height: 50px; padding: 0 13px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: #b7c3d2; background: rgba(255,255,255,.04); font-size: 12px; font-weight: 800; }
.social-links a span { width: 30px; height: 30px; display: grid; place-content: center; border-radius: 50%; color: var(--ink); background: var(--rainbow); font-size: 9px; font-weight: 950; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.footer-links h2 { margin: 0 0 14px; color: var(--lime); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { min-height: 44px; display: flex; align-items: center; color: #9aa8b9; font-size: 12px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #738196; font-size: 11px; line-height: 1.55; }
.footer-bottom p { margin: 5px 0; }

@media (min-width: 720px) {
  :root { --content: min(1160px, calc(100% - 72px)); }
  .site-header { min-height: 82px; padding: 0 36px; }
  .brand img { width: 112px; height: 62px; }
  .header-actions > .button { display: inline-flex; }
  .page-hero { padding: 78px 0 90px; grid-template-columns: 1.05fr .95fr; gap: 54px; }
  .hero-visual, .signal-visual, .hero-visual img { min-height: 470px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .module-heading { grid-template-columns: 1fr minmax(250px, .7fr); align-items: end; }
  .module-heading p { justify-self: end; }
  .contact-form { padding: 36px; grid-template-columns: repeat(2, 1fr); }
  .contact-form .wide { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: .7fr 1.3fr; }
  .footer-links { grid-template-columns: repeat(4, 1fr); }
  .social-links > div { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (min-width: 1040px) {
  .site-header { padding: 0 max(40px, calc((100vw - 1160px) / 2)); }
  .desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 800; }
  .desktop-nav a { min-height: 48px; display: inline-flex; align-items: center; color: #aeb9c8; }
  .desktop-nav a:hover { color: var(--lime); }
  .menu { display: none; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .article-toc nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mini-grid, .step-grid { grid-template-columns: repeat(4, 1fr); }
  .content-wrap { padding-bottom: 110px; }
  .module { margin-top: 96px; }
  .site-footer { padding: 84px max(40px, calc((100vw - 1160px) / 2)) 34px; }
  .mobile-cta { display: none; }
  .age-strip { left: auto; right: 22px; bottom: 22px; max-width: 430px; }
  .toast { bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
