.page-index-core-game-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Explicitly set for content area */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-index-core-game-features__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0; /* Hero section itself shouldn't have top padding from header offset */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-core-game-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 400px; /* Minimum height for hero image */
  z-index: 1;
}

.page-index-core-game-features__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-index-core-game-features__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

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

.page-index-core-game-features__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: 1.1em;
  text-align: center;
}

.page-index-core-game-features__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-core-game-features__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-index-core-game-features__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-core-game-features__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-index-core-game-features__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index-core-game-features__section-description,
.page-index-core-game-features__description,
.page-index-core-game-features__conclusion-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  text-align: left;
}

.page-index-core-game-features__game-feature-card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-core-game-features__game-feature-card--reverse {
  flex-direction: row-reverse;
}

.page-index-core-game-features__game-image {
  flex: 1;
  min-width: 400px; /* Minimum size for content images */
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-core-game-features__game-details {
  flex: 1;
}

.page-index-core-game-features__game-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-core-game-features__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-index-core-game-features__button--play-now,
.page-index-core-game-features__button--play-live,
.page-index-core-game-features__button--bet-now,
.page-index-core-game-features__button--play-fishing,
.page-index-core-game-features__button--explore-originals,
.page-index-core-game-features__button--join-now,
.page-index-core-game-features__button--download-app {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 15px;
}

.page-index-core-game-features__button--play-now:hover,
.page-index-core-game-features__button--play-live:hover,
.page-index-core-game-features__button--bet-now:hover,
.page-index-core-game-features__button--play-fishing:hover,
.page-index-core-game-features__button--explore-originals:hover,
.page-index-core-game-features__button--join-now:hover,
.page-index-core-game-features__button--download-app:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-index-core-game-features__why-choose-us-section,
.page-index-core-game-features__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-index-core-game-features__subtitle {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-core-game-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-index-core-game-features__keyword {
  font-weight: bold;
  color: #FCBC45;
}

.page-index-core-game-features__inline-link {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-index-core-game-features__inline-link:hover {
  color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-core-game-features__hero-title {
    font-size: 2.8em;
  }
  .page-index-core-game-features__hero-description {
    font-size: 1.1em;
  }
  .page-index-core-game-features__section-title {
    font-size: 2em;
  }
  .page-index-core-game-features__game-feature-card {
    flex-direction: column;
    text-align: center;
  }
  .page-index-core-game-features__game-feature-card--reverse {
    flex-direction: column;
  }
  .page-index-core-game-features__game-image {
    max-width: 100%;
    min-width: 300px; /* Adjust for smaller screens */
  }
  .page-index-core-game-features__hero-actions,
  .page-index-core-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-core-game-features__button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-core-game-features__hero-title {
    font-size: 2.2em;
  }
  .page-index-core-game-features__hero-description {
    font-size: 1em;
  }
  .page-index-core-game-features__section-title {
    font-size: 1.8em;
  }
  .page-index-core-game-features__game-subtitle {
    font-size: 1.5em;
  }
  .page-index-core-game-features__game-image {
    max-width: 100%;
    height: auto; /* Ensure responsive scaling */
    min-width: 200px; /* Enforce minimum size */
  }
  /* Ensure all images within content area are responsive and not smaller than 200px */
  .page-index-core-game-features img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-index-core-game-features__hero-image {
    min-height: 300px;
  }
  .page-index-core-game-features__hero-content {
    padding: 60px 15px;
  }
  .page-index-core-game-features__content-wrapper {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-index-core-game-features__hero-title {
    font-size: 1.8em;
  }
  .page-index-core-game-features__hero-description {
    font-size: 0.9em;
  }
  .page-index-core-game-features__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-core-game-features__section-title {
    font-size: 1.5em;
  }
  .page-index-core-game-features__game-subtitle {
    font-size: 1.3em;
  }
  .page-index-core-game-features__game-image {
    min-width: 200px; /* Smallest allowed image size */
  }
}