.page-index {
  background-color: var(--site-bg, #0A0A0A); /* Default to #0A0A0A if --site-bg is not set */
  color: #FFF6D6; /* Main text color for dark background */
}

/* Module 1: Hero Slider */
.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  overflow: hidden;
  margin-bottom: 30px; /* Spacing for Module 2 */
}
.page-index__hero-slider-track {
  display: flex;
  overflow: hidden; /* Hide scrollbar for JS controlled slider */
  position: relative;
  width: 100%;
  height: auto;
}
.page-index__hero-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  transition: transform 0.6s ease-in-out;
  display: none; /* Hidden by default, JS controls visibility */
}
.page-index__hero-slider-slide.is-active {
  display: block;
  transform: translateX(0); /* Ensure active slide is visible */
}
.page-index__hero-slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.page-index__hero-slider-prev,
.page-index__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #FFF6D6;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.page-index__hero-slider-prev:hover,
.page-index__hero-slider-next:hover {
  background: rgba(0, 0, 0, 0.7);
}
.page-index__hero-slider-prev {
  left: 10px;
}
.page-index__hero-slider-next {
  right: 10px;
}
.page-index__hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.page-index__hero-slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.page-index__hero-slider-dot.is-active {
  background: #FFF6D6;
}

/* Module 3: Dual Promo Section */
.page-index__promo-duo {
  max-width: 1250px;
  margin: 0 auto 30px auto; /* Margin bottom for spacing */
  padding: 0 16px;
  box-sizing: border-box;
}
.page-index__promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.page-index__promo-duo-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.page-index__promo-duo-col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  object-fit: cover;
}
.page-index__promo-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color from custom palette */
  color: #111111; /* Text Main is #FFF6D6, but for alert button, need dark text on light background */
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-index__promo-cta:hover {
  opacity: 0.9;
}
.page-index__promo-cta--alert {
  background: #e74c3c; /* Alert color from prompt */
  color: #fff;
}

/* Module 4: Decorative Main Title */
.page-index__section-title {
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 16px;
  text-align: center;
  box-sizing: border-box;
}