:root {
  --bg: #0d1522;
  --surface: #121d2d;
  --surface-soft: #172437;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #b8c2d1;
  --accent: #8fd3ff;
  --accent-strong: #dff46a;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b1320 0%, #0d1522 100%);
}

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-strong);
  color: #101720;
  font-family: "Bricolage Grotesque", sans-serif;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.hero {
  padding: 0 0 48px;
}

.eyebrow,
.pill {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.eyebrow {
  color: var(--accent);
  margin: 0 0 12px;
}

.section-heading h2,
.game-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
}

.hero-text {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #101720;
  background: var(--accent-strong);
  box-shadow: none;
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
}

.games-section,
.game-card,
.coming-soon {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.game-card p,
.game-facts,
.section-text,
.muted {
  color: var(--muted);
}

.games-section {
  padding: 32px;
  border-radius: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-text {
  margin: 10px 0 0;
  max-width: 40rem;
  line-height: 1.7;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: var(--surface-soft);
}

.game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.game-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(143, 211, 255, 0.12);
  color: var(--accent);
}

.game-card h3 {
  margin: 14px 0 12px;
  font-size: 2rem;
}

.game-card p {
  line-height: 1.7;
}

.game-facts {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
}

.game-card .button {
  margin-top: auto;
}

.coming-soon {
  margin-top: 20px;
  padding: 32px;
  border-radius: 24px;
}

.coming-soon h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.site-footer {
  padding-top: 24px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 940px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .topbar {
    margin-bottom: 44px;
  }

  .games-section {
    padding: 20px;
    border-radius: 20px;
  }

  .game-card img {
    aspect-ratio: 16 / 9;
  }

  .coming-soon {
    padding: 20px;
    border-radius: 20px;
  }
}