:root {
  --bg: #f4efe7;
  --bg-accent: #fff8ef;
  --surface: rgba(255, 249, 240, 0.82);
  --surface-strong: #fff7ed;
  --line: rgba(83, 53, 31, 0.14);
  --text: #2f2218;
  --muted: #715947;
  --brand: #b14f2c;
  --brand-deep: #7b2f16;
  --leaf: #386641;
  --gold: #dfa546;
  --shadow: 0 24px 60px rgba(82, 46, 21, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(223, 165, 70, 0.28), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(177, 79, 44, 0.16), transparent 22%),
    linear-gradient(180deg, #fbf5ed 0%, #f2e7da 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(82, 46, 21, 0.18));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 250, 244, 0.75);
  border: 1px solid var(--line);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.hero,
.games-section,
.coming-section {
  position: relative;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 28px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 165, 70, 0.28), transparent 68%);
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-deep);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  font-size: 1.8rem;
}

.hero-text,
.section-heading p,
.game-card p,
.coming-card p,
.status-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff8f1;
  box-shadow: 0 16px 28px rgba(123, 47, 22, 0.24);
}

.button-secondary {
  background: rgba(255, 248, 241, 0.85);
  border-color: rgba(123, 47, 22, 0.15);
  color: var(--text);
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.status-card,
.stat-grid article,
.game-card,
.coming-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(253, 246, 237, 0.84));
}

.status-card {
  padding: 22px;
}

.status-pill,
.game-tag,
.coming-label,
.game-domain {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill,
.game-tag,
.coming-label {
  padding: 8px 12px;
}

.status-pill {
  margin-bottom: 18px;
  color: var(--leaf);
  background: rgba(56, 102, 65, 0.12);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-grid article {
  padding: 18px 16px;
}

.stat-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 60ch;
  margin-bottom: 24px;
}

.section-heading p {
  margin: 0;
}

.game-grid,
.coming-grid {
  display: grid;
  gap: 18px;
}

.game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coming-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card,
.coming-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.game-card-featured {
  background:
    radial-gradient(circle at top right, rgba(223, 165, 70, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(251, 241, 228, 0.92));
}

.game-shot {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(83, 53, 31, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(82, 46, 21, 0.08);
  aspect-ratio: 4 / 3;
}

.game-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.game-shot-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(223, 165, 70, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(34, 47, 82, 0.96), rgba(17, 28, 50, 0.96));
}

.hex-preview {
  display: grid;
  gap: 10px;
  width: 100%;
  height: 100%;
  align-content: center;
  justify-items: start;
  padding: 24px;
  border-radius: 18px;
  color: #f8f5ef;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(60deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center;
}

.hex-preview h4 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
}

.hex-preview p {
  margin: 0;
  max-width: 22ch;
  color: rgba(248, 245, 239, 0.82);
  line-height: 1.5;
}

.hex-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 165, 70, 0.18);
  color: #ffd88b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.game-tag {
  color: var(--brand-deep);
  background: rgba(177, 79, 44, 0.12);
}

.game-domain {
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(113, 89, 71, 0.08);
}

.game-card p,
.coming-card p {
  margin: 0;
}

.game-blurb {
  margin-top: -4px;
  padding-top: 2px;
  border-top: 1px solid rgba(83, 53, 31, 0.08);
  font-size: 0.95rem;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.game-meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(56, 102, 65, 0.08);
  color: var(--leaf);
  font-size: 0.84rem;
  font-weight: 700;
}

.coming-label {
  color: var(--brand-deep);
  background: rgba(223, 165, 70, 0.16);
}

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

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 16px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .hero,
  .games-section,
  .coming-section {
    padding: 22px;
    border-radius: 24px;
  }

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

  .game-grid,
  .coming-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
