.page-index {
  font-family: Arial, sans-serif;
  color: #FFF3E6;
  background-color: #0D0E12;
  line-height: 1.6;
}

.page-index__ticker-section {
  background-color: #17191F;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.page-index__ticker-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

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

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

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

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

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 20px;
}

.page-index__hero-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: #100224; /* Dark background for carousel */
  overflow: hidden;
}

.page-index__carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align content to top initially */
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

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

.page-index__hero-image {
  width: 100%;
  height: auto;
  max-height: 60%; /* Image takes top portion */
  object-fit: cover;
  display: block;
}

.page-index__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 960px;
  width: 100%;
  margin-top: 20px; /* Space between image and text */
  z-index: 1; /* Ensure content is above image if any overlap occurs due to height adjustments */
}

.page-index__hero-slogan {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #FF8C1A;
}

.page-index__jackpot-counter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.page-index__jackpot-label {
  font-size: 1.2em;
  color: #FFF3E6;
  margin-bottom: 5px;
}

.page-index__jackpot-amount {
  font-size: 3em;
  font-weight: bold;
  background: linear-gradient(#ff9500,#ff5e3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 10px;
  border: 2px solid #ff5e3a;
}

.page-index__hero-description {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-index__hero-cta-button {
  display: inline-block;
  background-color: #83a1f2;
  color: #FFF3E6;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-index__carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 2;
}

.page-index__carousel-prev, .page-index__carousel-next {
  background: none;
  border: none;
  color: #FFF3E6;
  font-size: 2em;
  cursor: pointer;
  padding: 0 10px;
}

.page-index__carousel-dots {
  display: flex;
  margin: 0 15px;
}

.page-index__dot {
  width: 10px;
  height: 10px;
  background-color: #FFF3E6;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.page-index__dot--active {
  opacity: 1;
  background-color: #FF8C1A;
}

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

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

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

.page-index__intro-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
  color: #D3D3D3;
}

.page-index__popular-games-section, 
.page-index__category-section, 
.page-index__featured-promos-section, 
.page-index__hot-winners-section, 
.page-index__top-winners-section, 
.page-index__blog-section, 
.page-index__faq-section, 
.page-index__brand-strip-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #0D0E12;
}

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

.page-index__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #FF8C1A;
}

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

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

.page-index__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #17191F;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF3E6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 15px;
}

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

.page-index__game-card img {
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  max-width: 300px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.page-index__game-title {
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  padding: 0 5px;
}

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

.page-index__sports-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-index__sports-text p {
  margin-bottom: 20px;
  color: #D3D3D3;
}

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

.page-index__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.page-index__cta-button:hover {
  opacity: 0.9;
}

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

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

.page-index__promo-title {
  font-size: 1.8em;
  color: #FF8C1A;
  margin-bottom: 15px;
}

.page-index__promo-description {
  color: #D3D3D3;
  margin-bottom: 20px;
}

.page-index__promo-image {
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__promo-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.page-index__promo-button:hover {
  opacity: 0.9;
}

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

.page-index__winner-card {
  background-color: #17191F;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.page-index__winner-amount-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 8px 15px;
  border-top-left-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page-index__won-text {
  font-size: 0.8em;
  font-weight: bold;
}

.page-index__amount-text {
  font-size: 1.2em;
  font-weight: bold;
}

.page-index__blog-section .page-index__section-title {
  font-size: 2em;
  color: #FFF3E6;
  text-decoration: none;
}

.page-index__blog-section .page-index__section-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-index__blog-card {
  background-color: #17191F;
  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 img {
  width: 100%;
  height: 225px; /* 16:9 for 400px width */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-index__blog-card .page-index__blog-title {
  font-size: 1.3em;
  margin: 15px 15px 10px 15px;
  line-height: 1.4;
}

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

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

.page-index__blog-summary {
  font-size: 0.95em;
  color: #D3D3D3;
  margin: 0 15px 15px 15px;
  flex-grow: 1;
}

.page-index__read-more-button {
  display: inline-block;
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
  padding: 0 15px 15px 15px;
  transition: color 0.3s ease;
}

.page-index__read-more-button:hover {
  color: #FF8C1A;
}

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

.page-index__load-more-button {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.page-index__load-more-button:hover {
  opacity: 0.9;
}

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

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

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

.page-index__accordion-summary {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #FF8C1A;
  list-style: none;
}

.page-index__accordion-summary::marker, .page-index__accordion-summary::-webkit-details-marker {
  display: none;
}

.page-index__accordion-summary h4 {
  margin: 0;
  flex-grow: 1;
  color: inherit;
  font-size: 1em;
}

.page-index__accordion-summary::after {
  content: '+';
  font-size: 1.5em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-index__accordion-content {
  padding: 0 20px 20px 20px;
  color: #D3D3D3;
  font-size: 1em;
}

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

.page-index__faq-cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.page-index__faq-cta-button:hover {
  opacity: 0.9;
}

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

.page-index__brand-logo {
  max-width: 200px;
  height: auto;
  min-width: 200px;
  min-height: 100px;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-carousel {
    height: 550px;
  }
  .page-index__hero-image {
    max-height: 50%;
  }
  .page-index__hero-content {
    margin-top: 10px;
  }
  .page-index__jackpot-amount {
    font-size: 2.5em;
  }
  .page-index__game-grid, .page-index__winner-grid, .page-index__post-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-index__featured-promos-section {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index__sports-content {
    flex-direction: column;
  }
  .page-index__sports-image {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-carousel {
    height: 500px;
  }
  .page-index__hero-image {
    max-height: 40%;
  }
  .page-index__hero-content {
    margin-top: 5px;
  }
  .page-index__jackpot-amount {
    font-size: 2em;
  }
  .page-index__hero-slogan {
    font-size: 1.8em;
  }
  .page-index__hero-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__game-grid, .page-index__winner-grid, .page-index__post-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-index__featured-promos-section {
    grid-template-columns: 1fr;
  }
  /* Mobile content area images */
  .page-index img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-index__winner-card img {
    
    
    min-width: unset;
    min-height: unset;
  }
  .page-index__blog-card img {
    height: auto; /* Allow auto height for responsive aspect ratio */
    min-height: 200px;
  }
  .page-index__promo-image {
    min-height: 200px;
  }
  .page-index__sports-image {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-carousel {
    height: 450px;
  }
  .page-index__hero-image {
    max-height: 35%;
  }
  .page-index__hero-content {
    margin-top: 0;
  }
  .page-index__jackpot-amount {
    font-size: 1.8em;
  }
  .page-index__hero-slogan {
    font-size: 1.5em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__hero-cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__game-grid, .page-index__winner-grid, .page-index__post-grid {
    grid-template-columns: 1fr;
  }
  .page-index__winner-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .page-index__winner-info {
    align-items: center;
  }
  .page-index__winner-amount-badge {
    position: static;
    width: 100%;
    border-radius: 0 0 10px 10px;
    padding: 10px;
    align-items: center;
  }
  .page-index__ticker-wrapper {
    padding: 0 10px;
  }
  .page-index__ticker-icon {
    margin-right: 10px;
  }
  .page-index__ticker-text {
    animation-duration: 15s;
  }
  .page-index__promo-card, .page-index__blog-card, .page-index__game-card, .page-index__winner-card {
    padding: 10px;
  }
  .page-index__accordion-summary h4 {
    font-size: 1em;
  }
  .page-index__accordion-summary::after {
    font-size: 1.2em;
  }
}