/* style/index.css */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Default page background */
}

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

.page-index__section {
  padding: 30px 0;
  background-color: #ffffff; /* Most sections on homepage are white background */
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-index__section:first-of-type {
    padding-top: 10px; /* Fixed top padding, not var(--header-offset) */
}

.page-index__page-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-index__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  min-height: 44px; /* Minimum touch target height */
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-index__btn--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-index__btn--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index__btn--secondary:hover {
  background: #F4F7FB;
  color: #2F6BFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.page-index__section-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-index__section-title--notification {
  color: #2F6BFF; /* Main color for notification title */
}

.page-index__text-block {
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.7;
}

.page-index__feature-list,
.page-index__fact-list,
.page-index__card-list,
.page-index__identification-list,
.page-index__why-join-list,
.page-index__product-list,
.page-index__promo-list,
.page-index__contact-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  padding-left: 0;
  text-align: justify;
}

.page-index__feature-list li,
.page-index__fact-list li,
.page-index__card-list li,
.page-index__identification-list li,
.page-index__why-join-list li,
.page-index__product-list li,
.page-index__promo-list li,
.page-index__contact-list li {
  margin-bottom: 8px;
}

.page-index__emphasis-text {
  text-align: center;
  font-style: italic;
  font-size: 1.1em;
  color: #d62828; /* Emphasis red */
  margin-top: 20px;
}

.page-index__link--emphasis,
.page-index__link--official,
.page-index__link--warning,
.page-index__link--contact {
  color: #2F6BFF; /* Main color for links */
  text-decoration: underline;
  font-weight: bold;
}

.page-index__link--emphasis:hover,
.page-index__link--official:hover,
.page-index__link--warning:hover,
.page-index__link--contact:hover {
  color: #6FA3FF; /* Accent color on hover */
  text-decoration: none;
}

/* Module 2: Brand Overview + Info Cards */
.page-index__info-card {
  background-color: #f9f9f9; /* Grey background for info card */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-index__info-card p strong {
  color: #2F6BFF; /* Main color for strong text in info card */
}

.page-index__card-note {
  font-size: 0.9em;
  color: #555;
  margin-top: 15px;
}

.page-index__warning-card {
  background-color: #fff4f4; /* Reddish background for warning card */
  border-left: 5px solid #ff4141; /* Red left border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.page-index__warning-title {
  color: #ff4141; /* Red for warning title */
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.page-index__warning-text {
  text-align: justify;
}

/* Module 3: Ultra-long SEO Text */
.page-index__seo-content {
  padding-top: 30px;
  padding-bottom: 30px;
}

.page-index__sub-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index__wp-caption {
  text-align: center;
  margin: 25px auto;
  max-width: 680px; /* Max width for images as per instruction */
}

.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__wp-caption-text {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
  text-align: center;
}

.page-index__blockquote {
  background-color: #f0f8ff; /* Light blue background for blockquote */
  border-left: 5px solid #2F6BFF; /* Main color left border */
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #1F2D3D;
  border-radius: 8px;
}

.page-index__blockquote cite {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-style: normal;
  font-weight: bold;
  color: #2F6BFF;
}

/* Module 4: World Cup / Major Event Promotion Box */
.page-index__promo-box {
  background-color: #fffbe6; /* Light yellow background */
  border: 2px dashed #111; /* Dashed border */
  border-radius: 10px;
  padding: 30px;
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
}

.page-index__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #d62828; /* Emphasis red for promo title */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index__promo-text {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-index__btn--promo {
  background-color: #d62828; /* Red background for promo button */
  color: #ffffff;
  border: none;
  padding: 12px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  min-height: 44px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(214, 40, 40, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index__btn--promo:hover {
  background-color: #ed1c24;
  box-shadow: 0 6px 15px rgba(214, 40, 40, 0.4);
}

/* Module 5: Four-Step Registration Tutorial */
.page-index__registration-tutorial {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Module 6: FAQ + Footer Contact Info */
.page-index__faq-contact-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.page-index__closing-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-index__contact-info {
  background-color: #f9f9f9;
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
}

.page-index__contact-info .page-index__sub-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  color: #2F6BFF;
}

.page-index__contact-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  text-align: left;
}

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

.page-index__contact-list li strong {
  color: #000000;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index__page-title {
    font-size: 2em;
  }
  .page-index__section-title {
    font-size: 1.6em;
  }
  .page-index__sub-title {
    font-size: 1.3em;
  }
  .page-index__btn {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-index__promo-box {
    padding: 25px;
  }
  .page-index__promo-title {
    font-size: 1.4em;
  }
  .page-index__btn--promo {
    padding: 10px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section Title + Dual CTA */
  .page-index__top-section {
    padding-top: 10px !important; /* Fixed top padding, not var(--header-offset) */
  }
  .page-index__page-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
    margin-bottom: 15px;
  }
  .page-index__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px;
  }
  .page-index__top-cta {
    flex-direction: column; /* Buttons stack vertically */
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-index__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 !important; /* Add padding for mobile buttons */
    padding-right: 15px !important;
    font-size: 1em;
  }
}