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

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

.page-index__section-spacing--dark {
  background-color: #0d011c;
}

.page-index__ticker-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.page-index__ticker-wrapper {
  display: inline-block;
  animation: page-index-marquee 20s linear infinite;
}

.page-index__ticker-content {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

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

.page-index__ticker-text {
  margin: 0;
  font-size: 0.9em;
}

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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for the first section */
}

.page-index__hero-carousel {
  display: flex;
  width: 300%; /* For 3 slides */
  transition: transform 0.5s ease-in-out;
}

.page-index__hero-slide {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-index__hero-content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 90%;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
}

.page-index__hero-slogan {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-index__jackpot-currency {
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 5px;
  color: #FFFFFF;
}

.page-index__jackpot-amount {
  font-size: 2em;
  font-weight: bold;
  color: #FFFFFF;
}

.page-index__hero-subtext {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-index__hero-cta-button {
  background-color: #83a1f2;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-index__hero-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

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

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

.page-index__hero-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  padding: 15px 10px;
  cursor: pointer;
  font-size: 1.5em;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.page-index__hero-nav-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.page-index__hero-nav-button--prev {
  left: 10px;
}

.page-index__hero-nav-button--next {
  right: 10px;
}

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

.page-index__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(to right, #ff9500, #ff5e3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-index__intro-paragraph {
  font-size: 1.1em;
  line-height: 1.6;
  color: #CCCCCC;
}

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

.page-index__section-description {
  font-size: 1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #CCCCCC;
}

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

.page-index__game-card {
  background-color: #0d011c;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 250px; /* Max width for individual cards */
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index__game-card-image {
  width: 100%;
  height: 150px; /* Fixed height for consistent look */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index__game-card-title {
  padding: 15px 10px;
  font-weight: bold;
  font-size: 1.1em;
}

.page-index__sub-section-title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.page-index__sports-text {
  flex: 1;
  min-width: 300px;
  color: #CCCCCC;
}

.page-index__sports-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-index__sports-cta-button {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__sports-cta-button:hover {
  background-color: #005a2d;
}

.page-index__sports-image {
  flex: 1;
  min-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-height: 200px;
}

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

.page-index__promo-card {
  background-color: #0d011c;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__promo-card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-index__promo-card-image {
  width: 100%;
  height: 200px; /* Consistent height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-height: 200px;
}

.page-index__promo-card-description {
  font-size: 0.95em;
  color: #CCCCCC;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__promo-card-button {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__promo-card-button:hover {
  background-color: #005a2d;
}

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

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

.page-index__winner-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  min-width: 80px;
  min-height: 80px;
}

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

.page-index__winner-game {
  font-weight: bold;
  font-size: 1.1em;
  color: #FFFFFF;
}

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

.page-index__winner-amount-badge {
  background: linear-gradient(to right, #ff9500, #ff5e3a);
  color: #FFFFFF;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.page-index__winner-status {
  display: block;
  font-size: 0.8em;
}

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

.page-index__blog-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

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

.page-index__blog-card-image {
  width: 100%;
  height: 200px; /* Consistent height for blog images */
  object-fit: cover;
  min-height: 200px;
}

.page-index__blog-card-title {
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px 20px 0;
  margin: 0;
}

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

.page-index__blog-card-title a:hover {
  color: #017439;
}

.page-index__blog-card-summary {
  font-size: 0.9em;
  color: #CCCCCC;
  padding: 10px 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.page-index__blog-card-link {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 20px;
  transition: color 0.3s ease;
}

.page-index__blog-card-link:hover {
  color: #FFFFFF;
}

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

.page-index__load-more-button {
  background-color: #017439;
  color: #FFFFFF;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__load-more-button:hover {
  background-color: #005a2d;
}

.page-index__faq-section {
  background-color: #100224;
}

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

.page-index__faq-item {
  background-color: #0d011c;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index__faq-question {
  display: block;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFFFFF;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-index__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-index__faq-item[open] .page-index__faq-question {
  background-color: #017439;
}

.page-index__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #CCCCCC;
  line-height: 1.6;
}

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

.page-index__faq-button {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__faq-button:hover {
  background-color: #005a2d;
}

.page-index__brand-bar-section {
  text-align: center;
  background-color: #0d011c;
}

.page-index__brand-logo {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-image {
    height: 600px;
  }
  .page-index__sports-image {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-index__ticker-text {
    font-size: 0.8em;
  }

  .page-index__hero-image {
    height: 500px;
  }

  .page-index__hero-content {
    padding: 15px;
    bottom: 5%;
  }

  .page-index__hero-slogan {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .page-index__jackpot-amount {
    font-size: 1.5em;
  }

  .page-index__hero-subtext {
    font-size: 0.9em;
  }

  .page-index__hero-cta-button {
    padding: 10px 25px;
  }

  .page-index__main-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .page-index__intro-paragraph {
    font-size: 1em;
  }

  .page-index__section-title,
  .page-index__blog-title {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  }

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

  .page-index__game-card-image {
    height: 120px;
  }

  .page-index__sports-content {
    flex-direction: column;
  }

  .page-index__sports-image {
    min-width: 200px;
    height: auto;
  }

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

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

  .page-index__winner-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
  }

  .page-index__winner-amount-badge {
    position: static;
    margin-top: 10px;
    width: 100%;
  }

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

  .page-index__blog-card-image {
    height: 180px;
  }

  .page-index__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-index__faq-question::after {
    right: 20px;
  }

  .page-index__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Ensure all images under .page-index are responsive and don't overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-image {
    height: 400px;
  }
  .page-index__ticker-wrapper {
    animation-duration: 15s;
  }
  .page-index__hero-content {
    padding: 10px;
  }
  .page-index__jackpot-amount {
    font-size: 1.2em;
  }
  .page-index__jackpot-currency {
    font-size: 1.2em;
  }
  .page-index__hero-cta-button {
    padding: 8px 20px;
    font-size: 0.9em;
  }
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .page-index__game-card-image {
    height: 100px;
  }
  .page-index__promo-grid {
    grid-template-columns: 1fr;
  }
}