/* ── Page hero ────────────────────────────────────────────────────────── */
.ph {
  position: relative;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 360px at 90% -10%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%);
  pointer-events: none; z-index: 0;
}
.ph-inner { position: relative; z-index: 1; }
.ph h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1; letter-spacing: -.035em; font-weight: 700;
}
.ph .lede {
  margin: 0; max-width: 52ch;
  font-size: 17px; color: var(--ink-2); line-height: 1.55;
}

/* ── Game list ────────────────────────────────────────────────────────── */
.games-list { padding: 64px 0 96px; border-bottom: 1px solid var(--hairline); }

.game {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0;
  background: var(--card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}
.game-art {
  position: relative;
  background: #0a0907;
  overflow: hidden;
  min-height: 380px;
}
.game-art-link {
  position: absolute; inset: 0;
  display: block;
  z-index: 0;
}
.game-art-link img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.game:hover .game-art-link img { transform: scale(1.03); }
.game-art .corner {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 6px; align-items: center;
  z-index: 2;
}
.game-art .corner .pill {
  font-family: var(--font-mono); font-size: 11px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(20,17,13,.78); color: white;
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px;
}
.game-art .corner .pill i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}

/* Mini-gallery on the right side of the cover. Each child is a lightbox
   trigger (data-lightbox-group on .mini); cursor: zoom-in comes from base. */
.game-art .mini {
  position: absolute; right: 14px; top: 14px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
}
.game-art .mini > * { display: block; line-height: 0; }
.game-art .mini .cap { display: none; }
.game-art .mini img {
  width: 88px; height: 50px; object-fit: cover; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  opacity: .88; transition: opacity .2s, transform .2s;
}
.game-art .mini > *:hover img { opacity: 1; transform: scale(1.04); }

.game-body {
  padding: 36px 40px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 14px;
}
.game-body .label {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--muted);
}
.game-body .label b { color: var(--ink); font-weight: 600; }
.game-body h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.04; letter-spacing: -.025em; font-weight: 700;
}
.game-body .sub {
  margin: -4px 0 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
.game-body .blurb {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 16px; line-height: 1.55;
  max-width: 42ch;
}
.game-body .actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}

/* ── Coming next placeholder ──────────────────────────────────────────── */
.next {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: var(--paper-2);
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.next .art {
  min-height: 240px;
  background:
    repeating-linear-gradient(45deg,
      var(--paper) 0 12px,
      var(--paper-2) 12px 24px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: var(--font-mono); font-size: 13px;
  position: relative;
}
.next .art::before {
  content: "/* placeholder */";
  color: var(--muted);
  font-family: var(--font-mono); font-size: 13px;
  background: var(--paper);
  padding: 8px 14px; border-radius: 7px;
  border: 1px solid var(--hairline);
}
.next-body {
  padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.next-body .label {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
}
.next-body .label b { color: var(--ink); font-weight: 600; }
.next-body h3 {
  margin: 0;
  font-size: 28px; font-weight: 700; letter-spacing: -.02em;
  line-height: 1.1;
}
.next-body p {
  margin: 0; color: var(--muted); font-size: 15px; max-width: 40ch; line-height: 1.55;
}
.next-body .row {
  margin-top: 10px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.next-body .row a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-2);
  transition: border-color .15s, color .15s, transform .15s;
}
.next-body .row a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .ph { padding: 52px 0 48px; }
  .game { grid-template-columns: 1fr; }
  .game-art { aspect-ratio: 16/9; min-height: 0; }
  .game-art .mini { display: none; }
  .game-body { padding: 28px; }
  .next { grid-template-columns: 1fr; }
  .next-body { padding: 22px 24px; }
}
@media (max-width: 560px) {
  .ph h1 { font-size: 44px; }
}
