.page-index__ticker-section {
  display: flex;
  align-items: center;
  background-color: #00602f; /* Slightly darker green */
  color: #FFFFFF;
  padding: 10px 20px;
  overflow: hidden;
  white-space: nowrap;
  height: 48px;
  box-sizing: border-box;
}

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

.page-index__ticker-icon svg {
  fill: #FFFFFF;
}

.page-index__ticker-text-wrapper {
  flex-grow: 1;
  overflow: hidden;
}

.page-index__ticker-text {
  display: inline-block;
  padding-left: 100%; /* Start off-screen */
  animation: page-index__marquee 20s linear infinite;
  margin: 0;
  font-size: 1rem;
}

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

.page-index__hero-section {
  position: relative;
  background-color: #017439; /* Main brand color */
  color: #FFFFFF;
  overflow: hidden;
  min-height: clamp(420px, 50vw, 800px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.page-index__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Default for mobile, will change for desktop */
}

.page-index__hero-slide--active {
  opacity: 1;
}

.page-index__hero-visual-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

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

.page-index__hero-visual-mobile {
  display: none; /* Hidden by default, shown on mobile */
}

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

.page-index__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-index__hero-tagline {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__jackpot-counter {
  background: linear-gradient(#ff9500, #ff5e3a);
  padding: 15px 25px;
  border-radius: 50px;
  display: inline-flex; /* Changed to inline-flex for desktop */
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  flex-direction: row; /* Default desktop row */
  width: auto; /* Default desktop width */
  max-width: none; /* Default desktop max-width */
}

.page-index__jackpot-label {
  font-size: 1.2rem;
  font-weight: 500;
}

.page-index__jackpot-amount {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: bold;
  letter-spacing: 1px;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.page-index__hero-sub {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-index__btn-cta {
  display: inline-block;
  background-color: #83a1f2;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__btn-cta:hover {
  background-color: #688cec;
}

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

.page-index__slider-arrow {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.page-index__slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.page-index__slider-arrow--prev::before {
  content: '‹';
}

.page-index__slider-arrow--next::before {
  content: '›';
}

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

.page-index__slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* Brand Intro Section */
.page-index__brand-intro-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #017439;
  color: #FFFFFF;
}

.page-index__main-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem); /* Use clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Text gradient for titles */
.text-gradient {
  background: linear-gradient(90deg, #ff9500, #ff5e3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* General Section Styles */
.page-index__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-index__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-index__sub-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-index__section-bg-dark {
  background-color: #00602f; /* Darker green */
}

/* Popular Games & Category Sections */
.page-index__popular-games-section,
.page-index__category-section,
.page-index__promotions-section,
.page-index__winners-section,
.page-index__blog-section,
.page-index__faq-section {
  padding: 80px 20px;
  color: #FFFFFF;
}

.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for smaller screens */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  background-color: #017439; /* Ensure background if image has transparency */
}

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

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

/* Specific Category Sections */
.page-index__category-sports {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__sports-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

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

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

.page-index__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-index__btn-primary:hover {
  background-color: #a00606;
}

.page-index__btn-secondary {
  display: inline-block;
  background-color: #017439; /* Main color */
  color: #FFFFFF;
  padding: 10px 20px;
  border: 1px solid #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  margin-top: 15px;
}

.page-index__btn-secondary:hover {
  background-color: #00602f;
  border-color: #ff9500;
}

/* Promotions Section */
.page-index__promotions-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index__promotion-card {
  background-color: #017439; /* Main brand color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__card-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-index__card-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__app-mockup {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

/* Winners Section */
.page-index__winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-index__winner-icon-wrapper {
  flex-shrink: 0;
  margin-right: 15px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__winner-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min- /* Ensure icon is not too small */
  min-
}

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

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

.page-index__winner-user,
.page-index__winner-date {
  font-size: 0.9rem;
}

.page-index__winner-amount-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(#ff9500, #ff5e3a);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.95rem;
  text-align: center;
  min-width: 100px;
}

.page-index__winner-won {
  display: block;
  font-size: 0.8rem;
}

/* Blog Section */
.page-index__post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-index__post-card {
  background-color: #017439;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-index__post-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  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-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-index__post-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__post-title a:hover {
  color: #ff9500;
}

.page-index__post-summary {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0e0e0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index__btn-link {
  color: #83a1f2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-index__btn-link:hover {
  color: #688cec;
}

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

/* FAQ Section */
.page-index__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-index__faq-item {
  background-color: #017439;
  border: 1px solid #00602f;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index__faq-question {
  display: block;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: #FFFFFF;
  user-select: none;
}

.page-index__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

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

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

/* Brand Bar */
.page-index__brand-bar {
  padding: 40px 20px;
  text-align: center;
  background-color: #00602f; /* Darker green */
}

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

/* Responsive Styles */
@media (max-width: 849px) {
  .page-index__hero-visual-desktop {
    display: none;
  }
  .page-index__hero-visual-mobile {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3; /* Specific aspect ratio for mobile visual */
  }
  .page-index__hero-visual-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .page-index__hero-slide {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 0;
  }

  .page-index__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    background: #017439; /* Solid background for text on mobile */
    border-radius: 0;
    padding: 20px;
    box-sizing: border-box;
    margin-top: calc(100vw * 3 / 4); /* Push content below the 4:3 image */
  }

  .page-index__jackpot-counter {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    box-sizing: border-box;
    margin: 15px auto;
  }

  .page-index__jackpot-amount {
    font-size: clamp(1.25rem, 6.5vw, 2.5rem);
    line-height: 1.2;
  }

  .page-index__btn-cta {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    min-height: 44px;
  }

  .page-index__slider-nav {
    bottom: 10px;
  }

  .page-index__category-sports {
    flex-direction: column;
    text-align: center;
  }
  .page-index__sports-content {
    text-align: center;
  }
  .page-index__sports-image {
    margin-top: 30px;
  }

  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* More flexible for small screens */
  }
  .page-index__game-tile img {
    min- /* Adjust min-width for mobile game tiles */
    min-
  }
  .page-index__winner-grid {
    grid-template-columns: 1fr;
  }
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }
  .page-index__post-card img {
    
  }
}

@media (max-width: 768px) {
  .page-index__ticker-section {
    padding: 8px 15px;
    height: auto;
  }
  .page-index__ticker-icon {
    margin-right: 10px;
  }
  .page-index__ticker-text {
    font-size: 0.9rem;
  }
  .page-index__main-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__section-description {
    font-size: 1rem;
  }
  .page-index__game-grid,
  .page-index__promotions-section,
  .page-index__winner-grid,
  .page-index__post-grid {
    gap: 15px;
  }
  .page-index__game-tile img, .page-index__sports-image img, .page-index__app-mockup, .page-index__post-card img {
    max-width: 100%;
    height: auto;
  }
  .page-index__winner-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-bottom: 60px; /* Make space for badge */
  }
  .page-index__winner-icon-wrapper {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .page-index__winner-amount-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    box-sizing: border-box;
  }
  .page-index__hero-content {
    margin-top: calc(100vw * 3 / 4); /* Maintain spacing for 4:3 image */
  }
}

@media (max-width: 549px) {
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .page-index__game-tile img {
    min-
    min-
  }
  .page-index__hero-content {
    padding: 15px;
  }
  .page-index__hero-tagline {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
  .page-index__jackpot-amount {
    font-size: clamp(1rem, 5vw, 2rem);
  }
  .page-index__intro-text {
    font-size: 0.95rem;
  }
  .page-index__section-title {
    font-size: 1.5rem;
  }
  .page-index__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-index__faq-question::after {
    right: 20px;
  }
  .page-index__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-index__ticker-text {
    animation: none;
  }
  .page-index__hero-slide {
    transition: none;
  }
}