:root {
  --bg: #f6f3fb;
  --surface: #ffffff;
  --text: #1f1b2e;
  --muted: #5d5872;
  --accent: #e8574a;
  --accent-2: #f2a541;
  --border: #e3dcef;
  --hero-from: #3b2a6b;
  --hero-to: #f08a5d;
  --hero-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14111f;
    --surface: #1e1a2e;
    --text: #ece8f6;
    --muted: #a8a2bd;
    --accent: #ff7a6b;
    --accent-2: #ffbd5c;
    --border: #2f2945;
    --hero-from: #221846;
    --hero-to: #8a3f4f;
  }
}

* { 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, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); }

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

header.hero {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: var(--hero-text);
  padding: 64px 0 56px;
}

header.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.02em;
}

header.hero p { margin: 0; font-size: 1.15rem; opacity: 0.9; }

header.slim {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  padding: 20px 0;
}

header.slim a {
  color: var(--hero-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

main { padding: 40px 0 56px; }

h2 { margin-top: 2.2em; font-size: 1.35rem; }
h3 { margin-top: 1.6em; font-size: 1.1rem; }

.game {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.game img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  flex-shrink: 0;
}

.game h3 { margin: 0 0 4px; }
.game p { margin: 0 0 12px; color: var(--muted); }

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--muted);
}

.meta { color: var(--muted); }

ul { padding-left: 1.3em; }

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: var(--muted); }

@media (max-width: 520px) {
  .game { flex-direction: column; text-align: center; }
}
