.page-index__ticker-section {
  background-color: #1a1a1a;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
}

.page-index__ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: page-index__marquee 30s linear infinite;
}

.page-index__ticker-icon {
  color: #EA7C07;
  font-size: 1.2em;
  margin-right: 15px;
  margin-left: 20px;
}

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

.page-index__ticker-text {
  color: #FFFFFF;
  font-size: 0.9em;
  margin: 0;
  display: inline-block;
}

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

.page-index__hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 50vw, 800px);
  background-color: #100224;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-index__hero-slider-desktop .page-index__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-index__hero-image-desktop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.page-index__hero-overlay-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  text-align: left;
  padding: 20px;
  max-width: 600px;
  margin-right: auto;
  margin-left: 10%;
}

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

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

.page-index__jackpot-label {
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

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

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

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

.page-index__hero-slider-mobile {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-index__hero-slider-mobile .page-index__hero-slide {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

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

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

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

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

.page-index__hero-copy .page-index__hero-tagline {
  font-size: clamp(1.2rem, 5vw, 2rem);
  margin-bottom: 10px;
}

.page-index__hero-copy .page-index__jackpot-counter {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 15px auto;
  padding: 10px 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

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

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

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

.page-index__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__dot--active {
  background-color: #FFFFFF;
}

.page-index__hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  font-size: 1.5em;
  line-height: 1;
  border-radius: 5px;
}

.page-index__hero-arrow--left {
  left: 10px;
}

.page-index__hero-arrow--right {
  right: 10px;
}

.page-index__hero-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.page-index__brand-intro-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #100224;
  color: #FFFFFF;
}

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

.page-index__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

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

.page-index__popular-games-section,
.page-index__category-section,
.page-index__promotions-section,
.page-index__winner-section,
.page-index__blog-section,
.page-index__faq-section,
.page-index__brand-logo-footer-section {
  padding: 60px 0;
  background-color: #100224;
  color: #FFFFFF;
}

.page-index__category-section--dark {
  background-color: #0d011f;
}

.page-index__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-index__section-description {
  font-size: 1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  transition: transform 0.3s ease;
  text-decoration: none;
}

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

.page-index__game-tile:hover img {
  transform: scale(1.05);
}

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

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

.page-index__sports-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.page-index__btn-secondary {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #26A9E0;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-index__promo-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 300px;
}

.page-index__promo-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

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

.page-index__btn-text {
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-index__btn-text:hover {
  color: #ff9500;
}

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

.page-index__winner-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  position: relative;
  color: #FFFFFF;
  min-height: 100px; /* Ensure card has some height */
}

.page-index__winner-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
}

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

.page-index__winner-game {
  font-weight: 700;
  font-size: 1.1em;
  color: #26A9E0;
  margin-bottom: 5px;
}

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

.page-index__winner-amount-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(to right, #ff9500, #ff5e3a);
  border-radius: 5px;
  padding: 5px 10px;
  text-align: center;
  white-space: nowrap;
}

.page-index__winner-label {
  display: block;
  font-size: 0.7em;
  font-weight: 500;
  color: #FFFFFF;
}

.page-index__winner-amount {
  display: block;
  font-size: 1.2em;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.page-index__blog-title {
  font-size: clamp(1.6em, 3vw, 2.2em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-index__blog-title a:hover {
  color: #26A9E0;
}

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

.page-index__post-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-index__post-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #FFFFFF;
}

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

.page-index__post-card-title {
  font-size: 1.2em;
  font-weight: 700;
  margin: 15px 15px 10px 15px;
  line-height: 1.4;
  color: #26A9E0;
}

.page-index__post-summary {
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0 15px 15px 15px;
  flex-grow: 1;
}

.page-index__post-card .page-index__btn-text {
  display: block;
  text-align: right;
  margin: 0 15px 15px 15px;
  padding-top: 10px;
}

.page-index__blog-archive-link {
  text-align: center;
  margin-top: 40px;
}

.page-index__faq-section {
  padding-bottom: 80px;
}

.page-index__accordion {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__accordion-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #333;
}

.page-index__accordion-summary {
  display: block;
  padding: 18px 25px;
  cursor: pointer;
  position: relative;
  color: #FFFFFF;
  font-weight: 600;
}

.page-index__accordion-summary h4 {
  margin: 0;
  font-size: 1.15em;
  color: #26A9E0;
  line-height: 1.4;
}

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

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

.page-index__accordion-content {
  padding: 0 25px 20px 25px;
  color: #CCCCCC;
  font-size: 0.95em;
  line-height: 1.6;
}

.page-index__accordion-content p {
  margin-bottom: 15px;
}

.page-index__brand-logo-footer-section {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 60px;
}

.page-index__brand-logo-footer {
  max-width: 400px;
  height: auto;
  min-width: 200px;
  min-height: 100px;
}

/* Desktop specific styles */
@media (min-width: 850px) {
  .page-index__hero-slider-desktop {
    display: block;
  }
  .page-index__hero-slider-mobile {
    display: none;
  }
  .page-index__hero-arrow--left {
    left: 40px;
  }
  .page-index__hero-arrow--right {
    right: 40px;
  }
  .page-index__game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .page-index__sports-content {
    flex-direction: row;
  }
  .page-index__winner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-index__post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet specific styles */
@media (max-width: 1024px) {
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .page-index__winner-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index__post-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Mobile specific styles */
@media (max-width: 849px) {
  .page-index__hero-carousel {
    min-height: auto;
  }
  .page-index__hero-slider-desktop {
    display: none;
  }
  .page-index__hero-slider-mobile {
    display: flex;
  }
  .page-index__hero-arrow {
    display: none;
  }
  .page-index__hero-nav-dots {
    bottom: 10px; /* Adjust for mobile hero copy section */
  }
  .page-index__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-index__intro-description {
    font-size: 0.95em;
  }
  .page-index__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .page-index__sports-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__sports-image {
    max-width: 100%;
    margin-top: 20px;
  }
  .page-index__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-index__winner-grid {
    grid-template-columns: 1fr;
  }
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }
  .page-index__ticker-section {
    height: auto;
    padding: 8px 0;
  }
  .page-index__ticker-icon {
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-index__ticker-text {
    font-size: 0.8em;
  }
  .page-index__accordion-summary h4 {
    font-size: 1em;
  }
  .page-index__accordion-summary::after {
    font-size: 1.2em;
  }
}

@media (max-width: 549px) {
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .page-index__winner-grid {
    grid-template-columns: 1fr;
  }
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }
  .page-index__container {
    padding: 0 10px;
  }
  .page-index__ticker-content {
    animation-duration: 20s; /* Faster scroll on smaller screens */
  }
  .page-index__hero-copy .page-index__jackpot-counter {
    max-width: 250px;
  }
}

/* Ensure all content area images are responsive and not too small */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images minimum size */
.page-index__game-tile img,
.page-index__sports-image,
.page-index__promo-image,
.page-index__post-image {
  min-width: 200px;
  min-height: 200px;
}

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

/* Override specific element sizes for mobile if needed, but not below 200px */
@media (max-width: 768px) {
  .page-index__game-tile img,
  .page-index__sports-image,
  .page-index__promo-image,
  .page-index__post-image {
    max-width: 100%;
    height: auto;
  }
  /* Further ensure no width/height properties cause overflow */
  .page-index__game-grid a img,
  .page-index__post-grid a img {
    width: 100%;
    height: auto;
  }
}