.page-index {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-index__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-index__dark-section .page-index__section-title {
  color: #ffffff;
}

.page-index__section-lead {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__text-gradient {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__btn-cta,
.page-index__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-index__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-index__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-index__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a57cc;
  border-color: #1a57cc;
}

.page-index__btn-cta {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-size: 1.1rem;
  padding: 15px 30px;
  border: none;
}

.page-index__btn-cta:hover {
  opacity: 0.9;
  box-shadow: 0 4px 20px rgba(47, 107, 255, 0.5);
}

.page-index__btn-link {
  color: #2F6BFF;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  font-weight: 500;
  text-decoration: underline;
}

.page-index__btn-link:hover {
  color: #1a57cc;
}

/* M1: Ticker */
.page-index__ticker {
  width: 100%;
  overflow: hidden;
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  position: relative;
  z-index: 10;
}

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

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

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

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

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

/* M2: 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, main padding from body */
}

.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;
}

@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 flow */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 30px 20px;
  text-align: center;
  color: #ffffff;
}

.page-index__hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.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;
  padding: 15px 20px;
  border: 2px solid;
  border-image: linear-gradient(to right, #FFD700, #FFA500) 1;
  border-radius: 15px;
  max-width: 400px;
  margin: 0 auto 20px auto;
}

.page-index__jackpot-label {
  font-size: 1rem;
  font-weight: 600;
  color: #FFD700;
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(1.8rem, 6.5vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  word-break: break-all;
  line-height: 1.2;
}