/* style/index-popular-games.css */
.page-index-popular-games {
  font-family: 'Arial', sans-serif;
  color: #f5e6d0; /* Light text for dark background */
  background-color: #0A192F; /* Main background color */
  line-height: 1.6;
}

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

.page-index-popular-games__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #1a355e 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-index-popular-games__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f5e6d0;
}

.page-index-popular-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-popular-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-index-popular-games__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text */
}

.page-index-popular-games__btn--primary:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-3px);
}

.page-index-popular-games__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index-popular-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-index-popular-games__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
  height: auto;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

.page-index-popular-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-index-popular-games__intro-section,
.page-index-popular-games__games-showcase,
.page-index-popular-games__why-choose,
.page-index-popular-games__bonus-section,
.page-index-popular-games__cta-section {
  padding: 80px 0;
  background-color: #0A192F;
}

.page-index-popular-games__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-index-popular-games__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f5e6d0; /* Light text */
  text-align: justify;
}

.page-index-popular-games__text-content .highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-index-popular-games__game-category {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  background-color: #1a2b47; /* Slightly lighter dark blue for categories */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games__game-category--reverse {
  flex-direction: row-reverse;
}

.page-index-popular-games__game-category-content {
  flex: 1;
}

.page-index-popular-games__game-category-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index-popular-games__game-category-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-popular-games__game-category-title {
  font-size: 2em;
  color: #FFD700; /* Gold for category titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-popular-games__game-category-description {
  font-size: 1.05em;
  color: #dcdcdc; /* Lighter grey for descriptions */
  margin-bottom: 30px;
  text-align: justify;
}

.page-index-popular-games__btn--category {
  background-color: #FFD700;
  color: #0A192F;
  padding: 12px 25px;
  font-size: 1em;
}

.page-index-popular-games__btn--category:hover {
  background-color: #e6c200;
}

.page-index-popular-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-popular-games__feature-item {
  background-color: #1a2b47;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index-popular-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-index-popular-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-index-popular-games__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-popular-games__feature-description {
  font-size: 1em;
  color: #dcdcdc;
  text-align: justify;
}

.page-index-popular-games__inline-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index-popular-games__inline-link:hover {
  text-decoration: underline;
}

.page-index-popular-games__bonus-section {
  background: linear-gradient(90deg, #0A192F 0%, #3e1f00 100%); /* Dark blue to dark gold gradient */
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-index-popular-games__bonus-section .page-index-popular-games__section-title {
  color: #FFD700;
}

.page-index-popular-games__bonus-steps {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-index-popular-games__bonus-steps li {
  background-color: rgba(255, 215, 0, 0.1); /* Semi-transparent gold background */
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f5e6d0;
}

.page-index-popular-games__bonus-steps li .highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-index-popular-games__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

.page-index-popular-games__bonus-image {
  max-width: 80%;
  height: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-popular-games__cta-section {
  text-align: center;
  background-color: #0A192F;
}

.page-index-popular-games__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-popular-games__hero-title {
    font-size: 2.8em;
  }

  .page-index-popular-games__hero-subtitle {
    font-size: 1.3em;
  }

  .page-index-popular-games__game-category {
    flex-direction: column;
    text-align: center;
  }

  .page-index-popular-games__game-category--reverse {
    flex-direction: column;
  }

  .page-index-popular-games__game-category-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 20px;
  }

  .page-index-popular-games__section-title {
    font-size: 2.2em;
  }

  .page-index-popular-games__game-category-title {
    font-size: 1.7em;
  }
}

@media (max-width: 768px) {
  .page-index-popular-games__hero-title {
    font-size: 2.2em;
  }

  .page-index-popular-games__hero-subtitle {
    font-size: 1.1em;
  }

  .page-index-popular-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-popular-games__btn {
    width: 80%;
    max-width: 300px;
  }

  .page-index-popular-games__intro-section,
  .page-index-popular-games__games-showcase,
  .page-index-popular-games__why-choose,
  .page-index-popular-games__bonus-section,
  .page-index-popular-games__cta-section {
    padding: 60px 0;
  }

  .page-index-popular-games__section-title {
    font-size: 1.8em;
  }

  .page-index-popular-games__game-category-title {
    font-size: 1.5em;
  }

  .page-index-popular-games__features-grid {
    grid-template-columns: 1fr;
  }

  .page-index-popular-games__bonus-steps {
    margin: 20px auto;
    padding: 0 10px;
  }

  .page-index-popular-games__bonus-steps li {
    font-size: 1em;
  }

  .page-index-popular-games__btn--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-index-popular-games__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games__hero-title {
    font-size: 1.8em;
  }

  .page-index-popular-games__hero-subtitle {
    font-size: 1em;
  }

  .page-index-popular-games__section-title {
    font-size: 1.5em;
  }

  .page-index-popular-games__game-category-title {
    font-size: 1.3em;
  }

  .page-index-popular-games__text-content,
  .page-index-popular-games__game-category-description,
  .page-index-popular-games__feature-description {
    font-size: 0.95em;
  }
}