/* ============================================================
   Games Hub - Page-Specific Styles
   Extends the base design system from styles.css
   ============================================================ */

/* ============================================================
   1. Games Grid
   ============================================================ */
.games-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
  max-width: 560px;
}

/* Keep cards vertical in grid context */
.game-hub-card {
  flex-direction: column;
  text-align: center;
}

.game-hub-card .password-checker-desc {
  margin-bottom: var(--space-md);
}

/* ============================================================
   2. Back Link
   ============================================================ */
.games-back-link {
  display: inline-block;
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
}

.games-back-link:hover {
  color: var(--color-primary);
}

/* ============================================================
   3. Responsive — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .games-grid {
    flex-direction: row;
    max-width: 640px;
    gap: var(--space-lg);
  }

  .game-hub-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
  }
}
