/* style/index-featured-games.css */
.page-index-featured-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-index-featured-games .highlight {
  color: #003366;
}

.page-index-featured-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-index-featured-games__btn--primary {
  background-color: #FFCC00;
  color: #003366;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
}

.page-index-featured-games__btn--primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.6);
}

.page-index-featured-games__btn--secondary {
  background-color: #003366;
  color: #FFCC00;
  border: 2px solid #FFCC00;
  margin-left: 15px;
}

.page-index-featured-games__btn--secondary:hover {
  background-color: #002244;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.page-index-featured-games__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: #FFCC00;
  color: #003366;
}

.page-index-featured-games__btn--small:hover {
  background-color: #e6b800;
}

.page-index-featured-games__btn--play, .page-index-featured-games__btn--claim {
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 6px;
  background-color: #FFCC00;
  color: #003366;
  margin-top: 15px;
}

.page-index-featured-games__btn--play:hover, .page-index-featured-games__btn--claim:hover {
  background-color: #e6b800;
  transform: translateY(-1px);
}

/* Hero Section */
.page-index-featured-games__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #003366 0%, #002244 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.page-index-featured-games__hero-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: left;
}

.page-index-featured-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.page-index-featured-games__hero-title .highlight {
  color: #FFCC00;
}

.page-index-featured-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-index-featured-games__hero-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-index-featured-games__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-featured-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-index-featured-games__introduction,
.page-index-featured-games__game-categories,
.page-index-featured-games__featured-games,
.page-index-featured-games__offers,
.page-index-featured-games__guide,
.page-index-featured-games__why-choose,
.page-index-featured-games__faq,
.page-index-featured-games__cta-bottom {
  padding: 60px 0;
}

.page-index-featured-games__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-index-featured-games__section-subtitle {
  font-size: 1.2em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Game Categories */
.page-index-featured-games__game-categories {
  background-color: #f0f4f8;
}

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

.page-index-featured-games__category-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-featured-games__category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-featured-games__category-image {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-featured-games__category-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-featured-games__category-description {
  color: #666;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Featured Games */
.page-index-featured-games__featured-games {
  background-color: #fff;
}

.page-index-featured-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-index-featured-games__game-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-index-featured-games__game-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-featured-games__game-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 10px;
}

.page-index-featured-games__game-description {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1;
}

.page-index-featured-games__more-games-cta {
  text-align: center;
  margin-top: 50px;
}

/* Offers Section */
.page-index-featured-games__offers {
  background-color: #f0f4f8;
}

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

.page-index-featured-games__offer-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-featured-games__offer-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-featured-games__offer-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-index-featured-games__offer-description {
  color: #666;
  font-size: 1em;
  margin-bottom: 25px;
  padding: 0 20px;
}

/* Guide Section */
.page-index-featured-games__guide {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-featured-games__guide .page-index-featured-games__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.page-index-featured-games__guide-steps {
  flex: 1;
  min-width: 300px;
  margin-right: 40px;
}

.page-index-featured-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-index-featured-games__step-icon {
  background-color: #003366;
  color: #FFCC00;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.3);
}

.page-index-featured-games__step-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 5px;
}

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

.page-index-featured-games__guide-image {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Why Choose Section */
.page-index-featured-games__why-choose {
  background-color: #003366;
  color: #fff;
  padding-bottom: 80px;
}

.page-index-featured-games__why-choose .page-index-featured-games__section-title {
  color: #fff;
}

.page-index-featured-games__why-choose .page-index-featured-games__section-title::after {
  background-color: #FFCC00;
}

.page-index-featured-games__reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-featured-games__reason-item {
  background-color: #002244;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-featured-games__reason-item:hover {
  transform: translateY(-8px);
  background-color: #004488;
}

.page-index-featured-games__reason-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(80%) sepia(90%) saturate(2000%) hue-rotate(30deg) brightness(110%) contrast(100%); /* Makes icon golden */
}

.page-index-featured-games__reason-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-index-featured-games__reason-description {
  color: #ccc;
  font-size: 1em;
}

/* FAQ Section */
.page-index-featured-games__faq {
  background-color: #f8f8f8;
}

.page-index-featured-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-featured-games__faq-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-index-featured-games__faq-question {
  font-size: 1.4em;
  color: #003366;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  background-color: #e0e9f0;
  transition: background-color 0.3s ease;
}

.page-index-featured-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  font-weight: bold;
  color: #FFCC00;
}

.page-index-featured-games__faq-question.active::after {
  content: '-';
}

.page-index-featured-games__faq-answer {
  padding: 0 25px 20px;
  color: #555;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-index-featured-games__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

/* CTA Bottom Section */
.page-index-featured-games__cta-bottom {
  background: linear-gradient(135deg, #003366 0%, #002244 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.page-index-featured-games__cta-title {
  font-size: 2.8em;
  color: #fff;
  margin-bottom: 20px;
}

.page-index-featured-games__cta-title .highlight {
  color: #FFCC00;
}

.page-index-featured-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__cta-bottom .page-index-featured-games__btn--secondary {
  margin-left: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-featured-games__hero {
    flex-direction: column-reverse;
    padding: 60px 20px;
  }

  .page-index-featured-games__hero-content {
    text-align: center;
    padding: 0;
    margin-top: 40px;
  }

  .page-index-featured-games__hero-title {
    font-size: 2.8em;
  }

  .page-index-featured-games__hero-description {
    font-size: 1.1em;
  }

  .page-index-featured-games__hero-actions {
    justify-content: center;
  }

  .page-index-featured-games__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-index-featured-games__section-title {
    font-size: 2em;
  }

  .page-index-featured-games__guide .page-index-featured-games__container {
    flex-direction: column;
  }

  .page-index-featured-games__guide-steps {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .page-index-featured-games__guide-image {
    max-width: 80%;
  }

  .page-index-featured-games__cta-bottom .page-index-featured-games__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

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

  .page-index-featured-games__hero-description {
    font-size: 1em;
  }

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

  .page-index-featured-games__section-subtitle {
    font-size: 1em;
  }

  .page-index-featured-games__category-grid,
  .page-index-featured-games__game-list,
  .page-index-featured-games__offer-grid,
  .page-index-featured-games__reason-grid {
    grid-template-columns: 1fr;
  }

  .page-index-featured-games__hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-index-featured-games__btn--primary,
  .page-index-featured-games__btn--secondary {
    width: 100%;
    max-width: 300px;
  }

  .page-index-featured-games__cta-bottom .page-index-featured-games__btn--primary,
  .page-index-featured-games__cta-bottom .page-index-featured-games__btn--secondary {
    width: 100%;
    max-width: 300px;
  }

  .page-index-featured-games__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-index-featured-games__step-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-index-featured-games__faq-question,
  .page-index-featured-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-featured-games__faq-question::after {
    right: 15px;
  }
}

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

  .page-index-featured-games__section-title {
    font-size: 1.6em;
  }

  .page-index-featured-games__hero,
  .page-index-featured-games__introduction,
  .page-index-featured-games__game-categories,
  .page-index-featured-games__featured-games,
  .page-index-featured-games__offers,
  .page-index-featured-games__guide,
  .page-index-featured-games__why-choose,
  .page-index-featured-games__faq,
  .page-index-featured-games__cta-bottom {
    padding: 40px 0;
  }

  .page-index-featured-games__cta-title {
    font-size: 2em;
  }
}