:root {
  --page-index-primary-color: #113B7A;
  --page-index-secondary-color: #1D5FD1;
  --page-index-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --page-index-card-bg: #10233F;
  --page-index-text-main: #F3F8FF;
  --page-index-text-secondary: #AFC4E8;
  --page-index-border-color: #244D84;
  --page-index-glow-color: #4FA8FF;
  --page-index-gold-color: #F2C14E;
  --page-index-divider-color: #1B3357;
  --page-index-deep-navy: #08162B;
}

.page-index {
  background-color: var(--page-index-deep-navy);
  color: var(--page-index-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevents horizontal scroll on mobile */
}

.page-index__ticker-section {
  background-color: var(--page-index-primary-color);
  padding: 10px 0;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 1px solid var(--page-index-divider-color);
}

.page-index__ticker-content {
  display: inline-block;
  padding-left: 100%; /* Start off-screen */
  animation: page-index__marquee 20s linear infinite;
  color: var(--page-index-text-main);
  font-size: 0.9em;
}

@keyframes page-index__marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

.page-index__hero-jackpot-section {
  position: relative;
  background-color: var(--page-index-deep-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
}

.page-index__hero-visual {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-index__hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5;
  object-fit: cover;
}

.page-index__hero-copy {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  width: 100%;
  z-index: 1;
}

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

.page-index__jackpot-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border: 2px solid;
  border-image: linear-gradient(to right, #ff9500, #ff5e3a) 1;
  padding: 15px 25px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__jackpot-label {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--page-index-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index__jackpot-amount {
  font-size: clamp(1.8rem, 6.5vw, 3.5rem); /* Clamped for responsiveness */
  color: var(--page-index-gold-color);
  font-weight: bold;
  word-break: break-all;
  display: block;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-index__jackpot-counter img {
  
  
  margin-top: 10px;
}

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

.page-index__btn-cta {
  background: var(--page-index-button-gradient);
  color: var(--page-index-text-main);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
  display: inline-block;
}

.page-index__btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 115, 246, 0.6);
}

.page-index__brand-intro-section {
  padding: 50px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--page-index-gold-color), var(--page-index-text-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__intro-description {
  font-size: clamp(1em, 2vw, 1.1em);
  color: var(--page-index-text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-index__popular-games-section,
.page-index__category-section,
.page-index__promotions-section,
.page-index__hot-winners-section,
.page-index__blog-section,
.page-index__faq-section,
.page-index__brand-logo-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__category-section:nth-of-type(odd) {
  background-color: var(--page-index-card-bg);
}

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

.page-index__section-title.text-gradient {
  background: linear-gradient(to right, var(--page-index-gold-color), var(--page-index-glow-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__section-description {
  font-size: 1em;
  color: var(--page-index-text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Min size for games */
  gap: 20px;
  justify-content: center;
}

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--page-index-card-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

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

.page-index__game-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min- /* Enforce min image size */
}

.page-index__btn-secondary {
  background: var(--page-index-button-gradient);
  color: var(--page-index-text-main);
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  margin-top: 20px;
}

.page-index__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(43, 115, 246, 0.4);
}

.page-index__category-sports {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background-color: var(--page-index-deep-navy);
  text-align: left;
}

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

.page-index__sports-content .page-index__section-title,
.page-index__sports-content .page-index__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.page-index__sports-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  min-width: 200px;
  min-
}

.page-index__promotions-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index__promo-card {
  background-color: var(--page-index-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-index-border-color);
}

.page-index__promo-title {
  font-size: 1.5em;
  color: var(--page-index-text-main);
  margin-bottom: 15px;
}

.page-index__promo-description {
  font-size: 0.95em;
  color: var(--page-index-text-secondary);
  margin-bottom: 20px;
}

.page-index__winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
}

.page-index__winner-card {
  background-color: var(--page-index-card-bg);
  padding: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  border: 1px solid var(--page-index-border-color);
}

.page-index__winner-card img {
  
  
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--page-index-gold-color);
  min-
  min-
}

.page-index__winner-info {
  flex-grow: 1;
  text-align: left;
}

.page-index__winner-game {
  display: block;
  font-weight: bold;
  color: var(--page-index-text-main);
  font-size: 1.1em;
  margin-bottom: 2px;
}

.page-index__winner-user,
.page-index__winner-date {
  display: block;
  font-size: 0.85em;
  color: var(--page-index-text-secondary);
}

.page-index__winner-amount {
  text-align: right;
  position: relative;
  padding-right: 10px;
}

.page-index__won-label {
  display: block;
  font-size: 0.75em;
  color: var(--page-index-gold-color);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-index__prize {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-index-gold-color);
  white-space: nowrap;
}

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

.page-index__post-card {
  background-color: var(--page-index-card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-index-border-color);
  transition: transform 0.3s ease;
}

.page-index__post-card:hover {
  transform: translateY(-5px);
}

.page-index__post-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-
}

.page-index__post-content {
  padding: 20px;
}

.page-index__post-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index__post-title a {
  color: var(--page-index-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__post-title a:hover {
  color: var(--page-index-secondary-color);
}

.page-index__post-excerpt {
  font-size: 0.9em;
  color: var(--page-index-text-secondary);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-index__read-more {
  color: var(--page-index-secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.page-index__read-more:hover {
  color: var(--page-index-glow-color);
}

.page-index__load-more-container {
  text-align: center;
  margin-top: 40px;
}

.page-index__load-more-btn {
  background: var(--page-index-button-gradient);
  color: var(--page-index-text-main);
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-index__load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 115, 246, 0.6);
}

.page-index__faq-section {
  background-color: var(--page-index-card-bg);
  border-radius: 15px;
  margin-bottom: 50px;
  padding: 50px 20px;
}

.page-index__faq-section .page-index__section-title {
  margin-bottom: 30px;
}

.page-index__faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.page-index__faq-item {
  background-color: var(--page-index-deep-navy);
  border: 1px solid var(--page-index-divider-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index__faq-question {
  display: block;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--page-index-text-main);
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-index__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-index-secondary-color);
  transition: transform 0.3s ease;
}

.page-index__faq-item[open] .page-index__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-index__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 0.95em;
  color: var(--page-index-text-secondary);
  line-height: 1.5;
}

.page-index__faq-answer p {
  margin-bottom: 10px;
}

.page-index__faq-answer a {
  color: var(--page-index-secondary-color);
  text-decoration: underline;
}

.page-index__brand-logo-section {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 50px;
}

.page-index__brand-logo-section img {
  max-width: 200px;
  height: auto;
  display: inline-block;
  min-width: 200px;
  min-
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .page-index__category-sports {
    flex-direction: column;
    text-align: center;
  }
  .page-index__sports-content .page-index__section-title,
  .page-index__sports-content .page-index__section-description {
    text-align: center;
  }
}

@media (max-width: 849px) {
  .page-index__hero-jackpot-section {
    flex-direction: column;
  }
  .page-index__hero-visual img {
    aspect-ratio: 4/3;
  }
  .page-index__jackpot-counter {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 300px;
    padding: 10px 15px;
  }
  .page-index__jackpot-amount {
    font-size: clamp(1.5rem, 6.5vw, 2.8rem);
  }
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .page-index__winner-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promotions-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index__ticker-content {
    animation-duration: 15s; /* Faster scroll on smaller screens */
  }
  .page-index__hero-jackpot-section {
    padding-bottom: 20px;
  }
  .page-index__hero-copy {
    padding: 15px;
  }
  .page-index__main-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
  }
  .page-index__intro-description {
    font-size: 0.95em;
  }
  .page-index__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* 2-3 columns */
  }
  .page-index__game-tile img, .page-index__sports-image img, .page-index__post-card img, .page-index__winner-card img {
    max-width: 100%;
    height: auto;
  }
  .page-index__winner-grid {
    grid-template-columns: 1fr; /* 1 column */
  }
  .page-index__winner-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .page-index__winner-info, .page-index__winner-amount {
    flex-basis: 100%;
    text-align: center;
  }
  .page-index__winner-card img {
    margin-bottom: 10px;
  }
  .page-index__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-index__faq-question::after {
    right: 20px;
  }
  .page-index__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 549px) {
  .page-index__ticker-section {
    padding: 8px 0;
  }
  .page-index__ticker-content {
    font-size: 0.8em;
  }
  .page-index__hero-jackpot-section {
    padding-top: 5px;
    padding-bottom: 15px;
  }
  .page-index__jackpot-counter {
    padding: 8px 10px;
  }
  .page-index__jackpot-amount {
    font-size: clamp(1.25rem, 7.5vw, 2.5rem);
  }
  .page-index__btn-cta {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-index__brand-intro-section,
  .page-index__popular-games-section,
  .page-index__category-section,
  .page-index__promotions-section,
  .page-index__hot-winners-section,
  .page-index__blog-section,
  .page-index__faq-section {
    padding: 30px 15px;
  }
  .page-index__main-title {
    font-size: clamp(1.5em, 8vw, 2.5em);
  }
  .page-index__section-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Min size for games, 2 columns */
  }
  .page-index__promo-card {
    padding: 20px;
  }
  .page-index__post-card img {
    min-
    min-
  }
  .page-index__winner-card img {
    min-
    min-
    
    
  }
}