.page-index{
  color:#ffffff;
}
.page-index__home-hero{
  background:#0a1628;
}
.page-index__hero-brand-title{
  background:linear-gradient(180deg, #ffe082, #ff9800);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.page-index__hero-brand-lead{
  color:rgba(255,255,255,.88);
}
.page-index__hero-brand-trust li{
  color:rgba(255,255,255,.8);
}
.page-index__hero-jackpot{
  border:1px solid rgba(212,175,55,.45);
  border-radius:12px;
  background:#120c06;
}
.page-index__hero-jackpot-amount{
  color:#ffd54f;
}
.page-index__hero-jackpot-claim{
  background:#c62828!important;
  color:#fff!important;
}
.page-index__game-trial-shell{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
  background:#0a1628;
}
.page-index__game-trial-topbar{
  background:rgba(0,0,0,.35);
}
.page-index__game-trial-top-promo{
  background:linear-gradient(90deg, #7b1fa2, #9c27b0);
  color:#fff;
}
.page-index__game-trial-frame{
  background:#1a1a2e;
}
.page-index__game-trial-bottombar{
  background:rgba(0,0,0,.4);
  color:rgba(255,255,255,.75);
}
.page-index__game-trial-overlay{
  background:rgba(0,0,0,.55);
}
.page-index__game-trial-start{
  background:linear-gradient(180deg, #ffd54f, #ff9800);
  color:#1a1a1a;
  box-shadow:0 0 20px rgba(255,193,7,.45);
}
.page-index__reward-modal-backdrop{
  background:rgba(0,0,0,.72);
}
.page-index__reward-modal-card{
  border:2px solid #d4af37;
  background:#1a1208;
}
.page-index__reward-modal-close{
  background:rgba(255,255,255,.12);
  color:#fff;
}
.page-index__reward-modal-close:hover{
  background:rgba(255,255,255,.22);
}
.page-index__reward-modal-claim{
  background:linear-gradient(180deg, #ffe082, #ffb300);
  color:#1a1a1a;
}
.page-index__reward-modal-retry{
  background:#2a2218;
  color:#fff;
  border:1px solid #d4af37;
}
.page-index__promo-card{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  background:#1a1208;
}
.page-index__promo-card-title{
  color:#ffd54f;
}
.page-index__promo-card-line{
  color:rgba(255,255,255,.82);
}
.page-index__promo-card-btn{
  background:linear-gradient(180deg, #ffe082, #ffb300);
  color:#1a1a1a;
}
.page-index__section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  padding:0 16px;
}
.page-index__section-title{
  font-size:1.5rem;
  color:#ffd54f;
  margin:0;
}
.page-index__view-more{
  color:#ffd54f;
  text-decoration:none;
  font-weight:600;
}
.page-index__hot-games-item{
  border:1px solid rgba(212,175,55,.35);
  border-radius:10px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  text-align:center;
  background:#1a1208;
}
.page-index__hot-games-name{
  color:#ffd54f;
}
.page-index__hot-games-rtp{
  color:#4caf50;
}
.page-index__hot-games-desc{
  opacity:0.85;
  color:rgba(255,255,255,.85);
}
.page-index__brand-intro-title{
  color:#ffd54f;
}
.page-index__brand-intro-text{
  color:rgba(255,255,255,.88);
}
.page-index__brand-intro-trust-list li{
  color:rgba(255,255,255,.8);
}
.page-index__winner-ticker{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:100;
  background:#c62828;
  color:#fff;
  padding:10px 0;
  overflow:hidden;
  white-space:nowrap;
  font-size:0.0rem; /* Hidden by default, JS will show */
}
.page-index__winner-ticker-track{
  display:flex;
  animation:ticker-scroll 20s linear infinite;
  width:max-content;
}
.page-index__winner-ticker-item{
  padding:0 15px;
  white-space:nowrap;
  flex-shrink:0;
  display:none;
}
.page-index__winner-ticker-item.is-active{
  display:inline-block;
  font-size:0.85rem;
}
@keyframes ticker-scroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-100%);}
}
body{
  padding-bottom:48px; /* For winner ticker */
}

/* Common styles for buttons and images to prevent overflow */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-index a[class*="button"],
.page-index a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-index__cta-buttons,
.page-index__button-group,
.page-index__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .page-index__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 10px 12px 16px;
  }
  .page-index__hero-brand,
  .page-index__hero-jackpot {
    display: none !important;
  }
  .page-index__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-index__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-index__game-trial-topbar,
  .page-index__game-trial-bottombar {
    display: none !important;
  }
  .page-index__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-index__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-index__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-index__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-index__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
    background: transparent;
    border: none;
  }
  .page-index__hero-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    border: none;
    background: transparent;
    padding: 0;
    box-sizing: border-box;
  }
  .page-index__hero-brand-title {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 12px;
  }
  .page-index__hero-brand-lead {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 16px;
  }
  .page-index__hero-brand-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .page-index__hero-brand-trust li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
  }
  .page-index__hero-jackpot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 300px;
    max-height: 300px;
    box-sizing: border-box;
    padding: 16px 12px;
    overflow: hidden;
  }
  .page-index__hero-jackpot-amount {
    font-size: clamp(1rem, 1.6vw, 1.45rem);
    font-weight: 800;
    margin: 8px 0;
    line-height: 1.2;
  }
  .page-index__hero-jackpot-claim {
    display: block;
    margin-top: 16px;
    padding: 14px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
  }
  .page-index__game-trial {
    max-width: none !important;
    width: 100%;
    height: 300px;
    max-height: 300px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .page-index__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-index__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-index__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-index__promo-strip {
    max-width: 1280px; margin: 0 auto; padding: 0 16px 24px;
  }
  .page-index__promo-strip-track {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    overflow-x: hidden; padding: 0;
  }
  .page-index__promo-card {
    flex: none; flex-direction: row; align-items: center; text-align: left;
    gap: 10px; padding: 14px 12px;
  }
  .page-index__promo-card-media {
    flex: 0 0 38%; max-width: 38%;
    margin-bottom: 0;
  }
  .page-index__promo-card-media img {
    max-width: 100%;
    max-height: none;
    margin: 0;
  }
  .page-index__promo-card-body {
    flex: 1; min-width: 0;
  }
  .page-index__promo-card-title {
    font-size: 0.85rem;
  }
  .page-index__promo-card-line {
    font-size: 0.72rem;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .page-index__promo-card-btn {
    display: inline-block;
    width: auto;
    margin-top: 10px; padding: 8px 14px; font-size: 0.7rem;
  }
  .page-index__hot-games {
    max-width: 1280px; margin: 0 auto; padding: 0 16px 32px;
  }
  .page-index__hot-games-grid {
    max-width: none; grid-template-columns: repeat(6, 1fr); gap: 12px;
  }
  .page-index__hot-games-item {
    padding-bottom: 10px;
  }
  .page-index__hot-games-name {
    font-size: 0.85rem; margin: 8px 8px 0;
  }
  .page-index__hot-games-rtp {
    display: block; font-size: 0.75rem; margin: 4px 8px;
  }
  .page-index__hot-games-desc {
    font-size: 0.7rem; margin: 0 8px; line-height: 1.4;
  }
  .page-index__brand-intro {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    overflow-x: hidden;
    padding: 0 8px 12px;
  }
  .page-index__promo-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 8px 4px;
  }
  .page-index__promo-card-media {
    width: 100%;
    margin-bottom: 6px;
  }
  .page-index__promo-card-media img {
    
    object-fit: contain;
  }
  .page-index__promo-card-title {
    font-size: clamp(0.55rem, 2.8vw, 0.72rem);
  }
  .page-index__promo-card-line {
    font-size: clamp(0.5rem, 2.2vw, 0.62rem);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .page-index__promo-card-btn {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 5px 4px;
    font-size: clamp(0.5rem, 2.2vw, 0.65rem);
  }
  .page-index__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .page-index__hot-games-name,
  .page-index__hot-games-rtp,
  .page-index__hot-games-desc {
    display: none;
  }
  .page-index__hot-games .page-index__section-header {
    padding: 0 16px;
  }
  .page-index__brand-intro {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px 24px;
    box-sizing: border-box;
    display: block;
  }
  .page-index__brand-intro-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  .page-index__brand-intro-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  .page-index__brand-intro-trust-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
  }
  .page-index__brand-intro-trust-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  .page-index__winner-ticker {
    font-size: 0.75rem;
    padding: 8px 0;
  }
  .page-index__winner-ticker-track {
    animation-duration: 15s; /* Faster scroll on mobile */
  }
  .page-index__section-title {
    font-size: 1.3rem;
  }
  .page-index__view-more {
    font-size: 0.8rem;
}
  .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;
  }
  .page-index__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}