/* Шрифты системные, ничего с чужих CDN: IP посетителя не уходит за границу, cookie-баннер не нужен. */
:root {
  --bg: #0b0b12; --fg: #f1f1f6; --muted: #a3a3b5; --line: #24243a; --card: #13131d;
  --a1: #7c6cff; --a2: #22d3c5; --ok: #4ade80; --bad: #fbbf24; --r: 20px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f6fb; --fg: #13131b; --muted: #5d5d70; --line: #e2e2ee; --card: #ffffff;
    --a1: #5b4cf0; --a2: #0ea5a0; --ok: #16a34a; --bad: #d97706; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); overflow-x: hidden;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: inherit; }
code { font: .9em ui-monospace, "Cascadia Code", Consolas, monospace; padding: 1px 6px;
  border-radius: 6px; background: color-mix(in srgb, var(--a1) 14%, transparent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Фон: сетка + два пятна света */
.bg { position: absolute; inset: 0 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at 20% 20%, color-mix(in srgb, var(--a1) 40%, transparent), transparent 70%),
    radial-gradient(35% 35% at 85% 10%, color-mix(in srgb, var(--a2) 30%, transparent), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent); opacity: .55; }

.top { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 21px;
  letter-spacing: -.02em; text-decoration: none; }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--fg); }

.hero { padding-top: 96px; padding-bottom: 120px; }
h1 { font-size: clamp(40px, 8vw, 80px); line-height: 1; letter-spacing: -.04em; margin: 0 0 24px;
  max-width: 820px;
  background: linear-gradient(120deg, var(--fg) 30%, var(--a1) 70%, var(--a2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 600px; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600;
  transition: transform .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); border-color: var(--a1); }
.btn.primary { border: 0; color: #fff; background: linear-gradient(135deg, var(--a1), var(--a2)); }

section + section { margin-top: 120px; }
.title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 640px; margin: 0 0 32px; }
#games .title { margin-bottom: 28px; }

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.game { display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.game:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a1) 60%, var(--line));
  box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--a1) 50%, transparent); }
.cover { display: grid; place-items: center; aspect-ratio: 16 / 9; font-size: 64px; }
.cover span { filter: drop-shadow(0 8px 16px rgb(0 0 0 / .35)); }
.cover-ke { background: radial-gradient(circle at 30% 20%, #f472b6, transparent 60%), linear-gradient(135deg, #6d28d9, #db2777); }
.cover-egg { background: radial-gradient(circle at 70% 25%, #fde68a, transparent 55%), linear-gradient(135deg, #16a34a, #84cc16); }
.game-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.game-name { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.game-text { color: var(--muted); font-size: 15px; flex: 1; }
.game-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.tag { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: var(--a2); background: color-mix(in srgb, var(--a2) 14%, transparent); }
.more { font-size: 14px; color: var(--muted); margin-left: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.status { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 0; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status.ok .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.status.bad .dot { background: var(--bad); }

.en p { color: var(--muted); max-width: 680px; margin: 0; }

footer { display: flex; justify-content: space-between; margin-top: 120px; padding-top: 28px;
  padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
