:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #191b20;
  --panel-hover: #20232a;
  --line: #2b2e36;
  --text: #f4f4f2;
  --muted: #9a9da6;
  --accent: #d7f36a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% -25%, rgba(215,243,106,.08), transparent 48%), var(--bg);
  color: var(--text);
}
.shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 58px);
  display: flex;
  flex-direction: column;
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none;
  font-size: 15px; font-weight: 850; letter-spacing: .16em;
}
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--accent); color: #171910;
  font-size: 19px; letter-spacing: 0;
}
.top-note, .eyebrow, .footer, .game-number, .category, .card-bottom {
  font-size: 10px; font-weight: 750; letter-spacing: .15em;
}
.top-note { color: var(--muted); }
.intro { margin: clamp(64px, 10vh, 112px) 0 38px; }
.eyebrow { color: var(--accent); margin: 0 0 16px; }
h1 {
  margin: 0; font-size: clamp(36px, 6vw, 68px);
  line-height: .98; letter-spacing: -.055em; font-weight: 780;
}
.lead { margin: 18px 0 0; color: var(--muted); font-size: clamp(14px, 1.6vw, 18px); }
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.game-card {
  min-height: 238px; padding: 22px;
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
  background: linear-gradient(145deg, #1c1f25, var(--panel));
  border: 1px solid var(--line); border-radius: 16px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  outline: none;
}
.game-card:hover, .game-card:focus-visible {
  transform: translateY(-4px); border-color: var(--accent); background: var(--panel-hover);
}
.game-card:focus-visible { box-shadow: 0 0 0 3px rgba(215,243,106,.2); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-number { color: var(--accent); }
.category { color: var(--muted); letter-spacing: .08em; text-align: right; }
.game-card h2 {
  margin: auto 0 10px; padding-top: 36px;
  font-size: clamp(21px, 2vw, 29px); letter-spacing: -.04em; line-height: 1.05;
}
.description { min-height: 42px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--text); font-size: 9px;
}
.arrow { color: var(--accent); font-size: 20px; line-height: 10px; }
.footer {
  margin-top: auto; padding-top: 54px; display: flex; justify-content: space-between;
  color: #666a73; font-size: 9px;
}
@media (max-width: 1050px) { .games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .shell { padding: 22px 18px 28px; }
  .top-note { font-size: 8px; letter-spacing: .1em; }
  .intro { margin: 66px 0 28px; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-card { min-height: 205px; padding: 16px; border-radius: 13px; }
  .game-card h2 { padding-top: 28px; font-size: clamp(18px, 5vw, 24px); }
  .description { font-size: 12px; }
  .category { font-size: 8px; }
  .card-bottom { margin-top: 18px; font-size: 8px; }
}
@media (max-width: 380px) {
  .games { grid-template-columns: 1fr; }
  .game-card { min-height: 175px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }