/* style/games.css */
.page-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark background */
  background-color: #0d1134; /* Darker variant of main color for overall background */
}

.page-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-games__hero-section {
  background: linear-gradient(135deg, #1A237E, #0d1134);
  padding: 100px 0;
  text-align: center;
  color: #fff;
  border-bottom: 5px solid #FFD700;
}

.page-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-games__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-games__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #1A237E;
  border-radius: 2px;
}

.page-games__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-games__overview-section {
  padding: 80px 0;
  background-color: #1A237E;
}

.page-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-games__grid-item {
  background-color: #2a338d; /* Slightly lighter indigo for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.page-games__grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-games__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-games__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-games__game-desc {
  font-size: 1em;
  color: #e0e0e0;
}

.page-games__details-list {
  padding: 80px 0;
  background-color: #0d1134;
}

.page-games__list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-games__list-item {
  background-color: #1A237E;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.page-games__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-games__item-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-games__item-title a {
  color: #FFD700; /* Gold for detail page titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-games__item-title a:hover {
  color: #fff;
}

.page-games__item-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-games__why-choose-us {
  padding: 80px 0;
  background-color: #1A237E;
}

.page-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-games__feature-item {
  background-color: #2a338d;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #FFD700;
}

.page-games__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-games__feature-title {
  font-size: 1.7em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-games__feature-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-games__cta-section {
  background: linear-gradient(45deg, #1A237E, #0d1134);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  border-top: 5px solid #FFD700;
}

.page-games__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-games__cta-text {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-games__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-games__btn--primary {
  background-color: #FFD700;
  color: #1A237E; /* Dark text on gold button */
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-games__btn--primary:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-games__btn--secondary {
  background-color: #1A237E;
  color: #FFD700; /* Gold text on indigo button */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 10px rgba(26, 35, 126, 0.4);
}

.page-games__btn--secondary:hover {
  background-color: #0d1134;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(26, 35, 126, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games__hero-title {
    font-size: 2.8em;
  }
  .page-games__section-title {
    font-size: 2.2em;
  }
  .page-games__grid, .page-games__list-grid, .page-games__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-games__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-games__hero-section, .page-games__overview-section, .page-games__details-list, .page-games__why-choose-us, .page-games__cta-section {
    padding: 60px 0;
  }
  .page-games__hero-title {
    font-size: 2.2em;
  }
  .page-games__hero-subtitle {
    font-size: 1.1em;
  }
  .page-games__section-title {
    font-size: 1.8em;
  }
  .page-games__grid, .page-games__list-grid, .page-games__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-games__cta-title {
    font-size: 1.8em;
  }
  .page-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-games__btn {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-games__hero-title {
    font-size: 1.8em;
  }
  .page-games__section-title {
    font-size: 1.5em;
  }
  .page-games__game-title, .page-games__item-title, .page-games__feature-title {
    font-size: 1.4em;
  }
  .page-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}