.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

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

.page-index__section--dark-bg {
  background-color: #10233F; /* Card BG */
  padding: 40px 0;
}

.page-index__section--light-bg {
  background-color: #08162B; /* Deep Navy */
  padding: 40px 0;
}

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

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

.page-index__text-gradient {
  background: linear-gradient(90deg, #F2C14E, #F3F8FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__btn-cta,
.page-index a[class*="button"],
.page-index a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-cta {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  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: #ffffff;
  border: none;
}

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

.page-index__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E;
}

.page-index__btn-secondary:hover {
  background: #F2C14E;
  color: #08162B; /* Deep Navy */
}

/* Module 1: Ticker */
.page-index__ticker {
  width: 100%;
  overflow: hidden;
  background-color: #1B3357; /* Divider */
  color: #F3F8FF;
  height: 48px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

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

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

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

@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: #08162B; /* Deep Navy */
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 10px; /* Small top padding */
}

.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; /* Ensure it's in normal document flow */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px 20px 30px; /* More padding at bottom */
  text-align: center;
}

.page-index__hero-tagline {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #AFC4E8;
  margin-bottom: 10px;
  font-weight: 500;
}

.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: 20px;
  padding: 15px;
  border: 2px solid;
  border-image: linear-gradient(45deg, #F2C14E, #FF8C00) 1; /* Gold gradient border */
  border-radius: 15px;
  background-color: rgba(17, 59, 122, 0.2); /* Semi-transparent background */
}

.page-index__jackpot-label {
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-transform: uppercase;
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 900;
  color: #F3F8FF;
  word-break: break-all;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

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

.page-index__hero-sub {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #AFC4E8;
  margin-bottom: 25px;
}

/* Module 3: Brand H1 Intro */
.page-index__intro {
  padding: 50px 0;
  background-color: #08162B; /* Deep Navy */
}

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

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

/* Module 4 & 5: Game Grids */
.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: 12px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border */
}

.page-index__game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px #4FA8FF; /* Glow */
}

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

/* Module 5: Category Sections */
.page-index__category-slots,
.page-index__category-fishing,
.page-index__category-casino,
.page-index__category-sports {
  padding: 50px 0;
}

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

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

.page-index__sports-content .page-index__section-title,
.page-index__sports-content .page-index__section-lead {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index__sports-image {
  flex: 1;
  min-width: 400px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #244D84;
}

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

/* Module 6: Promo Dual */
.page-index__promo-dual {
  padding: 50px 0;
}

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

.page-index__promo-card {
  background-color: #10233F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid #244D84;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__promo-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #F3F8FF;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index__promo-desc {
  color: #AFC4E8;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Module 7 & 8: Winners Lists */
.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(1.2rem, 2.5vw, 1.5rem);
  background: linear-gradient(180deg, #F2C14E, #FF8C00);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
}

.page-index__winner-title-big {
  display: block;
  font-size: clamp(2.5rem, 8vw, 4.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 30px;
  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: #08162B; /* Deep Navy for rows */
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #1B3357;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index__winner-thumb {
  position: relative;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
}

.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-color: #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;
  font-weight: bold;
}

.page-index__winner-badge--overlay {
  display: none; /* Hidden by default 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;
  color: #F3F8FF;
}

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

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

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

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

.page-index__post-card {
  background-color: #10233F; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #244D84;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px #4FA8FF;
}

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

.page-index__post-content {
  padding: 20px;
}

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

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

.page-index__post-title a:hover {
  color: #4FA8FF; /* Glow */
}

.page-index__post-excerpt {
  font-size: 0.95rem;
  color: #AFC4E8;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-index__post-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-index__post-link:hover {
  color: #4FA8FF;
}

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

/* Module 10: FAQ */
.page-index__faq-section {
  padding: 50px 0;
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}

details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #1B3357; /* Divider - slightly lighter */
}

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

.page-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy - slightly darker than summary hover */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8;
}

/* Module 11: Footer Brand Bar */
.page-index__brand-bar {
  padding: 30px 0;
  text-align: center;
  background-color: #10233F; /* Card BG */
  border-top: 1px solid #1B3357; /* Divider */
}

.page-index__brand-logo-link {
  display: inline-block;
}

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

/* 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__promo-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-index__sports-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-index__sports-content {
    text-align: center;
  }

  .page-index__sports-content .page-index__section-title,
  .page-index__sports-content .page-index__section-lead {
    text-align: center;
  }

  .page-index__sports-image {
    min-width: unset;
    width: 100%;
  }
}

@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;
    padding: 16px 15px 25px; /* Adjust padding for smaller screens */
  }

  .page-index__ticker-text {
    font-size: 0.85rem;
  }

  .page-index__game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

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

  .page-index__winner-list {
    grid-template-columns: 1fr; /* Single column for winners list */
    gap: 12px;
    padding: 0 15px; /* Add horizontal padding */
  }

  .page-index__winner-row {
    padding: 12px;
  }

  .page-index__winner-badge--side {
    display: none; /* Hide side badge on mobile */
  }

  .page-index__winner-badge--overlay {
    display: flex; /* Show overlay badge on mobile */
  }

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

  .page-index__faq-item summary.page-index__faq-question {
    padding: 15px;
  }

  .page-index__faq-qtext {
    font-size: 15px;
  }

  .page-index__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  .page-index__faq-item .page-index__faq-answer {
    padding: 0 15px 15px;
  }

  .page-index__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__section--dark-bg,
  .page-index__section--light-bg {
    padding: 30px 0;
  }

  .page-index__btn-primary,
  .page-index__btn-secondary,
  .page-index__btn-cta,
  .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 !important;
    padding-right: 15px !important;
  }

  .page-index__button-container,
  .page-index__cta-buttons,
  .page-index__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index__button-container .page-index__btn-primary {
    display: block;
    margin: 0 auto;
  }

  .page-index__promo-dual .page-index__promo-card .page-index__btn-secondary {
    width: auto !important; /* Allow button to shrink if text is short */
    max-width: 100% !important;
    display: inline-flex;
  }

  .page-index__promo-card {
    padding: 20px;
  }

  .page-index__promo-card img {
    max-width: calc(100% - 30px);
  }
}

@media (max-width: 768px) {
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__ticker {
    height: 40px;
  }

  .page-index__ticker-icon {
    font-size: 1rem;
  }

  .page-index__ticker-text {
    font-size: 0.8rem;
  }

  .page-index__hero-jackpot {
    padding-top: 10px !important;
  }

  .page-index__hero-image,
  .page-index__hero-visual img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .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__winner-list {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }

  .page-index__winner-row {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .page-index__post-card img {
    
  }

  .page-index__post-content {
    padding: 15px;
  }

  .page-index__faq-qtext {
    font-size: 14px;
  }

  .page-index__faq-toggle {
    font-size: 22px;
  }

  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__promo-card,
  .page-index__winner-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__promo-dual .page-index__promo-card .page-index__btn-secondary {
    padding: 10px 15px !important;
    font-size: 0.9rem;
  }
}