/* Mini Game Guides — arcade-at-night design system */
:root {
  --ink-950: #080b12;
  --ink-900: #0d1320;
  --ink-850: #101828;
  --ink-800: #131c2e;
  --ink-700: #1b2740;
  --line: #24314c;
  --paper: #f2efe6;
  --muted: #a8b0c2;
  --acid: #c8f04a;
  --amber: #ffb454;
  --coral: #ff6b6b;
  --teal: #4dd6c1;
  --violet: #b28dff;
  --radius: 10px;
  --shadow: 4px 4px 0 #03050a;
  --wrap: 1160px;
  --font-display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #e2ff92; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: 1.15rem; letter-spacing: 0; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 820px); }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--acid); color: #0a0d14; padding: 0.6rem 1rem; font-weight: 700;
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }

/* header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 18, 0.94);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--paper); text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--acid); color: #080b12;
  font-family: var(--font-display); font-size: 1.15rem;
  border-radius: 6px; box-shadow: 3px 3px 0 #000;
}
.brand-name { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--acid); }
.nav-toggle { display: none; }

/* hero -------------------------------------------------------------- */
.hero {
  padding: 4.2rem 0 3.2rem;
  border-bottom: 2px solid var(--line);
  background:
    radial-gradient(900px 420px at 78% 10%, rgba(200, 240, 74, 0.10), transparent 60%),
    radial-gradient(700px 380px at 12% 85%, rgba(77, 214, 193, 0.08), transparent 60%),
    var(--ink-950);
}
.hero-inner { max-width: 880px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--acid); text-transform: uppercase; margin-bottom: 0.9rem;
}
.hero h1 { margin-bottom: 0.45em; }
.hero-lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.hero-search { display: flex; gap: 0.6rem; margin: 1.8rem 0 1.4rem; max-width: 560px; }
.hero-search input, .search-form input, .search-filters select {
  font: inherit; color: var(--paper); background: var(--ink-800);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.9rem;
}
.hero-search input { flex: 1; min-width: 0; }
.hero-search input::placeholder, .search-form input::placeholder { color: #77819a; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; padding: 0; margin: 0; font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.hero-stats strong { color: var(--paper); font-size: 1.02rem; margin-right: 0.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

/* buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.7rem 1.15rem; border-radius: 8px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translate(-1px, -1px); }
.btn-primary { background: var(--acid); color: #080b12; box-shadow: var(--shadow); border-color: var(--acid); }
.btn-primary:hover { color: #080b12; box-shadow: 6px 6px 0 #000; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--acid); color: var(--acid); }

/* sections ---------------------------------------------------------- */
.section { padding: 3.2rem 0; }
.section--alt { background: var(--ink-900); border-block: 2px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: 0.35rem; }
.text-link { font-family: var(--font-mono); font-size: 0.85rem; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* game cards -------------------------------------------------------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.3rem; }
.game-grid--three { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.game-card {
  display: flex; flex-direction: column; background: var(--ink-800);
  border: 2px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--paper);
  transition: transform 120ms ease, border-color 120ms ease;
}
.game-card:hover { transform: translateY(-3px); border-color: var(--acid); color: var(--paper); }
.game-cover { aspect-ratio: 16 / 9; background: var(--ink-950); border-bottom: 2px solid var(--line); }
.game-cover img { width: 100%; height: 100%; object-fit: cover; }
.game-card-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; }
.game-card-body h3 { margin: 0.15rem 0 0; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0; }
.game-card-body p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.game-card-meta { margin-top: auto; padding-top: 0.55rem; font-family: var(--font-mono); font-size: 0.72rem; color: #7f8aa1; text-transform: uppercase; letter-spacing: 0.04em; }

.chip {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0.5rem;
  border-radius: 4px; border: 1px solid var(--line); color: var(--muted);
}
.chip--rpg { color: var(--teal); border-color: rgba(77, 214, 193, 0.4); }
.chip--defense { color: var(--coral); border-color: rgba(255, 107, 107, 0.4); }
.chip--puzzle { color: var(--amber); border-color: rgba(255, 180, 84, 0.4); }
.chip--merge { color: var(--violet); border-color: rgba(178, 141, 255, 0.4); }

/* guide cards ------------------------------------------------------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.guide-grid--two { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.guide-card {
  display: flex; flex-direction: column; gap: 0.45rem;
  background: var(--ink-800); border: 2px solid var(--line);
  border-top: 4px solid var(--acid); border-radius: var(--radius);
  padding: 1rem 1.05rem 1.1rem; text-decoration: none; color: var(--paper);
  transition: transform 120ms ease, border-color 120ms ease;
}
.guide-card:hover { transform: translateY(-2px); border-color: var(--line); border-top-color: var(--amber); color: var(--paper); }
.guide-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; color: #7f8aa1; }
.guide-card-top time { margin-left: auto; }
.guide-game { color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.guide-card h3 { margin: 0.1rem 0 0; font-size: 1.02rem; font-family: var(--font-display); letter-spacing: 0; line-height: 1.25; }
.guide-card p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.guide-card-meta { margin-top: auto; padding-top: 0.4rem; font-family: var(--font-mono); font-size: 0.7rem; color: #7f8aa1; }
.guide-list { display: grid; gap: 0.9rem; }
.guide-group { margin-bottom: 2.2rem; }
.guide-group > h2 { font-size: 1.3rem; margin-bottom: 1rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--line); }

.type-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.07em; padding: 0.18rem 0.45rem;
  border-radius: 4px; background: rgba(200, 240, 74, 0.12); color: var(--acid);
  border: 1px solid rgba(200, 240, 74, 0.35);
}
.type-codes { background: rgba(255, 180, 84, 0.12); color: var(--amber); border-color: rgba(255, 180, 84, 0.4); }
.type-walkthrough { background: rgba(77, 214, 193, 0.12); color: var(--teal); border-color: rgba(77, 214, 193, 0.4); }
.type-builds { background: rgba(178, 141, 255, 0.12); color: var(--violet); border-color: rgba(178, 141, 255, 0.4); }
.type-boss { background: rgba(255, 107, 107, 0.12); color: var(--coral); border-color: rgba(255, 107, 107, 0.4); }
.type-beginner { background: rgba(200, 240, 74, 0.12); color: var(--acid); border-color: rgba(200, 240, 74, 0.4); }
.type-tips { background: rgba(242, 239, 230, 0.08); color: var(--paper); border-color: var(--line); }

/* categories -------------------------------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.category-card {
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.2rem;
  background: var(--ink-800); border: 2px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--paper); box-shadow: var(--shadow);
}
.category-card:hover { border-color: var(--acid); color: var(--paper); }
.category-count { font-family: var(--font-mono); font-size: 0.7rem; color: var(--amber); text-transform: uppercase; }
.category-card h3 { margin: 0; }
.category-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.category-link { margin-top: auto; padding-top: 0.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--acid); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.note-box { background: var(--ink-800); border: 2px solid var(--line); border-left: 6px solid var(--amber); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 1.5rem; }
.note-box h2 { font-size: 1.4rem; }
.note-box p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

/* page head --------------------------------------------------------- */
.page-head { padding: 2.6rem 0 2rem; border-bottom: 2px solid var(--line); }
.page-head h1 { margin: 0.5rem 0 0.4em; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 70ch; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; font-family: var(--font-mono); font-size: 0.76rem; color: #7f8aa1; margin-bottom: 1.2rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--acid); }
.breadcrumbs .sep { color: #46536f; }

/* filters ----------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.8rem; }
.chip-filter {
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--muted); background: var(--ink-800);
  border: 2px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; cursor: pointer;
}
.chip-filter span { color: #6f7a92; margin-left: 0.2rem; }
.chip-filter:hover { border-color: var(--acid); color: var(--paper); }
.chip-filter.is-active { background: var(--acid); color: #080b12; border-color: var(--acid); }
.chip-filter.is-active span { color: #2c3a08; }
.filter-status { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin: 0 0 1.4rem; }
.is-hidden { display: none !important; }

/* game hub ---------------------------------------------------------- */
.game-hero { padding: 2.4rem 0 2.8rem; border-bottom: 2px solid var(--line); background: linear-gradient(180deg, var(--ink-900), var(--ink-950)); }
.game-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center; }
.game-hero-text h1 { margin: 0.5rem 0 0.35em; }
.game-hero-cover img { width: 100%; border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.4rem; margin: 1.4rem 0 1.6rem; }
.fact-list div { border-left: 2px solid var(--line); padding-left: 0.7rem; }
.fact-list dt { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; color: #7f8aa1; letter-spacing: 0.05em; }
.fact-list dd { margin: 0.1rem 0 0; font-size: 0.9rem; }

/* prose ------------------------------------------------------------- */
.prose { color: #e3e0d6; }
.prose h2 { margin-top: 2.2em; padding-top: 0.2em; color: var(--paper); }
.prose h3 { margin-top: 1.6em; color: var(--paper); font-size: 1.12rem; }
.prose p { margin-bottom: 1.15em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: #fff; }
.prose a { color: var(--acid); }
.prose blockquote {
  margin: 1.5em 0; padding: 0.8rem 1.1rem; border-left: 4px solid var(--amber);
  background: var(--ink-800); color: var(--paper); border-radius: 0 8px 8px 0;
}
.prose blockquote p { margin: 0; }
.prose .table-wrap { overflow-x: auto; margin: 1.4em 0; border: 2px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.prose th, .prose td { padding: 0.65rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ink-800); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; color: var(--acid); }
.prose tr:last-child td { border-bottom: 0; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: var(--ink-800); border: 1px solid var(--line); padding: 0.1em 0.35em; border-radius: 4px; color: var(--amber); }
.prose .code-block { background: var(--ink-900); border: 2px solid var(--line); border-radius: var(--radius); padding: 1rem; overflow-x: auto; }
.prose .code-block code { background: none; border: 0; padding: 0; color: var(--paper); font-size: 0.85rem; }
.prose .callout { background: var(--ink-800); border: 2px solid var(--line); border-left: 5px solid var(--acid); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5em 0; }
.prose .callout p:last-child { margin: 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border: 2px solid var(--line); border-radius: var(--radius); width: 100%; }
.prose figcaption { font-family: var(--font-mono); font-size: 0.72rem; color: #7f8aa1; margin-top: 0.5rem; }
.prose .sources { font-family: var(--font-mono); font-size: 0.76rem; color: #7f8aa1; }

/* guide page -------------------------------------------------------- */
.guide-page { padding: 2.2rem 0 3rem; }
.guide-head { padding-bottom: 1.6rem; border-bottom: 2px solid var(--line); margin-bottom: 1.6rem; }
.guide-head h1 { margin: 0.5rem 0 0.5em; font-size: clamp(1.85rem, 4vw, 2.9rem); }
.guide-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.8rem; }
.guide-kicker-game a { color: var(--paper); text-decoration: none; border-bottom: 1px dashed var(--line); }
.guide-kicker-game a:hover { color: var(--acid); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; font-family: var(--font-mono); font-size: 0.76rem; color: #7f8aa1; }
.guide-body { font-size: 1.02rem; }
.related-section { margin-top: 3rem; padding-top: 1.6rem; border-top: 2px solid var(--line); }
.guide-footnote { margin-top: 2rem; background: var(--ink-900); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.guide-footnote h2 { font-size: 1.05rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.guide-footnote p { font-size: 0.88rem; color: var(--muted); }
.source-list { list-style: none; padding: 0; margin: 0.8rem 0 1rem; font-family: var(--font-mono); font-size: 0.74rem; }
.source-list li { margin-bottom: 0.35rem; overflow-wrap: anywhere; }

/* A-Z --------------------------------------------------------------- */
.az-jump { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2rem; }
.az-jump a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 2px solid var(--line); border-radius: 6px; text-decoration: none;
  font-family: var(--font-mono); color: var(--paper);
}
.az-jump a:hover { border-color: var(--acid); color: var(--acid); }
.az-group { margin-bottom: 2rem; }
.az-group > h2 { font-size: 1.6rem; color: var(--acid); border-bottom: 2px solid var(--line); padding-bottom: 0.3rem; }
.az-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.az-list li { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr auto; gap: 1rem; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.az-list a { text-decoration: none; font-weight: 700; }
.az-list span { color: var(--muted); font-size: 0.88rem; }
.az-list em { font-family: var(--font-mono); font-size: 0.72rem; color: #7f8aa1; font-style: normal; white-space: nowrap; }

/* search ------------------------------------------------------------ */
.page-head--search { padding-bottom: 1.6rem; }
.search-form { display: flex; gap: 0.6rem; margin-top: 1.4rem; max-width: 620px; }
.search-form input { flex: 1; min-width: 0; }
.search-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.search-filters select { padding: 0.45rem 0.6rem; font-size: 0.8rem; }
.search-results { display: grid; gap: 1.6rem; margin-bottom: 2rem; }
.search-group h2 { font-size: 1.1rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.8rem; }
.search-hit { display: block; padding: 0.8rem 1rem; border: 2px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--paper); margin-bottom: 0.5rem; background: var(--ink-800); }
.search-hit:hover { border-color: var(--acid); color: var(--paper); }
.search-hit strong { display: block; font-size: 0.98rem; }
.search-hit span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }
.search-suggest { border-top: 2px solid var(--line); padding-top: 1.6rem; }
.search-suggest h2 { font-size: 1.2rem; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.7rem; }
.link-grid a { display: block; padding: 0.8rem 1rem; background: var(--ink-800); border: 2px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--paper); font-size: 0.9rem; }
.link-grid a:hover { border-color: var(--acid); color: var(--acid); }

/* docs -------------------------------------------------------------- */
.page-doc { padding: 2.4rem 0 3rem; }
.page-doc h1 { margin: 0.4rem 0 0.3em; }
.doc-meta { font-family: var(--font-mono); font-size: 0.76rem; color: #7f8aa1; margin-bottom: 2rem; }

/* ads --------------------------------------------------------------- */
.ad-slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem; width: 100%; max-width: 970px; min-height: 90px;
  margin: 1.4rem auto 2rem; padding: 0.8rem 1rem;
  border: 2px dashed #2a3853; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 10px, transparent 10px 20px);
  color: #6f7a92; text-align: center;
}
.ad-label {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #5d6880;
}
.ad-note { font-family: var(--font-mono); font-size: 0.68rem; color: #4d5871; }
.ad-slot.is-filled { border-style: solid; padding: 0; min-height: 0; background: none; }
.ad-slot--rectangle { max-width: 336px; min-height: 280px; }
@media (max-width: 520px) {
  .ad-slot { min-height: 100px; margin: 1.1rem auto 1.6rem; }
  .ad-slot--rectangle { min-height: 250px; }
}

/* cookie ------------------------------------------------------------ */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  max-width: 860px; margin-inline: auto;
  background: var(--ink-800); border: 2px solid var(--acid);
  border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 360px; font-size: 0.82rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie-actions .btn { padding: 0.45rem 0.8rem; font-size: 0.75rem; }

/* footer ------------------------------------------------------------ */
.site-footer { background: var(--ink-900); border-top: 2px solid var(--line); padding: 2.6rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-about p { color: var(--muted); font-size: 0.86rem; max-width: 40ch; }
.footer-small { font-size: 0.74rem !important; color: #6f7a92 !important; }
.brand--footer { margin-bottom: 0.8rem; }
.site-footer nav h2 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7f8aa1; margin-bottom: 0.7rem; }
.site-footer nav a { display: block; color: var(--muted); text-decoration: none; font-size: 0.86rem; padding: 0.18rem 0; }
.site-footer nav a:hover { color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.7rem; color: #6f7a92; }
.footer-bottom p { margin: 0; }

/* responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .game-hero-grid { grid-template-columns: 1fr; }
  .game-hero-cover { order: -1; max-width: 560px; }
  .split-section { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .wrap--narrow { width: min(100% - 1.6rem, var(--wrap)); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-900); border-bottom: 2px solid var(--line);
    padding: 0.4rem 1.2rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 42px; height: 42px; background: transparent; border: 2px solid var(--line);
    border-radius: 8px; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 18px; height: 2px; background: var(--paper); position: relative;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .hero { padding: 2.8rem 0 2.2rem; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .section { padding: 2.2rem 0; }
  .section-head { flex-direction: column; align-items: start; gap: 0.6rem; }
  .game-grid, .guide-grid, .guide-grid--two { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: 1fr; }
  .az-list li { grid-template-columns: 1fr; gap: 0.15rem; }
  .az-list em { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-form .btn { width: 100%; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
}

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