.page-index-platform-features {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.page-index-platform-features__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-index-platform-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-index-platform-features__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-index-platform-features__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-platform-features__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-index-platform-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-index-platform-features__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-index-platform-features__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-index-platform-features__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-index-platform-features__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

.page-index-platform-features__section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-index-platform-features__section:last-of-type {
  border-bottom: none;
}

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

.page-index-platform-features__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-index-platform-features__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #F2FFF6; /* Text Main */
  text-align: justify;
}

.page-index-platform-features__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  object-fit: cover;
}

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

.page-index-platform-features__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-index-platform-features__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-platform-features__card-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-platform-features__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

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

.page-index-platform-features__game-card {
  text-decoration: none;
}

.page-index-platform-features__game-card .page-index-platform-features__card-image {
  height: 180px;
}

.page-index-platform-features__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index-platform-features__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-index-platform-features__content-wrapper .page-index-platform-features__image-content {
  flex: 1;
  min-width: 300px;
  margin: 0;
}

.page-index-platform-features__text-content {
  flex: 2;
  min-width: 300px;
}

.page-index-platform-features__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-index-platform-features__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-index-platform-features__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow */
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

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

.page-index-platform-features__promo-card {
  text-decoration: none;
}

.page-index-platform-features__promo-card .page-index-platform-features__card-image {
  height: 220px;
}

.page-index-platform-features__faq-list {
  margin-top: 30px;
}

.page-index-platform-features__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* 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: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

.page-index-platform-features__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-index-platform-features__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

.page-index-platform-features__faq-item[open] .page-index-platform-features__faq-toggle {
  content: '−';
}

.page-index-platform-features__faq-item details > summary {
  list-style: none;
}

.page-index-platform-features__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-index-platform-features__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-index-platform-features__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-platform-features__hero-image {
    margin-bottom: 20px;
  }

  .page-index-platform-features__main-title {
    font-size: 2rem;
  }

  .page-index-platform-features__hero-description {
    font-size: 1rem;
  }

  .page-index-platform-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 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__section {
    padding: 40px 15px;
  }

  .page-index-platform-features__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-index-platform-features__text-block {
    font-size: 0.95rem;
  }

  .page-index-platform-features__grid-layout,
  .page-index-platform-features__game-grid,
  .page-index-platform-features__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-platform-features__card-image {
    height: auto;
    max-height: 180px;
  }

  .page-index-platform-features__card-title {
    font-size: 1.2rem;
  }

  .page-index-platform-features__card-description {
    font-size: 0.9rem;
  }

  .page-index-platform-features__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-platform-features__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-index-platform-features__content-wrapper .page-index-platform-features__image-content,
  .page-index-platform-features__text-content {
    width: 100%;
    min-width: unset;
  }

  .page-index-platform-features__list-item {
    font-size: 0.95rem;
  }

  .page-index-platform-features__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-index-platform-features__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Ensure all images are responsive */
  .page-index-platform-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-platform-features__section,
  .page-index-platform-features__card,
  .page-index-platform-features__container,
  .page-index-platform-features__cta-buttons,
  .page-index-platform-features__game-grid,
  .page-index-platform-features__promo-grid,
  .page-index-platform-features__grid-layout {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-index-platform-features__hero-section {
    overflow: hidden !important;
  }
}