/* style/index-popular-games.css */
.page-index-popular-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background for readability */
}

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

.page-index-popular-games__section-title {
  font-size: 2.5em;
  color: #0056b3; /* Darker primary for headings */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: bold;
}

.page-index-popular-games__brand {
  color: #ff8400; /* Complementary color for emphasis */
}

.page-index-popular-games__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #495057;
  text-align: justify;
}

.page-index-popular-games__text--center {
  text-align: center;
}

.page-index-popular-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 1.05em;
}

.page-index-popular-games__btn--primary {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
}

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

.page-index-popular-games__btn--secondary {
  background-color: #ffc107; /* Accent color */
  color: #212529;
}

.page-index-popular-games__btn--secondary:hover {
  background-color: #e0a800; /* Darker accent on hover */
  transform: translateY(-2px);
}

/* Hero Section */
.page-index-popular-games__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff); /* Gradient using primary and lighter variant */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e9ecef;
}

.page-index-popular-games__hero .page-index-popular-games__btn {
  margin-top: 20px;
}

.page-index-popular-games__hero-image {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  opacity: 0.2;
  z-index: 0;
}

/* Intro Section */
.page-index-popular-games__intro {
  padding: 60px 0;
  background-color: #ffffff;
}

/* Featured Games Section */
.page-index-popular-games__featured-games {
  padding: 60px 0;
  background-color: #f0f8ff; /* Light blue background */
}

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

.page-index-popular-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-popular-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-popular-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index-popular-games__game-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-popular-games__game-title a {
  color: #007bff;
  text-decoration: none;
}

.page-index-popular-games__game-title a:hover {
  text-decoration: underline;
}

.page-index-popular-games__game-description {
  font-size: 0.95em;
  color: #6c757d;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-index-popular-games__game-card .page-index-popular-games__btn {
  margin-top: 15px;
}

/* Offers Section */
.page-index-popular-games__offers {
  padding: 60px 0;
  background-color: #ffe0b3; /* Lighter accent background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games__offer-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 900px;
  opacity: 0.1;
  z-index: 0;
}

.page-index-popular-games__offers .page-index-popular-games__section-title,
.page-index-popular-games__offers .page-index-popular-games__text,
.page-index-popular-games__offers .page-index-popular-games__btn {
  position: relative;
  z-index: 1;
}

/* Get Started Section */
.page-index-popular-games__get-started {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-index-popular-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-index-popular-games__step-item {
  background-color: #f8f9fa;
  border-left: 5px solid #007bff;
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-popular-games__step-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index-popular-games__step-description {
  font-size: 1em;
  color: #555;
}

.page-index-popular-games__step-description a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-index-popular-games__step-description a:hover {
  text-decoration: underline;
}

.page-index-popular-games__get-started-image {
  margin-top: 40px;
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Trust Section */
.page-index-popular-games__trust {
  padding: 60px 0;
  background-color: #e9f7ff; /* Lighter primary background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games__trust-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  opacity: 0.08;
  z-index: 0;
}

.page-index-popular-games__trust .page-index-popular-games__section-title,
.page-index-popular-games__trust .page-index-popular-games__text,
.page-index-popular-games__trust .page-index-popular-games__btn {
  position: relative;
  z-index: 1;
}

/* CTA Section */
.page-index-popular-games__cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0056b3, #007bff); /* Darker to primary gradient */
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-index-popular-games__cta-image {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  opacity: 0.2;
  z-index: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-popular-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-popular-games__section-title {
    font-size: 2em;
  }
  .page-index-popular-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-popular-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-popular-games__hero-description {
    font-size: 1.1em;
  }
  .page-index-popular-games__section-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-index-popular-games__step-list {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .page-index-popular-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__hero-description {
    font-size: 1em;
  }
  .page-index-popular-games__section-title {
    font-size: 1.5em;
  }
  .page-index-popular-games__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-index-popular-games__hero,
  .page-index-popular-games__intro,
  .page-index-popular-games__featured-games,
  .page-index-popular-games__offers,
  .page-index-popular-games__get-started,
  .page-index-popular-games__trust,
  .page-index-popular-games__cta {
    padding: 40px 0;
  }
}