.page-index-game-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-index-game-features__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: #0A0A0A;
}

.page-index-game-features__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-index-game-features__hero-content {
  max-width: 900px;
  width: 100%;
  z-index: 1;
  position: relative;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index-game-features__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

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

.page-index-game-features__btn-primary,
.page-index-game-features__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 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: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-index-game-features__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-index-game-features__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #F2C14E; /* Main Color */
}

.page-index-game-features__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-index-game-features__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.page-index-game-features__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #FFD36B; /* Glow */
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-index-game-features__section-intro {
  font-size: 1.05em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-index-game-features__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-game-features__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-index-game-features__game-card-image,
.page-index-game-features__benefit-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Recommended for content images */
  margin: 0 auto 20px auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.page-index-game-features__game-card-title,
.page-index-game-features__benefit-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-game-features__game-card-title a,
.page-index-game-features__benefit-title a,
.page-index-game-features__step-title a {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-game-features__game-card-title a:hover,
.page-index-game-features__benefit-title a:hover,
.page-index-game-features__step-title a:hover {
  color: #F2C14E;
}

.page-index-game-features__game-card-description,
.page-index-game-features__benefit-description,
.page-index-game-features__step-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-index-game-features__btn-text:hover {
  color: #F2C14E;
  text-decoration: underline;
}

.page-index-game-features__step-icon {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-index-game-features__step-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-index-game-features__faq-section {
  text-align: left;
}

.page-index-game-features__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-index-game-features__faq-item {
  margin-bottom: 20px;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px 25px;
  transition: all 0.3s ease;
}

.page-index-game-features__faq-item[open] {
  background-color: #1a1a1a;
  border-color: #F2C14E;
}

.page-index-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15em;
  font-weight: 600;
  color: #FFD36B;
  cursor: pointer;
  list-style: none;
  padding: 0;
}

.page-index-game-features__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-game-features__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-index-game-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E;
}

.page-index-game-features__faq-answer {
  font-size: 1em;
  color: #FFF6D6;
  padding-top: 15px;
  line-height: 1.7;
  border-top: 1px solid #3A2A12;
  margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-game-features__game-grid,
  .page-index-game-features__benefit-grid,
  .page-index-game-features__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-index-game-features__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-game-features__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

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

  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
  }

  .page-index-game-features__section {
    padding: 40px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-game-features__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-index-game-features__game-grid,
  .page-index-game-features__benefit-grid,
  .page-index-game-features__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-index-game-features__game-card-image,
  .page-index-game-features__benefit-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-game-features__game-card-title,
  .page-index-game-features__benefit-title {
    font-size: 1.3em;
  }

  .page-index-game-features__game-card-description,
  .page-index-game-features__benefit-description,
  .page-index-game-features__step-description {
    font-size: 0.9em;
  }

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

  .page-index-game-features__faq-item {
    padding: 18px 20px;
  }

  .page-index-game-features__faq-question {
    font-size: 1em;
  }

  .page-index-game-features__faq-toggle {
    font-size: 1.3em;
  }

  .page-index-game-features__faq-answer {
    font-size: 0.9em;
  }
}

/* Ensure all content area images are at least 200px wide for content */
.page-index-game-features img {
  min-width: 200px;
  min-height: 200px;
}

/* Override specific image sizing if needed to meet min-size, but prefer larger */
.page-index-game-features__game-card-image,
.page-index-game-features__benefit-image {
  width: 100%; /* Ensures it scales */
  max-width: 400px; /* Limits max size on desktop */
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

/* Specific mobile overrides for images to ensure they don't cause overflow */
@media (max-width: 768px) {
  .page-index-game-features img {
    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__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-game-features__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-index-game-features__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}