.page-index-platform-advantages-features {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

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

.page-index-platform-advantages-features__section-title {
  font-size: 3em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-index-platform-advantages-features__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-platform-advantages-features__btn-primary,
.page-index-platform-advantages-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;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-platform-advantages-features__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-index-platform-advantages-features__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-index-platform-advantages-features__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-index-platform-advantages-features__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* Hero Section */
.page-index-platform-advantages-features__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Default for desktop if shared doesn't set body padding */
}

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

.page-index-platform-advantages-features__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 0;
}

.page-index-platform-advantages-features__hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
}

.page-index-platform-advantages-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-index-platform-advantages-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

/* Intro Section */
.page-index-platform-advantages-features__intro-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

/* Advantages Section */
.page-index-platform-advantages-features__advantages-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-index-platform-advantages-features__advantages-section .page-index-platform-advantages-features__section-title {
  color: #FFFFFF;
}

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

.page-index-platform-advantages-features__advantage-card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-index-platform-advantages-features__advantage-card:hover {
  transform: translateY(-10px);
}

.page-index-platform-advantages-features__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-platform-advantages-features__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-index-platform-advantages-features__card-description {
  font-size: 1em;
}

/* Features Section */
.page-index-platform-advantages-features__features-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index-platform-advantages-features__features-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.page-index-platform-advantages-features__feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.page-index-platform-advantages-features__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-index-platform-advantages-features__feature-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-platform-advantages-features__feature-content {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-index-platform-advantages-features__feature-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 15px;
}

.page-index-platform-advantages-features__feature-description {
  font-size: 1.1em;
  margin-bottom: 25px;
}

/* Gameshow Section */
.page-index-platform-advantages-features__gameshow-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-index-platform-advantages-features__gameshow-section .page-index-platform-advantages-features__section-title,
.page-index-platform-advantages-features__gameshow-section .page-index-platform-advantages-features__text-block {
  color: #FFFFFF;
}

.page-index-platform-advantages-features__gameshow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-platform-advantages-features__gameshow-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-platform-advantages-features__gameshow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-platform-advantages-features__gameshow-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index-platform-advantages-features__gameshow-title {
  font-size: 1.5em;
  color: #017439;
  padding: 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-platform-advantages-features__gameshow-cta {
  text-align: center;
  margin-top: 50px;
}

/* Login Guide Section */
.page-index-platform-advantages-features__login-guide-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index-platform-advantages-features__login-steps {
  list-style-type: decimal;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 30px;
  font-size: 1.1em;
}

.page-index-platform-advantages-features__login-steps li {
  margin-bottom: 15px;
  padding-left: 10px;
}

.page-index-platform-advantages-features__login-steps li strong {
  color: #017439;
}

.page-index-platform-advantages-features__login-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-index-platform-advantages-features__faq-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-index-platform-advantages-features__faq-section .page-index-platform-advantages-features__section-title {
  color: #FFFFFF;
}

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

.page-index-platform-advantages-features__faq-item {
  background-color: #FFFFFF;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-platform-advantages-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #017439;
  transition: background-color 0.3s ease;
}

.page-index-platform-advantages-features__faq-question:hover {
  background-color: #e0e0e0;
}

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

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

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

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

.page-index-platform-advantages-features__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-index-platform-advantages-features__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
  color: #333333;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-platform-advantages-features__hero-title {
    font-size: 3em;
  }

  .page-index-platform-advantages-features__hero-description {
    font-size: 1.2em;
  }

  .page-index-platform-advantages-features__section-title {
    font-size: 2.5em;
  }

  .page-index-platform-advantages-features__feature-item {
    flex-direction: column;
    text-align: center;
  }

  .page-index-platform-advantages-features__feature-item--reverse {
    flex-direction: column;
  }

  .page-index-platform-advantages-features__feature-image,
  .page-index-platform-advantages-features__feature-content {
    max-width: 100%;
  }
}

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

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

  /* HERO Section */
  .page-index-platform-advantages-features__hero-section {
    height: 500px;
    padding-top: 0 !important; /* Ensure no double padding if shared provides body padding */
  }

  .page-index-platform-advantages-features__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-index-platform-advantages-features__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-index-platform-advantages-features__hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-index-platform-advantages-features__btn-primary,
  .page-index-platform-advantages-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section Titles */
  .page-index-platform-advantages-features__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-index-platform-advantages-features__text-block {
    font-size: 1em;
    text-align: left;
  }

  /* Advantages Section */
  .page-index-platform-advantages-features__advantages-section,
  .page-index-platform-advantages-features__intro-section,
  .page-index-platform-advantages-features__features-section,
  .page-index-platform-advantages-features__gameshow-section,
  .page-index-platform-advantages-features__login-guide-section,
  .page-index-platform-advantages-features__faq-section,
  .page-index-platform-advantages-features__cta-section {
    padding: 40px 0;
  }

  .page-index-platform-advantages-features__advantages-grid {
    gap: 20px;
  }

  .page-index-platform-advantages-features__card-title {
    font-size: 1.5em;
  }

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

  /* Features Section */
  .page-index-platform-advantages-features__feature-item {
    padding: 20px;
    gap: 20px;
  }

  .page-index-platform-advantages-features__feature-title {
    font-size: 1.6em;
  }

  .page-index-platform-advantages-features__feature-description {
    font-size: 1em;
  }

  /* Gameshow Section */
  .page-index-platform-advantages-features__gameshow-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-index-platform-advantages-features__gameshow-image {
    height: 150px;
  }

  .page-index-platform-advantages-features__gameshow-title {
    font-size: 1.2em;
  }

  /* Login Guide Section */
  .page-index-platform-advantages-features__login-steps {
    margin: 30px auto;
    padding-left: 20px;
    font-size: 1em;
  }

  /* FAQ Section */
  .page-index-platform-advantages-features__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-index-platform-advantages-features__faq-answer {
    padding: 0 20px;
    font-size: 1em;
  }

  .page-index-platform-advantages-features__faq-item.active .page-index-platform-advantages-features__faq-answer {
    padding: 10px 20px;
  }

  /* CTA Section */
  .page-index-platform-advantages-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* General Image and Container responsive styles */
  .page-index-platform-advantages-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-platform-advantages-features__section,
  .page-index-platform-advantages-features__card,
  .page-index-platform-advantages-features__container,
  .page-index-platform-advantages-features__hero-buttons,
  .page-index-platform-advantages-features__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by container padding */
    /* padding-right: 15px; */ /* Handled by container padding */
    overflow-x: hidden;
  }

  .page-index-platform-advantages-features__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}