/* style/index-core-game-features.css */

/* Base styles for the page content, ensuring dark background with light text */
.page-index-core-game-features {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* Hero Section */
.page-index-core-game-features__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-index-core-game-features__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width for desktop */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-index-core-game-features__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%; /* Ensure content takes full width up to max-width */
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-core-game-features__hero-title {
  font-size: 3em;
  font-weight: bold;
  color: #F2C14E; /* Brand main color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-index-core-game-features__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%; /* Ensure container takes full width */
  max-width: 600px; /* Constrain button group width */
  margin: 0 auto;
}

/* General Section Styling */
.page-index-core-game-features__intro-section,
.page-index-core-game-features__game-portfolio-section,
.page-index-core-game-features__experience-features-section,
.page-index-core-game-features__promotions-section,
.page-index-core-game-features__responsible-gaming-section,
.page-index-core-game-features__why-choose-section,
.page-index-core-game-features__faq-section,
.page-index-core-game-features__cta-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Consistent background */
  overflow: hidden; /* Prevent content overflow */
}

.page-index-core-game-features__section-title,
.page-index-core-game-features__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-index-core-game-features__section-description,
.page-index-core-game-features__cta-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.page-index-core-game-features__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Buttons */
.page-index-core-game-features__btn-primary,
.page-index-core-game-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-index-core-game-features__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #333333; /* Dark text for contrast on bright gradient */
  border: 2px solid transparent;
}

.page-index-core-game-features__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-index-core-game-features__btn-secondary {
  background: #111111; /* Card background color */
  color: #F2C14E; /* Main brand color for text */
  border: 2px solid #3A2A12; /* Border color */
}

.page-index-core-game-features__btn-secondary:hover {
  background: #3A2A12; /* Border color for hover */
  color: #FFF6D6; /* Text Main color for hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index-core-game-features__btn-text-link:hover {
  color: #FFD36B;
}

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

.page-index-core-game-features__category-card {
  background-color: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-index-core-game-features__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px #FFD36B; /* Glow effect */
}

.page-index-core-game-features__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: inline-block; /* Ensure it respects text-align */
}

.page-index-core-game-features__category-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-index-core-game-features__category-description {
  font-size: 0.95em;
  margin-bottom: 20px;
}

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

.page-index-core-game-features__category-link:hover {
  color: #FFF6D6;
  border-color: #FFF6D6;
}

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

.page-index-core-game-features__feature-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-core-game-features__feature-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-index-core-game-features__feature-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: cover;
}

.page-index-core-game-features__feature-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow and push link to bottom */
}

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

.page-index-core-game-features__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-core-game-features__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  display: block;
  object-fit: cover;
}

.page-index-core-game-features__promo-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 15px;
}

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

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

.page-index-core-game-features__benefit-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #FFF6D6;
}

.page-index-core-game-features__benefit-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-index-core-game-features__benefit-text {
  font-size: 1em;
}

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

.page-index-core-game-features__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-index-core-game-features__faq-question:hover {
  background-color: #2a2a2a;
}

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

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

.page-index-core-game-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Adjust padding to match question */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1em;
}

.page-index-core-game-features__faq-item.active .page-index-core-game-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to ensure content is visible */
  padding: 20px 25px; /* Restore padding when active */
}

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

/* Call to Action Section */
.page-index-core-game-features__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-index-core-game-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-core-game-features__hero-title {
    font-size: 2.5em;
  }

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

  .page-index-core-game-features__hero-section {
    padding-bottom: 40px;
  }
}

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

  .page-index-core-game-features__hero-section {
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-index-core-game-features__hero-cta-buttons,
  .page-index-core-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-core-game-features__btn-primary,
  .page-index-core-game-features__btn-secondary,
  .page-index-core-game-features a[class*="button"],
  .page-index-core-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-core-game-features__section-title,
  .page-index-core-game-features__cta-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-index-core-game-features__section-description,
  .page-index-core-game-features__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-index-core-game-features__intro-section,
  .page-index-core-game-features__game-portfolio-section,
  .page-index-core-game-features__experience-features-section,
  .page-index-core-game-features__promotions-section,
  .page-index-core-game-features__responsible-gaming-section,
  .page-index-core-game-features__why-choose-section,
  .page-index-core-game-features__faq-section,
  .page-index-core-game-features__cta-section {
    padding: 40px 0;
  }

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

  /* Images responsive */
  .page-index-core-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-index-core-game-features__hero-image,
  .page-index-core-game-features__image-content,
  .page-index-core-game-features__feature-image,
  .page-index-core-game-features__promo-image {
    padding-left: 0;
    padding-right: 0;
  }

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

  /* Video section (if present, though not explicitly in outline for this page) */
  .page-index-core-game-features__video-section {
    padding-top: 10px !important;
  }
}