:root {
  --bg: #121212;
  --surface: #1f1f1f;
  --text: #f5f5f5;
  --muted: #8c8c8c;
  --green: #7ed957;
  --green-dark: #10240a;
  --border: #2e2e2e;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

header.site a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

header.site img { width: 32px; height: 32px; border-radius: 8px; }

.lang a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.lang a:hover, .lang a:focus-visible { color: var(--text); border-color: var(--muted); }

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

a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero { text-align: center; padding: 48px 0 32px; }

.hero img.mascot { width: 128px; height: 128px; border-radius: 30px; }

h1 {
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.15;
  margin: 24px 0 12px;
  font-weight: 700;
}

h2 { font-size: 22px; margin: 40px 0 12px; font-weight: 700; }

h3 { font-size: 18px; margin: 28px 0 8px; font-weight: 600; }

p { margin: 0 0 14px; }

.lead { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 auto 20px; }

.pill {
  display: inline-block;
  background: var(--green);
  color: var(--green-dark);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 16px;
}

ul.games {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

ul.games li {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  font-weight: 600;
}

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

ul.plain { padding-left: 20px; margin: 0 0 14px; }

ul.plain li { margin-bottom: 6px; }

.meta { color: var(--muted); font-size: 15px; }

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

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

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