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

.page-index__ticker {
  width: 100%;
  overflow: hidden;
  background: #111111;
  padding: 10px 0;
  box-sizing: border-box;
  white-space: nowrap;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #3A2A12;
}

.page-index__ticker-icon {
  color: #F2C14E;
  font-size: 1.2em;
  margin-left: 15px;
  flex-shrink: 0;
}

.page-index__ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  padding-left: 15px; /* Initial offset */
}

.page-index__ticker-track:hover {
  animation-play-state: paused;
}

.page-index__ticker-text {
  color: #FFD36B;
  font-size: 0.9em;
  margin-right: 30px;
}

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

.page-index__hero-jackpot {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background: #100224;
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
}

.page-index__hero-visual {
  order: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.page-index__hero-image,
.page-index__hero-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 850px) {
  .page-index__hero-image,
  .page-index__hero-visual img {
    aspect-ratio: 16/5;
    object-fit: cover;
  }
}

.page-index__hero-copy {
  order: 2;
  position: static;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px 12px;
  text-align: center;
}

.page-index__hero-tagline {
  font-size: 1.2em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-index__jackpot-counter {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  border: 2px solid #F2C14E;
  border-radius: 15px;
  padding: 15px;
  background: rgba(17, 17, 17, 0.7);
}

.page-index__jackpot-label {
  font-size: 1.1em;
  color: #F2C14E;
  font-weight: bold;
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(1.25rem, 6.5vw, 2.5rem);
  word-break: break-all;
  line-height: 1.2;
  color: #FFD36B;
  font-weight: 900;
}

.page-index__jackpot-currency {
  display: block;
  font-size: 0.875rem;
  margin-top: 4px;
  color: #FFF6D6;
}

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

.page-index__btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-index__btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-index__intro {
  padding: 40px 20px;
  text-align: center;
  background-color: #111111;
  border-bottom: 1px solid #3A2A12;
}

.page-index__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  color: #F2C14E;
  font-weight: 700;
  line-height: 1.2;
}

.page-index__text-gradient {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__section-lead {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-index__games-popular {
  padding: 40px 20px;
  text-align: center;
}

.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-items: center;
}

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  width: 250px;
  height: 250px; /* Desktop fixed square */
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.3);
}

.page-index__game-tile img {
  width: 250px;
  height: 250px;
  display: block;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.page-index__category-slots,
.page-index__category-fishing,
.page-index__category-table,
.page-index__category-sports {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #3A2A12;
}

.page-index__dark-bg {
  background-color: #111111;
}

.page-index__category-sports .page-index__sports-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 30px auto 0 auto;
}

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

.page-index__category-sports .page-index__sports-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12;
}

.page-index__category-sports .page-index__sports-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index__promo-dual {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  background-color: #111111;
  border-top: 1px solid #3A2A12;
}

.page-index__promo-card {
  background: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index__promo-desc {
  color: #FFF6D6;
  margin-bottom: 25px;
}

.page-index__btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index__btn-primary:hover {
  opacity: 0.9;
}

.page-index__winners-hot,
.page-index__winners-top {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #3A2A12;
}

.page-index__winners-hot.page-index__dark-bg {
  background-color: #111111;
}

.page-index__winner-title {
  text-align: center;
  line-height: 1.1;
  margin-bottom: 30px;
}

.page-index__winner-title-line {
  display: block;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  background: linear-gradient(180deg, #ffb347, #ff8c00);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
}

.page-index__winner-title-big {
  display: block;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  color: rgba(255, 210, 0, .45);
  letter-spacing: .02em;
}

.page-index__winner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__winner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  background: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
}

.page-index__winner-thumb {
  position: relative;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
}

.page-index__winner-thumb img {
  
  
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.page-index__winner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #7b2cbf;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  clip-path: polygon(50% 0%, 61% 10%, 75% 6%, 80% 20%, 95% 22%, 90% 36%, 100% 50%, 90% 64%, 95% 78%, 80% 80%, 75% 94%, 61% 90%, 50% 100%, 39% 90%, 25% 94%, 20% 80%, 5% 78%, 10% 64%, 0% 50%, 10% 36%, 5% 22%, 20% 20%, 25% 6%, 39% 10%);
}

.page-index__winner-badge em {
  font-style: normal;
  font-size: .65rem;
}

.page-index__winner-badge strong {
  font-size: .75rem;
}

.page-index__winner-badge--overlay {
  display: none; /* Hidden on desktop */
  position: absolute;
  top: -6px;
  right: -6px;
  width: 52px;
  height: 52px;
}

.page-index__winner-badge--side {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin-left: auto;
}

.page-index__winner-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.page-index__winner-game {
  font-weight: 700;
  color: #F2C14E;
}

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

.page-index__blog-section {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #3A2A12;
}

.page-index__blog-section.page-index__dark-bg {
  background-color: #111111;
}

.page-index__post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 30px auto;
}

.page-index__post-card {
  background: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-index__post-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

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

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

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

.page-index__post-summary {
  font-size: 0.9em;
  color: #FFF6D6;
  margin: 0 15px 15px;
}

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

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

.page-index__load-more-container {
  margin-top: 30px;
}

.page-index__faq-section {
  padding: 40px 20px;
  border-top: 1px solid #3A2A12;
}

.page-index__faq-list {
  max-width: 900px;
  margin: 30px auto;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
}

details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E;
}

details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
  display: none;
}

details.page-index__faq-item summary.page-index__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-index__brand-bar {
  padding: 30px 20px;
  text-align: center;
  background-color: #111111;
  border-top: 1px solid #3A2A12;
}

.page-index__brand-bar img {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(242, 193, 78, 0.5));
}

.page-index__copyright {
  color: #FFF6D6;
  font-size: 0.9em;
}

/* ---------------------------------------------------------------------- */
/* -------------------------- Responsive Styles ------------------------- */
/* ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-index__game-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-index__game-tile,
  .page-index__game-tile img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }

  .page-index__post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index__winner-list {
    gap: 12px 16px;
  }
}

@media (max-width: 849px) {
  .page-index__hero-jackpot {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .page-index__hero-image,
  .page-index__hero-visual img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: unset !important;
    object-fit: contain !important;
    max-height: none !important;
    display: block !important;
  }
  .page-index__hero-copy {
    position: static !important;
    inset: auto !important;
    transform: none !important;
  }
  .page-index__winner-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-index__winner-badge--side { display: none; }
  .page-index__winner-badge--overlay { display: flex; }
  .page-index__winners-hot,
  .page-index__winners-top {
    padding: 0 12px;
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .page-index__hero-jackpot {
    padding-top: 10px !important; /* Small top padding for mobile */
  }
  .page-index__hero-image,
  .page-index__hero-visual img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  /* Ticker animation for reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .page-index__ticker-track {
      animation: none;
      white-space: normal;
      word-wrap: break-word;
      padding-left: 0;
      text-align: center;
    }
    .page-index__ticker {
      height: auto;
      flex-direction: column;
      padding: 10px 15px;
    }
    .page-index__ticker-icon {
      margin-bottom: 5px;
    }
    .page-index__ticker-text {
      margin-right: 0;
      display: block;
    }
  }

  .page-index__game-grid {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: hidden;
  }
  .page-index__game-tile,
  .page-index__game-tile img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__intro,
  .page-index__games-popular,
  .page-index__category-slots,
  .page-index__category-fishing,
  .page-index__category-table,
  .page-index__category-sports,
  .page-index__promo-dual,
  .page-index__winners-hot,
  .page-index__winners-top,
  .page-index__blog-section,
  .page-index__faq-section,
  .page-index__brand-bar {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__btn-cta,
  .page-index__btn-primary,
  .page-index__btn-secondary,
  .page-index a[class*="button"],
  .page-index a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__cta-buttons,
  .page-index__button-group,
  .page-index__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  .page-index__winner-list {
    grid-template-columns: 1fr;
  }
  .page-index__winner-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
  }
  .page-index__winner-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }
  .page-index__winner-thumb img {
    
    
  }
  .page-index__winner-badge--overlay {
    width: 48px;
    height: 48px;
    font-size: .7em;
  }
  .page-index__winner-info {
    flex: 1;
  }

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

  details.page-index__faq-item summary.page-index__faq-question { padding: 15px; }
  .page-index__faq-qtext { font-size: 15px; }
  details.page-index__faq-item .page-index__faq-answer { padding: 0 15px 15px; }
}