/* Games Page Specific Styles */

.games-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/games-banner.jpg");
  background-size: cover;
  background-position: center;
}

/* Games Filter */
.games-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 15px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  color: #555;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: #eee;
}

.filter-btn.active {
  background-color: #e73323;
  color: #fff;
  border-color: #e73323;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.game-item {
  transition: all 0.3s ease;
}

.game-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-image {
  position: relative;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.view-btn,
.topup-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.view-btn {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.view-btn:hover {
  background-color: #fff;
  color: #333;
}

.topup-btn {
  background-color: #e73323;
  color: #fff;
  border: none;
}

.topup-btn:hover {
  background-color: #d62c1a;
  transform: translateY(-2px);
}

.game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.tag {
  background-color: #f5f5f5;
  color: #555;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.game-info p {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Coming Soon Section */
.coming-soon {
  margin-bottom: 50px;
}

.coming-soon-games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.coming-soon-game {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.coming-soon-game img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.coming-soon-info {
  padding: 20px;
}

.coming-soon-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.coming-soon-info p {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.release-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.notify-btn {
  background-color: #e73323;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.notify-btn:hover {
  background-color: #d62c1a;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .coming-soon-games {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .games-grid {
    grid-template-columns: 1fr;
  }

  .games-filter {
    justify-content: center;
  }
}

