.page-index__ticker-section {
  background-color: #17191F;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.page-index__ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: page-index-marquee 20s linear infinite;
  color: #FFF3E6;
  font-size: 1rem;
  padding: 0 16px; /* Ensure some padding on sides */
}

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

.page-index__ticker-text {
  margin: 0;
}

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

.page-index__hero-section {
  position: relative;
  min-height: clamp(420px, 50vw, 800px);
  background-color: #0D0E12;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small padding-top for initial visual spacing */
}

.page-index__hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.page-index__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; /* Default for mobile first */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: #0D0E12; /* Fallback */
}

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

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

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

.page-index__hero-visual--desktop {
  display: none; /* Hidden by default for mobile */
}

.page-index__hero-visual--mobile {
  display: block; /* Visible by default for mobile */
  aspect-ratio: 4/3;
}

.page-index__hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  color: #FFF3E6;
  background-color: #100224; /* Darker background for copy on mobile */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-index__jackpot-counter {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border-radius: 10px;
  padding: 15px 20px;
  margin: 20px auto;
  display: flex;
  flex-direction: column; /* Stacked on mobile */
  align-items: center;
  gap: 8px;
  max-width: 300px; /* Constrain width on mobile */
  width: 100%;
  box-sizing: border-box;
}

.page-index__jackpot-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFF3E6;
}

.page-index__jackpot-amount {
  font-size: clamp(1.25rem, 6.5vw, 2.5rem); /* Responsive font size for jackpot */
  font-weight: 900;
  color: #FFF3E6;
  line-height: 1.2;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.page-index__hero-sub {
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-index__btn-cta {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;
  width: 100%; /* Full width on mobile */
  max-width: 320px; /* Max width for mobile CTA */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-index__carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  padding: 0 20px;
  pointer-events: none; /* Disable on mobile by default */
}

.page-index__carousel-btn {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: #FFF3E6;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  pointer-events: auto; /* Enable for buttons */
}

.page-index__carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.page-index__carousel-btn--prev::before {
  content: '‹';
}

.page-index__carousel-btn--next::before {
  content: '›';
}

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

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

.page-index__dot--active {
  background-color: #FFA53A;
  transform: scale(1.2);
}

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

.page-index__intro-section {
  padding: 40px 0;
  text-align: center;
  background-color: #0D0E12;
}

.page-index__main-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__description {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: #FFF3E6;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.page-index__section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.page-index__section-description {
  font-size: 1rem;
  color: #FFF3E6;
  line-height: 1.5;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-index__popular-games-section,
.page-index__category-section,
.page-index__promo-section,
.page-index__winners-section,
.page-index__blog-section,
.page-index__faq-section,
.page-index__brand-bar {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-index__category-section--slots,
.page-index__category-section--table,
.page-index__promo-section,
.page-index__winners-section:nth-of-type(odd) {
  background-color: #17191F;
}

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

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 200px; /* Ensure images don't get too big on larger screens */
}

.page-index__game-tile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

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

.page-index__category-section--sports .page-index__container--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

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

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

.page-index__sports-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-index__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.page-index__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

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

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

.page-index__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-index__promo-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFA53A;
}

.page-index__promo-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__btn-secondary {
  display: inline-block;
  background-color: #FFA53A;
  color: #17191F;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.page-index__btn-secondary:hover {
  background-color: #FF8C1A;
}

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

.page-index__winner-card {
  background-color: #0D0E12;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #FFF3E6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.page-index__winner-icon-wrapper {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #17191F;
}

.page-index__winner-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-
  min-
}

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

.page-index__winner-game {
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFA53A;
}

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

.page-index__winner-amount-wrapper {
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #D96800; /* Deep Orange */
  color: #FFF3E6;
  padding: 5px 10px;
  border-top-left-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.page-index__winner-status {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
}

.page-index__winner-amount {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
}

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

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

.page-index__post-card img {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-index__post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 15px 15px 10px;
  line-height: 1.4;
}

.page-index__post-title a {
  color: #FFA53A;
  text-decoration: none;
}

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

.page-index__post-summary {
  font-size: 0.95rem;
  margin: 0 15px 15px;
  flex-grow: 1;
}

.page-index__btn-link {
  display: inline-block;
  color: #FFA53A;
  text-decoration: none;
  font-weight: 600;
  padding: 0 15px 15px;
  transition: color 0.3s ease;
}

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

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

.page-index__accordion {
  margin-top: 30px;
}

.page-index__accordion-item {
  background-color: #17191F;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.page-index__accordion-header {
  display: block;
  background-color: #0D0E12;
  color: #FFF3E6;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  padding-right: 40px;
}

.page-index__accordion-header::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

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

.page-index__accordion-content {
  padding: 15px 20px;
  color: #FFF3E6;
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-index__accordion-content p {
  margin: 0;
}

.page-index__accordion-content a {
  color: #FFA53A;
  text-decoration: none;
}

.page-index__accordion-content a:hover {
  text-decoration: underline;
}

.page-index__brand-bar {
  padding: 40px 0;
  text-align: center;
  background-color: #0D0E12;
}

.page-index__brand-bar img {
  max-width: 300px;
  height: auto;
  display: inline-block;
  min-width: 200px; /* Min size constraint */
  min- /* Min size constraint */
}

.text-gradient {
  background: linear-gradient(90deg, #FF8C1A, #FFA53A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .page-index__hero-section {
    min-height: 500px;
  }
}

@media (max-width: 849px) {
  .page-index__hero-section {
    min-height: auto;
  }
  .page-index__hero-slide {
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .page-index__hero-visual--desktop {
    display: none;
  }
  .page-index__hero-visual--mobile {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
  }
  .page-index__hero-copy {
    position: relative;
    padding: 20px 16px;
    border-radius: 0;
    margin-top: 0;
  }
  .page-index__jackpot-counter {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    width: 100%;
    padding: 15px 16px;
  }
  .page-index__carousel-nav {
    display: none; /* Hide arrows on mobile */
  }
  .page-index__carousel-dots {
    bottom: 10px;
  }
  .page-index__sports-content,
  .page-index__sports-image {
    flex: none;
    width: 100%;
    text-align: center;
  }
  .page-index__sports-image img {
    margin: 0 auto;
  }
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .page-index__game-tile {
    max-width: 180px;
  }
  .page-index__game-tile img {
    min-
    min-
  }
  .page-index__winner-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-index__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 850px) {
  .page-index__hero-slide {
    flex-direction: row; /* Desktop layout */
    justify-content: flex-start;
    align-items: center;
  }
  .page-index__hero-visual--desktop {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .page-index__hero-visual--mobile {
    display: none;
  }
  .page-index__hero-copy {
    position: relative;
    left: 10%; /* Adjust as needed */
    text-align: left;
    background-color: transparent; /* No background on desktop */
    max-width: 500px;
    padding: 0;
  }
  .page-index__btn-cta {
    width: auto;
    max-width: none;
    margin: 0;
  }
  .page-index__jackpot-counter {
    flex-direction: row;
    gap: 15px;
    max-width: 400px;
    margin: 20px 0;
  }
  .page-index__carousel-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  .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;
  }
  .page-index__container {
    overflow-x: hidden;
  }
  .page-index__game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index__winner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index__post-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .page-index__game-tile img,
  .page-index__sports-image img,
  .page-index__promo-card img,
  .page-index__post-card img {
    min-width: 200px;
    min-height: 200px;
  }
  .page-index__winner-icon-wrapper img {
    min-
    min-
  }
}

@media (max-width: 549px) {
  .page-index__game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index__winner-grid {
    grid-template-columns: 1fr;
  }
  .page-index__game-tile img {
    min-
    min-
  }
}

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