/* style/index.css */

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

.page-index__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index__section {
  padding: 40px 0;
}

.page-index__top-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  text-align: center;
}

.page-index__page-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-index__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.page-index__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  min-height: 44px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
}

.page-index__btn--secondary {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 2px solid #F2C14E; /* Main color */
}

.page-index__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index__announcement-section p,
.page-index__brand-overview-section p,
.page-index__seo-content-section p,
.page-index__register-tutorial-section p,
.page-index__faq-section p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-index__feature-list,
.page-index__fact-list,
.page-index__advantage-list,
.page-index__product-list,
.page-index__form-fields,
.page-index__promo-list,
.page-index__contact-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-index__feature-list li,
.page-index__fact-list li,
.page-index__advantage-list li,
.page-index__product-list li,
.page-index__form-fields li,
.page-index__promo-list li,
.page-index__contact-list li {
  margin-bottom: 8px;
  color: #FFF6D6;
}

.page-index__highlight-text {
  font-style: italic;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-top: 20px;
}

.page-index__text-link {
  color: #FFD36B; /* Glow */
  text-decoration: none;
}

.page-index__text-link:hover {
  text-decoration: underline;
}

.page-index__info-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-index__info-card p,
.page-index__info-card ul {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-index__info-card strong {
  color: #F2C14E;
}

.page-index__warning-card {
  background: #111111; /* Card BG */
  border-left: 5px solid #d62828; /* Emphasized red */
  border-radius: 0 8px 8px 0;
  padding: 20px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-index__warning-card strong {
  color: #d62828;
}

.page-index__seo-content-section h2,
.page-index__seo-content-section h3 {
  color: #F2C14E; /* Main color */
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

.page-index__seo-content-section h2 {
  font-size: clamp(1.6em, 3vw, 2.5em);
}

.page-index__seo-content-section h3 {
  font-size: clamp(1.4em, 2.5vw, 2em);
}

.page-index__wp-caption {
  display: table;
  margin: 20px auto;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-index__wp-caption figcaption {
  display: table-caption;
  caption-side: bottom;
  text-align: center;
  font-style: italic;
  font-size: 0.9em;
  color: #FFF6D6;
  padding-top: 10px;
}

.page-index__quote-text {
  font-style: italic;
  font-size: 1.2em;
  color: #FFD36B; /* Glow */
  border-left: 4px solid #F2C14E; /* Main color */
  padding-left: 15px;
  margin: 30px 0;
  text-align: justify;
}

.page-index__promo-box-section {
  padding: 50px 0;
}

.page-index__promo-box {
  background: #111111; /* Card BG */
  border: 2px dashed #F2C14E; /* Main color for dashed border */
  border-radius: 10px;
  padding: 40px;
  text-align: center;
}

.page-index__promo-title {
  font-size: clamp(1.6em, 3vw, 2.5em);
  color: #F2C14E; /* Main color */
  margin-bottom: 25px;
  font-weight: bold;
}

.page-index__btn--promo {
  background: #d62828; /* Emphasized red */
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  margin-top: 30px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  min-height: 44px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index__btn--promo:hover {
  opacity: 0.9;
}

.page-index__register-tutorial-section h2 {
  margin-bottom: 30px;
}

.page-index__step-title {
  font-size: clamp(1.3em, 2.2vw, 1.8em);
  color: #FFD36B; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__faq-section h2 {
  margin-bottom: 30px;
}

.page-index__faq-question {
  font-size: clamp(1.2em, 2vw, 1.6em);
  color: #F2C14E; /* Main color */
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__faq-answer {
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__closing-text {
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__contact-info {
  margin-top: 40px;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
}

.page-index__contact-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-index {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-index__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Module 0: Top title + Dual CTA */
  .page-index__top-section {
    padding-top: 10px !important; /* Small top padding, relying on body for header offset */
  }

  .page-index__page-title {
    font-size: 2em; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-index__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: left;
  }

  .page-index__top-cta {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-index__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Section Titles */
  .page-index__section-title {
    font-size: 1.8em; /* Adjusted for mobile */
    margin-bottom: 20px;
  }

  /* Module 1: Announcement / Promo area */
  .page-index__announcement-section p,
  .page-index__brand-overview-section p,
  .page-index__seo-content-section p,
  .page-index__register-tutorial-section p,
  .page-index__faq-section p {
    text-align: left;
  }

  .page-index__feature-list,
  .page-index__fact-list,
  .page-index__advantage-list,
  .page-index__product-list,
  .page-index__form-fields,
  .page-index__promo-list,
  .page-index__contact-list {
    margin-left: 20px;
  }

  /* Module 2: Brand overview + Info card + Warning card */
  .page-index__info-card,
  .page-index__warning-card {
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  /* Module 3: Long SEO text */
  .page-index__seo-content-section h2 {
    font-size: 1.6em; /* Adjusted for mobile */
  }

  .page-index__seo-content-section h3 {
    font-size: 1.3em; /* Adjusted for mobile */
  }

  .page-index__wp-caption {
    margin: 15px auto;
  }

  .page-index__wp-caption img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__quote-text {
    font-size: 1em;
    margin: 20px 0;
    padding-left: 10px;
    text-align: left;
  }

  /* Module 4: World Cup / Event promo box */
  .page-index__promo-box {
    padding: 25px;
  }

  .page-index__promo-title {
    font-size: 1.6em; /* Adjusted for mobile */
    margin-bottom: 20px;
  }

  .page-index__btn--promo {
    padding: 12px 25px;
    font-size: 1.1em;
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Module 5: 4-step registration tutorial */
  .page-index__step-title {
    font-size: 1.2em; /* Adjusted for mobile */
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Module 6: FAQ + Contact info */
  .page-index__faq-question {
    font-size: 1.1em; /* Adjusted for mobile */
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .page-index__contact-info {
    padding: 20px;
    margin-top: 30px;
  }

  .page-index__contact-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  /* Ensure all image containers are responsive */
  .page-index__section,
  .page-index__card,
  .page-index__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* If buttons use flex layout, ensure in mobile they wrap or stack */
  .page-index__top-cta {
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 10px; /* Space between stacked buttons */
  }
}

/* Smallest mobile adaptation (optional, but good practice) */
@media (max-width: 480px) {
  .page-index__page-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.6em;
  }
  .page-index__promo-title {
    font-size: 1.5em;
  }
}