* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fredoka', sans-serif;
  background: #f0e6ff;
  min-height: 100vh;
  color: #2d1b4e;
}

header {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.1rem;
  color: #7c6b9a;
  margin-top: 0.5rem;
  font-weight: 400;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.18);
}

.game-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-icon img {
  width: 100%;
  height: 100%;
}

.game-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.game-card p {
  font-size: 0.95rem;
  color: #7c6b9a;
  line-height: 1.4;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
}
