.page-index-game-features {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-index-game-features__hero-section {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
}

.page-index-game-features__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.page-index-game-features__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-game-features__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-game-features__hero-title {
  font-size: 3.5em;
  color: #e94560;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-index-game-features__btn--primary {
  background-color: #e94560;
  color: #ffffff;
}

.page-index-game-features__btn--primary:hover {
  background-color: #cf3a53;
  transform: translateY(-3px);
}

.page-index-game-features__btn--secondary {
  background-color: transparent;
  color: #e94560;
  border: 2px solid #e94560;
}

.page-index-game-features__btn--secondary:hover {
  background-color: #e94560;
  color: #ffffff;
  transform: translateY(-3px);
}

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

.page-index-game-features__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-index-game-features__features-overview {
  padding: 60px 0;
  background-color: #0f0f1a;
}

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

.page-index-game-features__feature-card {
  background-color: #1a1a2e;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(233, 69, 96, 0.2);
}

.page-index-game-features__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-game-features__feature-icon {
  width: 200px; /* Min size */
  height: 150px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  filter: none; /* Ensure no color filters */
}

.page-index-game-features__card-title {
  font-size: 1.8em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-index-game-features__card-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  text-align: left;
}

.page-index-game-features__cta-section {
  background: url('[GALLERY:cta_background:1920x600:tg777_slot,action_call,winning_moment,golden_glitter,philippine_casino]') no-repeat center center / cover;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-index-game-features__cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.page-index-game-features__cta-title {
  font-size: 3em;
  color: #e94560;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-index-game-features__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-index-game-features__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

.page-index-game-features__faq-list {
  margin-top: 40px;
}

.page-index-game-features__faq-item {
  background-color: #0f0f1a;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #e94560;
}

.page-index-game-features__faq-question {
  font-size: 1.5em;
  color: #e94560;
  margin-bottom: 10px;
}

.page-index-game-features__faq-answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .page-index-game-features__hero-title {
    font-size: 3em;
  }
  .page-index-game-features__section-title {
    font-size: 2.2em;
  }
  .page-index-game-features__cta-title {
    font-size: 2.5em;
  }
  .page-index-game-features__feature-icon {
    width: 180px;
    height: 135px;
  }
}

@media (max-width: 768px) {
  .page-index-game-features {
    padding-top: var(--header-offset, 120px);
  }
  .page-index-game-features__hero-title {
    font-size: 2.5em;
  }
  .page-index-game-features__hero-description {
    font-size: 1.1em;
  }
  .page-index-game-features__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-features__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-index-game-features__section-title {
    font-size: 2em;
  }
  .page-index-game-features__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-index-game-features__feature-icon {
    width: 150px;
    height: 112px;
  }
  .page-index-game-features__card-title {
    font-size: 1.5em;
  }
  .page-index-game-features__cta-title {
    font-size: 2em;
  }
  .page-index-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-features__faq-question {
    font-size: 1.2em;
  }
  /* Ensure content images are responsive and do not cause overflow */
  .page-index-game-features__feature-card img {
    max-width: 100%;
    height: auto;
    filter: none; /* Ensure no color filters */
  }
  .page-index-game-features__cta-section {
    padding: 60px 20px;
  }
  .page-index-game-features__faq-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .page-index-game-features__hero-title {
    font-size: 2em;
  }
  .page-index-game-features__hero-description {
    font-size: 1em;
  }
  .page-index-game-features__section-title {
    font-size: 1.8em;
  }
  .page-index-game-features__cta-title {
    font-size: 1.8em;
  }
  .page-index-game-features__feature-icon {
    width: 120px;
    height: 90px;
  }
}