.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F3F8FF);
  background-color: var(--card-bg, #10233F);
}

.page-index__section {
  padding: 40px 0;
  width: 100%;
  box-sizing: border-box;
}

.page-index__dark-section {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

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

.page-index__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main, #F3F8FF);
}

.page-index__section-lead {
  font-size: clamp(1rem, 2vw, 1.1rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary, #AFC4E8);
}

.page-index__btn-cta,
.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__btn-readmore,
.page-index__btn-loadmore {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__btn-cta {
  background: linear-gradient(180deg, #F2C14E 0%, #E0A800 100%);
  color: #10233F;
  border: none;
  font-size: 1.1rem;
  padding: 15px 30px;
}

.page-index__btn-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
}

.page-index__btn-primary:hover {
  filter: brightness(1.1);
}

.page-index__btn-secondary {
  background: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
  border: 1px solid var(--border, #244D84);
}

.page-index__btn-secondary:hover {
  background: var(--border, #244D84);
}

.page-index__btn-readmore {
  background: transparent;
  color: var(--gold, #F2C14E);
  border: 1px solid var(--gold, #F2C14E);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.page-index__btn-readmore:hover {
  background: var(--gold, #F2C14E);
  color: var(--deep-navy, #08162B);
}

.page-index__btn-loadmore {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  margin-top: 30px;
}

.page-index__btn-loadmore:hover {
  filter: brightness(1.1);
}

/* Module 1: Ticker */
.page-index__ticker {
  width: 100%;
  background-color: var(--deep-navy, #08162B);
  color: var(--text-secondary, #AFC4E8);
  padding: 10px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.page-index__ticker-icon {
  font-size: 1.2rem;
  margin-left: 20px;
  flex-shrink: 0;
}

.page-index__ticker-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.page-index__ticker-text {
  padding: 0 20px;
  font-size: 0.9rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .page-index__ticker-track {
    animation-play-state: paused;
  }
}

/* Module 2: Hero Jackpot */
.page-index__hero-jackpot {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background-color: #100224;
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 10px; /* Minimal top padding, rely on body for header offset */
  position: relative;
}

.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: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.page-index__hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-main, #F3F8FF);
  font-weight: 600;
  margin: 0;
}

.page-index__jackpot-counter {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold, #F2C14E);
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-index__jackpot-label {
  font-size: 1rem;
  color: var(--text-secondary, #AFC4E8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(1.25rem, 6.5vw, 2.8rem);
  font-weight: 800;
  color: var(--gold, #F2C14E);
  word-break: break-all;
  line-height: 1.2;
}

.page-index__jackpot-currency {
  display: block;
  font-size: 1rem;
  margin-top: 4px;
  color: var(--text-secondary, #AFC4E8);
}

.page-index__hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-secondary, #AFC4E8);
  margin: 0;
  max-width: 700px;
}

/* Module 3: Brand H1 and Intro */
.page-index__intro {
  background-color: var(--card-bg, #10233F);
  padding: 60px 0;
}

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

.page-index__text-gradient {
  background: linear-gradient(90deg, #F2C14E, #FFD700, #F2C14E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.page-index__lead-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-secondary, #AFC4E8);
}

/* Module 4 & 5: Game Grids */
.page-index__games-popular,
.page-index__category-slots,
.page-index__category-fishing,
.page-index__category-casino,
.page-index__category-sports {
  padding: 60px 0;
}

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

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.page-index__game-tile:hover {
  transform: scale(1.05);
  z-index: 1;
}

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

/* Specific desktop sizing for game tiles */
@media (min-width: 1025px) {
  .page-index__game-tile {
    width: 250px;
    height: 250px;
    margin: 0 auto; /* Center tiles if less than 6 columns in a row */
  }
  .page-index__game-tile img {
    width: 250px;
    height: 250px;
  }
}

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

.page-index__sports-content {
  flex: 1;
  text-align: left;
}

.page-index__sports-image-wrapper {
  flex: 1;
  margin: 0;
  line-height: 0;
}

.page-index__sports-image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Module 6: Feature Promos Dual Column */
.page-index__promo-dual {
  padding: 60px 0;
}

.page-index__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-index__promo-card {
  background-color: var(--card-bg, #10233F);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-index__promo-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-main, #F3F8FF);
  margin: 0;
}

.page-index__promo-text {
  color: var(--text-secondary, #AFC4E8);
  margin: 0;
}

/* Module 7 & 8: Winners List */
.page-index__winners-hot,
.page-index__winners-top {
  padding: 60px 0;
}

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

.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;
}

.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: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__winner-row {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  width: 100%;
  background-color: var(--card-bg, #10233F);
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.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;
  font-weight: normal;
}

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

.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;
  display: flex; /* Visible on desktop */
}

.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: var(--text-main, #F3F8FF);
  font-size: 1rem;
}

.page-index__winner-user,
.page-index__winner-date {
  font-size: .875rem;
  color: var(--text-secondary, #AFC4E8);
}

/* Module 9: Blog Post Grid */
.page-index__blog-section {
  padding: 60px 0;
}

.page-index__blog-section .page-index__section-title a {
  color: var(--text-main, #F3F8FF);
  text-decoration: none;
}

.page-index__blog-section .page-index__section-title a:hover {
  text-decoration: underline;
}

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

.page-index__post-card {
  background-color: var(--card-bg, #10233F);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

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

.page-index__post-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-index__post-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  margin: 0;
}

.page-index__post-title a {
  color: var(--text-main, #F3F8FF);
  text-decoration: none;
}

.page-index__post-title a:hover {
  color: var(--gold, #F2C14E);
}

.page-index__post-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary, #AFC4E8);
  flex-grow: 1;
}

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

/* Module 10: FAQ Common Questions Area */
.page-index__faq-section {
  padding: 60px 0;
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border, #244D84);
  overflow: hidden;
  background: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
}

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;
}

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: var(--divider, #1B3357);
}

.page-index__faq-qtext {
  flex: 1;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F3F8FF);
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-index__faq-item[open] .page-index__faq-toggle {
  transform: rotate(45deg);
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-navy, #08162B);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary, #AFC4E8);
  font-size: 0.95rem;
}

/* Module 11: Footer Brand Bar */
.page-index__brand-bar {
  padding: 40px 0;
  text-align: center;
}

.page-index__brand-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.page-index__brand-content img {
  
  height: auto;
  min- /* Minimum size requirement */
  min- /* Minimum size requirement */
}

.page-index__brand-tagline {
  font-size: 1rem;
  color: var(--text-secondary, #AFC4E8);
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index__game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-index__game-tile {
    width: 100%;
    height: auto;
  }
  .page-index__game-tile img {
    width: 100%;
    height: auto;
  }
  .page-index__post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index__sports-layout {
    flex-direction: column;
    gap: 20px;
  }
  .page-index__sports-content {
    text-align: center;
  }
}

@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 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index__section {
    padding: 30px 0;
  }
  .page-index__container {
    padding: 0 15px;
  }
  /* Hero Jackpot Section */
  .page-index__hero-jackpot {
    padding-top: 10px !important;
  }
  .page-index__hero-image,
  .page-index__hero-visual img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: none !important;
  }
  .page-index__hero-copy {
    padding: 20px 15px;
  }
  /* Game Grids Section */
  .page-index__game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow-x: hidden;
  }
  .page-index__game-tile,
  .page-index__game-tile img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
  }
  /* General Image & Container Adaptations */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__section,
  .page-index__card,
  .page-index__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Buttons & Button Containers */
  .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;
    overflow-x: hidden;
  }
  /* Winner List Section */
  .page-index__winner-title {
    margin-bottom: 20px;
  }
  .page-index__winner-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-index__winner-row {
    padding: 8px 10px;
  }
  .page-index__winner-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }
  .page-index__winner-thumb img {
    
    
  }
  .page-index__winner-badge--overlay {
    width: 45px;
    height: 45px;
    top: -4px;
    right: -4px;
  }
  .page-index__winner-badge em { font-size: 0.6rem; }
  .page-index__winner-badge strong { font-size: 0.7rem; }
  /* Blog Section */
  .page-index__post-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* FAQ Section */
  details.page-index__faq-item summary.page-index__faq-question { padding: 15px; }
  .page-index__faq-qtext { font-size: 15px; }
  .page-index__faq-answer { padding: 0 15px 15px; }
  /* Ticker */
  .page-index__ticker-icon { margin-left: 10px; }
  .page-index__ticker-text { padding: 0 10px; }
  .page-index__ticker-track { animation: marquee 20s linear infinite; }
}