.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: #100224; /* Base dark background for the page */
}

.page-index__section-padding {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__dark-bg {
  background-color: #100224;
}

.page-index__dark-bg-card {
  background-color: #1a0636;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index__text-light {
  color: var(--color-text-main);
}

.page-index__text-gradient {
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-deep-red);
}

.page-index__section-lead {
  font-size: clamp(1rem, 2vw, 1.1rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ccc;
}

.page-index__btn-primary,
.page-index__btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #100224;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.3);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__btn-primary:hover,
.page-index__btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.5);
}

.page-index__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__btn-secondary:hover {
  background: var(--color-gold);
  color: #100224;
}

.page-index__btn-link {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.page-index__btn-link:hover {
  color: var(--color-glow);
}

.page-index__button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-index__mt-large {
  margin-top: 40px;
}

/* Module 1: Ticker */
.page-index__ticker {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-deep-red);
  color: var(--color-text-main);
  padding: 8px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  height: 40px;
  box-sizing: border-box;
}

.page-index__ticker-icon {
  font-size: 1.2rem;
  margin-left: 15px;
  margin-right: 10px;
  flex-shrink: 0;
}

.page-index__ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

.page-index__ticker-text {
  padding-right: 50px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .page-index__ticker-track {
    animation-play-state: paused;
  }
}

/* Module 2: Hero Jackpot */
.page-index__hero-jackpot {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background: #100224;
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  position: relative;
}

.page-index__hero-visual {
  order: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.page-index__hero-image,
.page-index__hero-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Desktop hero aspect ratio */
@media (min-width: 850px) {
  .page-index__hero-image,
  .page-index__hero-visual img {
    aspect-ratio: 16/5;
    object-fit: cover;
  }
}

.page-index__hero-copy {
  order: 2;
  position: static; /* Ensure it's in normal document flow */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px 20px 40px;
  text-align: center;
  color: var(--color-text-main);
}

.page-index__hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-gold);
}

.page-index__jackpot-counter {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.page-index__jackpot-label {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-glow);
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  color: var(--color-gold);
  word-break: break-all;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}
}
}
}
}
}