:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5f6b7a;
  --brand: #e7395f;
  --brand-dark: #a71f45;
  --panel: #ffffff;
  --line: #d9e0ea;
  --bg: #f6f8fb;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
  font-weight: 700;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 16px 20px;
}

.brand {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.page {
  margin: 0 auto;
  max-width: 1080px;
  padding: 42px 20px 56px;
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
  margin: 0 0 24px;
  max-width: 680px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  background: var(--brand);
  border-radius: 8px;
  color: #ffffff;
  display: inline-block;
  padding: 11px 16px;
  text-decoration: none;
}

.button.secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-image {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.section {
  margin-top: 44px;
}

.game-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.game-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.game-card h2,
.section h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.game-card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 20px 40px;
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
  }
}
