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

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

.page-index__ticker-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

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

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

.page-index__hero-jackpot {
  width: 100%;
  background-color: #100224;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
}

.page-index__hero-visual {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.page-index__hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5;
  object-fit: cover;
}

.page-index__hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  margin-top: -80px; /* Pull content slightly over the image for visual flow */
  background: linear-gradient(180deg, rgba(16, 2, 36, 0.8) 0%, rgba(16, 2, 36, 1) 100%);
  border-radius: 15px;
}

.page-index__hero-tagline {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-index__jackpot-counter {
  border: 2px solid;
  border-image: linear-gradient(to right, #ff9500, #ff5e3a) 1;
  padding: 15px 20px;
  margin: 20px auto;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 0, 0, 0.5);
  width: fit-content;
}

.page-index__jackpot-label {
  font-size: 1.2em;
  color: #FFD700;
  text-transform: uppercase;
}

.page-index__jackpot-amount {
  font-size: clamp(1.25rem, 6.5vw, 2.5rem);
  font-weight: bold;
  color: #FFD700;
  word-break: break-all;
}

.page-index__hero-sub {
  font-size: 1.1em;
  color: #CCCCCC;
  margin-bottom: 20px;
}

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

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

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

.page-index__main-title {
  font-size: clamp(2em, 5vw, 3em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

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

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

.page-index__popular-games-section,
.page-index__category-section,
.page-index__feature-promo-section,
.page-index__winners-section,
.page-index__blog-section,
.page-index__faq-section,
.page-index__footer-brand-strip {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.page-index__subsection-title {
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 15px;
  color: #E0E0E0;
}

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

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

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

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

.page-index__game-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.page-index__category-section--slots,
.page-index__category-section--table-poker {
  background-color: #0d011e;
}

.page-index__category-section--fishing,
.page-index__category-section--lottery-4d {
  background-color: #1a033b;
}

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

.page-index__btn-link:hover {
  background-color: #005c2d;
}

.page-index__category-section--sports {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0d011e;
}

.page-index__sports-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  display: block;
}

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

.page-index__feature-card {
  background-color: #0d011e;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-index__feature-card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-index__feature-card-description {
  color: #CCCCCC;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__app-mockup {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 20px auto;
  display: block;
}

.page-index__winners-section {
  background-color: #1a033b;
  padding: 40px 20px;
  text-align: center;
}

.page-index__hot-jackpot-winners {
  background-color: #0d011e;
}

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

.page-index__winner-card {
  background-color: #1a033b;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  text-align: left;
}

.page-index__hot-jackpot-winners .page-index__winner-card {
  background-color: #0d011e;
}

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

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

.page-index__game-name {
  font-weight: bold;
  font-size: 1.1em;
  color: #FFD700;
}

.page-index__user-id {
  color: #CCCCCC;
  font-size: 0.9em;
}

.page-index__win-date {
  color: #AAAAAA;
  font-size: 0.85em;
}

.page-index__win-amount {
  text-align: right;
  flex-shrink: 0;
}

.page-index__win-label {
  display: block;
  font-size: 0.8em;
  color: #017439;
  font-weight: bold;
}

.page-index__win-amount strong {
  font-size: 1.3em;
  color: #FFFF00;
  font-weight: bold;
}

.page-index__blog-section {
  background-color: #0d011e;
  padding-top: 60px;
}

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

.page-index__blog-card {
  background-color: #1a033b;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
}

.page-index__blog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.page-index__blog-card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 15px 15px 10px;
  color: #FFFFFF;
}

.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-excerpt {
  color: #CCCCCC;
  font-size: 0.95em;
  margin: 0 15px 15px;
  flex-grow: 1;
}

.page-index__blog-card .page-index__btn-link {
  margin: 0 15px 15px;
  align-self: flex-start;
}

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

.page-index__btn-load-more {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__btn-load-more:hover {
  background-color: #005c2d;
}

.page-index__faq-section {
  background-color: #100224;
  padding-top: 60px;
}

.page-index__faq-accordion {
  margin-top: 30px;
}

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

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

.page-index__faq-question::marker {
  display: none;
}

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

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

.page-index__faq-answer {
  padding: 15px 25px 20px;
  background-color: #1a033b;
  color: #CCCCCC;
  font-size: 0.95em;
}

.page-index__footer-brand-strip {
  text-align: center;
  padding: 40px 20px;
  background-color: #0d011e;
}

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

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-index__hero-jackpot {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-index__hero-visual img {
    aspect-ratio: 4/3;
  }
  .page-index__hero-copy {
    margin-top: -40px;
    padding: 15px;
    width: calc(100% - 30px);
  }
  .page-index__jackpot-counter {
    width: 100%;
    box-sizing: border-box;
  }
  .page-index__jackpot-amount {
    font-size: clamp(1.25rem, 8vw, 2.5rem);
  }
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }
  .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));
  }
  .page-index__feature-promo-section {
    grid-template-columns: 1fr;
  }
  .page-index__ticker-text {
    animation-duration: 15s;
  }
}

@media (max-width: 768px) {
  .page-index__game-grid img,
  .page-index__sports-image,
  .page-index__app-mockup,
  .page-index__winner-card img,
  .page-index__blog-card img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 549px) {
  .page-index__game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index__winner-grid {
    grid-template-columns: 1fr;
  }
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }
  .page-index__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-copy {
    margin-top: -20px;
  }
  .page-index__ticker-text {
    animation-duration: 10s;
  }
}

.page-index__btn-register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-index__btn-login {
  background-color: #C30808;
  color: #FFFF00;
}