:root {
  --bg: #121316;
  --fg: #ececf1;
  --muted: #8b8d98;
  --line: #26272e;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; }
.brand img { width: 28px; height: 28px; }
nav a { margin-left: 28px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
nav a:hover, nav a[aria-current] { color: var(--fg); }

.hero { padding-block: 112px 96px; }
.hero h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1; letter-spacing: -.03em; margin: 0 0 24px; font-weight: 800; }
.hero p { font-size: 20px; color: var(--muted); max-width: 540px; margin: 0; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 32px; font-weight: 700; }

.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 32px 24px; }
.game img { width: 100%; aspect-ratio: 1; border-radius: 22%; display: block; transition: transform .15s ease; }
.game:hover img { transform: translateY(-3px); }
.game h3 { font-size: 16px; margin: 14px 0 2px; font-weight: 700; }
.game p { margin: 0; color: var(--muted); font-size: 14px; }

.news { display: flex; gap: 24px; color: var(--muted); }
.news time { flex: none; width: 96px; font-variant-numeric: tabular-nums; }

.page { padding-block: 96px 128px; min-height: 60vh; }
.page h1 { font-size: 40px; letter-spacing: -.02em; margin: 0 0 24px; font-weight: 800; }
.page p { max-width: 560px; color: var(--muted); font-size: 18px; }
.page a { color: var(--fg); border-bottom: 1px solid var(--line); }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer nav a { margin: 0 24px 0 0; }

@media (max-width: 640px) {
  nav a { margin-left: 18px; }
  .hero { padding-block: 72px 64px; }
  .brand span { display: none; }
  .games { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 24px 16px; }
}
