:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --text: #102033;
  --muted: #5e6f82;
  --line: #d9e5f2;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #16a34a;
  --shadow: 0 24px 80px rgba(15, 31, 55, 0.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #dbeafe 0, transparent 32rem), var(--bg);
  color: var(--text);
}
a { color: inherit; }
.site-header, .site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header { padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--brand), #7c3aed); box-shadow: var(--shadow); }
.nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a, .site-footer a { text-decoration: none; }
.nav a:hover, .site-footer a:hover { color: var(--brand); }
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr); gap: 28px; align-items: center; padding: 64px 0 44px; }
.hero-copy h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -0.07em; max-width: 850px; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.lead { margin: 24px 0 0; max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid transparent; }
.button.primary { color: white; background: var(--brand); }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { background: white; color: var(--text); border-color: var(--line); }
.hero-card { background: rgba(255,255,255,0.92); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.status-dot { display: inline-block; width: 14px; height: 14px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 8px rgba(22,163,74,0.12); }
.card-kicker { margin: 22px 0 6px; color: var(--muted); font-weight: 700; }
.hero-card h2 { margin: 0; font-size: 1.75rem; letter-spacing: -0.04em; }
.hero-card p:last-child { color: var(--muted); line-height: 1.65; }
.section { padding: 48px 0; }
.section-heading { max-width: 760px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.06em; }
.section-heading p:last-child { color: var(--muted); line-height: 1.65; }
.category-grid, .game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-card, .game-card, .content-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; text-decoration: none; box-shadow: 0 12px 32px rgba(15, 31, 55, 0.06); }
.category-card { display: flex; flex-direction: column; gap: 8px; }
.category-card span { font-size: 2rem; }
.category-card small, .game-card p, .content-card p, .content-card li { color: var(--muted); line-height: 1.65; }
.muted { margin-inline: -16px; padding-inline: 16px; border-radius: 32px; background: rgba(238, 246, 255, 0.74); }
.game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.thumb { min-height: 132px; border-radius: 18px; display: grid; place-items: center; color: white; font-size: 1.4rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.puzzle { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.arcade { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.racing { background: linear-gradient(135deg, #dc2626, #f97316); }
.action { background: linear-gradient(135deg, #111827, #475569); }
.casual { background: linear-gradient(135deg, #16a34a, #84cc16); }
.strategy { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.game-card h3 { margin: 18px 0 6px; }
.pill { display: inline-flex; margin-top: 8px; padding: 7px 11px; border-radius: 999px; background: #e0ecff; color: var(--brand-dark); font-weight: 800; font-size: 0.82rem; }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 40px; margin-top: 48px; color: var(--muted); }
.page-hero { padding: 56px 0 20px; }
.page-hero h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4.2rem); letter-spacing: -0.06em; }
.content-card { max-width: 860px; margin: 24px 0; }
.content-card h2 { margin-top: 28px; }
.content-card h2:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .site-header, .site-footer, .hero { flex-direction: column; align-items: flex-start; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .category-grid, .game-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .category-grid, .game-grid { grid-template-columns: 1fr; }
  .site-header, .site-footer, main { width: min(100% - 24px, 1120px); }
  .nav { gap: 10px; }
}
