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

body {
  background: #0F1C06;
  color: #FAF7F0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  padding: 2rem 1rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #5D9C2D;
  letter-spacing: -0.02em;
}

header .subtitle {
  color: rgba(250, 247, 240, 0.5);
  font-size: 1rem;
  margin-top: 0.5rem;
}

main {
  max-width: 900px;
  margin: 0 auto;
}

.genre-section {
  margin-bottom: 2.5rem;
}

.genre-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #D4A030;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 160, 48, 0.2);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.game-card {
  display: block;
  background: rgba(93, 156, 45, 0.08);
  border: 1px solid rgba(93, 156, 45, 0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #FAF7F0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.15s ease;
  text-align: center;
}

.game-card:hover {
  background: rgba(93, 156, 45, 0.18);
  border-color: #5D9C2D;
  transform: translateY(-2px);
}

.game-card:active {
  transform: translateY(0);
}

.error-msg {
  text-align: center;
  color: rgba(250, 247, 240, 0.5);
  padding: 2rem;
}
