/* style/index-core-game-features.css */
.page-index-core-game-features {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark, so text is light */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

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

.page-index-core-game-features__section-title {
  font-size: 2.5em;
  color: #E3B505; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-core-game-features__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-core-game-features__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 1em;
}

/* Hero Section */
.page-index-core-game-features__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  padding-bottom: 60px;
}

.page-index-core-game-features__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-index-core-game-features__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.page-index-core-game-features__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

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

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

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-core-game-features__btn-primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

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

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

.page-index-core-game-features__btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

/* Intro Section */
.page-index-core-game-features__intro-section {
  padding: 60px 0;
  background-color: #0A2463; /* Dark blue background */
  color: #ffffff;
}

/* Game Categories Section */
.page-index-core-game-features__game-categories {
  padding: 80px 0;
  background-color: #000000; /* Dark background from body */
}

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

.page-index-core-game-features__game-card {
  background-color: #0A2463; /* Card background is dark blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for dark card background */
}

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

.page-index-core-game-features__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index-core-game-features__card-content {
  padding: 25px;
}

.page-index-core-game-features__card-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-index-core-game-features__card-title a {
  color: #E3B505;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-core-game-features__card-title a:hover {
  color: #ffda6a;
}

.page-index-core-game-features__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-index-core-game-features__card-link:hover {
  color: #ffda6a;
  border-color: #ffda6a;
}

/* Security Section */
.page-index-core-game-features__security-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
}

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

.page-index-core-game-features__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-index-core-game-features__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-core-game-features__security-item-title {
  font-size: 1.5em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-index-core-game-features__trust-statement {
  font-size: 1.2em;
  font-style: italic;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-index-core-game-features__security-cta {
  margin-top: 30px;
}

/* Promotions CTA Section */
.page-index-core-game-features__promotions-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

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

/* FAQ Section */
.page-index-core-game-features__faq-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
}

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

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

.page-index-core-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;
  color: #E3B505;
  background-color: #0A2463;
  transition: background-color 0.3s ease;
}

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

.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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

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

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

/* Image Responsive Styles */
.page-index-core-game-features img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-index-core-game-features__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

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

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

  .page-index-core-game-features__btn-primary,
  .page-index-core-game-features__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-index-core-game-features__section-subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-index-core-game-features__text-block {
    font-size: 0.95em;
  }

  .page-index-core-game-features__game-grid,
  .page-index-core-game-features__security-grid {
    grid-template-columns: 1fr;
  }

  .page-index-core-game-features__game-card,
  .page-index-core-game-features__security-item {
    padding: 20px;
  }

  .page-index-core-game-features__card-image {
    height: 200px;
  }

  .page-index-core-game-features__card-title {
    font-size: 1.4em;
  }

  .page-index-core-game-features__security-icon {
    width: 80px;
    height: 80px;
  }

  .page-index-core-game-features__security-item-title {
    font-size: 1.3em;
  }

  .page-index-core-game-features__promotions-cta {
    padding: 60px 0;
  }

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

  .page-index-core-game-features__faq-section {
    padding: 60px 0;
  }

  .page-index-core-game-features__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-index-core-game-features__faq-answer {
    padding: 0 20px;
  }

  .page-index-core-game-features__faq-item.active .page-index-core-game-features__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all content containers are responsive */
  .page-index-core-game-features__section,
  .page-index-core-game-features__card,
  .page-index-core-game-features__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-core-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-core-game-features__video,
  .page-index-core-game-features video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-core-game-features__video-section,
  .page-index-core-game-features__video-container,
  .page-index-core-game-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-core-game-features__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-index-core-game-features__cta-button,
  .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__cta-buttons,
  .page-index-core-game-features__button-group,
  .page-index-core-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;
    flex-direction: column; 
  }
}