.page-index-game-highlights {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-index-game-highlights__hero-section {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.8), rgba(255, 215, 0, 0.8)); /* Using auxiliary and main color with transparency for overlay */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-game-highlights__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-index-game-highlights__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-index-game-highlights__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-index-game-highlights__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-index-game-highlights__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-index-game-highlights__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-game-highlights__button--secondary {
  background-color: #DC143C;
  color: #ffffff;
}

.page-index-game-highlights__button--secondary:hover {
  background-color: #b01030;
  transform: translateY(-2px);
}

.page-index-game-highlights__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index-game-highlights__section-intro {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-highlights__about-epicwin, .page-index-game-highlights__game-categories, .page-index-game-highlights__promotions, .page-index-game-highlights__mobile-app, .page-index-game-highlights__responsible-gaming, .page-index-game-highlights__cta-final {
  padding: 60px 0;
}

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

.page-index-game-highlights__feature-card, .page-index-game-highlights__category-card, .page-index-game-highlights__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit; /* Ensure link text color is inherited */
}

.page-index-game-highlights__feature-card:hover, .page-index-game-highlights__category-card:hover, .page-index-game-highlights__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-game-highlights__feature-icon, .page-index-game-highlights__category-image, .page-index-game-highlights__promo-image {
  width: 100%; /* Ensure images are not smaller than 200px */
  height: auto;
  max-width: 400px; /* Example max-width for smaller images */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-highlights__feature-title, .page-index-game-highlights__category-title, .page-index-game-highlights__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-game-highlights__feature-description, .page-index-game-highlights__category-description, .page-index-game-highlights__promo-description {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

.page-index-game-highlights__view-all {
  text-align: center;
  margin-top: 50px;
}

.page-index-game-highlights__mobile-app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  background-color: rgba(220, 20, 60, 0.1);
  border-radius: 15px;
  padding: 40px;
}

.page-index-game-highlights__mobile-app-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not smaller than 200px */
  min-width: 200px;
  min-height: 200px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.page-index-game-highlights__mobile-app-text {
  flex: 1;
  text-align: left;
}

.page-index-game-highlights__responsible-gaming, .page-index-game-highlights__cta-final {
  text-align: center;
  background-color: rgba(255, 215, 0, 0.05);
  border-radius: 15px;
  margin-top: 60px;
  padding: 50px 20px;
}

.page-index-game-highlights__responsible-gaming .page-index-game-highlights__section-title,
.page-index-game-highlights__cta-final .page-index-game-highlights__section-title {
  color: #FFD700;
}

.page-index-game-highlights__responsible-gaming .page-index-game-highlights__section-intro,
.page-index-game-highlights__cta-final .page-index-game-highlights__section-intro {
  color: #cccccc;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-game-highlights__hero-title {
    font-size: 3em;
  }
  .page-index-game-highlights__section-title {
    font-size: 2.2em;
  }
  .page-index-game-highlights__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-game-highlights__mobile-app-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-game-highlights {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header on mobile */
  }
  .page-index-game-highlights__hero-title {
    font-size: 2.5em;
  }
  .page-index-game-highlights__hero-description {
    font-size: 1.1em;
  }
  .page-index-game-highlights__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-highlights__button {
    width: 100%;
    max-width: 300px;
  }
  .page-index-game-highlights__section-title {
    font-size: 1.8em;
  }
  .page-index-game-highlights__section-intro {
    font-size: 0.95em;
  }
  .page-index-game-highlights__features-grid, .page-index-game-highlights__categories-grid, .page-index-game-highlights__promo-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-index-game-highlights img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-index-game-highlights__feature-icon, .page-index-game-highlights__category-image, .page-index-game-highlights__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-index-game-highlights__mobile-app-content {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-game-highlights__hero-title {
    font-size: 2em;
  }
  .page-index-game-highlights__hero-description {
    font-size: 0.9em;
  }
  .page-index-game-highlights__section-title {
    font-size: 1.5em;
  }
  .page-index-game-highlights__section-intro {
    font-size: 0.85em;
  }
}