:root {
  --bg: #14161c;
  --surface: #1e212a;
  --text: #eceef3;
  --muted: #9aa0ae;
  --accent: #f2a541;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

.site-header, main, .site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 20px;
}

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

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
}
nav a:hover { color: var(--text); }

.hero {
  padding-block: 80px 60px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 34em;
}

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { filter: brightness(1.1); }

h2 { font-size: 1.6rem; margin: 0 0 20px; }

.games, .about { padding-block: 40px; }
.about p { color: var(--muted); max-width: 40em; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-4px); }

.card-art {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.35);
}
.card-art img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 0 0 4px; font-size: 1.25rem; }
.card-body p { margin: 0 0 14px; color: var(--muted); }

.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}
.tag.status { color: var(--text); background: rgba(242, 165, 65, 0.2); }

.card-link {
  margin-top: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.muted { color: var(--muted); }

.site-footer {
  padding-block: 40px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
}
