/* Custom CSS Variables based on provided color scheme */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Base styles for the page content, assuming body background is dark */
.page-index-game-features {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--background-color); /* Page background from custom colors */
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

/* Sections */
.page-index-game-features__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
}

.page-index-game-features__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-index-game-features__hero-content {
  padding-top: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.page-index-game-features__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-index-game-features__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-index-game-features__intro-section,
.page-index-game-features__unique-features,
.page-index-game-features__faq-section {
  padding: 60px 0;
  background-color: var(--deep-green-color);
}

.page-index-game-features__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
  padding: 60px 0;
}

.page-index-game-features__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-main-color);
}

.page-index-game-features__section-description {
  font-size: 1.05rem;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Game Categories */
.page-index-game-features__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-features__game-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-game-features__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-game-features__card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-index-game-features__card-link {
  text-decoration: none;
  color: var(--text-main-color);
  transition: color 0.3s ease;
}

.page-index-game-features__card-link:hover {
  color: var(--glow-color);
}

.page-index-game-features__card-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

/* Unique Features */
.page-index-game-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-index-game-features__feature-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 50%; /* Make icons circular if desired */
  object-fit: cover;
}

.page-index-game-features__feature-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-main-color);
}

.page-index-game-features__feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
}

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

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

/* FAQ */
.page-index-game-features__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-features__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.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.1rem;
  color: var(--text-main-color);
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.page-index-game-features__faq-question:hover {
  background-color: var(--border-color);
}

.page-index-game-features__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-index-game-features__faq-answer {
  padding: 20px 25px;
  background-color: var(--deep-green-color);
  color: var(--text-secondary-color);
  font-size: 1rem;
}

.page-index-game-features__faq-answer p {
  margin-bottom: 15px;
}

.page-index-game-features__faq-answer a.page-index-game-features__btn-secondary {
  margin-top: 10px;
  display: inline-block;
}

/* Details element specific styles */
details.page-index-game-features__faq-item > summary {
  list-style: none; /* Remove default marker */
}
details.page-index-game-features__faq-item > summary::-webkit-details-marker {
  display: none; /* For Chrome/Safari */
}

/* Call to Action */
.page-index-game-features__call-to-action {
  text-align: center;
  padding: 80px 0;
}

.page-index-game-features__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-index-game-features__cta-full-width {
  margin-top: 40px;
  text-align: center;
}

.page-index-game-features__btn-large {
  min-width: 220px;
  font-size: 1.1rem;
  padding: 16px 32px;
}

/* Buttons */
.page-index-game-features__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color); /* White-ish text on green gradient */
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.page-index-game-features__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

.page-index-game-features__btn-secondary {
  background-color: var(--card-bg-color); /* Dark green background */
  color: var(--glow-color); /* Glow color text */
  border: 2px solid var(--border-color); /* Border color */
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.page-index-game-features__btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-main-color);
}

/* Footer styles */
.page-index-game-features__footer {
  background-color: var(--background-color);
  color: var(--text-secondary-color);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  border-top: 1px solid var(--divider-color);
}

.page-index-game-features__copyright {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-features__hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

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

  .page-index-game-features__hero-section,
  .page-index-game-features__intro-section,
  .page-index-game-features__unique-features,
  .page-index-game-features__promotions-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: 2.2rem;
  }

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

  /* All images mobile responsive */
  .page-index-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image/video/button containers mobile responsive */
  .page-index-game-features__hero-image-wrapper,
  .page-index-game-features__container,
  .page-index-game-features__category-grid,
  .page-index-game-features__game-card,
  .page-index-game-features__feature-grid,
  .page-index-game-features__feature-item,
  .page-index-game-features__promo-grid,
  .page-index-game-features__promo-card,
  .page-index-game-features__faq-item,
  .page-index-game-features__cta-buttons,
  .page-index-game-features__cta-full-width {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons mobile responsive */
  .page-index-game-features__cta-button,
  .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 {
    flex-direction: column !important;
    gap: 15px;
  }

  .page-index-game-features__btn-large {
    min-width: unset;
  }

  .page-index-game-features__card-image,
  .page-index-game-features__feature-icon {
    height: auto !important;
  }

  /* Adjust feature icons for mobile, keeping minimum size */
  .page-index-game-features__feature-icon {
    width: 200px !important;
    height: 200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}