.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-index__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

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

.page-index__section-lead {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF5E1;
}

.page-index__button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__button-group--center {
  justify-content: center;
}

.page-index__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for text on gold button */
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
}

/* Ticker */
.page-index__ticker {
  width: 100%;
  overflow: hidden;
  background-color: #C91F17; /* Main Color */
  color: #FFF5E1;
  padding: 10px 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  box-sizing: border-box;
  font-size: 0.9rem;
  border-bottom: 1px solid #E53935;
}

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

.page-index__ticker-track {
  display: inline-block;
  animation: ticker-scroll 20s linear infinite;
}

.page-index__ticker-track:hover {
  animation-play-state: paused;
}

.page-index__ticker-text {
  padding-right: 50px; /* Space between repeating texts */
}

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

/* Hero Jackpot */
.page-index__hero-jackpot {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background: #100224; /* Dark background */
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 10px; /* Small top padding */
}

.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;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px 12px;
  text-align: center;
  color: #FFF5E1;
}

.page-index__hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 15px;
  color: #F4D34D; /* 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;
  padding: 15px 10px;
  border: 2px solid #F2B544; /* Border */
  border-radius: 15px;
  background-color: rgba(211, 47, 47, 0.2); /* Card BG with transparency */
}

.page-index__jackpot-label {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: #FFCC66; /* Glow */
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(1.8rem, 6.5vw, 3.5rem);
  font-weight: 800;
  color: #FFF5E1; /* Text Main */
  word-break: break-all;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
}

.page-index__jackpot-currency {
  display: block;
  font-size: 1.1rem;
  margin-top: 4px;
  color: #F4D34D; /* Gold */
}

.page-index__hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 25px;
  color: #FFF5E1;
}

.page-index__btn-cta {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for text on gold button */
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.5);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 204, 102, 0.7);
}

/* Brand H1 & Lead */
.page-index__main-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__text-gradient {
  background: linear-gradient(90deg, #F4D34D, #FFCC66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: block;
}

.page-index__lead-text {
  font-size: 1.15rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #FFF5E1;
}

/* Game Grids (Popular & Categories) */
.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background-color: #D32F2F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 250px;
  height: 250px; /* Desktop fixed square */
}

.page-index__game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index__game-tile img {
  width: 250px;
  height: 250px;
  display: block;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 12px;
}

/* Category Sports specific layout */
.page-index__category-sports {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #B71C1C;
}

.page-index__sports-content {
  flex: 1;
  text-align: left;
}

.page-index__sports-image {
  flex: 1;
  min-width: 300px;
}

.page-index__sports-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Promo Dual */
.page-index__promo-dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  background-color: #7A0E0E; /* Deep Red */
}

.page-index__promo-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  width: 400px;
  height: 300px;
}

.page-index__promo-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFF5E1;
}

.page-index__promo-text {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #FFF5E1;
  flex-grow: 1;
}

/* Winners List (Hot Jackpot & Top MK Casino) */
.page-index__winner-title {
  text-align: center;
  line-height: 1.1;
  margin-bottom: 30px;
}

.page-index__winner-title-line {
  display: block;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  background: linear-gradient(180deg, #FFD86A, #E6B800);
  -webkit-background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.page-index__winner-title-big {
  display: block;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  color: rgba(255, 210, 0, .45);
  letter-spacing: .02em;
  text-transform: uppercase;
}