@media (prefers-reduced-motion:reduce){#gxPre *{animation-duration:.01ms!important}}
    /* ═════════════════════════════════════════════════════════════
   THEME: Dashboard match — Black + Gold, purple glow,
   green / amber / purple tiles.
   (শুধু রঙ বদলানো হয়েছে — size, layout, spacing আগের মতোই)
═════════════════════════════════════════════════════════════ */
:root {
    --bg-deep:    #060507;
    --bg-main:    #0b0906;
    --bg-card:    #0e0b07;
    --bg-card2:   #14100a;
    --teal:       #0f8a64;
    --teal-light: #2fe0a5;
    --gold:       #f5c542;
    --gold-dark:  #b8901f;
    --gold-text:  #ffd45a;
    --green-btn:  #0f8a64;
    --text-main:  #f4efe3;
    --text-muted: #a39a85;
    --border:     rgba(212,160,23,0.22);
    --glass:      rgba(14, 11, 7, 0.6);

    /* extra theme tokens */
    --gold-line:  rgba(212,160,23,0.55);
    --purple:     #7d63ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    padding-bottom: 70px;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    background-image:
        radial-gradient(120% 45% at 0% 0%, rgba(96,48,176,0.45) 0%, transparent 60%),
        radial-gradient(90% 35% at 100% 6%, rgba(245,197,66,0.09) 0%, transparent 60%),
        radial-gradient(100% 40% at 50% 100%, rgba(19,163,110,0.08) 0%, transparent 60%);
    background-attachment: fixed;
}

/* ─── APP INSTALL BANNER ─── */
.app-banner-top {
    width: 100%; background: linear-gradient(135deg, #0e0b07 0%, #1a1208 100%);
    border-bottom: 1px solid rgba(245,197,66,0.35);
    padding: 8px 10px; display: flex; align-items: center;
    justify-content: space-between; z-index: 200; position: relative;
}
.app-banner-top-left { display: flex; align-items: center; gap: 9px; }
.app-banner-top-close {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex;
    align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-muted); font-size: 11px;
    border: none; flex-shrink: 0;
}
.app-banner-top-logo {
    width: 34px; height: 34px; border-radius: 8px; overflow: hidden;
    background: #14100a; border: 1px solid var(--gold-line);
    display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.app-banner-top-logo img { width: 100%; height: 100%; object-fit: cover; }
.app-banner-top-name { font-size: 12px; font-weight: 800; color: var(--text-main); line-height: 1.2; }
.app-banner-top-stars { color: var(--gold-text); font-size: 10px; }
.app-banner-top-install {
    padding: 7px 15px; border-radius: 8px; font-size: 12px; font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffe27a 0%, #f5c542 55%, #c9951a 100%);
    color: #1c1200; border: none; cursor: pointer;
    box-shadow: 0 4px 0 #8a6a00, 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.15s; text-decoration: none; display: inline-block;
    border-bottom: 2px solid #ffe57a;
}
.app-banner-top-install:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a6a00; }

/* ─── HEADER ─── */
.site-header {
    position: sticky; top: 0; z-index: 100; height: 56px;
    background: rgba(6,5,7,0.93); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; padding: 0 12px;
}
.logo-text {
    font-size: 22px; font-weight: 900; font-style: italic; color: var(--gold-text);
    letter-spacing: 1px; text-shadow: 0 0 20px rgba(245,197,66,0.45);
}
.logo-text span { color: #fff; }
.site-header-logo-img { height: 38px; max-width: 150px; object-fit: contain; display:block; }
.header-right { display: flex; align-items: center; gap: 8px; }

.btn-login {
    padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 700;
    cursor: pointer; border: none; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s;
    background: linear-gradient(165deg, #12946c 0%, #07503b 100%);
    color: #fff; box-shadow: 0 4px 0 #04301f, 0 4px 8px rgba(0,0,0,0.4), 0 0 14px rgba(47,224,165,0.22);
    border-bottom: 2px solid #2fe0a5;
}
.btn-login:active { transform: translateY(3px); box-shadow: 0 1px 0 #04301f, 0 1px 4px rgba(0,0,0,0.4); }

.btn-register {
    padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 700;
    cursor: pointer; border: none; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s;
    background: linear-gradient(180deg, #ffe27a 0%, #f5c542 55%, #c9951a 100%);
    color: #2a1900; box-shadow: 0 4px 0 #8a6a00, 0 4px 8px rgba(0,0,0,0.4), 0 0 14px rgba(245,197,66,0.25);
    border-bottom: 2px solid #ffe57a;
}
.btn-register:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a6a00, 0 1px 4px rgba(0,0,0,0.4); }

/* ─── HAMBURGER ─── */
.hamburger-btn {
    background: rgba(0,0,0,0.45); border: 1.5px solid var(--gold-line);
    border-radius: 8px; cursor: pointer; padding: 7px 8px;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; position: relative; transition: background 0.2s;
    box-shadow: 0 0 10px rgba(245,197,66,0.15);
}
.hamburger-btn:active { background: rgba(245,197,66,0.18); }
.hamburger-icon { display: flex; flex-direction: column; gap: 4px; position: relative; width: 18px; }
.hamburger-icon .hb-arrow { display: flex; align-items: center; gap: 2px; }
.hamburger-icon .hb-arrow-left {
    width: 0; height: 0; border-top: 4px solid transparent;
    border-bottom: 4px solid transparent; border-right: 5px solid var(--gold-text); flex-shrink: 0;
}
.hamburger-icon .hb-line { height: 2px; background: var(--gold-text); border-radius: 2px; display: block; }
.hamburger-icon .hb-line.l1 { width: 100%; }
.hamburger-icon .hb-line.l2 { width: 100%; }
.hamburger-icon .hb-line.l3 { width: 65%; }

/* ─── ANNOUNCEMENT BAR ─── */
.announce-bar {
    background: rgba(245,197,66,0.05); border-bottom: 1px solid var(--border);
    padding: 7px 14px; display: flex; align-items: center; gap: 8px;
}
.announce-bar .ann-icon { font-size: 14px; color: var(--gold-text); flex-shrink: 0; }
.announce-bar marquee { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ─── SLIDER (banner 1200x400 = 3:1, full width, side padding nai) ─── */
.slider-wrap { width: 100%; margin: 0; padding: 0; }
.swiper.mainSlider { width: 100%; aspect-ratio: 3 / 1; box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; overflow: hidden; border-top: 1px solid rgba(245,197,66,0.35); border-bottom: 1px solid rgba(245,197,66,0.35); box-shadow: 0 0 14px rgba(245,197,66,0.08); }
.mainSlider .swiper-wrapper, .mainSlider .swiper-slide { height: 100%; }
.mainSlider img { display: block; width: 100%; height: 100%; object-fit: cover; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.3) !important; opacity: 1 !important; width: 6px !important; height: 6px !important; transition: all 0.3s; }
.swiper-pagination-bullet-active { background: var(--gold-text) !important; width: 18px !important; border-radius: 3px !important; }

/* ─── DEPOSIT & WITHDRAW ─── */
.quick-actions { display: flex; gap: 10px; padding: 10px 10px 4px; }
.qa-btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 13px 10px; border-radius: 10px;
    font-size: 14px; font-weight: 800; text-decoration: none;
    transition: all 0.15s; cursor: pointer; border: none;
}
.qa-btn i { font-size: 16px; }
.qa-btn.deposit {
    background: linear-gradient(165deg, #12946c 0%, #07503b 100%);
    color: #fff; box-shadow: 0 4px 0 #04301f, 0 4px 14px rgba(47,224,165,0.30);
    border-bottom: 2px solid #2fe0a5;
}
.qa-btn.deposit:active { transform: translateY(3px); box-shadow: 0 1px 0 #04301f; }
.qa-btn.withdraw {
    background: linear-gradient(165deg, #c78a10 0%, #7a4d07 100%);
    color: #fff; box-shadow: 0 4px 0 #4a2d03, 0 4px 14px rgba(243,183,44,0.30);
    border-bottom: 2px solid #f3b72c;
}
.qa-btn.withdraw:active { transform: translateY(3px); box-shadow: 0 1px 0 #4a2d03; }

/* ─── SECTION HEADER ─── */
.hot-section { margin-bottom: 6px; }
.sec-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 8px; }
.sec-title {
    display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800;
    color: var(--gold-text); text-transform: uppercase; letter-spacing: 0.5px;
}
.sec-title i { font-size: 18px; color: var(--gold-text); filter: drop-shadow(0 0 6px rgba(245,197,66,0.5)); }
.sec-actions { display: flex; align-items: center; gap: 6px; }

.btn-see-all {
    padding: 6px 13px; border-radius: 7px; font-size: 12px; font-weight: 800;
    color: var(--gold-text);
    background: linear-gradient(180deg, rgba(255,220,70,0.18) 0%, rgba(245,197,66,0.10) 100%);
    border: 1px solid rgba(245,197,66,0.45); border-bottom: 2px solid rgba(255,220,80,0.65);
    text-decoration: none; transition: all 0.15s; box-shadow: 0 3px 0 rgba(0,0,0,0.3);
    display: inline-flex; align-items: center;
}
.btn-see-all:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }

.btn-nav-arrow {
    width: 30px; height: 30px; border-radius: 7px;
    background: linear-gradient(180deg, rgba(245,197,66,0.12) 0%, rgba(245,197,66,0.04) 100%);
    border: 1px solid rgba(245,197,66,0.30); border-bottom: 2px solid rgba(245,197,66,0.45);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    font-size: 12px; cursor: pointer; box-shadow: 0 3px 0 rgba(0,0,0,0.3);
    transition: all 0.15s; text-decoration: none;
}
.btn-nav-arrow:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); color: var(--gold-text); }

/* ─── GAME GRID ─── */
.games-section { padding: 0 10px; margin-bottom: 6px; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 3px; }
@media (min-width: 600px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .game-grid { grid-template-columns: repeat(6, 1fr); } .mainSlider img { height: 240px; } }

.game-card {
    position: relative; 
    border-radius: 10px; 
    overflow: hidden; 
    background: var(--bg-card); 
    border: 1px solid rgba(212,160,23,0.35);
    border-bottom: 2px solid rgba(212,160,23,0.55); 
    transition: all 0.2s; 
    text-decoration: none; 
    display: block; 
    box-shadow: 0 4px 0 rgba(0,0,0,0.5), 0 0 12px rgba(245,197,66,0.06);
    aspect-ratio: 4/5; 
    transform: translateZ(0); 
}
.game-card:active { 
    transform: scale(0.94) translateY(3px) translateZ(0); 
    border-color: var(--gold); 
    box-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 0 16px rgba(245,197,66,0.35); 
}

.game-card-img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: fill; 
    border-radius: 10px; 
    display: block; 
    z-index: 1;
}
.game-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}
.game-card-fav {
    position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; 
    border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; 
    color: rgba(255,255,255,0.6); font-size: 13px; cursor: pointer;
    z-index: 5; transition: color 0.2s, background 0.2s; border: none; flex-shrink: 0;
}
.game-card-fav.active { color: var(--gold-text); background: rgba(245,197,66,0.20); }
.game-card-name { 
    position: absolute;
    bottom: 8px; 
    left: 0;
    width: 100%;
    font-size: 11px; 
    font-weight: 800; 
    color: #ffffff; 
    padding: 0 6px; 
    text-align: center; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    z-index: 3;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

/* ─── JACKPOT ─── */
.jackpot-section {
    margin: 8px 10px; border-radius: 14px;
    background: linear-gradient(135deg, #0e0b07 0%, #1a1208 50%, #070503 100%);
    border: 1.5px solid var(--gold-line); padding: 18px 16px 16px;
    text-align: center; position: relative; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 22px rgba(245,197,66,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}
.jackpot-section::before {
    content: ''; position: absolute; top: -30px; left: -30px; width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(245,197,66,0.16) 0%, transparent 70%); border-radius: 50%;
}
.jackpot-section::after {
    content: ''; position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(125,99,255,0.22) 0%, transparent 70%); border-radius: 50%;
}
.jackpot-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 6px; }
.jackpot-img-row {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 10px; position: relative; z-index: 1;
}
.jackpot-plane-img {
    width: 64px; height: 64px; object-fit: contain;
    animation: planeFly 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
@keyframes planeFly {
    0%   { transform: translateY(0px) rotate(-3deg); }
    50%  { transform: translateY(-8px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(-3deg); }
}
.jackpot-logo-img { height: 48px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(245,197,66,0.55)); }
.jackpot-number-wrap { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: nowrap; }
.jp-digit {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 46px;
    background: linear-gradient(180deg, #1a1208 0%, #080604 100%);
    border: 1px solid rgba(245,197,66,0.45); border-radius: 6px;
    font-size: 26px; font-weight: 900; color: var(--gold-text);
    text-shadow: 0 0 12px rgba(245,197,66,0.65);
    box-shadow: 0 3px 0 rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    font-family: 'Courier New', monospace; transition: all 0.15s;
}
.jp-digit.changing { animation: digitFlip 0.15s ease; }
.jp-sep { font-size: 24px; font-weight: 900; color: var(--gold-text); margin: 0 1px; line-height: 1; padding-bottom: 4px; }
@keyframes digitFlip {
    0%   { transform: scaleY(1); }
    50%  { transform: scaleY(0.1); }
    100% { transform: scaleY(1); }
}

/* ─── CATEGORY NAV ─── */
.cat-nav-wrap {
    padding: 12px 10px 0; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; -ms-overflow-style: none;
}
.cat-nav-wrap::-webkit-scrollbar { display: none; }
.cat-nav-inner { display: inline-flex; gap: 8px; padding-bottom: 10px; }
.cat-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
    text-decoration: none; color: var(--text-muted);
    background: rgba(0,0,0,0.4); border: 1px solid rgba(212,160,23,0.28);
    transition: all 0.2s; white-space: nowrap; cursor: pointer;
}
.cat-pill i { font-size: 13px; }
.cat-pill.active, .cat-pill:active {
    background: linear-gradient(180deg, #ffe27a 0%, #f5c542 55%, #c9951a 100%);
    border-color: #ffe27a; color: #1c1200;
    box-shadow: 0 2px 12px rgba(245,197,66,0.45);
}
.cat-section {
    margin-bottom: 6px; background: rgba(14,11,7,0.55);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-bottom: 8px;
}

/* ─── PARTNER ─── */
.partner-section { padding: 16px 12px; display: flex; gap: 12px; }
.partner-btn {
    flex: 1; padding: 14px 10px; border-radius: 10px; text-align: center;
    font-size: 14px; font-weight: 800; cursor: pointer; border: none;
    transition: all 0.15s; text-decoration: none; display: block;
}
.partner-btn.partner {
    background: linear-gradient(165deg, #5a3be6 0%, #2a1a86 100%);
    border: 1px solid #7d63ff; border-bottom: 2px solid #9d88ff;
    color: #ffe27a; box-shadow: 0 4px 0 #130a4a, 0 0 16px rgba(125,99,255,0.30), inset 0 1px 0 rgba(255,255,255,0.12);
}
.partner-btn.live-chat {
    background: linear-gradient(165deg, #12946c 0%, #07503b 100%);
    border: 1px solid #2fe0a5; border-bottom: 2px solid #5dffc6;
    color: #ffe27a; box-shadow: 0 4px 0 #04301f, 0 0 16px rgba(47,224,165,0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}
.partner-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #040f09; }
.partner-btn .chat-icon { font-size: 20px; margin-right: 6px; }

/* ─── GAME CENTER ─── */
.game-center { padding: 8px 12px 16px; }
.game-center-title { font-size: 18px; font-weight: 800; color: var(--gold-text); margin-bottom: 12px; }
.game-center-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-pill {
    padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
    color: #3df0b6; border: 1px solid rgba(47,224,165,0.40);
    border-bottom: 2px solid rgba(47,224,165,0.55);
    background: linear-gradient(180deg, rgba(18,148,108,0.16) 0%, rgba(18,148,108,0.06) 100%);
    text-decoration: none; transition: all 0.15s; box-shadow: 0 3px 0 rgba(0,0,0,0.3);
}
.gc-pill:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }

/* ─── PROVIDER LOGOS ─── */
.providers-section { padding: 12px; border-top: 1px solid var(--border); }
.providers-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.provider-logo { font-size: 11px; font-weight: 800; color: var(--text-muted); letter-spacing: 0.5px; opacity: 0.7; }

/* ─── GUEST BOTTOM NAV ─── */
.guest-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 60px;
    display: flex; z-index: 100; background: rgba(6,5,7,0.97); border-top: 1px solid var(--gold-line);
}
.guest-lang {
    width: 30%; display: flex; align-items: center; justify-content: center;
    gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-main);
    border-right: 1px solid var(--border); cursor: pointer;
}
.guest-flag { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; }
.guest-flag img { width: 100%; height: 100%; object-fit: cover; }
.guest-login-btn {
    width: 35%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; cursor: pointer;
    background: linear-gradient(165deg, #12946c 0%, #07503b 100%);
    color: #fff; border-right: 1px solid var(--border); border-top: 2px solid #2fe0a5;
    transition: 0.15s; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.guest-login-btn:active { filter: brightness(0.85); }
.guest-signup-btn {
    width: 35%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; cursor: pointer;
    background: linear-gradient(180deg, #ffe27a 0%, #f5c542 55%, #c9951a 100%);
    color: #2a1900; border-top: 2px solid #ffe57a; transition: 0.15s;
}
.guest-signup-btn:active { filter: brightness(0.9); }

/* ─── DESKTOP SIDEBAR ─── */
@media (min-width: 900px) {
    .main-layout { display: flex; max-width: 1200px; margin: 0 auto; }
    .desktop-sidebar {
        width: 120px; flex-shrink: 0; position: sticky; top: 56px;
        height: calc(100vh - 56px); overflow-y: auto; padding: 12px 6px;
        border-right: 1px solid var(--border); scrollbar-width: none;
    }
    .desktop-sidebar::-webkit-scrollbar { display: none; }
    .main-content { flex: 1; min-width: 0; }
    .guest-nav { display: none; }
    .site-header { max-width: 1200px; width: 100%; left: 50%; transform: translateX(-50%); }
}
.sidebar-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 10px 6px; border-radius: 10px; margin-bottom: 4px; cursor: pointer;
    text-decoration: none; color: var(--text-muted); font-size: 10px;
    font-weight: 700; text-align: center; transition: all 0.2s;
}
.sidebar-item i { font-size: 20px; }
.sidebar-item:hover, .sidebar-item.active {
    background: rgba(245,197,66,0.10); color: var(--gold-text); border: 1px solid rgba(245,197,66,0.35);
}
 /* Category Image Nav Styles */
        .cat-item {
            display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
            padding: 8px 12px; border-radius: 12px; font-size: 11px; font-weight: 700;
            text-decoration: none; color: var(--text-muted);
            background: rgba(0,0,0,0.4); border: 1px solid rgba(212,160,23,0.28);
            transition: all 0.2s; cursor: pointer; min-width: 65px;
        }
        .cat-item img { width: 28px; height: 28px; object-fit: contain; }
        .cat-item.active, .cat-item:active {
            background: rgba(245,197,66,0.14); border-color: var(--gold); color: var(--gold-text);
            box-shadow: 0 2px 12px rgba(245,197,66,0.35);
        }
        
        .gx-tabs-wrap{position:relative;margin:8px 0 0;padding:6px 8px 0;
    background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(0,0,0,0) 100%);
    border-top:1px solid rgba(245,197,66,.20)}
.gx-tabs-wrap::before{content:'';position:absolute;left:14%;right:14%;top:-1px;height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,226,122,.9),transparent)}
.gx-tabs{display:flex;gap:9px;overflow-x:auto;padding:6px 2px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.gx-tabs::-webkit-scrollbar{display:none}
.gx-tab{position:relative;flex:none;width:80px;height:56px;border-radius:10px;overflow:hidden;scroll-snap-align:start;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;
    color:#efe6cc;font-weight:700;font-size:12px;-webkit-tap-highlight-color:transparent;
    background:linear-gradient(160deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.02) 45%,rgba(0,0,0,.30) 100%),linear-gradient(180deg,#16110a,#080604);
    border:1px solid rgba(212,160,23,.45);
    box-shadow:0 5px 10px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.12),inset 0 -6px 10px rgba(0,0,0,.28);
    transition:transform .2s ease,box-shadow .2s ease}
.gx-tab:active{transform:scale(.96)}
.gx-tab img,.gx-tab .gx-tab-fa{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
.gx-tab .gx-tab-fa{font-size:19px;line-height:24px;text-align:center;color:#ffd45a;display:block}
.gx-tab span{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.15;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.gx-tab.active{color:#3a2400;transform:translateY(-2px);border-color:#fff3b8;
    background:linear-gradient(160deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 42%),linear-gradient(180deg,#ffe98a,#ffd23f 50%,#f0a81c);
    box-shadow:0 7px 14px rgba(240,168,28,.4),0 0 0 1px rgba(255,226,122,.35),inset 0 1px 0 rgba(255,255,255,.8),inset 0 -5px 8px rgba(160,90,0,.22)}
.gx-tab.active span{text-shadow:0 1px 0 rgba(255,255,255,.55)}
.gx-tab.active .gx-tab-fa{color:#7a4300}
.gx-tab.active::after{content:'';position:absolute;top:0;left:-70%;width:40%;height:100%;transform:skewX(-20deg);pointer-events:none;
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);animation:gxshine 3.4s ease-in-out infinite}
@keyframes gxshine{0%,55%{left:-70%}100%{left:140%}}

/* ═════════ GAME LOBBY (AJAX) ═════════ */
.gx-lobby{--gx-gold1:#ffe27a;--gx-gold2:#f0b429;--gx-teal:#f5c542;padding:0 10px 4px;scroll-margin-top:70px}
.gx-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 10px}
.gx-label{position:relative;flex:1;min-width:0;height:36px;display:flex;align-items:center;gap:7px;padding:0 24px 0 14px;color:#fff;font-weight:800;font-size:14px;
    background:linear-gradient(90deg,#12946c,#0a5a42 55%,#07382a);
    clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%)}
.gx-label::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#fff0a8,#f0a81c)}
.gx-label img{width:22px;height:22px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.45))}
.gx-label span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.gx-tools{display:flex;gap:6px;flex:none}
.gx-tool{width:36px;height:36px;border-radius:10px;border:1px solid rgba(245,197,66,.35);color:#ffe27a;font-size:14px;
    background:linear-gradient(180deg,rgba(245,197,66,.16),rgba(0,0,0,.35));
    display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;
    box-shadow:0 3px 7px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.14)}
.gx-tool.active{background:linear-gradient(180deg,#fff0a8,#f0b429);color:#3a2a00;border-color:#fff3b8;
    box-shadow:0 4px 10px rgba(240,168,28,.45),inset 0 1px 0 rgba(255,255,255,.75)}

.gx-search{display:none;margin:0 0 10px}
.gx-search.open{display:block}
.gx-search input{width:100%;height:40px;border-radius:12px;border:1px solid rgba(245,197,66,.4);background:rgba(0,0,0,.5);
    color:#fff;padding:0 14px;font-size:13px;outline:0;box-sizing:border-box;box-shadow:inset 0 2px 6px rgba(0,0,0,.45)}
.gx-search input:focus{border-color:#ffd84d}
.gx-search input::placeholder{color:rgba(255,255,255,.5)}

/* provider row — শুধু admin এর আপলোড করা logo (compact pill) */
.gx-providers{display:none;gap:9px;overflow-x:auto;padding:3px 4px 14px;margin:0 -4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.gx-providers.open{display:flex}
.gx-providers::-webkit-scrollbar{display:none}
.gx-prov-pill{flex:none;min-width:62px;height:34px;padding:0 14px;border-radius:18px;border:1.5px solid rgba(212,160,23,.30);
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(0,0,0,.4)),#0e0b07;color:#fff;font-weight:700;font-size:12px;
    display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;-webkit-tap-highlight-color:transparent;
    box-shadow:0 5px 10px rgba(0,0,0,.55),0 2px 3px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.12)}
.gx-prov-pill img{height:20px;max-width:66px;object-fit:contain;display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4))}
.gx-prov-pill i{font-size:12px}
.gx-prov-pill span{max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase}
.gx-prov-pill.active{border-color:var(--gx-teal);background:linear-gradient(180deg,rgba(245,197,66,.26),rgba(0,0,0,.32)),#0e0b07;
    box-shadow:0 5px 12px rgba(0,0,0,.6),0 0 10px rgba(245,197,66,.45),inset 0 1px 0 rgba(255,255,255,.2)}

.gx-loader{height:3px;margin:0 0 6px;border-radius:3px;overflow:hidden;position:relative;visibility:hidden}
.gx-loader::after{content:'';position:absolute;top:0;bottom:0;width:40%;background:#ffd84d;animation:gxslide 1s linear infinite}
.gx-lobby.is-loading .gx-loader{visibility:visible}
@keyframes gxslide{0%{left:-40%}100%{left:100%}}

/* ═════════ GAME GRID (শুধু ৩ কলামের layout) ═════════ */
.gx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:150px;transition:opacity .15s}
.gx-lobby.is-loading .gx-grid{opacity:.5;pointer-events:none}
@media(min-width:600px){.gx-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:900px){.gx-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* game card এর CSS (.game-card / .game-card-img / .game-card-name / .game-card-fav) এখানে নেই — আপনার design/index.css থেকেই আসবে */

.gx-empty{grid-column:1/-1;text-align:center;padding:40px 10px;color:rgba(255,255,255,.7);font-size:13px;font-weight:600}

/* See More */
.gx-more{display:flex;justify-content:center;margin:16px 0 8px}
.gx-more-btn{position:relative;overflow:hidden;min-width:150px;height:40px;padding:0 24px;border:1px solid #fff3b8;border-radius:22px;
    background:linear-gradient(180deg,#fff0a8,#ffd23f 55%,#f0a81c);color:#3a2400;font-weight:800;font-size:13px;cursor:pointer;
    display:flex;align-items:center;justify-content:center;gap:7px;-webkit-tap-highlight-color:transparent;
    box-shadow:0 6px 14px rgba(240,168,28,.4),0 2px 5px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.8)}
.gx-more-btn:active{transform:scale(.97)}
.gx-more-btn:disabled{opacity:.75;cursor:default}


/* jackpot.css — Jackpot + game list section (আপনার design/index.css এর শেষে বসান, অথবা আলাদা ফাইল হিসেবে link করুন) */

/* ═════════ JACKPOT + GAME LIST (demo) ═════════ */
.jpx{position:relative;margin:30px 10px 10px}
.jpx-top{position:relative;padding:30px 0 14px;text-align:center;border-radius:18px 18px 0 0;
    background:linear-gradient(180deg,#1a1208,#0e0b07);border:1.5px solid rgba(212,160,23,.55);border-bottom:0;min-height:112px;
    box-shadow:0 0 22px rgba(245,197,66,.08)}
.jpx-hump{position:absolute;left:50%;top:-26px;transform:translateX(-50%);width:66%;height:52px;border-radius:28px 28px 0 0;
    background:#1a1208;border:1.5px solid rgba(212,160,23,.55);border-bottom:0}
.jpx-title{position:relative;z-index:2;margin-top:-12px;line-height:1}
.jpx-title img{height:46px;max-width:68%;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.4))}
.jpx-title-text{display:inline-block;font-size:38px;font-weight:900;font-style:italic;letter-spacing:2px;
    background:linear-gradient(180deg,#fff2a8,#ffcf3a 55%,#e69510);-webkit-background-clip:text;background-clip:text;color:transparent;
    -webkit-text-stroke:1px rgba(120,60,0,.55);filter:drop-shadow(0 3px 0 rgba(90,40,0,.55))}
.jpx-amount{position:relative;z-index:2;margin-top:8px;font-size:30px;font-weight:800;letter-spacing:.5px;color:#fff6cf;
    text-shadow:0 2px 0 rgba(90,60,0,.6),0 0 18px rgba(255,214,90,.35);font-variant-numeric:tabular-nums;white-space:nowrap}
.jpx-deco{position:absolute;top:22px;height:84px;width:auto;z-index:1;pointer-events:none}
.jpx-deco.l{left:8px}
.jpx-deco.r{right:8px}
.jpx-emoji{height:auto;font-size:44px;line-height:1;opacity:.9}

.jpx-list{position:relative;max-height:330px;overflow:hidden;border-radius:0 0 14px 14px;
    background:linear-gradient(180deg,#0e0b07,#080604);border:1.5px solid rgba(212,160,23,.55);border-top:1px solid rgba(245,197,66,.20)}
.jpx-row{display:flex;align-items:center;gap:14px;padding:12px 14px;text-decoration:none;color:#fff;
    border-top:1px solid rgba(212,160,23,.18);-webkit-tap-highlight-color:transparent}
.jpx-row:first-child{border-top:0}
.jpx-row.jpx-new{animation:jpxin .5s ease}
@keyframes jpxin{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
.jpx-thumb{flex:none;width:64px;height:64px;border-radius:8px;object-fit:cover;background:#14100a;box-shadow:0 3px 8px rgba(0,0,0,.45);border:1px solid rgba(212,160,23,.3)}
.jpx-info{flex:1;min-width:0}
.jpx-name{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jpx-who{margin-top:3px;font-size:12px;color:rgba(255,255,255,.55)}
.jpx-amt{margin-top:3px;font-size:14px;font-weight:600;color:#ffe27a}
.jpx-play{flex:none;min-width:92px;height:38px;padding:0 12px;border-radius:20px;border:2px solid rgba(245,197,66,.55);
    background:linear-gradient(180deg,#fff0a8,#ffd23f 55%,#f0a81c);color:#3a2400;font-weight:800;font-size:13px;white-space:nowrap;
    display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.8)}
.jpx-demo{position:absolute;right:10px;bottom:8px;z-index:3;padding:2px 9px;border-radius:10px;background:rgba(0,0,0,.6);
    color:#ffd84d;font-size:10px;font-weight:800;letter-spacing:.6px;pointer-events:none}
  
  
  /*preload */
    #gxPre{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;flex-direction:column;
  background:radial-gradient(120% 80% at 50% 0%,#2a1650 0%,#0e0b07 45%,#040302 100%);
  opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;padding:env(safe-area-inset-top) 16px env(safe-area-inset-bottom)}
#gxPre.show{opacity:1;visibility:visible}
#gxPre *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Bengali","Hind Siliguri",Roboto,Arial,sans-serif}
.gxp-orb{position:relative;width:clamp(120px,34vw,150px);height:clamp(120px,34vw,150px);display:flex;align-items:center;justify-content:center}
.gxp-ring{position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0 20%,#fff3a1 40%,#ffb300 60%,#ffd84d 80%,transparent 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));
          mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));
  animation:gxpSpin 1.1s linear infinite;filter:drop-shadow(0 0 8px rgba(255,200,40,.8))}
.gxp-ring2{position:absolute;inset:-12px;border-radius:50%;border:2px solid rgba(255,216,77,.35);animation:gxpPing 1.8s ease-out infinite}
.gxp-img{width:76%;height:76%;border-radius:22%;object-fit:cover;border:2px solid #ffd84d;
  box-shadow:0 0 22px rgba(255,190,30,.55),0 8px 22px rgba(0,0,0,.55);background:#0e0b07;animation:gxpFloat 2.4s ease-in-out infinite}
.gxp-name{margin-top:22px;max-width:86vw;text-align:center;color:#fff;font-size:clamp(15px,4.4vw,18px);font-weight:800;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 6px rgba(0,0,0,.6)}
.gxp-bar{margin-top:16px;width:min(70vw,260px);height:8px;border-radius:8px;background:rgba(0,0,0,.5);border:1px solid rgba(255,216,77,.4);overflow:hidden}
.gxp-fill{height:100%;width:0;border-radius:8px;background:linear-gradient(90deg,#ff9900,#ffd84d,#fff3a1);box-shadow:0 0 10px rgba(255,200,40,.8)}
#gxPre.show .gxp-fill{width:92%;transition:width 9s cubic-bezier(.1,.7,.2,1)}
.gxp-txt{margin-top:12px;color:#ffe9a0;font-size:13px;font-weight:700;letter-spacing:.3px}
.gxp-txt i{font-style:normal;animation:gxpDot 1.2s infinite}
.gxp-txt i:nth-child(2){animation-delay:.2s}.gxp-txt i:nth-child(3){animation-delay:.4s}
@keyframes gxpSpin{to{transform:rotate(360deg)}}
@keyframes gxpPing{0%{transform:scale(.9);opacity:.8}100%{transform:scale(1.25);opacity:0}}
@keyframes gxpFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes gxpDot{0%,100%{opacity:.2}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){#gxPre *{animation-duration:.01ms!important}}




/* --- Jackpot Vertical Scroll Box (Image design match) --- */

/* Jackpot list container inline scrolling */
.jpx-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 7px 10px !important;
    
    /* Scroll fix: Box er max height r inside scroll */
    max-height: 420px !important; /* height ekhane apnar iccha moto kom-beshi korte paren */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar design */
.jpx-list::-webkit-scrollbar {
    width: 4px;
}
.jpx-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.jpx-list::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

/* Protiti game item row er styling */
.jpx-list .jpx-item,
.jpx-list > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-sizing: border-box !important;
}

/* Niche border remove for last item */
.jpx-list .jpx-item:last-child,
.jpx-list > div:last-child {
    border-bottom: none !important;
}

