.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main, #F3F8FF); /* Default text color for the page */
  background-color: var(--Card-B-G, #10233F); /* Body background from shared.css, assuming dark */
}

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

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

/* Module 0: Top Section */
.page-index__top-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared */
  padding-bottom: 30px;
  text-align: center;
}

.page-index__page-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--Text-Main, #F3F8FF);
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px; /* Prevent h1 from being too wide */
  margin-left: auto;
  margin-right: auto;
}

.page-index__page-description {
  font-size: 1.1em;
  color: var(--Text-Secondary, #AFC4E8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  min-height: 44px; /* Minimum touch target size */
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
}

.page-index__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--Text-Main, #F3F8FF);
  border: 2px solid transparent;
}

.page-index__btn--primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background: var(--Deep-Navy, #08162B);
  color: var(--Text-Main, #F3F8FF);
  border: 2px solid var(--Border, #244D84);
}

.page-index__btn--secondary:hover {
  background: var(--Border, #244D84);
  transform: translateY(-2px);
}

/* Module 1: Announcement / Featured Promotions */
.page-index__announcement-section {
  padding: 40px 0;
}

.page-index__card {
  background-color: var(--Card-B-G, #10233F);
  border: 1px solid var(--Border, #244D84);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 25px;
  box-sizing: border-box;
  color: var(--Text-Main, #F3F8FF);
}

.page-index__card--dark-bg {
  background-color: var(--Card-B-G, #10233F);
  color: var(--Text-Main, #F3F8FF);
}

.page-index__announcement-title {
  font-size: 1.8em;
  color: var(--Gold, #F2C14E);
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.page-index__announcement-section p {
  margin-bottom: 15px;
  text-align: justify;
  color: var(--Text-Secondary, #AFC4E8);
}

.page-index__key-features-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--Text-Secondary, #AFC4E8);
}

.page-index__key-features-list li {
  margin-bottom: 8px;
}

.page-index__key-features-list li strong {
  color: var(--Text-Main, #F3F8FF);
}

.page-index__special-offer {
  text-align: center;
  font-style: italic;
  font-size: 1.1em;
  color: #ed1c24; /* Emphasized red */
  margin-top: 25px;
}

.page-index__special-offer a {
  color: #ed1c24;
  text-decoration: underline;
  font-weight: bold;
}

.page-index__special-offer a:hover {
  color: #d62828;
}

/* Module 2: Brand Overview + Info Cards */
.page-index__brand-overview-section {
  padding: 40px 0;
}

.page-index__section-title {
  font-size: 2em;
  font-weight: bold;
  color: var(--Text-Main, #F3F8FF);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-index__brand-overview-section p {
  margin-bottom: 15px;
  text-align: justify;
  color: var(--Text-Secondary, #AFC4E8);
}

.page-index__fact-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  color: var(--Text-Secondary, #AFC4E8);
}

.page-index__fact-list li {
  background-color: var(--Deep-Navy, #08162B);
  padding: 15px 20px;
  border-radius: 6px;
  border: 1px solid var(--Divider, #1B3357);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index__fact-list li strong {
  color: var(--Gold, #F2C14E);
}

.page-index__info-card {
  background-color: #f9f9f9; /* Light grey background */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  margin-bottom: 25px;
  color: #333333; /* Dark text for light background */
}

.page-index__info-card p strong {
  color: #113B7A;
}

.page-index__info-card ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-index__info-card em {
  font-size: 0.9em;
  color: #666;
}

.page-index__warning-card {
  background-color: #fff4f4; /* Light red background */
  border-left: 5px solid #ff4141;
  border-radius: 0 8px 8px 0;
  padding: 20px;
  color: #d62828; /* Dark red text */
  font-weight: bold;
  margin-top: 20px;
}

/* Module 3: Long SEO Text */
.page-index__seo-content-section {
  padding: 40px 0;
  background-color: #ffffff; /* White background for long text */
  color: #333333; /* Dark text for white background */
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.page-index__seo-content-section h2,
.page-index__seo-content-section h3 {
  color: #113B7A; /* Brand primary color for headings */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-index__seo-content-section h2 {
  font-size: 1.8em;
  text-align: center;
}

.page-index__seo-content-section h3 {
  font-size: 1.4em;
}

.page-index__seo-content-section p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-index__seo-content-section ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-index__seo-content-section ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-index__wp-caption {
  margin: 25px auto;
  max-width: 680px;
  text-align: center;
  background-color: #f8f8f8;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 6px;
}

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

.page-index__wp-caption figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-index__quote-text {
  font-style: italic;
  font-size: 1.2em;
  border-left: 4px solid #1D5FD1;
  padding-left: 20px;
  margin: 30px 0;
  color: #555;
}

.page-index__quote-cite {
  display: block;
  text-align: right;
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
}

.page-index__product-list li strong {
  color: #113B7A;
}

.page-index__subsection-title {
  color: #1D5FD1; /* Auxiliary color for sub-sections */
}

/* Module 4: World Cup / Big Event Promo Box */
.page-index__promo-section {
  padding: 40px 0;
  background-color: var(--Card-B-G, #10233F);
}

.page-index__promo-box {
  background-color: #fffbe6; /* Light yellow background */
  border: 2px dashed #111;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #333333; /* Dark text for light background */
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #d62828; /* Emphasized red */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-index__promo-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-index__promo-list li {
  margin-bottom: 10px;
  color: #555;
}

.page-index__promo-list li strong {
  color: #111;
}

.page-index__btn--promo {
  background-color: #d62828;
  color: #ffffff;
  border: none;
  padding: 15px 35px;
  font-size: 1.2em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn--promo:hover {
  background-color: #ed1c24;
  transform: translateY(-2px);
}

/* Module 5: Four-step Registration Tutorial */
.page-index__register-tutorial-section {
  padding: 40px 0;
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text */
}

.page-index__register-tutorial-section p {
  text-align: justify;
  margin-bottom: 15px;
}

.page-index__step-item {
  margin-bottom: 40px;
}

.page-index__step-title {
  font-size: 1.6em;
  color: #113B7A; /* Primary brand color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__final-cta {
  text-align: center;
  margin-top: 40px;
}

/* Module 6: FAQ + Contact Info */
.page-index__faq-section {
  padding: 40px 0;
  background-color: var(--Card-B-G, #10233F);
  color: var(--Text-Secondary, #AFC4E8);
}

.page-index__faq-item-text {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--Divider, #1B3357);
  padding-bottom: 20px;
}

.page-index__faq-question-text {
  font-size: 1.4em;
  color: var(--Text-Main, #F3F8FF);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__faq-item-text p {
  text-align: justify;
  color: var(--Text-Secondary, #AFC4E8);
}

.page-index__closing-statement {
  text-align: center;
  font-size: 1.1em;
  margin-top: 30px;
  margin-bottom: 30px;
  color: var(--Text-Main, #F3F8FF);
}

.page-index__contact-info-title {
  font-size: 1.6em;
  color: var(--Gold, #F2C14E);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-index__contact-list {
  list-style-type: none;
  padding: 0;
  text-align: center;
  font-size: 1.1em;
  color: var(--Text-Secondary, #AFC4E8);
}

.page-index__contact-list li {
  margin-bottom: 10px;
}

.page-index__contact-list li strong {
  color: var(--Text-Main, #F3F8FF);
}

.page-index__contact-link {
  color: var(--Glow, #4FA8FF);
  text-decoration: none;
}

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

/* General image styles */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__page-title {
    font-size: 2.5em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__announcement-title {
    font-size: 1.6em;
  }
  .page-index__promo-title {
    font-size: 1.6em;
  }
  .page-index__fact-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* 1. Top Section Title + Dual CTA */
  .page-index__top-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  .page-index__page-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-index__page-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index__top-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-index__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  /* 2. Single column long text container */
  .page-index__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index__section {
    padding: 25px 0;
  }
  .page-index__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-index__announcement-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }
  .page-index__card, .page-index__info-card, .page-index__warning-card, .page-index__promo-box {
    padding: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index__fact-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* 3. Generic images and figure */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__wp-caption {
    margin: 20px auto;
    padding: 8px;
  }
  .page-index__wp-caption figcaption {
    font-size: 0.85em;
  }

  /* 4. Buttons and button containers */
  .page-index__btn--promo {
    font-size: 1.1em;
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index__final-cta {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-index__register-tutorial-section p {
    font-size: 0.95em;
  }
  .page-index__step-title {
    font-size: 1.4em;
  }
  .page-index__faq-question-text {
    font-size: 1.2em;
  }
  .page-index__faq-item-text p {
    font-size: 0.95em;
  }
  .page-index__contact-info-title {
    font-size: 1.4em;
  }
  .page-index__contact-list {
    font-size: 1em;
  }
  .page-index__quote-text {
    font-size: 1em;
    padding-left: 15px;
  }
  .page-index__quote-cite {
    font-size: 0.8em;
  }
}