/* Games hub */
.games-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--pad);
  padding-bottom: calc(var(--pad) + 1rem);
}

.games-page__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.games-page__nav a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--fg-dim);
}

.games-page__nav a:hover {
  color: var(--fg);
}

.games-page__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.games-page__intro {
  margin: 0 0 2.5rem;
  color: var(--fg-dim);
  max-width: 36rem;
}

.games-section {
  margin-bottom: 2.75rem;
}

.games-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.games-section__head h2 {
  margin: 0;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.games-section__count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-mute);
}

.game-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-list li + li {
  border-top: 1px solid var(--line);
}

.game-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 1rem 0;
  text-decoration: none;
  transition: opacity var(--ease);
}

.game-list a:hover {
  opacity: 0.85;
}

.game-list .game-title {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.game-list .game-blurb {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--fg-dim);
}

.game-list .game-go {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  align-self: start;
  padding-top: 0.2rem;
}

.game-list--empty {
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
