/* style/index-game-features.css */
.page-index-game-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

.page-index-game-features__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-index-game-features__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast sections */
  color: #ffffff;
}

.page-index-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); /* Ensure content is not hidden by header */
}

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

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

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

.page-index-game-features__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-game-features__intro-text {
  font-size: 1.2em;
  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: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  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: #1e87b7;
  border-color: #1e87b7;
}

.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__section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-game-features__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: left;
}

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

.page-index-game-features__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

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

.page-index-game-features__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-index-game-features__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-index-game-features__paragraph--light {
  color: #f0f0f0;
}

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

.page-index-game-features__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

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

.page-index-game-features__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-index-game-features__card-title a:hover {
  text-decoration: underline;
}

.page-index-game-features__card-description {
  font-size: 1em;
  color: #cccccc;
}

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

.page-index-game-features__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index-game-features__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index-game-features__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-game-features__feature-description {
  font-size: 0.95em;
  color: #cccccc;
}

.page-index-game-features__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-game-features__video-link-wrapper {
  display: block;
  margin: 40px auto;
  max-width: 1000px; /* Adjust max width for video */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-game-features__video {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index-game-features__cta-buttons--center {
  margin-top: 30px;
}

.page-index-game-features__ordered-list,
.page-index-game-features__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-index-game-features__ordered-list li,
.page-index-game-features__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index-game-features__ordered-list li strong {
  color: #26A9E0;
}

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

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

.page-index-game-features__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2);
  transition: background-color 0.3s ease;
}

.page-index-game-features__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.4);
}

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

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

.page-index-game-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  font-size: 1.05em;
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-index-game-features__cta-bottom {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.page-index-game-features__cta-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability */
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index-game-features__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-features__main-title {
    font-size: 2.8em;
  }
  .page-index-game-features__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-game-features__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-index-game-features__main-title {
    font-size: 2.2em;
  }
  .page-index-game-features__intro-text {
    font-size: 1em;
  }
  .page-index-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-features__btn-primary,
  .page-index-game-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index-game-features__section,
  .page-index-game-features__content-area,
  .page-index-game-features__video-section,
  .page-index-game-features__cta-bottom {
    padding: 40px 15px;
  }
  .page-index-game-features__container,
  .page-index-game-features__game-card,
  .page-index-game-features__feature-item,
  .page-index-game-features__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-game-features__section-title {
    font-size: 1.8em;
  }
  .page-index-game-features__sub-title {
    font-size: 1.5em;
  }
  .page-index-game-features p,
  .page-index-game-features li {
    font-size: 1em;
  }
  .page-index-game-features__game-grid,
  .page-index-game-features__features-grid {
    gap: 20px;
  }
  .page-index-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-game-features video,
  .page-index-game-features__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-game-features__video-section,
  .page-index-game-features__video-container,
  .page-index-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-game-features__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile if needed */
  }
  .page-index-game-features__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-index-game-features__main-title {
    font-size: 1.8em;
  }
  .page-index-game-features__section-title {
    font-size: 1.5em;
  }
  .page-index-game-features__faq-question {
    font-size: 1em;
  }
  .page-index-game-features__faq-answer {
    font-size: 0.9em;
  }
}