.page-index-platform-features {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-index-platform-features__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure dark background for hero */
}

.page-index-platform-features__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-index-platform-features__hero-content {
  position: relative; /* Not absolute, to flow below image */
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
  background-color: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-index-platform-features__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-index-platform-features__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-index-platform-features__btn-primary,
.page-index-platform-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-platform-features__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-index-platform-features__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

.page-index-platform-features__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-index-platform-features__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text for light button */
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

/* General Section Styling */
.page-index-platform-features__game-selection-section,
.page-index-platform-features__technology-security-section,
.page-index-platform-features__rewards-promo-section,
.page-index-platform-features__user-experience-section,
.page-index-platform-features__why-choose-section,
.page-index-platform-features__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-index-platform-features__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-index-platform-features__section-title--light {
  color: #FFF6D6; /* Text Main */
}

.page-index-platform-features__section-intro {
  font-size: 1.05rem;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-index-platform-features__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

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

.page-index-platform-features__game-category-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-features__game-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-index-platform-features__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #F2C14E);
}

.page-index-platform-features__category-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-index-platform-features__category-description {
  font-size: 0.95rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-index-platform-features__text-link {
  color: #F2C14E; /* Main color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-platform-features__text-link:hover {
  color: #FFD36B; /* Glow */
  text-decoration: underline;
}

/* Technology & Security */
.page-index-platform-features__tech-features,
.page-index-platform-features__promo-grid,
.page-index-platform-features__ux-features,
.page-index-platform-features__choice-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-platform-features__tech-card,
.page-index-platform-features__promo-card,
.page-index-platform-features__ux-card,
.page-index-platform-features__choice-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-features__tech-card:hover,
.page-index-platform-features__promo-card:hover,
.page-index-platform-features__ux-card:hover,
.page-index-platform-features__choice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-index-platform-features__tech-title,
.page-index-platform-features__promo-title,
.page-index-platform-features__ux-title,
.page-index-platform-features__choice-title {
  font-size: 1.5rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-index-platform-features__tech-description,
.page-index-platform-features__promo-description,
.page-index-platform-features__ux-description,
.page-index-platform-features__choice-description {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

/* Call to Action Section */
.page-index-platform-features__call-to-action-section {
  padding: 100px 0;
  text-align: center;
  background-color: #F2C14E; /* Main color */
  background-image: linear-gradient(45deg, #F2C14E 0%, #FFD36B 100%);
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-index-platform-features__call-to-action-section .page-index-platform-features__section-title,
.page-index-platform-features__call-to-action-section .page-index-platform-features__section-intro {
  color: #111111; /* Dark text for light background */
}

.page-index-platform-features__call-to-action-section .page-index-platform-features__btn-primary {
  background: #111111;
  color: #FFD36B;
  border-color: #FFD36B;
}

.page-index-platform-features__call-to-action-section .page-index-platform-features__btn-primary:hover {
  background: #000000;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.page-index-platform-features__call-to-action-section .page-index-platform-features__btn-secondary {
  background: #FFF6D6;
  color: #F2C14E;
  border-color: #F2C14E;
}

.page-index-platform-features__call-to-action-section .page-index-platform-features__btn-secondary:hover {
  background: #ffffff;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

/* FAQ Section */
.page-index-platform-features__faq-list {
  margin-top: 50px;
}

.page-index-platform-features__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-platform-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

.page-index-platform-features__faq-title {
  font-size: 1.2rem;
  color: #FFD36B; /* Glow */
  margin: 0;
}

.page-index-platform-features__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  transition: transform 0.3s ease;
}

.page-index-platform-features__faq-item.active .page-index-platform-features__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate */
}

.page-index-platform-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  font-size: 0.95rem;
}

.page-index-platform-features__faq-item.active .page-index-platform-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-platform-features__hero-image-wrapper {
    max-width: 100%;
  }
  .page-index-platform-features__hero-content {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-index-platform-features__hero-content {
    max-width: 95%;
    padding: 30px 15px;
  }
  .page-index-platform-features__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-index-platform-features__hero-description {
    font-size: 1rem;
  }
  .page-index-platform-features__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-platform-features__btn-primary,
  .page-index-platform-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-index-platform-features__game-selection-section,
  .page-index-platform-features__technology-security-section,
  .page-index-platform-features__rewards-promo-section,
  .page-index-platform-features__user-experience-section,
  .page-index-platform-features__why-choose-section,
  .page-index-platform-features__faq-section {
    padding: 40px 0;
  }

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

  .page-index-platform-features__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-index-platform-features__section-intro {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-index-platform-features__game-categories,
  .page-index-platform-features__tech-features,
  .page-index-platform-features__promo-grid,
  .page-index-platform-features__ux-features,
  .page-index-platform-features__choice-points {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-index-platform-features__game-category-card,
  .page-index-platform-features__tech-card,
  .page-index-platform-features__promo-card,
  .page-index-platform-features__ux-card,
  .page-index-platform-features__choice-card {
    padding: 20px;
  }

  .page-index-platform-features__category-title,
  .page-index-platform-features__tech-title,
  .page-index-platform-features__promo-title,
  .page-index-platform-features__ux-title,
  .page-index-platform-features__choice-title {
    font-size: 1.2rem;
  }

  .page-index-platform-features__content-image {
    margin-top: 40px;
  }

  /* Mobile image and video adaptation */
  .page-index-platform-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-platform-features__section,
  .page-index-platform-features__card,
  .page-index-platform-features__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure no horizontal scroll for main content */
  .page-index-platform-features {
    overflow-x: hidden;
  }

  .page-index-platform-features__faq-question {
    padding: 15px 20px;
  }
  .page-index-platform-features__faq-title {
    font-size: 1rem;
  }
  .page-index-platform-features__faq-answer {
    padding: 0 20px;
  }
  .page-index-platform-features__faq-item.active .page-index-platform-features__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-platform-features__hero-cta-buttons {
    gap: 10px;
  }
  .page-index-platform-features__btn-primary,
  .page-index-platform-features__btn-secondary {
    font-size: 0.95rem;
  }
}