:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --body-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-index-platform-overview {
  font-family: 'Arial', sans-serif;
  background-color: var(--body-bg);
  color: var(--text-main);
  line-height: 1.6;
}

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

.page-index-platform-overview__section-title {
  font-size: 2.5em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-platform-overview__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--button-gradient);
  border-radius: 2px;
}

.page-index-platform-overview__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-platform-overview__text-block p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

/* Buttons */
.page-index-platform-overview__btn-primary,
.page-index-platform-overview__btn-secondary,
.page-index-platform-overview__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-index-platform-overview__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
}

.page-index-platform-overview__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-index-platform-overview__btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-index-platform-overview__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  box-shadow: 0 0 10px var(--primary-color);
}

.page-index-platform-overview__btn-tertiary {
  background: var(--deep-green);
  color: var(--text-main);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-index-platform-overview__btn-tertiary:hover {
  background: var(--primary-color);
}

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

/* Hero Section */
.page-index-platform-overview__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small decorative top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-index-platform-overview__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.page-index-platform-overview__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-index-platform-overview__hero-content {
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap with the image slightly for visual appeal */
  position: relative;
  z-index: 1;
}

.page-index-platform-overview__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-index-platform-overview__hero-description {
  font-size: 1.2em;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index-platform-overview__about-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--card-bg);
}

.page-index-platform-overview__about-section .page-index-platform-overview__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index-platform-overview__about-section .page-index-platform-overview__text-block {
  flex: 1;
  text-align: left;
}

.page-index-platform-overview__about-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Login Guide Section */
.page-index-platform-overview__login-guide-section {
  padding: 80px 0;
  background-color: var(--body-bg);
}

.page-index-platform-overview__login-guide-section .page-index-platform-overview__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse;
}

.page-index-platform-overview__login-guide-section .page-index-platform-overview__text-block {
  flex: 1;
  text-align: left;
}

.page-index-platform-overview__login-steps {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index-platform-overview__login-steps li {
  background-color: var(--deep-green);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 40px;
}

.page-index-platform-overview__login-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold-color);
  color: var(--body-bg);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-index-platform-overview__guide-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Games Overview Section */
.page-index-platform-overview__games-overview-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

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

.page-index-platform-overview__game-card {
  background-color: var(--deep-green);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-overview__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-index-platform-overview__game-card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin: 20px 15px 10px;
  flex-grow: 1;
}

.page-index-platform-overview__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-platform-overview__game-card-title a:hover {
  text-decoration: underline;
}

.page-index-platform-overview__game-card-description {
  color: var(--text-secondary);
  font-size: 0.95em;
  padding: 0 15px 20px;
}

.page-index-platform-overview__game-card .page-index-platform-overview__btn-tertiary {
  margin: 0 15px 20px;
}

/* Promotions Section */
.page-index-platform-overview__promotions-section {
  padding: 80px 0;
  background-color: var(--body-bg);
}

.page-index-platform-overview__promotion-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-platform-overview__promotion-item {
  background-color: var(--deep-green);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-overview__promotion-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-platform-overview__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-index-platform-overview__promotion-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin: 20px 15px 10px;
}

.page-index-platform-overview__promotion-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-platform-overview__promotion-title a:hover {
  text-decoration: underline;
}

.page-index-platform-overview__promotion-text {
  color: var(--text-secondary);
  font-size: 0.95em;
  padding: 0 15px 20px;
}

.page-index-platform-overview__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* Mobile App Section */
.page-index-platform-overview__mobile-app-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.page-index-platform-overview__mobile-app-section .page-index-platform-overview__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index-platform-overview__mobile-app-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-index-platform-overview__mobile-app-content {
  flex: 1;
  text-align: left;
}

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

.page-index-platform-overview__app-benefits li {
  color: var(--text-main);
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-index-platform-overview__app-benefits li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* FAQ Section */
.page-index-platform-overview__faq-section {
  padding: 80px 0;
  background-color: var(--body-bg);
}

.page-index-platform-overview__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-platform-overview__faq-item {
  background-color: var(--deep-green);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-platform-overview__faq-item summary {
  list-style: none;
}

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

.page-index-platform-overview__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
}

.page-index-platform-overview__faq-question:hover {
  background-color: var(--primary-color);
}

.page-index-platform-overview__faq-qtext {
  font-weight: bold;
}

.page-index-platform-overview__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gold-color);
}

.page-index-platform-overview__faq-answer {
  padding: 15px 25px 20px;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  font-size: 1em;
}

/* Contact CTA Section */
.page-index-platform-overview__contact-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green);
}

.page-index-platform-overview__contact-cta-section .page-index-platform-overview__section-title {
  color: var(--gold-color);
}

.page-index-platform-overview__contact-cta-section .page-index-platform-overview__text-block {
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--text-main);
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-platform-overview__about-section .page-index-platform-overview__container,
  .page-index-platform-overview__login-guide-section .page-index-platform-overview__container,
  .page-index-platform-overview__mobile-app-section .page-index-platform-overview__container {
    flex-direction: column;
  }

  .page-index-platform-overview__about-image,
  .page-index-platform-overview__guide-image,
  .page-index-platform-overview__mobile-app-image {
    max-width: 80%;
    margin-top: 40px;
  }

  .page-index-platform-overview__hero-content {
    margin-top: -100px;
  }
}

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

  .page-index-platform-overview__section-title {
    font-size: 2em;
  }

  .page-index-platform-overview__hero-content {
    padding: 40px 15px;
    margin-top: -80px;
  }

  .page-index-platform-overview__main-title {
    font-size: clamp(2em, 7vw, 2.5em);
  }

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

  .page-index-platform-overview__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-platform-overview__btn-primary,
  .page-index-platform-overview__btn-secondary,
  .page-index-platform-overview__btn-tertiary,
  .page-index-platform-overview a[class*="button"],
  .page-index-platform-overview 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-platform-overview__about-section .page-index-platform-overview__container,
  .page-index-platform-overview__login-guide-section .page-index-platform-overview__container,
  .page-index-platform-overview__mobile-app-section .page-index-platform-overview__container {
    padding: 0 15px;
  }

  .page-index-platform-overview__about-image,
  .page-index-platform-overview__guide-image,
  .page-index-platform-overview__mobile-app-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-platform-overview img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-platform-overview__section,
  .page-index-platform-overview__card,
  .page-index-platform-overview__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-platform-overview__hero-section,
  .page-index-platform-overview__about-section,
  .page-index-platform-overview__login-guide-section,
  .page-index-platform-overview__games-overview-section,
  .page-index-platform-overview__promotions-section,
  .page-index-platform-overview__mobile-app-section,
  .page-index-platform-overview__faq-section,
  .page-index-platform-overview__contact-cta-section {
    padding: 40px 0;
  }

  .page-index-platform-overview__game-cards,
  .page-index-platform-overview__promotion-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-platform-overview__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-index-platform-overview__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-index-platform-overview__section-title {
    font-size: 1.8em;
  }

  .page-index-platform-overview__hero-content {
    margin-top: -60px;
  }

  .page-index-platform-overview__hero-description {
    font-size: 0.9em;
  }
}