/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Background and layout */
body {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
header {
  text-align: center;
  margin: 40px 0 20px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.8;
}

/* Games Grid */
.games-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  padding: 10px;
  width: 90%;
  max-width: 900px;
}

/* ...existing code... */

/* ...existing code... */

/* Game Card */
.game-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 20px;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.game-card p {
  margin-top: 10px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ...existing code... */

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: auto;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Mobile responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  .games-container {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}
