:root {
  --bg: #0e1020;
  --surface: #171a30;
  --text: #eceefb;
  --muted: #9aa0c3;
  --accent: #f2b84b;
  --radius: 14px;
  --max: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

header.site {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

nav a {
  margin-left: 20px;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover { color: var(--text); }

.hero { padding: 72px 0 48px; }

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

section { padding: 40px 0; }

h2 { font-size: 1.5rem; margin: 0 0 24px; }

.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.game {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
}

.game img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: block;
  margin-bottom: 14px;
}

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

.game .sub {
  margin: -2px 0 10px;
  font-size: 0.9rem;
}

.shots {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 14px;
  padding-bottom: 6px;
}

.game .shots img {
  width: auto;
  height: 180px;
  margin: 0;
  border-radius: 10px;
  flex: 0 0 auto;
}

.badges a {
  display: inline-block;
  margin-right: 10px;
  font-size: 0.9rem;
}

.prose { max-width: 720px; }
.prose h2 { margin-top: 36px; font-size: 1.2rem; }
.prose p, .prose li { color: var(--muted); }

footer.site {
  padding: 32px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

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