/* style/index-game-features.css */
.page-index-game-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0a0a0a;
  color: #ffffff;
}

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

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

.page-index-game-features__hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
}

.page-index-game-features__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 15px;
  font-size: clamp(2em, 5vw, 3em); /* Responsive font size for H1 */
}

.page-index-game-features__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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;
}

.page-index-game-features__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-index-game-features__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-index-game-features__features-overview,
.page-index-game-features__payment-support-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333;
}

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

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

.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: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-game-features__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index-game-features__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index-game-features__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-index-game-features__card-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index-game-features__card-link:hover {
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-index-game-features__experience-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-index-game-features__content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-index-game-features__text-content {
  flex: 1;
}

.page-index-game-features__experience-section .page-index-game-features__section-title {
  color: #ffffff;
  text-align: left;
}

.page-index-game-features__experience-section .page-index-game-features__section-description {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 30px;
  max-width: none;
}

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

.page-index-game-features__responsive-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-index-game-features__grid-item .page-index-game-features__card-title {
  color: #26A9E0;
}

.page-index-game-features__card-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin: 20px auto;
  object-fit: cover;
}

.page-index-game-features__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-index-game-features__faq-section .page-index-game-features__section-title {
  color: #ffffff;
}

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

.page-index-game-features__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark bg */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-index-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  list-style: none; /* For details/summary */
}

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

.page-index-game-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-index-game-features__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-index-game-features__faq-answer p {
  margin: 0;
}

.page-index-game-features__call-to-action {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-index-game-features__call-to-action .page-index-game-features__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-index-game-features__call-to-action .page-index-game-features__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-index-game-features__call-to-action .page-index-game-features__btn-primary {
  background-color: #EA7C07; /* Login color for CTA */
  border-color: #EA7C07;
}

.page-index-game-features__call-to-action .page-index-game-features__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-index-game-features__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-index-game-features__experience-section .page-index-game-features__section-title,
  .page-index-game-features__experience-section .page-index-game-features__section-description {
    text-align: center;
  }

  .page-index-game-features__text-content .page-index-game-features__btn-primary {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-index-game-features__hero-section,
  .page-index-game-features__features-overview,
  .page-index-game-features__experience-section,
  .page-index-game-features__payment-support-section,
  .page-index-game-features__faq-section,
  .page-index-game-features__call-to-action {
    padding: 40px 0;
  }

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

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

  .page-index-game-features__description,
  .page-index-game-features__section-description,
  .page-index-game-features__card-text {
    font-size: 1em;
  }

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

  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary {
    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__feature-grid,
  .page-index-game-features__grid-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

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

  /* Mobile image responsiveness */
  .page-index-game-features img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers */
  .page-index-game-features__hero-image-wrapper,
  .page-index-game-features__image-content,
  .page-index-game-features__feature-card,
  .page-index-game-features__grid-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-index-game-features__experience-section .page-index-game-features__btn-primary {
    width: auto !important; /* Allow button to size based on content with max-width */
    margin-left: auto;
    margin-right: auto;
  }

  .page-index-game-features__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-index-game-features__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}