/* ══════════════════════════════════════════════════════════
   GAMES.CSS — Styles specific to games.html
   Page header, filter bar, games grid, game cards
   ══════════════════════════════════════════════════════════ */

/* ── HEADER ── */
.page-header {
  background: var(--ink);
  padding: 120px 80px 64px;
  border-bottom: 3px solid var(--amber);
}
.ph-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.ph-kicker::before { content: ''; width: 28px; height: 2px; background: var(--amber); }
.ph-hed {
  font-family: 'EB Garamond', serif;
  font-size: clamp(36px, 5vw, 68px); font-weight: 400; line-height: .98;
  color: var(--cream); letter-spacing: -.01em; margin-bottom: 20px;
}
.ph-hed em { color: var(--amber); font-style: italic; }
.ph-sub {
  font-family: 'EB Garamond', serif;
  font-size: clamp(15px, 1.7vw, 19px); line-height: 1.7;
  color: var(--muted); max-width: 540px;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--bg); padding: 0 80px;
  border-bottom: 1px solid #d8d4c8;
  display: flex; align-items: center; gap: 0;
  overflow-x: auto;
}
.filter-btn {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #999; background: none; border: none; border-bottom: 3px solid transparent;
  padding: 16px 20px; cursor: pointer; white-space: nowrap;
  transition: color .14s, border-color .14s;
}
.filter-btn:hover  { color: #555; }
.filter-btn.active { color: var(--ink); border-bottom-color: var(--amber); }

/* ── GAMES GRID ── */
.games-body {
  background: var(--bg); padding: 52px 80px 80px;
}
.games-count {
  font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #aaa; margin-bottom: 24px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px; background: #d4d0c8;
  border: 1px solid #d4d0c8;
}

/* ── GAME CARD ── */
.game-card {
  background: var(--white); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .12s;
  position: relative;
}
.game-card.live:hover { background: #fffef8; }
.game-card.coming { background: #f7f5f0; }
.game-card.coming * { cursor: default; }

.gc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gc-num {
  font-size: 8px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: #bbb;
}
.gc-badge-live {
  font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: rgba(46,125,90,.1); padding: 3px 8px;
}
.gc-badge-coming {
  font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #bbb; background: rgba(0,0,0,.05); padding: 3px 8px;
}

.gc-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(24px, 2.5vw, 30px); font-weight: 400;
  color: var(--ink); line-height: 1.1;
}
.gc-title em { font-style: italic; color: var(--amber); }
.game-card.coming .gc-title { color: #888; }

.gc-domain {
  font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber);
}
.game-card.coming .gc-domain { color: #bbb; }

.gc-hook {
  font-family: 'EB Garamond', serif; font-style: italic;
  font-size: clamp(14px, 1.4vw, 16px); line-height: 1.65;
  color: var(--mid); flex: 1;
}
.game-card.coming .gc-hook { color: #aaa; }

.gc-meta {
  display: flex; gap: 16px; padding-top: 12px;
  border-top: 1px solid #eee;
}
.gc-meta-item {
  font-size: 9px; color: #bbb;
}
.gc-meta-item strong { color: #888; font-weight: 700; }

.gc-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.gc-skill {
  font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #999; background: #f0ede6; padding: 3px 7px;
}
.game-card.live .gc-skill { color: #666; background: rgba(46,125,90,.07); }

.gc-cta { margin-top: 4px; }
.btn-play {
  display: inline-block; background: var(--ink); color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 22px; text-decoration: none;
  transition: background .14s;
}
.btn-play:hover { background: var(--amber); color: var(--ink); }
.btn-disabled {
  display: inline-block; background: rgba(0,0,0,.06); color: #bbb;
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 22px; cursor: not-allowed;
}

/* Pathway tags on card */
.gc-paths { display: flex; flex-wrap: wrap; gap: 4px; }
.gc-path-tag {
  font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal); background: rgba(77,105,109,.1); padding: 2px 7px;
}

/* ── RESPONSIVE — games ──────────────────────────────── */
@media (max-width: 800px) {
  .page-header { padding: 80px 24px 48px; }
  .filter-bar { padding: 0 24px; }
  .games-body { padding: 36px 24px 60px; }
}
