.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background: var(--secondary-color, #FFFFFF);
}

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

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

.page-index__section-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-index__text-gradient {
  background: linear-gradient(90deg, #017439, #005f2c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__dark-section {
  background: #017439;
  color: #ffffff;
  padding: 40px 15px;
}

.page-index__dark-section .page-index__section-title,
.page-index__dark-section .page-index__section-lead {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

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

.page-index__btn-primary {
  background: linear-gradient(90deg, #017439, #005f2c);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index__btn-primary:hover {
  background: linear-gradient(90deg, #005f2c, #017439);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-index__btn-secondary:hover {
  background: #f0f0f0;
  color: #005f2c;
  border-color: #005f2c;
}

.page-index__btn-cta {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid transparent;
  font-size: 1.2rem;
  padding: 15px 30px;
}

.page-index__btn-cta:hover {
  background: #e00b0b;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index__btn-container {
  text-align: center;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Module 1: Ticker */
.page-index__ticker {
  width: 100%;
  overflow: hidden;
  background: #005f2c;
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

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

.page-index__ticker-track {
  display: inline-block;
  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: reduce) {
  .page-index__ticker-track { animation: none; }
}

/* 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, body handles --header-offset */
}

.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: 20px 12px 40px;
  text-align: center;
  color: #ffffff;
}

.page-index__hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 15px;
  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;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px 15px;
  border: 2px solid #ffcc00; /* Orange-yellow border */
}

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

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

.page-index__jackpot-currency {
  display: block;
  font-size: 1.1rem;
  margin-top: 5px;
  color: #ffcc00;
}

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

/* Module 3: Brand H1 & Lead */
.page-index__intro {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-index__main-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
}

.page-index__lead-text {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #444444;
}

/* Module 4 & 5: Game Grid (Shared Styles) */
.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: 8px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

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

/* Module 5: Category Blocks specific */
.page-index__category-slots,
.page-index__category-fishing,
.page-index__category-table,
.page-index__category-sports {
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-index__sports-content {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-index__sports-text {
  flex: 1;
}

.page-index__sports-text p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.page-index__sports-image {
  flex: 0 0 600px;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
}

.page-index__sports-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Module 6: Featured Promo Dual Column */
.page-index__promo-dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-index__promo-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 15px;
  font-weight: 700;
  color: #ffcc00;
}

.page-index__promo-text {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* Module 7 & 8: Winners List (Shared Styles) */
.page-index__winners-hot,
.page-index__winners-top {
  padding-top: 50px;
  padding-bottom: 50px;
}

.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, #ffb347, #ff8c00);
  -webkit-background-clip: text;
  color: transparent;
}

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

.page-index__winner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__winner-row {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  width: 100%;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-index__winners-top .page-index__winner-row {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-index__winners-top .page-index__winner-game {
  color: #ffcc00;
}

.page-index__winners-top .page-index__winner-user,
.page-index__winners-top .page-index__winner-date {
  color: #e0e0e0;
}

.page-index__winner-thumb {
  position: relative;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
}

.page-index__winner-thumb img {
  
  
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.page-index__winner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #7b2cbf;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  clip-path: polygon(50% 0%, 61% 10%, 75% 6%, 80% 20%, 95% 22%, 90% 36%, 100% 50%, 90% 64%, 95% 78%, 80% 80%, 75% 94%, 61% 90%, 50% 100%, 39% 90%, 25% 94%, 20% 80%, 5% 78%, 10% 64%, 0% 50%, 10% 36%, 5% 22%, 20% 20%, 25% 6%, 39% 10%);
}

.page-index__winner-badge em {
  font-style: normal;
  font-size: .65rem;
}

.page-index__winner-badge strong {
  font-size: .75rem;
}

.page-index__winner-badge--overlay {
  display: none;
  position: absolute;
  top: -6px;
  right: -6px;
  width: 52px;
  height: 52px;
}

.page-index__winner-badge--side {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin-left: auto;
}

.page-index__winner-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-index__winner-game {
  font-weight: 700;
  color: #111;
}

.page-index__winner-user,
.page-index__winner-date {
  font-size: .875rem;
  color: #666;
}

/* Module 9: Blog Post Grid */
.page-index__blog-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.page-index__post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-index__post-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}