:root {
  color: #f5f7fa;
  background: #0d1014;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  --surface: #171b20;
  --surface-raised: #20262d;
  --line: #343c46;
  --muted: #a9b1bb;
  --accent: #f4c64f;
  --teal: #31c7b2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #0d1014;
  color: #f5f7fa;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 220px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 54px 0 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .95;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 6px;
  color: #dce4eb;
  font-size: 14px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(49, 199, 178, .12);
}

.featured {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr);
  margin: 34px 0 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.featured img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.featured h2 {
  margin-bottom: 18px;
  font-size: 38px;
  letter-spacing: 0;
}

.featured p:not(.kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.primary-button,
.game-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111419;
  font-weight: 800;
  text-decoration: none;
}

.primary-button { align-self: flex-start; margin-top: 12px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 { margin-bottom: 0; font-size: 32px; }
.section-heading > p { margin-bottom: 3px; color: var(--muted); }

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

.game-card {
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #252b33;
}

.game-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.meta {
  display: flex;
  gap: 14px;
  margin-bottom: 17px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.game-card h3 { margin-bottom: 10px; font-size: 22px; }
.game-card p { color: var(--muted); line-height: 1.55; }
.game-card a { align-self: stretch; margin-top: auto; background: transparent; color: var(--accent); }
.game-card a:hover, .primary-button:hover { background: #ffe089; color: #111419; }
.disabled-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 800;
  cursor: not-allowed;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 880px) {
  .featured { grid-template-columns: 1fr; }
  .featured img { min-height: 260px; max-height: 360px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 0; align-items: start; flex-direction: column; padding-top: 36px; }
  h1 { font-size: 42px; }
  .featured { margin-top: 20px; margin-bottom: 52px; }
  .featured-copy { padding: 26px; }
  .game-grid { grid-template-columns: 1fr; }
  .section-heading, footer { align-items: start; flex-direction: column; }
  .game-card { min-height: 0; }
}
