.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--color-deep-navy); /* Body background from shared.css */
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

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

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

.page-index__section-lead {
  font-size: clamp(0.95rem, 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(180deg, #F2C14E 0%, #E6B03F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-index__text-light {
  color: #F3F8FF;
}

.page-index__text-secondary {
  color: #AFC4E8;
}

.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__btn-cta,
.page-index__blog-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-index__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px rgba(43, 115, 246, 0.6);
}

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

.page-index__btn-secondary:hover {
  background: #F2C14E;
  color: #113B7A;
}

.page-index__btn-cta {
  background: linear-gradient(180deg, #F2C14E 0%, #E6B03F 100%); /* Gold gradient */
  color: #113B7A;
  border: none;
  font-size: 1.1rem;
  padding: 15px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-top: 20px;
}

.page-index__btn-cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.7);
}

.page-index__btn-container {
  text-align: center;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Ticker */
.page-index__ticker {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: #1B3357; /* Divider */
  color: #F3F8FF;
  padding: 8px 0;
  font-size: 0.9rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

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

.page-index__ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.page-index__ticker-text {
  padding: 0 20px;
}

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

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

/* Hero Jackpot */
.page-index__hero-jackpot {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background-color: #100224; /* Deep dark background */
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 10px; /* Small top padding, assuming body has 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: 20px 15px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #AFC4E8;
  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;
  background: #08162B; /* Deep Navy */
  border: 3px solid #F2C14E; /* Gold border */
  border-radius: 15px;
  padding: 15px 10px;
  max-width: 450px;
  margin: 20px auto;
  box-shadow: 0 0 20px rgba(79, 168, 255, 0.5); /* Glow */
}

.page-index__jackpot-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #AFC4E8;
  text-transform: uppercase;
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  word-break: break-all;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.8);
}

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

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

/* Intro Section */
.page-index__intro {
  text-align: center;
  padding-bottom: 40px;
}

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

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

/* Game Grids */
.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Flexible columns */
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .page-index__game-grid { grid-template-columns: repeat(6, 1fr); }
}

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  background-color: #10233F; /* Card BG */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1/1; /* Ensure square aspect ratio */
}

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

.page-index__game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(79, 168, 255, 0.5); /* Glow */
}

/* Category Sections */
.page-index__category-slots,
.page-index__category-table {
  background-color: #08162B; /* Deep Navy */
}

.page-index__category-fishing,
.page-index__category-sports {
  background-color: #10233F; /* Card BG */
}

.page-index__category-sports {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

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

.page-index__sports-image {
  flex: 1;
  min-width: 300px;
  margin: 0;
}

.page-index__sports-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Promo Dual */
.page-index__promo-dual {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-index__promo-card {
  flex: 1;
  min-width: 300px;
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F3F8FF;
}

.page-index__promo-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-index__promo-image {
  margin: 20px 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-index__promo-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Winner Boards */
.page-index__winners-hot,
.page-index__winners-top {
  background-color: #08162B; /* Deep Navy */
}

.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, 3vw, 1.5rem);
  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(2.5rem, 8vw, 4rem);
  font-weight: 800;
  color: rgba(255, 210, 0, .45);
  letter-spacing: .02em;
}

.page-index__winner-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 850px) {
  .page-index__winner-list { grid-template-columns: repeat(3, 1fr); }
}

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

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

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

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

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

.page-index__winner-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-index__winner-game {
  font-weight: 700;
  color: #F3F8FF;
  font-size: 1rem;
}

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

/* Blog Section */
.page-index__blog-section {
  background-color: #10233F; /* Card BG */
}

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

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

.page-index__blog-card {
  background-color: #08162B; /* Deep Navy */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(79, 168, 255, 0.5); /* Glow */
}

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

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

.page-index__blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-index__blog-title a:hover {
  color: #F2C14E; /* Gold */
}

.page-index__blog-excerpt {
  font-size: 0.95rem;
  color: #AFC4E8;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index__blog-readmore {
  color: #2B73F6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
}

.page-index__blog-readmore:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-index__faq-section {
  background-color: #08162B; /* Deep Navy */
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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;
  color: #F3F8FF;
}

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 */
}

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

.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 */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8;
  font-size: 0.95rem;
}

.page-index__faq-answer p {
  margin-bottom: 10px;
}

.page-index__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Brand Bar */
.page-index__brand-bar {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #08162B; /* Deep Navy */
}

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

.page-index__brand-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index__copyright {
  font-size: 0.9rem;
  color: #AFC4E8;
}

/* ==================== Responsive Styles ==================== */
/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-index__section-padding {
    padding: 30px 15px;
  }

  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .page-index__game-tile {
    aspect-ratio: 1/1;
  }

  .page-index__game-tile img {
    width: 100%;
    height: 100%;
  }

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

  .page-index__blog-card img {
    
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-index {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index__section-padding {
    padding: 20px 15px;
  }

  /* Ticker */
  .page-index__ticker {
    padding: 6px 0;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }

  .page-index__ticker-icon {
    margin-left: 10px;
  }

  /* Hero Jackpot */
  .page-index__hero-jackpot {
    padding-top: 10px !important;
    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; /* Crucial for mobile to avoid cropping */
    max-height: none !important;
    display: block !important;
  }

  .page-index__hero-copy {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    padding: 15px 10px 30px;
  }

  .page-index__jackpot-amount {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  /* Main Title */
  .page-index__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-index__lead-text {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  /* Game Grids */
  .page-index__game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow-x: hidden;
  }

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

  /* Category Sports */
  .page-index__category-sports {
    flex-direction: column;
    gap: 20px;
  }

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

  /* Promo Dual */
  .page-index__promo-dual {
    flex-direction: column;
    gap: 20px;
  }

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

  /* Winner Boards */
  .page-index__winner-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 15px;
    overflow-x: hidden;
  }

  .page-index__winner-row {
    padding: 8px 10px;
  }

  .page-index__winner-badge--side {
    display: none;
  }

  .page-index__winner-badge--overlay {
    display: flex;
    width: 50px;
    height: 50px;
    top: -5px;
    right: -5px;
  }

  .page-index__winner-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }

  .page-index__winner-thumb img {
    
    
  }

  .page-index__winner-game {
    font-size: 0.95rem;
  }

  .page-index__winner-user,
  .page-index__winner-date {
    font-size: 0.8rem;
  }

  /* Blog Section */
  .page-index__post-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index__blog-card img {
    height: 200px;
  }

  .page-index__blog-title {
    font-size: 1.1rem;
  }

  .page-index__blog-excerpt {
    font-size: 0.875rem;
  }

  .page-index__btn-primary,
  .page-index__btn-secondary,
  .page-index__btn-cta,
  .page-index__blog-readmore {
    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__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;
  }

  /* FAQ Section */
  details.page-index__faq-item summary.page-index__faq-question {
    padding: 15px 18px;
  }

  .page-index__faq-qtext {
    font-size: 1rem;
  }

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

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

  /* General image rules for mobile */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__section, .page-index__card, .page-index__container,
  .page-index__promo-card, .page-index__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__winners-hot, .page-index__winners-top {
    padding-left: 0;
    padding-right: 0;
  }
}