.page-index-game-features {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-index-game-features__dark-bg {
  background-color: #0A2239;
  color: #ffffff;
}

.page-index-game-features__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-index-game-features__text-center {
  text-align: center;
}

/* Hero Section */
.page-index-game-features__hero-section {
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-index-game-features__hero-section .page-index-game-features__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.page-index-game-features__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  z-index: 1;
}

.page-index-game-features__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #E0B000;
  line-height: 1.2;
}

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

.page-index-game-features__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-game-features__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* General Section Styles */
.page-index-game-features__section {
  padding: 60px 0;
}

.page-index-game-features__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

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

/* CTA Buttons */
.page-index-game-features__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-index-game-features__btn-primary,
.page-index-game-features__btn-secondary {
  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, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-game-features__btn-primary {
  background-color: #E0B000;
  color: #0A2239;
  border: 2px solid #E0B000;
}

.page-index-game-features__btn-primary:hover {
  background-color: #ffc107;
  border-color: #ffc107;
}

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

.page-index-game-features__btn-secondary:hover {
  background-color: #E0B000;
  color: #0A2239;
}

.page-index-game-features__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Game Types Grid */
.page-index-game-features__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-game-features__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-index-game-features__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.page-index-game-features__game-card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E0B000;
}

.page-index-game-features__game-card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-game-features__btn-text {
  color: #E0B000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-game-features__btn-text:hover {
  color: #ffc107;
}

/* Technology Section */
.page-index-game-features__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-game-features__feature-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-index-game-features__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A2239;
}

/* Promotions Section */
.page-index-game-features__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-game-features__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-index-game-features__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.page-index-game-features__promo-card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E0B000;
}

/* Guide Section */
.page-index-game-features__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-game-features__step-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
  position: relative;
}

.page-index-game-features__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #E0B000;
  color: #0A2239;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #0A2239;
}

.page-index-game-features__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #0A2239;
}

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

/* FAQ Section */
.page-index-game-features__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-index-game-features__faq-item {
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-index-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #0A2239;
  color: #E0B000;
  transition: background-color 0.3s ease;
}

.page-index-game-features__faq-question:hover {
  background-color: #1a3a5a;
}

.page-index-game-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-game-features__faq-item.active .page-index-game-features__faq-question {
  background-color: #1a3a5a;
}

.page-index-game-features__faq-item.active .page-index-game-features__faq-toggle {
  transform: rotate(45deg);
}

.page-index-game-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-index-game-features__faq-item.active .page-index-game-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px 25px;
}

.page-index-game-features__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Conclusion Section */
.page-index-game-features__conclusion .page-index-game-features__section-title {
  color: #0A2239;
}

.page-index-game-features__conclusion .page-index-game-features__section-description {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-features__hero-title {
    font-size: 2.8em;
  }
  .page-index-game-features__section-title {
    font-size: 2em;
  }
  .page-index-game-features__hero-section .page-index-game-features__container {
    flex-direction: column;
    text-align: center;
  }
  .page-index-game-features__hero-content {
    max-width: 100%;
  }
  .page-index-game-features__hero-image-wrapper {
    min-width: unset;
    max-width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-index-game-features {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-game-features__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
  }

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

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

  .page-index-game-features__section {
    padding: 40px 0;
  }

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

  .page-index-game-features__section-description {
    font-size: 0.95em;
  }

  .page-index-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary,
  .page-index-game-features a[class*="button"],
  .page-index-game-features a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-game-features__cta-buttons,
  .page-index-game-features__button-group,
  .page-index-game-features__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index-game-features__container {
    padding: 0 15px;
  }

  /* Images and Videos Responsive */
  .page-index-game-features img,
  .page-index-game-features video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-game-features__section,
  .page-index-game-features__card,
  .page-index-game-features__container,
  .page-index-game-features__video-section,
  .page-index-game-features__video-container,
  .page-index-game-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-game-features__game-card-image,
  .page-index-game-features__promo-card-image {
    height: auto; /* Allow height to adjust */
  }

  /* FAQ specific mobile padding adjustments */
  .page-index-game-features__faq-question,
  .page-index-game-features__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-game-features__faq-item.active .page-index-game-features__faq-answer {
    padding: 15px 15px 20px 15px;
  }
}