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

body {
  font-family: 'Poppins', sans-serif;
  background: #0a2615;
  min-height: 100vh;
  color: #ffffff;
}

.header {
  background: linear-gradient(90deg, #0d3d1f 0%, #155d2e 100%);
  padding: 15px 0;
  border-bottom: 3px solid #FFD700;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.header-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.btn {
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.95em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-outline {
  border: 2px solid #FFD700;
  color: #FFD700;
  background: transparent;
}

.btn-outline.active {
  background: #FFD700;
  color: #0d3d1f;
}

.btn-filled {
  background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
  color: #0d3d1f;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255,215,0,0.3); }

.hero {
  background: linear-gradient(135deg, #155d2e 0%, #0d3d1f 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #FFD700 0%, #fff 50%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2em;
  color: #b8b8b8;
  max-width: 760px;
  margin: 0 auto 30px;
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-number { font-size: 2.5em; font-weight: 700; color: #FFD700; }
.stat-label { font-size: 0.9em; color: #b8b8b8; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

.search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 30px;
}

.search-box input {
  width: 100%;
  padding: 18px 25px 18px 55px;
  font-size: 1.1em;
  border: 2px solid #1e7a3e;
  border-radius: 50px;
  background: #155d2e;
  color: #ffffff;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.search-box input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 30px rgba(255,215,0,0.2);
}

.search-box input::placeholder { color: #b8b8b8; }

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
}

.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 20px;
  background: #155d2e;
  border-radius: 15px;
  border: 1px solid #1e7a3e;
}

.alphabet-nav a,
.alphabet-nav span {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: #1e7a3e;
  color: #ffffff;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alphabet-nav a:hover {
  background: #FFD700;
  color: #0d3d1f;
  transform: scale(1.1);
}

.alphabet-nav a.active {
  background: #FFD700;
  color: #0d3d1f;
}

.alphabet-nav span.disabled { opacity: 0.3; cursor: not-allowed; }

.alphabet-nav a.show-all {
  width: auto;
  padding: 0 20px;
  background: #2ecc71;
  color: #0d3d1f;
}

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: #155d2e;
  border-radius: 10px;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid #1e7a3e;
}

.results-info span { color: #b8b8b8; }
.results-info strong { color: #FFD700; }

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

.game-card {
  background: linear-gradient(135deg, #155d2e 0%, #0d3d1f 100%);
  border: 1px solid #1e7a3e;
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-card:hover {
  border-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #1e7a3e 0%, #155d2e 100%);
}

.game-card .vs-badge {
  background: #FFD700;
  color: #0d3d1f;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.8em;
  flex-shrink: 0;
}

.game-card .vs-badge.review {
  background: #2ecc71;
  color: #0d3d1f;
}

.game-card .game-names { font-size: 0.95em; line-height: 1.4; }
.game-card .game-names strong { color: #FFD700; }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: #155d2e;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}

.pagination a:hover {
  background: #FFD700;
  color: #0d3d1f;
}

.pagination a.active,
.pagination span.active {
  background: #FFD700;
  color: #0d3d1f;
}

.pagination .disabled { opacity: 0.4; cursor: not-allowed; }
.pagination .ellipsis { background: transparent; padding: 0 6px; }

.footer {
  background: #0d3d1f;
  border-top: 1px solid #1e7a3e;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.footer p { color: #b8b8b8; font-size: 0.9em; }
.footer a { color: #FFD700; text-decoration: none; }

.no-results { text-align: center; padding: 80px 20px; }
.no-results .icon { font-size: 4em; margin-bottom: 20px; }
.no-results h3 { font-size: 1.5em; margin-bottom: 10px; }
.no-results p { color: #b8b8b8; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2em; }
  .header-buttons { display: none; }
  .games-grid { grid-template-columns: 1fr; }
  .alphabet-nav a,
  .alphabet-nav span { width: 36px; height: 36px; font-size: 0.9em; }
  .stat-number { font-size: 2em; }
}
