/* style.css */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #111;
  color: #f5f5f5;
}

.header {
  background: #000;
  color: gold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  font-size: 1.2rem;
}

.btn-login {
  background: gold;
  color: #000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-login:hover {
  background: #e5c100;
}

.hero {
  background: linear-gradient(to bottom, #222, #111);
  padding: 60px 20px;
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: gold;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2rem;
  color: #ccc;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

.game-card {
  background: #1c1c1c;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.game-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.game-title {
  padding: 10px;
  font-weight: bold;
  color: gold;
  font-size: 1rem;
}

.promo {
  background: #191919;
  padding: 40px 20px;
  text-align: center;
}

.promo h2 {
  color: gold;
  margin-bottom: 20px;
}

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.promo-item {
  background: #222;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid gold;
  text-align: left;
  color: #eee;
}

.footer {
  background: #000;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

#gameGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.game-item {
  width: 120px;
  text-align: center;
  background: #1e1e1e;
  padding: 10px;
  border-radius: 10px;
  color: white;
  transition: transform 0.3s;
}

.game-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 5px;
}

.game-item:hover {
  transform: scale(1.05);
  background: #292929;
}
