.page-index-featured-games {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index-featured-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #007bff, #28a745);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-index-featured-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-featured-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-index-featured-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-index-featured-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-featured-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #e0e0e0;
}

.page-index-featured-games__hero-button {
  display: inline-block;
  background-color: #ff8400; /* Complementary to primary */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__hero-button:hover {
  background-color: #e67300;
  transform: translateY(-3px);
}

.page-index-featured-games__games-grid,
.page-index-featured-games__why-choose-us,
.page-index-featured-games__promotions,
.page-index-featured-games__about-section,
.page-index-featured-games__cta-section,
.page-index-featured-games__download-app,
.page-index-featured-games__responsible-gaming,
.page-index-featured-games__contact-support,
.page-index-featured-games__community,
.page-index-featured-games__legal-info {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-index-featured-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #007bff;
  font-weight: bold;
}

.page-index-featured-games__section-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-featured-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index-featured-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index-featured-games__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin: 20px 20px 10px;
}

.page-index-featured-games__card-text {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-featured-games__card-button {
  display: inline-block;
  background-color: #28a745;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-index-featured-games__card-button:hover {
  background-color: #1e7e34;
}

.page-index-featured-games__benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-featured-games__benefit-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-index-featured-games__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-featured-games__benefit-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index-featured-games__benefit-text {
  font-size: 1em;
  color: #666666;
}

.page-index-featured-games__promo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-index-featured-games__promo-card:hover {
  transform: translateY(-10px);
}

.page-index-featured-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-featured-games__promo-title {
  font-size: 1.8em;
  color: #007bff;
  margin: 20px 20px 10px;
}

.page-index-featured-games__promo-text {
  font-size: 1em;
  color: #666666;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index-featured-games__promo-button {
  display: inline-block;
  background-color: #28a745;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-index-featured-games__promo-button:hover {
  background-color: #1e7e34;
}

.page-index-featured-games__about-link {
  display: inline-block;
  margin-top: 20px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-featured-games__about-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

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

.page-index-featured-games__cta-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

.page-index-featured-games__cta-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 10px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-featured-games__cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-index-featured-games__cta-button--secondary {
  background-color: #28a745;
}

.page-index-featured-games__cta-button--secondary:hover {
  background-color: #1e7e34;
}

.page-index-featured-games__download-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-featured-games__download-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-index-featured-games__responsible-gaming-text,
.page-index-featured-games__contact-button,
.page-index-featured-games__social-links,
.page-index-featured-games__legal-list {
  margin-top: 30px;
}

.page-index-featured-games__responsible-gaming-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-index-featured-games__responsible-gaming-link:hover {
  text-decoration: underline;
}

.page-index-featured-games__contact-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px 10px;
  transition: background-color 0.3s ease;
}

.page-index-featured-games__contact-button:hover {
  background-color: #0056b3;
}

.page-index-featured-games__contact-button--secondary {
  background-color: #6c757d;
}

.page-index-featured-games__contact-button--secondary:hover {
  background-color: #5a6268;
}

.page-index-featured-games__social-icon {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

.page-index-featured-games__social-icon:hover {
  background-color: #0056b3;
}

.page-index-featured-games__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-index-featured-games__legal-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-index-featured-games__legal-link:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-featured-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-featured-games__hero-description {
    font-size: 1.1em;
  }
  .page-index-featured-games__section-title {
    font-size: 2em;
  }
  .page-index-featured-games__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-index-featured-games__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-index-featured-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-featured-games__hero-description {
    font-size: 1em;
  }
  .page-index-featured-games__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-featured-games__grid-container,
  .page-index-featured-games__benefits-container,
  .page-index-featured-games__promo-container {
    grid-template-columns: 1fr;
  }
  .page-index-featured-games__card-image,
  .page-index-featured-games__promo-image {
    height: 200px;
  }
  .page-index-featured-games__game-card,
  .page-index-featured-games__benefit-item,
  .page-index-featured-games__promo-card {
    margin-bottom: 20px;
  }
  .page-index-featured-games__section-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__cta-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__cta-button {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-index-featured-games__download-button {
    width: calc(100% - 20px);
    margin: 20px auto;
  }
  .page-index-featured-games__contact-button {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-index-featured-games__social-icon {
    margin: 5px;
  }
  .page-index-featured-games__legal-list {
    flex-direction: column;
    gap: 10px;
  }
  /* Ensure images in content area do not overflow */
  .page-index-featured-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__section-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__cta-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__hero-description,
  .page-index-featured-games__section-description,
  .page-index-featured-games__cta-description {
    font-size: 0.9em;
  }
  .page-index-featured-games__game-card,
  .page-index-featured-games__benefit-item,
  .page-index-featured-games__promo-card {
    margin-left: 0;
    margin-right: 0;
  }
  .page-index-featured-games__hero-container,
  .page-index-featured-games__games-grid,
  .page-index-featured-games__why-choose-us,
  .page-index-featured-games__promotions,
  .page-index-featured-games__about-section,
  .page-index-featured-games__cta-section,
  .page-index-featured-games__download-app,
  .page-index-featured-games__responsible-gaming,
  .page-index-featured-games__contact-support,
  .page-index-featured-games__community,
  .page-index-featured-games__legal-info {
    padding: 0 15px;
  }
}