.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Default body background is white */
}

.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; /* Rely on shared.css for body padding-top */
  padding-bottom: 30px;
  text-align: center;
  background-color: #f9f9f9;
}

.page-index__page-title {
  font-size: clamp(2em, 3.5vw, 2.8em); /* Use clamp for h1 */
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-index__lead-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-index__top-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  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 */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index__btn--primary {
  background-color: #0066ff; /* CTA blue from 188BET visual token */
  color: #ffffff;
  border: 2px solid #0066ff;
}

.page-index__btn--primary:hover {
  background-color: #0056e0;
  border-color: #0056e0;
}

.page-index__btn--secondary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-index__btn--secondary:hover {
  background-color: #d86c00;
  border-color: #d86c00;
}

/* General Section Styling */
.page-index__section {
  padding: 40px 0;
  background-color: #ffffff;
}

.page-index__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-index__content-heading {
  font-size: 2em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
}

.page-index__sub-heading {
  font-size: 1.5em;
  font-weight: bold;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index p {
  margin-bottom: 15px;
  text-align: justify; /* Justify text for long content */
}

.page-index__link--text {
  color: #0066ff;
  text-decoration: underline;
}

.page-index__link--text:hover {
  color: #0056e0;
}

/* Module 1: Announcement Section */
.page-index__announcement-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-index__key-features-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-index__feature-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

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

.page-index__highlight-text {
  font-style: italic;
  color: #ed1c24; /* Emphasize with red */
  text-align: center;
  font-size: 1.1em;
  margin-top: 20px;
}

.page-index__link--highlight {
  color: #ed1c24;
  text-decoration: underline;
}

.page-index__link--highlight:hover {
  color: #d62828;
}

/* Module 2: Brand Overview + Cards */
.page-index__section-title {
  font-size: 2em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
}

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

.page-index__fact-list li {
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.page-index__info-card {
  background-color: #f9f9f9; /* Gray background for info card */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-index__benefits-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-index__note {
  font-size: 0.9em;
  color: #666666;
  font-style: italic;
}

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

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

/* Module 3: Long SEO Content */
.page-index__wp-caption {
  margin: 25px auto;
  max-width: 680px;
  text-align: center;
}

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

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

.page-index__aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__identification-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

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

.page-index__blockquote {
  background-color: #f0f0f0;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #555555;
  border-radius: 8px;
}

.page-index__blockquote p {
  margin-bottom: 10px;
  text-align: left;
}

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

/* Module 4: Promo Box */
.page-index__promo-box-section {
  background-color: #ffffff; /* Explicitly white background */
}