/* ── Game History section ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s;
}

.game-card:hover { transform: translateY(-4px); }

.game-art {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.game-card:hover .game-art {
  border-color: var(--border-glow);
  box-shadow: var(--glow-sm);
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-art-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--bg-surface);
  color: var(--text-muted);
}

.game-name {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.game-date {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Countdown ── */
.countdown-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.5s ease both;
}

.countdown-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.4rem;
  background: rgba(200,135,74,0.06);
  border: 1px solid var(--border-glow);
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.countdown-label { color: var(--brown-light); font-weight: 500; }

.countdown-timer {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.04em;
  min-width: 90px;
  text-align: center;
}

.countdown-day { color: var(--text-muted); font-size: 0.78rem; }

@media (max-width: 900px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); gap: 0.75rem; }
  .countdown-card { flex-direction: column; gap: 0.3rem; text-align: center; padding: 0.75rem 1.2rem; }
}
