/* style/index.css */

/* Variables */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --body-bg: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --emphasis-red: #d62828;
  --warning-red-border: #ff4141;
  --btn-blue: #0066ff; /* For primary CTA if not using gradient */
}

.page-index {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Main text color for dark body background */
  background-color: var(--body-bg);
  line-height: 1.6;
  font-size: 16px;
}

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

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

/* Module 0: Top Section H1 + Dual CTA */
.page-index__top-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  padding-bottom: 20px;
}

.page-index__page-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font-size */
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-index__subtitle {
  font-size: 1.2em;
  color: var(--text-main-color);
  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; /* Allow buttons to wrap on smaller screens */
  margin-bottom: 20px;
}

.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: 48px; /* Minimum touch target height */
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure text wraps within button */
}

.page-index__btn--primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-index__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

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

.page-index__btn--secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
}

/* Module 1: Announcement / Featured Welfare */
.page-index__announcement-section {
  background-color: var(--card-bg); /* Darker background for this section */
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.page-index__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-index__section-title--notification {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-index__paragraph {
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-index__paragraph--center {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
}

.page-index__feature-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-main-color);
}

.page-index__feature-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.page-index__paragraph--highlight {
  text-align: center;
  font-style: italic;
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-top: 30px;
}

.page-index__paragraph--highlight a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Module 2: Brand Overview + Info Card + Warning Card */
.page-index__brand-overview-section {
  padding-bottom: 50px;
}

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

.page-index__facts-item {
  background-color: var(--card-bg);
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-index__facts-item strong {
  color: var(--primary-color);
}

.page-index__link-text {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index__link-text:hover {
  text-decoration: underline;
}

.page-index__card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-index__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-index__info-card li {
  margin-bottom: 8px;
  color: var(--text-main-color);
}

.page-index__card-note {
  font-style: italic;
  font-size: 0.9em;
  color: rgba(255, 246, 214, 0.7);
}

.page-index__warning-card {
  border-left: 5px solid var(--warning-red-border); /* Specific red from demo */
  background-color: var(--card-bg); /* Dark background */
  color: var(--text-main-color);
  padding: 20px 25px;
}

.page-index__card-title--warning {
  color: var(--warning-red-border);
  margin-bottom: 10px;
}

.page-index__paragraph--warning {
  font-size: 0.95em;
}

/* Module 3: Long SEO Text */
.page-index__long-seo-section {
  padding-top: 0;
  padding-bottom: 60px;
}

.page-index__section-title {
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
}

.page-index__sub-section-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-index__wp-caption {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
}

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

.page-index__figcaption {
  font-size: 0.9em;
  color: rgba(255, 246, 214, 0.7);
  margin-top: 10px;
  font-style: italic;
}

.page-index__identification-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

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

.page-index__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-index__advantage-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-main-color);
}

.page-index__advantage-item::before {
  content: '👉';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.page-index__blockquote {
  background-color: var(--card-bg);
  border-left: 5px solid var(--primary-color);
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-main-color);
  border-radius: 0 8px 8px 0;
}

.page-index__blockquote p {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index__blockquote cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 10px;
}

.page-index__product-highlights {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-index__product-item {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  font-weight: bold;
  position: relative;
}

.page-index__product-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: normal;
}

.page-index__product-item a:hover {
  text-decoration: underline;
}

.page-index__product-item::before {
  content: '🔥'; /* Example icon */
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 1.2em;
  opacity: 0.7;
}

/* Module 4: World Cup / Big Event Promo Box */
.page-index__promo-box-section {
  padding-top: 30px;
  padding-bottom: 60px;
}

.page-index__promo-box {
  background-color: var(--card-bg); /* Adapted to dark theme */
  border: 2px dashed var(--border-color); /* Adapted to dark theme */
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-main-color);
}

.page-index__promo-title {
  font-size: 2em;
  color: var(--emphasis-red); /* Using emphasis red */
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-index__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-main-color);
}

.page-index__btn--promo {
  background-color: var(--emphasis-red);
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  min-height: 50px;
  box-shadow: 0 4px 10px rgba(214, 40, 40, 0.4);
}

.page-index__btn--promo:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(214, 40, 40, 0.6);
}

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

.page-index__step-by-step {
  margin-top: 40px;
}

.page-index__step-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__registration-details {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}