/* ============================
   Game Hub Section
   ============================ */

.game-hub {
  padding: 80px 0;
  background: radial-gradient(circle at top, #0b1120 0, #020617 55%, #020617 100%);
  color: #e5e7eb;
}

.game-hub-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.game-hub-header h2 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.game-hub-header p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #9ca3af;
}

/* Grid layout for game cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Individual game card */
.game-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.82));
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
}

.game-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.game-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.game-tagline {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.game-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  color: #e5e7eb;
  white-space: nowrap;
}

.game-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d1d5db;
}

/* Thumbnail */
.game-thumb {
  background: #020617;           /* dark background so letterboxing looks clean */
  border-radius: 18px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-thumb img {
  width: 100%;
  height: auto;                  /* no forced crop */
  max-height: 230px;             /* keeps card layout consistent */
  object-fit: contain;           /* show the whole image */
  border-radius: 12px;
  display: block;
}

/* Footer with button */
.game-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

/* Play button */
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #020617;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.play-btn ion-icon {
  font-size: 1rem;
}

.play-btn:hover {
  background: #020617;
  color: #f9fafb;
  border-color: #f97316;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
  transform: translateY(-1px);
}

.play-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.6);
}
/* FORCE thumbnail images to be fully visible */
.game-thumb {
  background: #020617 !important;
  border-radius: 18px !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
}

.game-thumb img {
  width: 100% !important;
  height: auto !important;
  max-height: 240px !important;
  object-fit: contain !important;  /* show whole image */
  border-radius: 12px !important;
}

/* ============================
   Responsive tweaks
   ============================ */

@media (max-width: 768px) {
  .game-hub {
    padding: 60px 0 50px;
  }

  .game-thumb img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .game-hub-header h2 {
    font-size: 1.7rem;
  }

  .game-thumb img {
    height: 140px;
  }

  .game-card {
    padding: 16px 14px 14px;
  }
}
@media (max-width: 768px) {
  .game-thumb img {
    max-height: 200px;
  }
}

