*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #0b0e1a;
  --paper: #f5efe2;
  --ember: #ff8f5a;
  --sky: #a9c4ff;
  --midnight: #11162a;
  --charcoal: #1d232b;
  --shadow: 0 30px 60px rgba(12, 14, 26, 0.3);
  --radius-lg: 22px;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at 10% 20%, #fff0d8 0%, #f2e6d2 40%, #d9d1bf 100%);
  color: var(--ink);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(255, 143, 90, 0.25), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(110, 140, 230, 0.2), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  padding: 0.9rem clamp(0.8rem, 2.5vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 36px;
}


.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 12px;
  color: rgba(17, 22, 42, 0.7);
  margin: 0 0 12px;
}

h1 {
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 12px;
}

.lede {
  margin: 0;
  font-size: 18px;
  color: rgba(17, 22, 42, 0.78);
  max-width: 520px;
}

.hero-card {
  background: rgba(17, 22, 42, 0.92);
  color: #f5efe2;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-stat strong {
  font-size: 22px;
  letter-spacing: 0.05em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  gap: 22px;
  justify-content: start;
}

.game-card {
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 22, 42, 0.08);
  display: grid;
  gap: 16px;
}

.card-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(17, 22, 42, 0.06);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(17, 22, 42, 0.75);
}

.pill.ghost {
  background: rgba(17, 22, 42, 0.04);
  border: 1px dashed rgba(17, 22, 42, 0.22);
}

.game-card h2 {
  margin: 0;
  font-size: 24px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
}

.btn.primary {
  background: linear-gradient(135deg, #ffb27c, #ff7f50);
  color: #2c1a0c;
  box-shadow: 0 16px 30px rgba(255, 127, 80, 0.35);
}

.btn.primary:hover {
  box-shadow: 0 18px 32px rgba(255, 127, 80, 0.38);
}

.meta {
  font-size: 13px;
  color: rgba(17, 22, 42, 0.65);
}

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

@media (max-width: 640px) {
  .card-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
