.page-index {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
}

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

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

.page-index__section-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__btn-cta {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 150px;
  text-align: center;
  min-height: 44px;
  box-sizing: border-box;
}

.page-index__btn-cta:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

.page-index__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background: #E53935;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.page-index__btn-link:hover {
  background: #FF5A4F;
}

/* Text Gradient */
.page-index .text-gradient {
  background: linear-gradient(90deg, #ff9500, #ff5e3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback for browsers that don't support -webkit-text-fill-color */
}

/* Ticker Section */
.page-index__ticker-section {
  background-color: #1a052e; /* Darker background for ticker */
  color: #FFFFFF;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.page-index__ticker-content {
  display: flex;
  align-items: center;
  animation: marquee 30s linear infinite;
}

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

.page-index__ticker-text {
  margin: 0;
  font-size: 0.9em;
  display: inline-block;
  padding-right: 50px; /* Space for seamless repeat */
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Hero Section */
.page-index__hero-section {
  background-color: #100224;
  color: #FFFFFF;
  padding-top: 10px; /* Small top spacing */
  position: relative;
  overflow: hidden;
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-index__hero-slide {
  display: none;
  position: relative;
  width: 100%;
}

.page-index__hero-slide--active {
  display: block;
}

.page-index__hero-visual-desktop {
  display: block;
  position: relative;
  min-height: clamp(420px, 50vw, 800px);
  width: 100%;
}

.page-index__hero-visual-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index__hero-overlay-content {
  position: absolute;
  bottom: 10%;
  left: 10%;
  max-width: 500px;
  text-align: left;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly transparent background for readability */
  border-radius: 10px;
}

.page-index__hero-tagline {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-index__jackpot-counter {
  background: linear-gradient(to right, #ff9500, #ff5e3a);
  border-radius: 10px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-index__jackpot-label {
  font-size: 1.2em;
  font-weight: bold;
}

.page-index__jackpot-amount {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: bold;
  color: #FFFFFF;
}

.page-index__hero-overlay-content .page-index__btn-cta {
  background: #83a1f2;
  border-radius: 50px;
  padding: 15px 30px;
}

.page-index__hero-overlay-content .page-index__btn-cta:hover {
  background: #688cec;
}

.page-index__hero-visual-mobile {
  display: none;
}

.page-index__hero-nav {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.page-index__hero-prev, .page-index__hero-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.page-index__hero-prev::before {
  content: '&#10094;';
}

.page-index__hero-next::before {
  content: '&#10095;';
}

.page-index__hero-dots {
  display: flex;
  gap: 8px;
}

.page-index__hero-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.page-index__hero-dot--active {
  background: #FFFFFF;
}

/* Brand Intro Section */
.page-index__brand-intro-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-index__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__intro-description {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #333333;
}

/* Popular Games Section & Category Sections */
.page-index__popular-games-section, .page-index__category-section {
  padding: 60px 0;
  background-color: #100224;
  color: #FFFFFF;
}

.page-index__category-section:nth-of-type(odd) {
  background-color: #1a052e;
}

.page-index__popular-games-section .page-index__section-title, .page-index__category-section .page-index__section-title {
  color: #FFFFFF;
}

.page-index__popular-games-section .page-index__section-description, .page-index__category-section .page-index__section-description {
  color: #E0E0E0;
}

.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  background-color: #2a0a4a;
  transition: transform 0.3s ease;
}

.page-index__game-tile:hover {
  transform: translateY(-5px);
}

.page-index__game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Sports Category Specific */
.page-index__category-section--sports .page-index__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-index__sports-content .page-index__section-title {
  text-align: left;
}

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

.page-index__sports-image {
  flex: 1;
  text-align: right;
}

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

/* Featured Promo Section */
.page-index__featured-promo-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

.page-index__promo-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-index__promo-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333333;
}

.page-index__promo-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 25px;
}

/* Jackpot Winners Section & Casino Winners Section */
.page-index__jackpot-winners-section, .page-index__casino-winners-section {
  padding: 60px 0;
  background-color: #100224;
  color: #FFFFFF;
}

.page-index__casino-winners-section {
  background-color: #1a052e;
}

.page-index__jackpot-winners-section .page-index__section-title, .page-index__casino-winners-section .page-index__section-title {
  color: #FFFFFF;
}

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

.page-index__winner-card {
  background-color: #2a0a4a;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-index__winner-card img {
  
  
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  min-
  min-
}

.page-index__winner-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index__winner-game {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #FF5A4F;
}

.page-index__winner-user, .page-index__winner-date {
  font-size: 0.9em;
  color: #E0E0E0;
}

.page-index__winner-amount-badge {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  border-radius: 20px;
  padding: 8px 15px;
  text-align: center;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 0.9em;
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.page-index__winner-amount {
  font-size: 1.1em;
}

/* Blog Section */
.page-index__blog-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-index__blog-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
}

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

.page-index__post-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-index__post-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-index__post-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index__post-heading {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index__post-heading a {
  color: #333333;
  text-decoration: none;
}

.page-index__post-heading a:hover {
  color: #E53935;
}

.page-index__post-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 15px;
  flex-grow: 1;
}

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

.page-index__btn-load-more {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.page-index__btn-load-more:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
}

/* FAQ Section */
.page-index__faq-section {
  padding: 60px 0;
  background-color: #100224;
  color: #FFFFFF;
}

.page-index__faq-section .page-index__section-title {
  color: #FFFFFF;
}

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

.page-index__faq-item {
  background-color: #1a052e;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index__faq-question {
  display: block;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FF5A4F;
  cursor: pointer;
  position: relative;
  user-select: none;
  min-height: 44px;
  box-sizing: border-box;
}

.page-index__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
}

.page-index__faq-item[open] .page-index__faq-question::after {
  content: '-';
}

.page-index__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #E0E0E0;
}

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

.page-index__faq-answer .page-index__btn-link {
  background: #FF5A4F;
  margin-top: 10px;
}

.page-index__faq-answer .page-index__btn-link:hover {
  background: #E53935;
}

/* Brand Bar Section */
.page-index__brand-bar-section {
  padding: 40px 0;
  background-color: #F5F7FA;
  text-align: center;
}

.page-index__brand-bar-section img {
  max-width: 200px;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-overlay-content {
    left: 5%;
    max-width: 400px;
  }
}

@media (max-width: 849px) {
  .page-index__hero-visual-desktop {
    display: none;
  }

  .page-index__hero-visual-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .page-index__hero-figure {
    aspect-ratio: 4/3;
    width: 100%;
    overflow: hidden;
  }

  .page-index__hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .page-index__hero-copy {
    padding: 20px;
    text-align: center;
    background-color: #100224; /* Independent dark background */
    width: 100%;
    box-sizing: border-box;
  }

  .page-index__hero-copy .page-index__hero-tagline {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .page-index__jackpot-counter--mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 300px;
    margin: 15px auto;
    padding: 10px;
  }

  .page-index__jackpot-amount {
    font-size: clamp(1.25rem, 6.5vw, 2.5rem);
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .page-index__hero-copy .page-index__btn-cta {
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0 auto;
    display: block;
  }

  .page-index__category-section--sports .page-index__container {
    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;
  }

  .page-index__sports-image {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index__container {
    padding: 0 10px;
  }

  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .page-index__game-tile img, .page-index__sports-image img, .page-index__promo-card img, .page-index__post-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }

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

  .page-index__post-grid {
    grid-template-columns: 1fr;
  }

  .page-index__ticker-section {
    height: 60px;
  }

  .page-index__ticker-content {
    animation: marquee 40s linear infinite;
  }
}

@media (max-width: 549px) {
  .page-index__game-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-index__winner-grid {
    grid-template-columns: 1fr;
  }

  .page-index__featured-promo-section .page-index__container {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-index__ticker-content {
    animation: none;
  }
  .page-index__hero-slider {
    /* Disable automatic sliding if JS is used */
  }
}