.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background: #B71C1C; /* Body Background */
  line-height: 1.6;
}

.page-index__ticker {
  width: 100%;
  overflow: hidden;
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
  padding: 10px 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-size: 15px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.page-index__ticker-icon {
  margin-left: 15px;
  margin-right: 10px;
  flex-shrink: 0;
}

.page-index__ticker-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

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

.page-index__ticker-text {
  padding-right: 50px; /* Space between repeating text */
}

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

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

.page-index__hero-jackpot {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background: #100224; /* Dark purple background for hero */
  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;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 20px 15px;
  text-align: center;
  background: #100224; /* Consistent background */
}

.page-index__hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__jackpot-counter {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  border: 3px solid #F2B544; /* Border */
  border-image: linear-gradient(to right, #FFD86A, #E6B800) 1;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.page-index__jackpot-label {
  display: block;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #FFCC66; /* Glow */
  font-weight: bold;
  text-transform: uppercase;
}

.page-index__jackpot-amount {
  display: block;
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  font-weight: 900;
  color: #FFF5E1; /* Text Main */
  word-break: break-all;
  line-height: 1.2;
  text-shadow: 0 0 10px #FFCC66;
}

.page-index__jackpot-currency {
  display: block;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: #FFF5E1;
  margin-top: 4px;
}

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

.page-index__btn-cta {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #100224; /* Dark text for bright button */
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 5px 15px rgba(255, 204, 102, 0.4);
}

.page-index__btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 204, 102, 0.6);
}

.page-index__intro {
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-index__text-gradient {
  background: linear-gradient(90deg, #FFD86A, #F4D34D, #E6B800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback for non-webkit */
}

.page-index__intro-lead {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #FFF5E1;
  max-width: 800px;
  margin: 0 auto;
}

.page-index__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #FFF5E1;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(255,255,255,0.2);
}

.page-index__section-lead {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #FFF5E1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-index__games-popular,
.page-index__category-slots,
.page-index__category-fishing,
.page-index__category-casino,
.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 {
  padding: 40px 15px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.page-index__dark-section {
  background: #C91F17; /* Main Color */
  color: #FFF5E1;
}

.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted for flexibility */
  gap: 15px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__game-tile {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  padding-top: 100%; /* Makes the tile square */
  width: 100%;
}

.page-index__game-tile:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.page-index__game-tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Desktop specific for game tiles - fixed size */
@media (min-width: 1025px) {
  .page-index__game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .page-index__game-tile {
    width: 200px; /* Adjust if needed to fit 6 columns within 1200px */
    height: 200px;
    padding-top: 0;
  }
  .page-index__game-tile img {
    width: 200px;
    height: 200px;
  }
}

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

.page-index__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #100224; /* Dark text for bright button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 10px rgba(255, 204, 102, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 204, 102, 0.5);
}

.page-index__btn-secondary {
  display: inline-block;
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  border: 1px solid #F2B544; /* Border */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-secondary:hover {
  background: #E53935; /* Auxiliary Color */
  border-color: #FFCC66; /* Glow */
}

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

.page-index__sports-text {
  flex: 1;
}

.page-index__sports-text p {
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-index__sports-image-wrapper {
  flex: 1;
  min-width: 0;
}

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

.page-index__promo-dual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__promo-card {
  background: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-index__promo-desc {
  font-size: 0.95rem;
  color: #FFF5E1;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index__promo-app-image {
  max-width: 80%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.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.1rem, 2.5vw, 1.4rem);
  background: linear-gradient(180deg, #FFD86A, #E6B800);
  -webkit-background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.page-index__winner-title-big {
  display: block;
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 900;
  color: rgba(255, 210, 0, .45);
  letter-spacing: .02em;
  text-transform: uppercase;
}

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

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

.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; /* Purple-like color */
  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 for 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: #FFF5E1;
}

.page-index__winner-game {
  font-weight: 700;
  color: #F4D34D; /* Gold */
  font-size: 1rem;
}

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

.page-index__blog-section {
  background: #B71C1C;
}

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

.page-index__blog-card {
  background: #D32F2F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-index__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
  display: block;
}

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

.page-index__blog-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index__blog-excerpt {
  font-size: 0.9rem;
  color: #FFF5E1;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-index__blog-read-more {
  font-size: 0.9rem;
  color: #FFD86A; /* Lighter gold for link */
  font-weight: bold;
  display: inline-block;
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

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

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: #7A0E0E; /* Deep Red */
}

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

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD86A; /* Button color */
  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: #7A0E0E; /* Deep Red */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
  font-size: 0.95rem;
}

.page-index__brand-bar {
  text-align: center;
  padding: 30px 15px;
  background: #7A0E0E; /* Deep Red */
}

.page-index__brand-bar img {
  max-width: 250px;
  height: auto;
  margin-bottom: 15px;
}

.page-index__brand-tagline {
  font-size: 1.1rem;
  color: #FFF5E1;
  font-weight: 500;
}

/* ======================================================= */
/* Responsive Styles */
/* ======================================================= */

@media (max-width: 1024px) {
  .page-index__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .page-index__game-tile {
    padding-top: 100%; /* Maintain square aspect ratio */
  }
  .page-index__game-tile img {
    width: 100%;
    height: 100%;
  }
  .page-index__post-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-index__winner-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@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; /* Crucial for mobile hero */
    max-height: none !important;
    display: block !important;
  }
  .page-index__hero-copy {
    position: static !important;
    inset: auto !important;
    transform: none !important;
  }
  .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__sports-content {
    flex-direction: column;
  }
  .page-index__promo-dual {
    grid-template-columns: 1fr;
  }
  .page-index__winner-list {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 12px;
  }
  .page-index__winner-row {
    padding: 10px;
  }
  .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__winner-info {
    flex: 1;
    min-width: 0;
  }
  .page-index__post-grid {
    grid-template-columns: 1fr;
  }
  .page-index__blog-card img {
    
  }
  .page-index__faq-qtext {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .page-index {
    font-size: 15px;
    line-height: 1.5;
  }
  .page-index__ticker {
    font-size: 14px;
    padding: 8px 0;
  }
  .page-index__hero-jackpot {
    padding-top: 10px !important;
  }
  .page-index__hero-copy {
    padding: 15px 10px;
  }
  .page-index__btn-cta {
    padding: 10px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index__intro,
  .page-index__games-popular,
  .page-index__category-slots,
  .page-index__category-fishing,
  .page-index__category-casino,
  .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 {
    padding: 25px 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__section-lead {
    font-size: 0.9rem;
  }
  .page-index__game-grid {
    gap: 8px;
  }
  .page-index__game-tile, .page-index__game-tile img {
    aspect-ratio: 1/1;
  }
  .page-index__btn-primary,
  .page-index__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index__btn-container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-index__sports-content {
    gap: 20px;
  }
  .page-index__sports-image-wrapper img,
  .page-index__promo-app-image,
  .page-index__blog-card img,
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index__winner-title {
    margin-bottom: 20px;
  }
  .page-index__winner-title-line {
    font-size: 1rem;
  }
  .page-index__winner-title-big {
    font-size: 3rem;
  }
  .page-index__winner-row {
    flex-wrap: nowrap; /* Ensure it stays horizontal */
    gap: 10px;
  }
  .page-index__winner-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
  }
  .page-index__winner-thumb img {
    
    
  }
  .page-index__winner-badge--overlay {
    width: 48px;
    height: 48px;
  }
  .page-index__winner-info {
    font-size: 0.8rem;
  }
  details.page-index__faq-item summary.page-index__faq-question {
    padding: 15px;
  }
  .page-index__faq-qtext {
    font-size: 1rem;
  }
  details.page-index__faq-item .page-index__faq-answer {
    padding: 0 15px 15px;
  }
}