
:root{
  --blue:#1877F2;
  --blue-dark:#0d5dcc;
  --blue-deep:#0b2f6b;
  --green:#28A66B;
  --orange:#f5a623;
  --ink:#172b4d;
  --muted:#667085;
  --page:#f4f8ff;
  --line:#e5efff;
  --white:#fff;
  --radius:16px;
  --shadow:0 12px 30px rgba(24,119,242,.12);
}
*{box-sizing:border-box}
html{width:100%;overflow-x:hidden;scroll-behavior:smooth}
body{
  margin:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  font-family:Poppins,Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:#fff;
  -webkit-text-size-adjust:100%;
}
img,svg,video{display:block;max-width:100%;height:auto}
a{text-decoration:none}
button,input{font:inherit}
.container{width:min(1140px,calc(100% - 28px));margin-inline:auto}
.container-fluid{width:100%}
.row{display:flex;flex-wrap:wrap;margin-inline:-8px}
.row>*{min-width:0;padding-inline:8px}
.col-lg-7{width:58.3333%}.col-lg-5{width:41.6667%}.col-lg-4{width:33.3333%}
.col-md-6{width:50%}.col-md-4{width:33.3333%}.col-md-3{width:25%}.col-6{width:50%}.col-12{width:100%}
.d-flex{display:flex!important}.flex-column{flex-direction:column!important}.align-items-center{align-items:center!important}
.text-center{text-align:center!important}.text-start{text-align:left!important}.text-decoration-none{text-decoration:none!important}
.ms-auto{margin-left:auto!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.me-2{margin-right:.5rem!important}
.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.px-0{padding-left:0!important;padding-right:0!important}
.gap-1{gap:.25rem!important}.g-2{row-gap:.5rem}.g-3{row-gap:1rem}.g-md-4{row-gap:1.5rem}
.text-warning{color:#f2b01e!important}.text-success{color:#28A66B!important}

/* Preloader */
#sitePreloader{
  position:fixed;inset:0;z-index:999999;
  display:grid;place-items:center;background:#fff;
  transition:opacity .28s ease,visibility .28s ease;
}
#sitePreloader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.preloader-card{text-align:center}
.matka-loader-container{position:relative;width:105px;height:105px;margin:auto;animation:loaderPulse 1.1s ease-in-out infinite}
.matka-pot-svg{width:105px;height:105px}
.matka-loader-numbers{position:absolute;inset:0}
.l-num{position:absolute;color:#fff;font-size:12px;font-weight:900}
.ln-1{left:22px;top:46px}.ln-2{left:39px;top:58px}.ln-3{left:56px;top:45px}
.ln-4{left:68px;top:64px}.ln-5{left:34px;top:74px}.ln-6{left:54px;top:76px}
.preloader-text{font-weight:800;color:#334155}
@keyframes loaderPulse{50%{transform:scale(1.055)}}

/* Navbar - same blue Ratan look */
.navbar-bg{
  position:sticky;top:0;z-index:10050;overflow:visible;
  background:linear-gradient(135deg,#0c2a61 0%,#0d5dcc 60%,#1877F2 100%);
  box-shadow:0 4px 18px rgba(15,54,110,.20);
}
.navbar{
  min-height:70px;
  display:flex;align-items:center;gap:16px;
  padding:6px 0;
}
.brand-logo{display:block}
.brand-logo a{display:flex;align-items:center;color:#fff}
.brand-logo img{width:auto!important;height:48px!important;object-fit:contain}
.logo-text-wrap{min-width:0}
.logo-title{display:block;color:#fff;font-size:18px;line-height:1.05;font-weight:900}
.logo-subtitle{display:block;color:#d9e8ff;font-size:11px;line-height:1.2;margin-top:3px;font-weight:600}
.navbar-toggler{
  display:none;align-items:center;justify-content:center;
  width:44px;height:44px;margin-left:auto;padding:0;
  border:0;border-radius:10px;background:#fff;cursor:pointer;
}
.navbar-toggler i{color:var(--green)!important}
.navbar-collapse{display:flex;flex:1;min-width:0}
.navbar-nav{
  list-style:none;display:flex;align-items:center;
  gap:4px;padding:0;margin:0 0 0 auto;
}
.nav-item{position:relative}
.nav-link{
  appearance:none;border:0;cursor:pointer;
  min-height:40px;display:flex;align-items:center;gap:5px;
  padding:9px 12px;border-radius:9px;
  color:#fff;background:transparent;font-size:14px;font-weight:700;
}
.nav-link:hover,.nav-link.active{color:#fff;background:rgba(255,255,255,.14)}
.btn-dl-nav{background:#fff!important;color:#0d5dcc!important;box-shadow:0 5px 14px rgba(0,0,0,.14)}

/* Mega menu exact 3-column desktop treatment */
.mega-dropdown{position:static!important}
.mega-menu-content{
  display:none;
  position:absolute!important;
  top:calc(100% + 6px)!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1125px,calc(100vw - 64px))!important;
  max-width:1125px!important;
  max-height:374px;
  overflow:hidden;
  margin:0!important;
  padding:24px!important;
  background:#fff;
  border:0!important;
  border-radius:17px;
  box-shadow:0 24px 70px rgba(9,38,82,.24)!important;
  z-index:10080;
}
.mega-dropdown.menu-open .mega-menu-content,
.mega-dropdown.gc-open .mega-menu-content,
.mega-menu-content.show{display:block!important}
.mega-menu-content .row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;margin:0!important;
}
.mega-menu-col{width:auto!important;padding:0!important}
.mega-menu-title{
  display:flex;align-items:center;gap:7px;
  margin:0 0 8px;padding:0 0 10px;
  border-bottom:2px solid #e8eef8;
  color:#142b4d;font-size:14px;font-weight:900;text-transform:uppercase;
}
.mega-menu-title i{color:var(--blue)}
.mega-menu-col-list{
  display:flex;flex-direction:column;gap:1px;
  max-height:285px;overflow-y:auto;padding-right:5px;
  scrollbar-width:thin;
}
.mega-menu-link{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 7px;border-radius:8px;color:#34435a;
  font-size:12px;font-weight:700;
}
.mega-menu-link:hover{background:#eef5ff;color:var(--blue)}
.mega-menu-link .time{font-size:10px;font-weight:700;color:#8a98aa}

/* Hero */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#edf5ff 0%,#ffffff 55%,#fff8ef 100%);
  padding:58px 0 52px;
}
.hero-card-rain{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.hero-card-symbol{position:absolute;color:#1877F2;opacity:.10;font-weight:900;animation:cardFloat 7s ease-in-out infinite alternate}
@keyframes cardFloat{from{transform:translateY(0) rotate(-10deg)}to{transform:translateY(18px) rotate(12deg)}}
.hero .container{position:relative;z-index:2}
.hero-copy-wrap{position:relative;z-index:2}
.hero-matka-watermark{
  position:absolute!important;
  width:180px!important;height:180px!important;
  right:2%!important;top:-18px!important;
  opacity:.07!important;pointer-events:none;
}
.hero-page-title{
  display:block;margin:0 0 9px;
  color:var(--blue);font-size:17px;line-height:1.3;font-weight:800;
}
.hero-copy-title{
  margin:0;
  max-width:760px;
  color:#10213f;
  font-size:clamp(2.6rem,4.5vw,4.5rem);
  line-height:1.02;letter-spacing:-.04em;font-weight:900;
}
.hero-copy-title span{color:var(--blue)}
.hero-copy-desc{
  max-width:700px;margin:17px 0 0;
  color:#526173;font-size:17px;line-height:1.65;
}
.hero-girl-wrap{display:flex;align-items:center;justify-content:center}
.hero-girl-vector{
  display:block!important;
  width:auto!important;height:auto!important;
  max-width:100%!important;max-height:455px!important;
  margin:0 auto;object-fit:contain!important;
}
.hero-cta-wrap{display:flex;justify-content:center;padding:0 14px;margin-top:22px}
.download-btn{
  position:relative;overflow:hidden;
  min-width:255px;display:inline-flex;align-items:center;gap:12px;
  padding:11px 20px;border-radius:14px;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;
  box-shadow:0 12px 27px rgba(24,119,242,.28)
}
.download-btn-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.15)}
.download-btn-icon svg{width:24px;height:24px}
.download-btn-text{display:flex;flex-direction:column}
.download-btn-label{font-size:11px;opacity:.82}.download-btn-title{font-size:15px;font-weight:900}
.download-btn-shine{position:absolute;top:-30%;bottom:-30%;left:-35%;width:25%;background:rgba(255,255,255,.22);transform:rotate(18deg);animation:btnShine 3.5s infinite}
@keyframes btnShine{55%,100%{left:125%}}
.hero-page-lead{
  max-width:1120px;margin:16px auto 0;padding:0 16px;
  color:#526173;font-size:16px;line-height:1.65;
}

/* Feature grid */
.feature-block{padding:6px 0 24px}
.feature-row{align-items:stretch}
.feature-item{
  height:100%;min-height:190px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:22px 12px;border:1px solid #e8eef7;border-radius:21px;
  background:#fff;box-shadow:0 12px 28px rgba(31,55,91,.075);
  transition:transform .2s ease,box-shadow .2s ease;
}
.feature-item:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(31,55,91,.11)}
.feature-item svg{width:112px!important;height:112px!important;margin:0 auto 12px}
.feature-title{display:block;color:#14233b;font-size:16px;font-weight:900}
.feature-sub{display:block;margin-top:5px;color:#7a8798;font-size:12px;line-height:1.35}

/* Section headings */
section{padding:45px 0}
.section-title{margin:0;text-align:center;color:#17233a;font-size:29px;line-height:1.2;font-weight:900}
.green-line{width:56px;height:4px;margin:10px auto 13px;border-radius:10px;background:var(--green)}
.section-sub{margin:0;text-align:center;color:#758195;font-size:14px;line-height:1.55}

/* Two-row activity board, visually same as the supplied winners board */
.winners-section{
  overflow:hidden;padding:48px 0;
  background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
}
.winners-ticker-wrap{width:100%;overflow:hidden;padding-top:3px}
.winners-ticker-row{
  width:100%;overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent);
}
.winners-ticker-track{
  display:flex;align-items:stretch;gap:12px;
  width:max-content;will-change:transform;
}
.ticker-left .winners-ticker-track{animation:tickerLeft 44s linear infinite}
.ticker-right .winners-ticker-track{animation:tickerRight 47s linear infinite}
.winners-ticker-row:hover .winners-ticker-track{animation-play-state:paused}
.winner-card{
  width:250px;min-width:250px;min-height:84px;
  display:flex;align-items:center;gap:11px;
  padding:12px 14px;border:1px solid #e6edf7;border-radius:15px;
  background:#fff;box-shadow:0 8px 20px rgba(23,43,77,.07);
}
.winner-avatar{
  width:45px;height:45px;flex:0 0 45px;
  display:grid;place-items:center;border-radius:50%;
  color:#1877f2;background:linear-gradient(135deg,#eaf3ff,#effaf4);
  border:1px solid #dce9fa;font-size:16px;font-weight:900;
}
.winner-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.winner-name{
  max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#172b4d;font-size:13px;font-weight:900;
}
.winner-meta{color:#7b8797;font-size:10px;line-height:1.3}
.winner-status{
  width:max-content;margin-top:3px;padding:3px 7px;border-radius:999px;
  color:#23855a;background:#eef8f2;font-size:9px;font-weight:800;
}
@keyframes tickerLeft{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes tickerRight{from{transform:translateX(-50%)}to{transform:translateX(0)}}

/* Game cards */
.game-card{
  height:100%;padding:16px;border:1px solid #e5edf8;border-radius:18px;
  background:#fff;box-shadow:0 10px 25px rgba(25,50,85,.075);
  transition:transform .2s ease;
}
.game-card:hover{transform:translateY(-3px)}
.game-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.game-title{color:#172b4d;font-size:15px;line-height:1.3;font-weight:900}
.game-time{margin-top:7px;color:#7a879a;font-size:11px}
.game-num{
  margin-top:14px;padding:13px 8px;border-radius:12px;
  background:#eff6ff;color:#0d5dcc;text-align:center;
  font-size:18px;font-weight:900;letter-spacing:.7px;
}
.game-actions{display:flex;gap:8px;margin-top:12px}
.game-btn-chart,.game-btn-play{
  min-width:0;flex:1;min-height:39px;
  display:flex;align-items:center;justify-content:center;gap:5px;
  padding:7px;border-radius:9px;font-size:12px;font-weight:900;
}
.game-btn-chart{background:#edf4ff;color:#1766c8}
.game-btn-play{background:#1877f2;color:#fff}

/* App section */
.app-section,section.app-section{background:linear-gradient(180deg,#fff,#f6f9ff)}
.app-row{display:flex;align-items:center;gap:34px}
.app-copy,.app-phone-wrap{flex:1;min-width:0}
.app-download-title{
  margin:0 0 15px;color:#17233a;
  font-size:clamp(2rem,3.5vw,3.3rem);line-height:1.08;font-weight:900
}
.app-download-title span{color:var(--blue)}
.app-copy p{color:#667085;line-height:1.7}
.app-phone-wrap{display:flex;justify-content:center}
.app-phone-wrap img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:520px!important;margin:auto;object-fit:contain}

/* Footer */
.site-footer{margin-top:42px;background:#0e1b2d;color:#dce6f4}
.ft-stats-strip{border-bottom:1px solid #25374f}
.ft-stats-row{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;padding:18px 0}
.ft-stat-item{text-align:center}.ft-stat-num{display:block;color:#fff;font-size:19px;font-weight:900}.ft-stat-label{display:block;color:#93a4ba;font-size:10px}
.ft-stat-divider{width:1px;height:30px;background:#33465f}
.ft-main{padding:45px 0}
.ft-main .row{row-gap:25px}
.ft-brand-logo{width:auto!important;height:55px!important}
.ft-brand-name{margin-top:8px;color:#fff;font-size:20px;font-weight:900}
.ft-brand-desc,.ft-trust-sub{color:#98a9bd;font-size:13px;line-height:1.6}
.ft-socials{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.ft-social-btn{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#24364d;color:#fff}
.ft-nav-title,.ft-trust-title{margin-bottom:11px;color:#fff;font-weight:900}
.ft-nav-list{display:flex;flex-direction:column;gap:8px}.ft-nav-list a{color:#b7c4d3;font-size:13px}
.ft-bottom-bar{background:#091421}
.ft-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:15px 0}
.ft-bottom-links{display:flex;gap:14px;flex-wrap:wrap}.ft-bottom-links a{color:#98a9bd;font-size:12px}

/* Floating bar */
.float-download-bar{
  position:fixed!important;left:0;right:0;bottom:0;z-index:11000;
  padding:7px 10px;background:rgba(255,255,255,.97);
  border-top:1px solid #e0e9f4;box-shadow:0 -6px 24px rgba(0,0,0,.09)
}
.float-download-bar__inner{display:flex;justify-content:center}
.float-download-bar__btn{
  width:min(430px,100%);min-height:48px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  border-radius:12px;background:linear-gradient(135deg,#1877f2,#0d5dcc);
  color:#fff;font-weight:900
}
.has-float-download{padding-bottom:68px}

/* Responsive */
@media(max-width:991.98px){
  .col-lg-7,.col-lg-5,.col-lg-4{width:100%}
  .navbar{flex-wrap:wrap}
  .navbar-toggler{display:inline-flex!important}
  .navbar-collapse{
    display:none!important;flex-basis:100%;width:100%;
    margin-top:7px;padding:9px;
    background:#fff;border-radius:13px;
    box-shadow:0 12px 30px rgba(15,23,42,.14)
  }
  .navbar-collapse.show{display:block!important}
  .navbar-nav{width:100%;flex-direction:column;align-items:stretch!important;margin:0}
  .nav-item{width:100%}.nav-link{width:100%;justify-content:space-between;color:#172b4d}
  .nav-link:hover,.nav-link.active{color:#0d5dcc;background:#eef5ff}
  .btn-dl-nav{background:#1877f2!important;color:#fff!important}
  .mega-dropdown{position:relative!important;width:100%}
  .mega-menu-content{
    position:static!important;transform:none!important;
    width:100%!important;max-width:100%!important;
    max-height:65vh!important;overflow-y:auto!important;
    margin:5px 0 8px!important;padding:12px!important;
    border:1px solid #e5edf8!important;box-shadow:none!important
  }
  .mega-menu-content .row{display:block!important}
  .mega-menu-col{width:100%!important;margin-bottom:14px}
  .mega-menu-col-list{max-height:210px}
  .hero{padding:38px 0 30px}.hero .row{flex-direction:column}
  .hero-girl-wrap{margin-top:22px}
  .app-row{flex-direction:column}
}
@media(max-width:767.98px){
  .col-md-6,.col-md-4,.col-md-3{width:100%}
  .container{width:calc(100% - 24px)}
  .hero{padding:29px 0 24px}
  .hero .row{margin:0}
  .hero .row>*{padding-inline:0}
  .hero-copy-wrap{width:100%;padding-inline:4px}
  .hero-matka-watermark{width:105px!important;height:105px!important;right:-8px!important;top:-4px!important;opacity:.05!important}
  .hero-page-title{font-size:14px}
  .hero-copy-title{font-size:clamp(2rem,9vw,2.8rem);line-height:1.08;letter-spacing:-.025em}
  .hero-copy-desc{font-size:15px;line-height:1.6}
  .hero-girl-vector{max-width:min(90vw,360px)!important;max-height:400px!important}
  .feature-item{min-height:155px;padding:17px 8px}.feature-item svg{width:78px!important;height:78px!important}
  .section-title{font-size:24px}
  .winner-card{width:215px;min-width:215px;min-height:74px;padding:10px 11px}
  .winner-avatar{width:39px;height:39px;flex-basis:39px;font-size:14px}.winner-name{max-width:125px;font-size:12px}
  .app-row{gap:20px}
  .ft-bottom-inner{flex-direction:column;justify-content:center;text-align:center}
}
@media(max-width:575.98px){
  .feature-row .col-6,#bestGamesGrid .col-6,#desawarGamesGrid .col-6,#starlineGamesGrid .col-6{width:50%!important}
  .feature-item{min-height:145px}.feature-title{font-size:13px}.feature-sub{font-size:10px}
  .game-card{padding:11px}.game-title{font-size:12px}.game-time{font-size:10px}.game-num{font-size:15px}
  .game-actions{gap:5px;flex-wrap:wrap}.game-btn-chart,.game-btn-play{font-size:10px;padding:6px 3px}
  .ft-main .row>*{width:100%!important}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important}
  .winners-ticker-track,.matka-loader-container,.download-btn-shine{animation:none!important}
  .winners-ticker-wrap{overflow-x:auto}
}


/* ===== exact-source finishing layer ===== */
body{font-family:Poppins,Arial,Helvetica,sans-serif}
.btn-dl-big{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:12px 18px;border-radius:12px;
  background:linear-gradient(135deg,#1877F2,#0d5dcc);color:#fff;font-weight:900;
  box-shadow:0 10px 25px rgba(24,119,242,.22)
}
.ft-brand-logo{display:flex;align-items:center;gap:10px}
.ft-brand-logo img{width:auto!important;height:54px!important;object-fit:contain}
.ft-brand-text{display:flex;flex-direction:column}
.ft-brand-badge{font-size:10px;color:#9fb2c8;margin-top:3px}
.ft-nav-list{list-style:none;padding:0;margin:0}
.ft-nav-list li{margin:0 0 8px}
.ft-trust-cards{display:flex;flex-direction:column;gap:9px}
.ft-trust-card{display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #25374f;border-radius:10px;background:#122238}
.ft-trust-card>i{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#1d3450;color:#8fc0ff}
.ft-trust-card>div{display:flex;flex-direction:column}
.ft-trust-title{font-size:12px;color:#fff;font-weight:800}.ft-trust-sub{font-size:10px;color:#9fb0c4}
#winNotificationContainer{display:none!important}
@media(max-width:767.98px){
  .app-section{padding:24px 16px!important;border-radius:18px}
  .app-copy{text-align:center}
  .btn-dl-big{width:100%;max-width:330px;margin:0 auto}
}


/* ===== MENU + MOBILE HARD FIX ===== */
.navbar-bg{overflow:visible!important}
.navbar{position:relative!important;overflow:visible!important}
.navbar-collapse{overflow:visible!important}
.navbar-toggler{
    position:relative;z-index:10099;
    display:none;align-items:center;justify-content:center;
    cursor:pointer!important;pointer-events:auto!important;
}
.navbar-toggler .menu-lines{
    width:22px;height:16px;display:flex;flex-direction:column;
    justify-content:space-between;pointer-events:none;
}
.navbar-toggler .menu-lines span{
    display:block;width:100%;height:2px;border-radius:9px;
    background:#0d5dcc;transition:transform .25s ease,opacity .2s ease;
}
.navbar-toggler.is-open .menu-lines span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.navbar-toggler.is-open .menu-lines span:nth-child(2){opacity:0}
.navbar-toggler.is-open .menu-lines span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:991.98px){
    .navbar-toggler{display:flex!important}
    #nav.navbar-collapse{
        display:none!important;
        width:100%!important;
        flex-basis:100%!important;
        margin:8px 0 4px!important;
        padding:10px!important;
        border-radius:14px!important;
        background:#fff!important;
        box-shadow:0 15px 36px rgba(12,42,97,.20)!important;
    }
    #nav.navbar-collapse.menu-visible{display:block!important}
    #nav .navbar-nav{
        display:flex!important;flex-direction:column!important;
        align-items:stretch!important;width:100%!important;
        gap:3px!important;
    }
    #nav .nav-item{width:100%!important}
    #nav .nav-link{
        width:100%!important;min-height:44px!important;
        justify-content:space-between!important;color:#172b4d!important;
        padding:10px 12px!important;
    }
    #nav .nav-link.active,#nav .nav-link:hover{
        color:#0d5dcc!important;background:#eef5ff!important;
    }
    .mega-menu-content{
        position:static!important;left:auto!important;top:auto!important;
        transform:none!important;width:100%!important;max-width:none!important;
        max-height:0!important;opacity:0!important;overflow:hidden!important;
        display:block!important;padding:0!important;margin:0!important;
        border:0!important;border-radius:10px!important;box-shadow:none!important;
        transition:max-height .3s ease,opacity .2s ease,padding .3s ease!important;
    }
    .mega-dropdown.menu-open .mega-menu-content{
        max-height:1200px!important;opacity:1!important;
        padding:10px!important;margin-top:5px!important;
        border:1px solid #e5edf8!important;
    }
    .mega-menu-content .row{display:block!important}
    .mega-menu-col{width:100%!important;margin-bottom:12px!important}
    .mega-menu-col-list{max-height:180px!important;overflow-y:auto!important}
}

/* ===== PREMIUM DEMO POINTS BOARD ===== */
.premium-board-section{
    position:relative;overflow:hidden;
    padding:54px 0 58px!important;
    background:
      radial-gradient(circle at 10% 10%,rgba(24,119,242,.08),transparent 32%),
      radial-gradient(circle at 90% 80%,rgba(40,166,107,.08),transparent 30%),
      linear-gradient(180deg,#f8fbff,#fff)!important;
}
.premium-board-section:before{
    content:"";position:absolute;inset:0;pointer-events:none;
    background-image:linear-gradient(rgba(24,119,242,.035) 1px,transparent 1px),
                     linear-gradient(90deg,rgba(24,119,242,.035) 1px,transparent 1px);
    background-size:32px 32px;
    mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent);
}
.board-kicker{
    position:relative;z-index:2;
    width:max-content;margin:0 auto 9px;padding:5px 10px;
    display:flex;align-items:center;gap:7px;border-radius:999px;
    border:1px solid #dbe9ff;background:rgba(255,255,255,.82);
    color:#4c6480;font-size:10px;font-weight:900;letter-spacing:.13em;
}
.live-dot{
    width:7px;height:7px;border-radius:50%;background:#28a66b;
    box-shadow:0 0 0 0 rgba(40,166,107,.42);
    animation:livePulse 1.6s infinite;
}
@keyframes livePulse{70%{box-shadow:0 0 0 8px rgba(40,166,107,0)}100%{box-shadow:0 0 0 0 rgba(40,166,107,0)}}
.winners-ticker-wrap{position:relative;z-index:2}
.winners-ticker-row{
    padding:5px 0;
    -webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent)!important;
    mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent)!important;
}
.winners-ticker-track{gap:14px!important}
.player-card{
    position:relative;overflow:hidden;
    width:272px;min-width:272px;height:94px;
    display:flex;align-items:center;gap:12px;padding:13px 14px;
    border:1px solid rgba(218,231,248,.95);border-radius:18px;
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 25px rgba(22,51,92,.08);
}
.player-card:after{
    content:"";position:absolute;right:-24px;top:-28px;width:80px;height:80px;
    border-radius:50%;background:rgba(24,119,242,.045)
}
.player-rank{
    position:absolute;right:10px;top:8px;
    color:#9aabc0;font-size:9px;font-weight:900;letter-spacing:.08em
}
.player-avatar{
    position:relative;z-index:1;
    width:50px;height:50px;flex:0 0 50px;
    display:grid;place-items:center;border-radius:16px;
    background:linear-gradient(145deg,#edf5ff,#f4fbf7);
    border:1px solid #dce9f8;color:#1766c8;
    font-size:17px;font-weight:900;
}
.player-avatar.female{background:linear-gradient(145deg,#fff0f6,#f5f0ff);color:#a84d7c}
.player-copy{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column}
.player-name{
    max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    color:#152842;font-size:13px;font-weight:900
}
.player-city{margin-top:1px;color:#8592a4;font-size:9px;font-weight:600}
.player-points{
    margin-top:5px;display:inline-flex;align-items:center;gap:5px;width:max-content;
    padding:4px 8px;border-radius:999px;background:#edf8f2;color:#24835a;
    font-size:10px;font-weight:900;
}
.player-points:before{content:"◆";font-size:7px}
.ticker-left .winners-ticker-track{animation:premiumLeft 48s linear infinite!important}
.ticker-right .winners-ticker-track{animation:premiumRight 52s linear infinite!important}
@keyframes premiumLeft{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@keyframes premiumRight{from{transform:translate3d(-50%,0,0)}to{transform:translate3d(0,0,0)}}
.winners-ticker-row:hover .winners-ticker-track{animation-play-state:paused!important}

@media(max-width:575.98px){
    .player-card{width:224px;min-width:224px;height:82px;padding:10px 11px;border-radius:15px}
    .player-avatar{width:43px;height:43px;flex-basis:43px;border-radius:13px;font-size:15px}
    .player-name{max-width:125px;font-size:12px}
    .player-city{font-size:8px}.player-points{font-size:9px;padding:3px 7px}
    .winners-ticker-track{gap:10px!important}
    .premium-board-section{padding:42px 0 46px!important}
}

/* stronger whole-site mobile stability */
@media(max-width:767.98px){
    body{overflow-x:hidden!important}
    .container{width:calc(100% - 20px)!important}
    .hero-copy-title{font-size:clamp(2rem,9vw,2.65rem)!important}
    .hero-copy-desc{font-size:14px!important}
    .hero-girl-vector{max-width:min(88vw,350px)!important}
    .feature-item svg{width:72px!important;height:72px!important}
}


/* ===== FINAL MOBILE MENU HARD OVERRIDE ===== */
@media (max-width:991.98px){
  #nav.navbar-collapse{
    display:none!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    overflow:visible!important;
  }
  #nav.navbar-collapse[data-mobile-open="1"]{
    display:block!important;
  }
  .navbar-toggler{
    display:flex!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    user-select:none!important;
    -webkit-user-select:none!important;
  }
}
@media (min-width:992px){
  #nav.navbar-collapse{
    display:flex!important;
  }
}

/* =========================================================
   JANTA777 3D ANIMATED HERO
   Pure CSS + vanilla JS. No external CDN required.
   ========================================================= */
.j555-hero{
  --j555-gold:#ffd65a;
  --j555-gold2:#ffae00;
  --j555-blue:#00c6ff;
  --j555-blue2:#0068ff;
  position:relative;
  min-height:clamp(620px,78vh,860px);
  display:grid;
  place-items:center;
  overflow:hidden;
  isolation:isolate;
  padding:clamp(42px,6vw,90px) 0;
  background:
    radial-gradient(circle at 20% 18%,rgba(0,198,255,.17),transparent 30%),
    radial-gradient(circle at 82% 20%,rgba(255,198,25,.12),transparent 28%),
    radial-gradient(circle at 52% 92%,rgba(0,82,255,.22),transparent 33%),
    linear-gradient(145deg,#02040a 0%,#07111f 45%,#02040a 100%);
  color:#fff;
}
.j555-grid{
  position:absolute;inset:-40%;z-index:-4;
  background-image:linear-gradient(rgba(67,176,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(67,176,255,.08) 1px,transparent 1px);
  background-size:58px 58px;
  transform:perspective(700px) rotateX(67deg) translateY(24%);
  transform-origin:center;
  mask-image:linear-gradient(to bottom,transparent 4%,#000 36%,transparent 88%);
  animation:j555GridMove 11s linear infinite;
}
@keyframes j555GridMove{to{background-position:0 58px,58px 0}}
.j555-orb{position:absolute;border-radius:50%;filter:blur(10px);opacity:.75;z-index:-3;pointer-events:none}
.j555-orb-a{width:300px;height:300px;left:-90px;top:14%;background:radial-gradient(circle,#00c6ff 0%,rgba(0,87,255,.32) 45%,transparent 72%);animation:j555OrbA 8s ease-in-out infinite alternate}
.j555-orb-b{width:360px;height:360px;right:-130px;bottom:0;background:radial-gradient(circle,#ffd65a 0%,rgba(255,159,0,.18) 43%,transparent 72%);animation:j555OrbB 10s ease-in-out infinite alternate}
@keyframes j555OrbA{to{transform:translate(70px,42px) scale(1.14)}}
@keyframes j555OrbB{to{transform:translate(-70px,-40px) scale(.92)}}
.j555-particles{position:absolute;inset:0;z-index:-2;pointer-events:none}
.j555-particle{position:absolute;width:5px;height:5px;border-radius:50%;background:#80ddff;box-shadow:0 0 12px #00bfff;opacity:.55;animation:j555ParticleFloat var(--dur,8s) ease-in-out infinite alternate}
.j555-particle:nth-child(3n){background:#ffd65a;box-shadow:0 0 12px #ffc400}
@keyframes j555ParticleFloat{from{transform:translate3d(0,0,0) scale(.7)}to{transform:translate3d(var(--dx,22px),var(--dy,-55px),0) scale(1.35)}}
.j555-hero-inner{position:relative;z-index:2}
.j555-stage{perspective:1200px;perspective-origin:50% 50%;display:flex;justify-content:center;align-items:center}
.j555-card{
  position:relative;
  width:min(980px,100%);
  transform-style:preserve-3d;
  transform:rotateX(0deg) rotateY(0deg);
  transition:transform .16s ease-out;
  border:1px solid rgba(255,255,255,.16);
  border-radius:32px;
  background:linear-gradient(145deg,rgba(9,23,43,.82),rgba(2,8,18,.94));
  box-shadow:0 28px 90px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.12),0 0 70px rgba(0,133,255,.13);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.j555-card:before{
  content:"";position:absolute;inset:0;padding:1px;border-radius:32px;pointer-events:none;
  background:linear-gradient(120deg,rgba(0,213,255,.9),rgba(255,210,74,.78),rgba(19,95,255,.75));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  animation:j555BorderGlow 4.6s linear infinite;
}
@keyframes j555BorderGlow{50%{filter:brightness(1.55)}}
.j555-card-glow{position:absolute;inset:12% 8%;border-radius:50%;background:radial-gradient(circle,rgba(0,154,255,.2),transparent 62%);filter:blur(24px);transform:translateZ(-40px);pointer-events:none}
.j555-content{position:relative;z-index:3;text-align:center;padding:clamp(28px,5vw,62px);transform:translateZ(62px)}
.j555-badge{display:inline-flex;align-items:center;gap:9px;margin-bottom:18px;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,214,90,.3);background:rgba(255,196,0,.08);color:#ffe59b;font-size:12px;font-weight:900;letter-spacing:.14em}
.j555-badge-dot{width:8px;height:8px;border-radius:50%;background:#42ff9d;box-shadow:0 0 14px #42ff9d;animation:j555Pulse 1.5s ease-in-out infinite}
@keyframes j555Pulse{50%{transform:scale(1.45);opacity:.65}}
.j555-logo{display:block;width:min(720px,92%);height:auto;margin:0 auto 8px;filter:drop-shadow(0 13px 24px rgba(0,120,255,.34));animation:j555LogoFloat 4.8s ease-in-out infinite;transform:translateZ(75px)}
@keyframes j555LogoFloat{50%{transform:translateZ(75px) translateY(-10px)}}
.j555-title{margin:10px 0 12px;color:#fff;font-size:clamp(2rem,5vw,4.5rem);line-height:1.02;font-weight:950;letter-spacing:-.035em;text-shadow:0 0 28px rgba(0,153,255,.45)}
.j555-kicker{margin:0 auto;color:#d9edff;font-size:clamp(1rem,2vw,1.35rem);font-weight:800;line-height:1.45}
.j555-highlights{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:24px auto 26px;max-width:880px}
.j555-chip{padding:11px 16px;border-radius:14px;background:linear-gradient(180deg,rgba(19,45,78,.72),rgba(5,15,31,.82));border:1px solid rgba(109,197,255,.2);color:#f7fbff;font-size:clamp(.82rem,1.6vw,1rem);font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.j555-chip span{color:#ffd65a;margin:0 5px}
.j555-download{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:60px;padding:15px 25px;border-radius:17px;
  color:#07101f!important;font-weight:950;font-size:clamp(1rem,2vw,1.18rem);
  background:linear-gradient(135deg,#ffe889 0%,#ffc400 42%,#ff9f00 100%);
  box-shadow:0 0 0 1px rgba(255,255,255,.42) inset,0 13px 35px rgba(255,174,0,.25),0 0 38px rgba(255,201,43,.22);
  transition:transform .22s ease,box-shadow .22s ease;
}
.j555-download:before{content:"";position:absolute;top:-70%;left:-28%;width:22%;height:240%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);transform:rotate(18deg);animation:j555Shine 2.9s ease-in-out infinite;z-index:-1}
.j555-download:hover{transform:translateY(-4px) scale(1.025);box-shadow:0 0 0 1px rgba(255,255,255,.55) inset,0 18px 42px rgba(255,174,0,.34),0 0 50px rgba(255,215,70,.3)}
@keyframes j555Shine{0%,45%{left:-35%}75%,100%{left:120%}}
.j555-download-icon{font-size:1.35em;filter:drop-shadow(0 3px 4px rgba(0,0,0,.18))}
.j555-arrow{font-size:1.35em;transition:transform .2s ease}.j555-download:hover .j555-arrow{transform:translateX(4px)}
.j555-note{margin:11px 0 0;color:#8598b6;font-size:12px;font-weight:700}
.j555-depth-ring{position:absolute;border-radius:50%;pointer-events:none;transform-style:preserve-3d}
.j555-ring-1{width:150px;height:150px;right:-54px;top:-42px;border:1px solid rgba(0,209,255,.38);box-shadow:0 0 30px rgba(0,209,255,.12);transform:translateZ(-80px) rotateX(65deg);animation:j555Ring 9s linear infinite}
.j555-ring-2{width:110px;height:110px;left:-38px;bottom:-32px;border:1px solid rgba(255,205,57,.32);box-shadow:0 0 30px rgba(255,205,57,.1);transform:translateZ(-65px) rotateY(65deg);animation:j555Ring 7s linear infinite reverse}
@keyframes j555Ring{to{rotate:360deg}}

/* Keep navbar and floating button aligned with the new dark/gold look on home page */
body:has(.j555-hero) .navbar-bg{background:linear-gradient(135deg,#030712 0%,#07162a 55%,#0b2f6b 100%);box-shadow:0 6px 26px rgba(0,0,0,.3)}
body:has(.j555-hero) .btn-dl-nav{background:linear-gradient(135deg,#ffe785,#ffb300)!important;color:#09101c!important}
body:has(.j555-hero) .float-download-bar__btn{background:linear-gradient(135deg,#ffd85f,#ffad00)!important;color:#06101e!important;font-weight:900}

@media (max-width:767.98px){
  .j555-hero{min-height:auto;padding:38px 0 42px}
  .j555-card{border-radius:24px}
  .j555-card:before{border-radius:24px}
  .j555-content{padding:25px 16px 28px;transform:translateZ(28px)}
  .j555-logo{width:100%;margin-bottom:5px;transform:translateZ(38px)}
  @keyframes j555LogoFloat{50%{transform:translateZ(38px) translateY(-5px)}}
  .j555-badge{font-size:10px;letter-spacing:.09em;margin-bottom:12px}
  .j555-title{font-size:clamp(1.75rem,9vw,2.65rem)}
  .j555-highlights{margin:18px auto 22px;gap:8px}
  .j555-chip{width:100%;padding:10px 12px;font-size:.84rem;line-height:1.35}
  .j555-download{width:100%;min-height:57px;padding:14px 16px}
  .j555-note{font-size:10px}
  .j555-ring-1{right:-80px}.j555-ring-2{left:-65px}
}
@media (prefers-reduced-motion:reduce){
  .j555-grid,.j555-orb,.j555-particle,.j555-logo,.j555-badge-dot,.j555-download:before,.j555-depth-ring{animation:none!important}
  .j555-card{transition:none!important}
}

/* =========================================================
   JANTA777 PREMIUM WEBGL / SCROLL 3D UPGRADE — 2026-09-13
   Self-contained: no CDN or framework required.
   ========================================================= */
:root{
  --p3d-cyan:#41d7ff;
  --p3d-blue:#2563ff;
  --p3d-gold:#ffd75a;
  --p3d-ink:#020712;
}
.j555-webgl-hero{
  min-height:min(860px,92vh);
  display:grid;
  place-items:center;
  isolation:isolate;
  background:
    radial-gradient(circle at 50% 42%,rgba(14,116,255,.16),transparent 34%),
    linear-gradient(180deg,#02040a 0%,#07101f 55%,#020712 100%);
}
.j555-webgl-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:-5;
  pointer-events:none;
  opacity:.95;
}
.j555-webgl-vignette{
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 45%,transparent 0 36%,rgba(1,5,13,.18) 61%,rgba(1,5,13,.82) 100%),
    linear-gradient(180deg,rgba(2,7,18,.18),rgba(2,7,18,.72));
}
.j555-scroll-progress{
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  z-index:20;
  background:rgba(255,255,255,.06);
  overflow:hidden;
}
.j555-scroll-progress span{
  display:block;
  width:100%;height:100%;
  transform:scaleX(0);
  transform-origin:left center;
  background:linear-gradient(90deg,var(--p3d-cyan),var(--p3d-blue),var(--p3d-gold));
  box-shadow:0 0 18px rgba(65,215,255,.8);
}
.j555-webgl-hero .j555-grid{
  opacity:.33;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 85%);
}
.j555-webgl-hero .j555-card{
  max-width:1040px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(8,18,38,.64),rgba(2,8,20,.52)),
    radial-gradient(circle at 50% 0%,rgba(58,169,255,.16),transparent 54%);
  border:1px solid rgba(152,217,255,.22);
  box-shadow:
    0 45px 110px rgba(0,0,0,.46),
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 1px 0 rgba(255,255,255,.16) inset;
  backdrop-filter:blur(16px) saturate(1.25);
  -webkit-backdrop-filter:blur(16px) saturate(1.25);
}
.j555-webgl-hero .j555-card:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(118deg,transparent 22%,rgba(255,255,255,.08) 43%,transparent 61%);
  transform:translateX(-100%);
  animation:j555GlassSweep 8s ease-in-out infinite;
}
@keyframes j555GlassSweep{0%,42%{transform:translateX(-110%)}65%,100%{transform:translateX(110%)}}
.j555-webgl-hero .j555-logo{
  filter:drop-shadow(0 22px 38px rgba(0,137,255,.35)) drop-shadow(0 0 28px rgba(36,210,255,.16));
}
.j555-webgl-hero .j555-title{
  background:linear-gradient(180deg,#fff 18%,#cceaff 72%,#7ebdff 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:none;
}
.j555-webgl-hero .j555-kicker{color:#cfe6ff}
.j555-webgl-hero .j555-chip{
  border-color:rgba(113,207,255,.21);
  background:linear-gradient(180deg,rgba(13,29,58,.72),rgba(3,10,23,.68));
  backdrop-filter:blur(8px);
  box-shadow:0 10px 30px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.08);
}
.j555-webgl-hero .j555-download{
  transform-style:preserve-3d;
  box-shadow:0 20px 55px rgba(255,177,0,.28),0 0 0 1px rgba(255,255,255,.42) inset;
}
.j555-tech-row{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
.j555-tech-row span{
  padding:5px 9px;
  border:1px solid rgba(106,198,255,.16);
  border-radius:999px;
  color:#7290ae;
  background:rgba(6,18,37,.46);
  font:800 9px/1.1 Arial,sans-serif;
  letter-spacing:.14em;
}
/* premium cards across the existing page */
.feature-item,.game-card,.app-section{
  position:relative;
  overflow:hidden;
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease;
}
.feature-item:before,.game-card:before,.app-section:before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%),rgba(24,119,242,.12),transparent 42%);
  opacity:0;
  transition:opacity .3s ease;
}
.feature-item:hover:before,.game-card:hover:before,.app-section:hover:before{opacity:1}
.feature-item:hover,.game-card:hover{transform:translateY(-7px) perspective(900px) rotateX(1.4deg);box-shadow:0 24px 52px rgba(19,60,120,.14)}
.p3d-reveal{
  opacity:0;
  transform:translateY(28px) scale(.985);
  transition:opacity .75s ease,transform .75s cubic-bezier(.16,.8,.25,1);
}
.p3d-reveal.p3d-visible{opacity:1;transform:none}
.navbar-bg{
  backdrop-filter:saturate(1.25) blur(12px);
  -webkit-backdrop-filter:saturate(1.25) blur(12px);
}
.float-download-bar{
  backdrop-filter:blur(18px) saturate(1.2);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);
}
@media (max-width:767.98px){
  .j555-webgl-hero{min-height:auto;padding:34px 0 38px}
  .j555-webgl-canvas{opacity:.72}
  .j555-webgl-hero .j555-card{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
  .j555-tech-row{margin-top:12px}
}
@media (prefers-reduced-motion:reduce){
  .j555-webgl-hero .j555-card:after{animation:none!important}
  .p3d-reveal{opacity:1!important;transform:none!important;transition:none!important}
}
.j555-webgl-hero .j555-stage{transform:translateY(var(--hero-shift,0px));will-change:transform}


/* =========================================================
   JANTA777 NAVY + GOLD + TEAL MASTER THEME
   Generated from the supplied Janta 777 logo.
   This is a final hard override so legacy inline page styles
   stay functional while the entire visible site matches the logo.
   ========================================================= */
:root{
  --blue:#D8A33D!important;
  --blue-dark:#A9671D!important;
  --blue-deep:#031B45!important;
  --green:#0D827B!important;
  --orange:#F79301!important;
  --ink:#F4E7C2!important;
  --muted:#A8B8C9!important;
  --page:#06162D!important;
  --line:rgba(225,181,80,.22)!important;
  --white:#fff!important;
  --primary:#D8A33D!important;
  --primary-dark:#A9671D!important;
  --accent:#F79301!important;
  --navy:#031B45!important;
  --card:#0A2447!important;
  --p3d-cyan:#18A099!important;
  --p3d-blue:#0A466A!important;
  --p3d-gold:#F2C45D!important;
  --p3d-ink:#020A18!important;
}
html,body{background:#06162D!important;color:#E7EDF5!important}
body{background:
  radial-gradient(circle at 12% 2%,rgba(13,130,123,.12),transparent 26%),
  radial-gradient(circle at 88% 8%,rgba(247,147,1,.10),transparent 24%),
  linear-gradient(180deg,#06162D 0%,#081C37 38%,#06162D 100%)!important}

/* Loader */
#sitePreloader{background:linear-gradient(145deg,#020A18,#061B38)!important}
.preloader-card{padding:24px 30px;border:1px solid rgba(242,196,93,.24);border-radius:24px;background:rgba(7,29,58,.86);box-shadow:0 28px 80px rgba(0,0,0,.36)}
.preloader-text{color:#F4D77A!important;letter-spacing:.04em}
.matka-pot-svg{filter:drop-shadow(0 10px 24px rgba(223,164,57,.28))}

/* Navigation */
.navbar-bg,body:has(.j555-hero) .navbar-bg{
  background:linear-gradient(135deg,#020A18 0%,#031B45 55%,#073E55 100%)!important;
  border-bottom:1px solid rgba(242,196,93,.30)!important;
  box-shadow:0 8px 30px rgba(0,0,0,.32)!important;
}
.brand-logo img,.ft-brand-logo img{border-radius:13px!important;filter:drop-shadow(0 6px 14px rgba(242,196,93,.20))}
.brand-logo img{width:50px!important;height:50px!important;object-fit:cover!important}
.logo-title{color:#F7D977!important;text-shadow:0 1px 0 rgba(0,0,0,.25)}
.logo-subtitle{color:#C9D8E7!important}
.nav-link{color:#F5EEDC!important}
.nav-link:hover,.nav-link.active{color:#FFD96B!important;background:rgba(243,193,81,.12)!important}
.navbar-toggler{background:#F2C45D!important;border:1px solid #FFE49C!important}
.navbar-toggler i{color:#031B45!important}
.menu-lines span{background:#031B45!important}
.btn-dl-nav,body:has(.j555-hero) .btn-dl-nav{
  background:linear-gradient(135deg,#FFE18B,#E1A536 58%,#C47A1B)!important;
  color:#031329!important;border:1px solid rgba(255,232,160,.55)!important;
  box-shadow:0 9px 24px rgba(211,151,45,.22)!important
}

/* Menus */
.mega-menu-content,.dropdown-menu{
  background:linear-gradient(180deg,#0A2447,#061831)!important;
  border:1px solid rgba(242,196,93,.25)!important;
  box-shadow:0 28px 75px rgba(0,0,0,.46)!important
}
.mega-menu-title{color:#F4CB65!important;border-color:rgba(242,196,93,.20)!important}
.mega-menu-title i{color:#12A49A!important}
.mega-menu-link{color:#DDE7F2!important}
.mega-menu-link:hover{color:#FFD96B!important;background:rgba(242,196,93,.10)!important}
.mega-menu-link .time{color:#93A8BE!important}

/* Main 3D hero */
.j555-hero{
  --j555-gold:#F8D66D!important;--j555-gold2:#D88D21!important;--j555-blue:#15958F!important;--j555-blue2:#0B4C6D!important;
  background:
   radial-gradient(circle at 18% 14%,rgba(18,154,146,.18),transparent 30%),
   radial-gradient(circle at 82% 18%,rgba(229,161,50,.17),transparent 29%),
   radial-gradient(circle at 52% 93%,rgba(7,70,94,.30),transparent 34%),
   linear-gradient(145deg,#020A18 0%,#061A35 45%,#020A18 100%)!important
}
.j555-webgl-hero{background:radial-gradient(circle at 50% 42%,rgba(12,122,119,.17),transparent 34%),linear-gradient(180deg,#020914 0%,#06182F 55%,#020914 100%)!important}
.j555-card,.j555-webgl-hero .j555-card{
  background:linear-gradient(180deg,rgba(7,31,59,.88),rgba(2,12,26,.78)),radial-gradient(circle at 50% 0%,rgba(218,163,63,.16),transparent 56%)!important;
  border:1px solid rgba(242,196,93,.30)!important;
  box-shadow:0 46px 115px rgba(0,0,0,.50),0 0 0 1px rgba(255,255,255,.025) inset!important
}
.j555-logo,.j555-webgl-hero .j555-logo{width:min(480px,78%)!important;max-height:480px!important;object-fit:contain!important;filter:drop-shadow(0 20px 36px rgba(229,170,64,.28)) drop-shadow(0 0 22px rgba(16,128,124,.16))!important}
.j555-title,.j555-webgl-hero .j555-title{background:linear-gradient(180deg,#FFF3C9 10%,#F3C957 54%,#D98B22 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:none!important}
.j555-kicker,.j555-webgl-hero .j555-kicker{color:#D5E1ED!important}
.j555-badge{border-color:rgba(242,196,93,.38)!important;background:rgba(217,156,49,.10)!important;color:#F8D77B!important}
.j555-badge-dot{background:#16A49A!important;box-shadow:0 0 14px #16A49A!important}
.j555-chip,.j555-webgl-hero .j555-chip{background:linear-gradient(180deg,rgba(11,44,73,.88),rgba(3,17,35,.88))!important;border-color:rgba(234,187,79,.22)!important;color:#F1F5F9!important}
.j555-chip span{color:#F5C65D!important}
.j555-download,.j555-webgl-hero .j555-download,.btn-dl-big,.download-btn,.float-download-bar__btn{
  background:linear-gradient(135deg,#FFE18A 0%,#E7AF42 48%,#C87919 100%)!important;
  color:#03142A!important;border:1px solid rgba(255,236,175,.55)!important;
  box-shadow:0 16px 38px rgba(206,139,31,.24),0 0 0 1px rgba(255,255,255,.26) inset!important
}
.j555-note{color:#90A6BA!important}.j555-tech-row span{color:#9FB6C8!important;border-color:rgba(242,196,93,.18)!important;background:rgba(4,22,42,.60)!important}
.j555-orb-a{background:radial-gradient(circle,#15958F 0%,rgba(9,90,97,.28) 45%,transparent 72%)!important}
.j555-orb-b{background:radial-gradient(circle,#F0BD55 0%,rgba(180,109,29,.18) 43%,transparent 72%)!important}
.j555-particle{background:#36B8AE!important;box-shadow:0 0 12px #15958F!important}.j555-particle:nth-child(3n){background:#F4C45D!important;box-shadow:0 0 12px #D8891C!important}

/* All content areas */
section:not(.j555-hero),.feature-block,.winners-section,.app-section,section.app-section{
  background:transparent!important;color:#E4EBF3!important
}
.section-title,.app-download-title,.hero-copy-title,.hero-page-title{color:#F3C95D!important}
.section-sub,.hero-copy-desc,.hero-page-lead,.app-copy p{color:#AAB9C9!important}
.green-line{background:linear-gradient(90deg,#0D827B,#F2C45D,#F79301)!important;box-shadow:0 0 18px rgba(242,196,93,.24)}

.feature-item,.game-card,.app-section,.winner-card,.player-card{
  background:linear-gradient(180deg,rgba(10,36,71,.94),rgba(5,24,49,.96))!important;
  border:1px solid rgba(227,181,77,.20)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22)!important;color:#E7EDF5!important
}
.feature-item:hover,.game-card:hover{border-color:rgba(242,196,93,.42)!important;box-shadow:0 20px 48px rgba(0,0,0,.30),0 0 28px rgba(13,130,123,.08)!important}
.feature-title,.game-title,.winner-name,.player-name{color:#F2D071!important}
.feature-sub,.game-time,.winner-meta,.player-city{color:#9EB0C2!important}
.game-num{background:linear-gradient(135deg,#0B3450,#0C4A55)!important;color:#FFE08A!important;border:1px solid rgba(242,196,93,.18)!important}
.game-btn-play{background:linear-gradient(135deg,#DFA53C,#B96C1A)!important;color:#04162D!important}
.game-btn-chart{background:#0B304D!important;color:#8ED8D2!important;border:1px solid rgba(17,153,145,.20)!important}
.winner-avatar,.player-avatar{background:linear-gradient(145deg,#0E4E5C,#0B2946)!important;color:#F4C85E!important;border-color:rgba(242,196,93,.18)!important}
.winner-status,.player-points{background:#0A3B3A!important;color:#8DE0D5!important}

/* Legacy inline white/blue cards are converted without touching PHP logic */
[style*="background:#f5f9ff"],[style*="background: #f5f9ff"],[style*="background:#eff6ff"],[style*="background: #eff6ff"]{background:#092541!important;border-color:rgba(242,196,93,.18)!important}
[style*="color:#172b4d"],[style*="color: #172b4d"],[style*="color:#334155"]{color:#E8EEF5!important}
[style*="color:#D7A13D"],[style*="color: #D7A13D"]{color:#F3C95D!important}
[style*="background:#fff"],[style*="background: #fff"]{border-color:rgba(242,196,93,.18)!important}
.text-warning{color:#F6C75E!important}.text-success{color:#35B5A9!important}
.alert-info{background:#0A2F4A!important;color:#B9E7E2!important;border-color:#195D66!important}
.alert-warning{background:#402A0C!important;color:#F7D898!important;border-color:#8C5D18!important}

/* General tables / policy / chart page surfaces */
table{color:#E7EDF5!important}
thead,th{background:#0A2948!important;color:#F1C95F!important;border-color:rgba(242,196,93,.18)!important}
td{background:rgba(5,25,49,.82)!important;color:#D8E2ED!important;border-color:rgba(144,165,186,.14)!important}
.card,.panel,.content-card,.policy-card,.about-card,.chart-card{background:#092340!important;color:#E5EDF5!important;border-color:rgba(242,196,93,.18)!important}

/* Footer */
.site-footer{background:linear-gradient(180deg,#031228,#020915)!important;color:#D8E1EB!important;border-top:1px solid rgba(242,196,93,.24)!important}
.ft-stats-strip{border-color:rgba(242,196,93,.16)!important}.ft-stat-num,.ft-brand-name,.ft-nav-title,.ft-trust-title{color:#F3C95D!important}.ft-stat-label,.ft-brand-desc,.ft-trust-sub,.ft-nav-list a{color:#9EB0C1!important}
.ft-stat-divider{background:rgba(242,196,93,.22)!important}.ft-social-btn{background:#0A2948!important;color:#F3C95D!important;border:1px solid rgba(242,196,93,.16)!important}
.ft-nav-list a:hover{color:#FFE08A!important}

/* Floating download strip */
.float-download-bar{background:rgba(2,14,30,.94)!important;border-top:1px solid rgba(242,196,93,.22)!important;box-shadow:0 -10px 38px rgba(0,0,0,.30)!important}

/* Mobile consistency */
@media(max-width:991.98px){
  #nav.navbar-collapse[data-mobile-open="1"]{background:linear-gradient(180deg,#061C39,#041328)!important;border:1px solid rgba(242,196,93,.20)!important;box-shadow:0 18px 44px rgba(0,0,0,.34)!important}
  #nav .nav-link{color:#E9EEF5!important}
  #nav .nav-link:hover,#nav .nav-link.active{color:#FFD96B!important;background:rgba(242,196,93,.10)!important}
}
@media(max-width:767.98px){
  .brand-logo img{width:44px!important;height:44px!important}
  .j555-logo,.j555-webgl-hero .j555-logo{width:min(330px,82%)!important;max-height:330px!important}
  .j555-card,.j555-webgl-hero .j555-card{border-radius:22px!important}
}
