/* GreenVerse Games website — "sunlit playground".
   Daylight leaf palette, rounded heavy type, and one bold device: game tiles and
   buttons drawn like physical game pieces (pine outline + solid offset shadow in
   the game's own colour). Everything else stays quiet. */

:root {
  --paper: #fff6db;      /* page: sunny board-game box */
  --surface: #ffffff;    /* panels, cards */
  --ink: #1d2a1f;        /* text and outlines */
  --mut: #5b6658;        /* secondary text */
  --line: #ecdcae;       /* hairlines */
  --leaf: #2f9e57;       /* links, green bands */
  --sun: #ffc531;        /* primary action */
  --sun-ink: #1d2a1f;
  --berry: #ff6b8b;      /* stickers */
  --sky: #7cc8ff;        /* blue bands */
  --shade: #1d2a1f;      /* offset shadow colour */
  --bad: #c2334f;

  --display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Varela Round", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --edge: 3px solid var(--ink);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e2117; --surface: #15301f; --ink: #e9f5eb; --mut: #a7c2af; --line: #24442f;
    --leaf: #5fd08b; --sun: #ffc531; --sun-ink: #1d2a1f; --berry: #ff6b8b; --sky: #3b6f9a; --shade: #04100a; --bad: #ff8aa0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e2117; --surface: #15301f; --ink: #e9f5eb; --mut: #a7c2af; --line: #24442f;
  --leaf: #5fd08b; --sun: #ffc531; --sun-ink: #1d2a1f; --berry: #ff6b8b; --sky: #3b6f9a; --shade: #04100a; --bad: #ff8aa0;
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  padding-inline: var(--gutter); overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p a, li a, .lead a, .sub a { color: var(--leaf); font-weight: 600; }
.wrap { max-width: 1200px; margin-inline: auto; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: var(--sun-ink); padding: 10px 16px; border-radius: 10px; border: var(--edge); font-weight: 700; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(42px, 8.4vw, 104px); line-height: .96; letter-spacing: -.035em; margin: 18px 0 20px; max-width: 13ch; }
h1 em, .gtext { font-style: normal; color: inherit; background: none; -webkit-background-clip: initial; background-clip: initial; }
h2 { font-weight: 800; font-size: clamp(30px, 5vw, 58px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 14px; max-width: 18ch; }
h3 { font-weight: 800; letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--mut); max-width: 56ch; margin: 0 0 30px; text-wrap: pretty; }
.sub { color: var(--mut); max-width: 60ch; margin: 0 0 40px; text-wrap: pretty; }
.fine, .small { color: var(--mut); font-size: 14px; }

/* Small labels: sentence case, no tracking, no monospace. */
.mono, .eyebrow, .kicker, .crumbs, .meta { font: 600 15px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--leaf); }
.kicker { display: block; margin-bottom: 10px; }
.kicker::before { content: none; }
.eyebrow { margin-bottom: 10px; }
.crumbs { color: var(--mut); font-weight: 500; }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.num { display: none; }

section { padding: clamp(56px, 9vw, 112px) 0; }

/* ── Buttons: the game-piece device ───────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 16px; border: var(--edge);
  font: 800 16.5px var(--body); text-decoration: none; cursor: pointer; color: var(--ink); background: var(--surface);
  box-shadow: 0 5px 0 var(--shade); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--shade); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--shade); }
.btn-primary { background: var(--sun); color: var(--sun-ink); }
.btn-ghost { background: var(--surface); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 0 4px 0 var(--shade); }
.btn-play { background: #13301f; color: #fff; border-color: #13301f; padding: 10px 22px 10px 16px; gap: 12px; }
:root[data-theme="dark"] .btn-play { border-color: var(--ink); }
.btn-play svg { width: 26px; height: 26px; flex: none; }
.btn-play span { display: block; line-height: 1.1; text-align: left; }
.btn-play small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.btn-play b { font: 800 18px var(--display); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.linkbtn { background: none; border: 0; color: var(--leaf); text-decoration: underline; cursor: pointer; font: 600 15px var(--body); padding: 4px 0; }
@media (prefers-reduced-motion: reduce) { .btn, .game, .feature, .marquee a { transition: none !important; } }

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 21px var(--display); letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav ul.main { display: flex; gap: 2px; list-style: none; margin: 0 0 0 18px; padding: 0; align-items: center; }
.nav ul.main > li { position: relative; }
.nav ul.main > li > a, .nav ul.main > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 0; background: none;
  color: var(--ink); font: 600 15.5px var(--body); text-decoration: none; cursor: pointer;
}
.nav ul.main > li > a:hover, .nav ul.main > li > button:hover, .nav ul.main > li:focus-within > button { background: color-mix(in srgb, var(--leaf) 14%, transparent); }
.nav .caret { width: 10px; height: 10px; transition: transform .2s; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 0; width: min(820px, 90vw); padding: 18px;
  background: var(--surface); border: var(--edge); border-radius: var(--r); box-shadow: 8px 8px 0 var(--shade);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px;
  opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .16s, translate .16s, visibility .16s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; translate: 0 0; }
.mega h4 { grid-column: 1 / -1; margin: 0 0 6px; font: 700 15px var(--body); color: var(--mut); }
.mega a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-sm); text-decoration: none; }
.mega a:hover { background: color-mix(in srgb, var(--leaf) 12%, transparent); }
.mega img { width: 56px; height: 40px; object-fit: cover; border-radius: 9px; flex: none; }
.mega b { display: block; font: 700 15px var(--body); line-height: 1.2; }
.mega small { color: var(--mut); font-size: 13px; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--shade); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: var(--edge); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; box-shadow: 0 3px 0 var(--shade); }
.burger svg { width: 22px; height: 22px; }
.drawer { display: none; }
@media (max-width: 1020px) {
  .nav ul.main { display: none; }
  .burger { display: grid; position: relative; z-index: 40; }
  .nav-cta .btn-ghost { display: none; }
  .drawer {
    display: block; position: fixed; inset: 0; z-index: 30; overflow-y: auto;
    background: var(--paper); padding: 88px var(--gutter) 40px;
    transform: translateY(-102%); transition: transform .28s ease; visibility: hidden;
  }
  .drawer.open { transform: none; visibility: visible; }
  .drawer > a { display: block; padding: 14px 2px; font: 800 24px var(--display); letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
  .drawer .sec { margin: 28px 0 8px; font: 700 15px var(--body); color: var(--mut); }
  .drawer .g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .drawer .g a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; font: 700 15px var(--body); }
  .drawer .g img { width: 100%; aspect-ratio: 900/620; object-fit: cover; border-radius: var(--r-sm); border: 2px solid var(--ink); }
}
@media (max-width: 420px) { .nav-cta .btn-primary { padding: 8px 14px; font-size: 14px; } .brand { font-size: 19px; } }

/* ── Home hero ────────────────────────────────────────── */
.hero2 { padding: clamp(40px, 8vw, 96px) 0 0; overflow-x: clip; }
.hero2 h1 { max-width: 12ch; }
.pill { display: inline-flex; gap: 10px; align-items: center; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface); border: 2px solid var(--ink); font: 600 14px var(--body); color: var(--ink); }
.pill b { background: var(--sun); color: var(--sun-ink); padding: 2px 10px; border-radius: 999px; font-weight: 800; }
.pill i { display: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-meta span { padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--leaf) 13%, transparent); color: var(--ink); font: 600 14px var(--body); }

/* The game strip: the one ambient motion on the site. */
.marquee { margin: clamp(40px, 7vw, 72px) calc(-1 * var(--gutter)) 0; padding: 6px 0 14px; overflow: hidden; }
.marquee .track { display: flex; gap: 18px; width: max-content; padding: 6px 0 10px 18px; }
.marquee .track.rev { margin-top: 4px; }
.marquee a {
  flex: none; width: clamp(200px, 26vw, 280px); position: relative; display: block; border-radius: var(--r);
  overflow: hidden; border: var(--edge); box-shadow: 6px 6px 0 var(--shade); transition: transform .2s;
}
.marquee a:hover { transform: translate(-2px, -2px); }
.marquee img { width: 100%; aspect-ratio: 900/620; object-fit: cover; }
.marquee span { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); font: 700 13px var(--body); }
@media (prefers-reduced-motion: no-preference) {
  .marquee .track { animation: slide 80s linear infinite; }
  .marquee .track.rev { animation-direction: reverse; animation-duration: 95s; }
  .marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }

/* ── Home sections ────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.pillar, .pillar + .pillar { padding: 26px; background: var(--surface); color: var(--ink); border: var(--edge); border-radius: 24px; box-shadow: 7px 7px 0 var(--shade); }
.pillar h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.08; margin: 0 0 10px; }
.pillar h3::before { content: ""; display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--p, var(--leaf)); border: 3px solid var(--ink); margin-bottom: 16px; }
.pillar p { margin: 0; color: var(--mut); }

.showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; margin-top: 40px; }
.feature {
  position: relative; grid-column: span 6; min-height: 360px; display: flex; text-decoration: none; isolation: isolate;
  border-radius: var(--r-lg); overflow: hidden; border: var(--edge); box-shadow: 9px 9px 0 var(--shade); transition: transform .2s, box-shadow .2s;
}
.feature.big { grid-column: span 7; min-height: 440px; }
.feature.small { grid-column: span 5; }
.feature:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--shade); }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(10, 28, 18, .9)); }
.feature div { margin-top: auto; padding: 26px; color: #fff; }
.feature h3 { color: #fff; margin: 10px 0 6px; font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.feature p { margin: 0; color: #e3efe6; max-width: 46ch; }

.counters, .stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 2px solid var(--ink); }
.counters div, .stats div { padding: 30px 24px 26px 0; }
.counters div + div, .stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.counters b, .stats b { display: block; font: 800 clamp(48px, 6.6vw, 88px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.counters span, .stats span { color: var(--mut); }

/* ── Game tiles ───────────────────────────────────────── */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 22px; }
.game {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: var(--edge); border-radius: var(--r); overflow: hidden;
  box-shadow: 7px 7px 0 var(--shade); transition: transform .18s, box-shadow .18s;
}
.games .game:nth-child(odd) { transform: rotate(-1.4deg); }
.games .game:nth-child(even) { transform: rotate(1.1deg); }
.games .game:hover { transform: rotate(0) translate(-2px, -2px) scale(1.02); box-shadow: 10px 10px 0 var(--shade); }
@media (prefers-reduced-motion: reduce) { .games .game:nth-child(n) { transform: none; } }
.game img { aspect-ratio: 900/620; object-fit: cover; width: 100%; border-bottom: var(--edge); }
.game > div { padding: 16px 18px 20px; }
.game h3 { margin: 0 0 4px; font-size: 21px; }
.game p { margin: 0; color: var(--mut); font-size: 15px; line-height: 1.45; }
.game .play-cta { display: inline-block; margin-top: 10px; font: 700 14px var(--body); color: var(--leaf); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 12px 4px 8px; border-radius: 999px;
  background: var(--surface); color: var(--ink); border: 2px solid var(--ink); font: 700 13px var(--body);
}
.tag::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--leaf)); border: 1.5px solid var(--ink); margin-right: 7px; vertical-align: -1px; }
.feature .tag { position: static; display: inline-block; }
.filters { display: flex; gap: 10px; margin: 0 0 30px; flex-wrap: wrap; }
.filters button { min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 700 15px var(--body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ── Content blocks (quiet) ───────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps .step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); border: 2px solid var(--ink); font: 800 16px var(--display); }
.cols .step::before { content: none; }
.step h3 { margin: 14px 0 6px; font-size: 20px; line-height: 1.2; }
.cols .step h3 { margin-top: 0; }
.step p { margin: 0; color: var(--mut); font-size: 15.5px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 36px; list-style: none; padding: 0; margin: 0; }
.trust li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.trust svg { flex: none; width: 24px; height: 24px; color: var(--leaf); margin-top: 2px; }
.trust b { display: block; font-weight: 700; }
.trust span { color: var(--mut); font-size: 15.5px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.timeline > div { padding: 24px 22px 0 0; }
.timeline > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.timeline h3 { margin: 0 0 8px; font-size: 21px; }
.timeline p { margin: 0; color: var(--mut); font-size: 15.5px; }

.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 36px; }
.soon div { aspect-ratio: 900/620; border-radius: var(--r); border: 2px dashed var(--ink); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--mut); background: var(--surface); }
.soon b { display: block; font: 800 22px var(--display); color: var(--ink); margin-bottom: 4px; }

.news3, .articles, .feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 32px; }
.news3 a, .articles a, .feed-item {
  display: flex; flex-direction: column; padding: 26px; min-width: 0; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s;
}
.news3 a:hover, .articles a:hover, .feed-item:hover { border-color: var(--ink); }
.news3 small, .articles small, .feed-src { font: 700 14px var(--body); color: var(--leaf); text-transform: none; letter-spacing: 0; }
.news3 h3, .articles h3, .feed-item h3 { margin: 8px 0 8px; font-size: 22px; line-height: 1.18; overflow-wrap: anywhere; }
.news3 p, .articles p, .feed-item p { margin: 0 0 14px; color: var(--mut); font-size: 15.5px; }
.articles .more, .feed-go { margin-top: auto; color: var(--ink); font-weight: 700; font-size: 15px; }
.feed-note { color: var(--mut); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
div.chips { margin-top: 18px; }
.chips li, .chip, .chips a.chip { padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--leaf) 13%, transparent); color: var(--ink); font: 600 14.5px var(--body); text-decoration: none; }
.chip:hover { background: color-mix(in srgb, var(--leaf) 24%, transparent); }

.faq details { border-top: 1px solid var(--line); padding: 18px 2px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 800 19px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); font: 700 20px/1 var(--body); }
.faq details[open] summary::after { content: "−"; background: var(--sun); color: var(--sun-ink); }
.faq p { color: var(--mut); margin: 12px 0 0; max-width: 70ch; }

.final {
  text-align: left; padding: clamp(40px, 7vw, 80px); border-radius: var(--r-lg);
  background: var(--sun); color: var(--sun-ink); border: var(--edge); box-shadow: 10px 10px 0 var(--shade);
}
.final h2 { color: var(--sun-ink); max-width: 16ch; font-size: clamp(34px, 5.6vw, 72px); }
.final .sub { color: color-mix(in srgb, var(--sun-ink) 80%, transparent); margin-bottom: 28px; }
.final .btn-primary { background: var(--surface); color: var(--ink); }
.final a:not(.btn) { color: var(--sun-ink); }

.callout, .box, .tips li { padding: 18px 22px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--leaf); }
.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 72ch; }
.tips li { color: var(--mut); }

/* ── Inner pages ──────────────────────────────────────── */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(38px, 6.4vw, 74px); max-width: 16ch; margin: 10px 0 16px; }
.page-head[style*="--c"] h1 { background: none; color: var(--ink); }
.page-head[style*="--c"] h1::after { content: ""; display: block; width: 72px; height: 8px; border-radius: 99px; background: var(--c); border: 2px solid var(--ink); margin-top: 18px; }
.page-head .lead { margin: 0; }
.cat-intro { max-width: 70ch; color: var(--mut); }

.gp-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.gp-hero img { width: 100%; aspect-ratio: 900/620; object-fit: cover; border-radius: var(--r-lg); border: var(--edge); box-shadow: 10px 10px 0 var(--c, var(--shade)); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 2px solid var(--ink); }
.facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font: 600 14px var(--body); color: var(--mut); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 700; }

.doc, .prose { max-width: 740px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) 0 clamp(64px, 9vw, 104px); }
.doc h1, .prose h1 { font-size: clamp(36px, 5.6vw, 60px); max-width: none; margin: 10px 0 12px; }
.doc h2, .prose h2 { font-size: clamp(24px, 3vw, 30px); max-width: none; margin: 42px 0 10px; letter-spacing: -.02em; }
.doc p, .doc li, .prose p, .prose li { color: color-mix(in srgb, var(--ink) 84%, var(--mut)); font-size: 17.5px; line-height: 1.72; }
.doc li, .prose li { margin: 6px 0; }
.doc strong, .prose strong { color: var(--ink); }
.doc .meta, .prose .meta { color: var(--mut); margin-bottom: 28px; }
.doc .callout, .prose .box { margin: 28px 0; }

.panel { background: var(--surface); border: var(--edge); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 32px); box-shadow: 8px 8px 0 var(--shade); }
.panel h2 { font-size: 28px; margin: 0 0 6px; max-width: none; }
.panel h3 { font-size: 20px; }
.notfound { padding: clamp(80px, 14vw, 160px) 0; }
ul.sm { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
ul.sm a { color: var(--mut); text-decoration: none; }
ul.sm a:hover { color: var(--ink); text-decoration: underline; }

/* ── Buy YAN and forms ────────────────────────────────── */
.buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 56px); align-items: start; }
.field { display: grid; gap: 6px; margin: 14px 0; }
.field label { font: 700 14.5px var(--body); color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); font: 500 17px var(--body);
}
.field input:focus, .field select:focus { outline: 3px solid var(--leaf); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.bal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.bal div { padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.bal b { display: block; font: 800 28px var(--display); }
.bal span { color: var(--mut); font-size: 14px; }
.msg { min-height: 1.4em; color: var(--leaf); font-size: 15px; font-weight: 600; margin: 10px 0 0; }
.msg.bad { color: var(--bad); }
.confirm { margin-top: 18px; padding: 18px; border-radius: 16px; border: 2px dashed var(--ink); background: color-mix(in srgb, var(--sun) 22%, transparent); }

/* Price table (Buy YAN) */
.prices { width: 100%; border-collapse: collapse; margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.prices th, .prices td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.prices th { font: 700 14px var(--body); color: var(--mut); border-bottom: 2px solid var(--ink); }
.prices td b { font: 800 18px var(--display); }
.prices td:last-child, .prices th:last-child { text-align: right; padding-right: 0; }
.price-note { color: var(--mut); font-size: 14.5px; margin: 8px 0 0; }

/* ── Footer ───────────────────────────────────────────── */
footer {
  margin-inline: calc(-1 * var(--gutter)); padding: clamp(56px, 8vw, 88px) var(--gutter) 36px;
  background: #13301f; color: #cfe3d4; font-size: 15px;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .brand { color: #fff; }
footer .btn-play { background: #fff; color: #13301f; border-color: #fff; box-shadow: 0 4px 0 #04100a; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px 24px; }
.foot p { color: #cfe3d4; }
.foot .mono { display: block; color: #9fd3ae; margin-bottom: 4px; }
.foot ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 9px; }
.foot ul a { color: #e6f2e9; }
.wordmark { font: 800 clamp(60px, 16vw, 220px)/.8 var(--display); letter-spacing: -.06em; margin: 56px 0 0; color: #1f4a30; user-select: none; }
.copy { margin-top: 28px; font-size: 14px; color: #a9c7b2; line-height: 1.7; }
.copy a { color: #fff; text-decoration: underline; }

/* ── Browser arcade ───────────────────────────────────── */
.play-wrap { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(28px, 5vw, 56px); align-items: center; }
.play-wrap > * { min-width: 0; }
.play-wrap .copy-side h2 { max-width: 13ch; }
.arcade { max-width: 520px; min-width: 0; width: 100%; margin-inline: auto; }
.arc-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.arc-tabs::-webkit-scrollbar { display: none; }
.arc-tabs[hidden] { display: none; }
.arc-tabs button { flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font: 700 14.5px var(--body); cursor: pointer; }
.arc-tabs button[aria-selected="true"] { background: var(--sun); color: var(--sun-ink); }
.arc-box { position: relative; border: var(--edge); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: 10px 10px 0 var(--shade); }
.arc-hud { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: var(--edge); font: 600 14px var(--body); color: var(--mut); }
.arc-hud b { color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 4px; }
.arc-title { margin-right: auto; color: var(--ink); font: 800 16px var(--display); }
.arc-host { display: grid; place-items: center; padding: 14px; background: var(--paper); outline: none; min-height: 300px; user-select: none; -webkit-user-select: none; }
.arc-canvas { width: 100%; height: auto; max-width: 420px; border-radius: 14px; touch-action: none; display: block; background: #050814; cursor: pointer; }
.arc-over { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(10, 28, 18, .82); backdrop-filter: blur(6px); }
.arc-over[hidden] { display: none; }
.arc-over h3 { margin: 0 0 6px; font-size: 34px; color: #fff; }
.arc-over p { margin: 0 0 20px; color: #cfe3d4; }
.arc-hint { text-align: center; color: var(--mut); font-size: 15px; margin: 14px 0 0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1020px) {
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .pillars, .timeline { grid-template-columns: 1fr; }
  .timeline > div, .timeline > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .counters, .stats { grid-template-columns: 1fr 1fr; }
  .counters div, .stats div, .counters div + div, .stats div + div { padding: 22px 12px 20px 0; border-left: 0; }
  .counters div:nth-child(even), .stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .counters div:nth-child(-n+2), .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature, .feature.big, .feature.small { grid-column: span 12; min-height: 300px; }
  .gp-hero, .play-wrap, .buy { grid-template-columns: 1fr; }
  .news3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .games { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .game { box-shadow: 4px 4px 0 var(--c, var(--shade)); border-width: 2px; }
  .game img { border-bottom-width: 2px; }
  .game > div { padding: 12px 12px 14px; }
  .game h3 { font-size: 17px; }
  .game p { display: none; }
  .tag { top: 8px; left: 8px; font-size: 11.5px; padding: 3px 9px 3px 6px; }
  .tag::before { width: 8px; height: 8px; margin-right: 5px; }
  .cta .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(even) { padding-left: 0; border-left: 0; }
  .foot { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr 104px; }
  .final { box-shadow: 6px 6px 0 var(--shade); }
  .news3 a, .articles a, .feed-item { padding: 20px; }
}

/* Reveal: content is always visible; no scroll animations. */
.rv { opacity: 1; transform: none; }

/* ── Browser games: match the app's look ──────────────── */
.mem-wrap { width: min(100%, 400px); padding: 14px; border-radius: 22px; background: radial-gradient(circle at 50% 0%, #1b2a66, #0a0f2c 70%); }
.mem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.mem-card { border: 0; padding: 0; background: none; cursor: pointer; aspect-ratio: 5/6; perspective: 600px; -webkit-tap-highlight-color: transparent; }
.mem-in { display: block; width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3, .7, .3, 1); }
.mem-card.up .mem-in, .mem-card.done .mem-in { transform: rotateY(180deg); }
.mem-back, .mem-front { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.mem-back { background: linear-gradient(145deg, #ffd35a, #f0a417); box-shadow: 0 4px 0 #b97a0a, inset 0 0 0 1.5px rgba(255,255,255,.35); background-image: linear-gradient(145deg, #ffd35a, #f0a417), repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 2px, transparent 2px 12px); }
.mem-leaf { width: 54%; }
.mem-front { transform: rotateY(180deg); background: #0c1236; box-shadow: inset 0 0 0 2.5px var(--cc); }
.mem-front svg { width: 62%; filter: drop-shadow(0 0 6px var(--cc)); }
.mem-front i { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--cc); }
.mem-card.done .mem-front { box-shadow: inset 0 0 0 2.5px var(--cc), 0 0 16px var(--cc); }
.gar-scene { width: min(100%, 400px); aspect-ratio: 9/14; border-radius: 22px; position: relative; overflow: hidden; background: radial-gradient(circle at 20% 12%, #2b2a6e 0, transparent 40%), linear-gradient(180deg, #0e0b30 0%, #241a5a 55%, #0d0a2a 100%); display: grid; align-items: end; padding: 16px; }
.gar-moon { position: absolute; left: 12%; top: 7%; width: 44px; height: 44px; border-radius: 50%; background: #fff2c2; box-shadow: 0 0 40px 10px rgba(255, 242, 194, .35); }
.gar-moon::after { content: ""; position: absolute; left: 12px; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: #241a5a; }
.gar-hills { position: absolute; left: 0; right: 0; top: 24%; height: 90px; display: flex; justify-content: space-around; align-items: flex-end; }
.gar-hills i { width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 44px solid #1fc7a6; filter: drop-shadow(0 0 8px rgba(34, 211, 238, .5)); opacity: .9; }
.gar-hills i:nth-child(2n) { border-bottom-color: #8b5cf6; border-bottom-width: 56px; } .gar-hills i:nth-child(3n) { border-bottom-color: #3b9bff; border-bottom-width: 36px; }
.gar-board { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 9px; aspect-ratio: 1; border-radius: 24px; border: 3px solid #6ea2ff; background: rgba(8, 8, 36, .78); box-shadow: 0 0 30px rgba(110, 162, 255, .45), inset 0 0 30px rgba(0, 0, 0, .5); margin-bottom: 8%; }
.gar-tile { border-radius: 14px; background: rgba(5, 5, 24, .9); position: relative; display: grid; place-items: center; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6); }
.gar-tile.on { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 6px 14px rgba(0, 0, 0, .4); animation: pop .18s ease; }
.gar-gloss { position: absolute; left: 8%; right: 8%; top: 6%; height: 20%; border-radius: 10px; background: rgba(255, 255, 255, .35); }
.gar-e { width: 66%; display: block; margin-top: 4%; } .gar-e svg { width: 100%; display: block; }
.gar-n { position: absolute; bottom: 4%; left: 0; right: 0; text-align: center; font: 700 11px var(--display); color: rgba(0, 0, 0, .6); letter-spacing: .04em; }
@keyframes pop { from { transform: scale(.85); } to { transform: none; } }


/* ── Option A: colour bands, card pile, stickers ───────── */
.band { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-block: var(--edge); }
.band.g { background: var(--leaf); color: #fff; }
.band.s { background: var(--sky); color: var(--ink); }
.band.g h2, .band.g h3:not(.pillar h3):not(.game h3), .band.g .kicker { color: #fff; }
.band.g .sub, .band.g .kicker { color: #e8f7ec; }
.band.g .sub a { color: #fff; }
.band.s .sub { color: #1d2a1f; }
.band.s .kicker { color: var(--ink); }
.band + .band { border-top: 0; }

.hero2 .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.pile { position: relative; height: clamp(320px, 42vw, 520px); }
.pile img { position: absolute; width: 62%; border: var(--edge); border-radius: 22px; box-shadow: 10px 10px 0 var(--shade); }
.pile img:nth-child(1) { left: 2%; top: 4%; transform: rotate(-8deg); }
.pile img:nth-child(2) { right: 2%; top: 16%; transform: rotate(6deg); }
.pile img:nth-child(3) { left: 16%; bottom: 2%; transform: rotate(-2deg); z-index: 2; }
.sticker {
  position: absolute; z-index: 3; right: 6%; bottom: 6%; width: clamp(92px, 11vw, 132px); aspect-ratio: 1; border-radius: 50%;
  background: var(--berry); color: #fff; border: var(--edge); display: grid; place-items: center; text-align: center;
  font: 900 clamp(16px, 1.9vw, 22px)/1 var(--display); transform: rotate(12deg); box-shadow: 6px 6px 0 var(--shade);
}
@media (max-width: 880px) {
  .hero2 .hero-grid { grid-template-columns: 1fr; }
  .pile { margin: 10px 8px 0; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cta .btn { min-width: 0; }
  .hero2 .cta .btn { flex: 1 1 100%; }
  .games .game:nth-child(n) { transform: none; }
}
.band.s .sub a, .band.s p a { color: var(--ink); text-decoration: underline; }
