.page-index-game-features-highlights {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-index-game-features-highlights__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-index-game-features-highlights__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
}

.page-index-game-features-highlights__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-index-game-features-highlights__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-index-game-features-highlights__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-index-game-features-highlights__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-game-features-highlights__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-game-features-highlights__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-index-game-features-highlights__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-game-features-highlights__button--primary:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-index-game-features-highlights__button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-index-game-features-highlights__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-index-game-features-highlights__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 150px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-index-game-features-highlights__button--small:hover {
  background-color: #e0a53a;
}

.page-index-game-features-highlights__section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-game-features-highlights__section:nth-of-type(even) {
  background-color: #f5f5f5;
}

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

.page-index-game-features-highlights__container--reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

.page-index-game-features-highlights__section-title {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: #000000;
}

.page-index-game-features-highlights__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

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

.page-index-game-features-highlights__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-game-features-highlights__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-game-features-highlights__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
}

.page-index-game-features-highlights__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-game-features-highlights__cta-group--center {
  margin-top: 40px;
}

.page-index-game-features-highlights__content-block {
  flex: 1;
  text-align: left;
}

.page-index-game-features-highlights__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-game-features-highlights__image {
  width: 100%;
  max-width: 400px; /* Max width for side images */
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-features-highlights__hero-title {
    font-size: 2.8em;
  }

  .page-index-game-features-highlights__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-game-features-highlights__hero-section {
    padding: 60px 15px 30px;
  }

  .page-index-game-features-highlights__hero-title {
    font-size: 2.2em;
  }

  .page-index-game-features-highlights__hero-description {
    font-size: 1em;
  }

  .page-index-game-features-highlights__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-game-features-highlights__button {
    width: 100%;
    max-width: 300px;
  }

  .page-index-game-features-highlights__section {
    padding: 40px 15px;
  }

  .page-index-game-features-highlights__section-title {
    font-size: 1.8em;
  }

  .page-index-game-features-highlights__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-index-game-features-highlights__grid {
    grid-template-columns: 1fr;
  }

  .page-index-game-features-highlights__container--reverse {
    flex-direction: column;
  }

  .page-index-game-features-highlights__content-block {
    text-align: center;
  }

  .page-index-game-features-highlights__image {
    max-width: 100%;
  }

  /* Critical for mobile images */
  .page-index-game-features-highlights img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no image is smaller than 200px in content area */
  .page-index-game-features-highlights__card-image {
    width: 100%;
    height: 200px; /* Maintain minimum height for content images */
  }
}

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

  .page-index-game-features-highlights__section-title {
    font-size: 1.5em;
  }
}