:root {
  --bg: #0d1117;
  --surface: #161b24;
  --line: #262d3a;
  --text: #e8ecf1;
  --muted: #9aa4b2;
  --accent: #c8f04b;
  --accent-ink: #11140a;
  --max: 46rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  color: var(--text); text-decoration: none; font-weight: 800;
  letter-spacing: 0.08em; font-size: 1.15rem;
}
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .lang {
  color: var(--accent); border: 1px solid var(--line);
  padding: 0 0.55rem; border-radius: 999px;
}

/* Content */
main { padding: 2.5rem 0 3.5rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
.lead { color: var(--muted); font-size: 1.15rem; }
.meta { color: var(--muted); font-size: 0.95rem; }

/* Game card */
.game {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 1rem; padding: 1.5rem; margin: 2rem 0;
}
.game img { width: 140px; height: auto; flex-shrink: 0; }
.game h2 { margin-top: 0; }
.badge {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.15rem 0.6rem; border-radius: 999px; margin-bottom: 0.5rem;
}
.game p:last-child { margin-bottom: 0; }

@media (max-width: 34rem) {
  .game { flex-direction: column; text-align: center; }
  .game img { width: 120px; }
  h1 { font-size: 1.65rem; }
}

/* FAQ */
details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 0.75rem; padding: 0.9rem 1.1rem; margin-bottom: 0.75rem;
}
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 0.5rem; }
details p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { padding-top: 1.5rem; padding-bottom: 2rem; }
.site-footer p { margin: 0 0 0.25rem; }
