/* ================================================================
   newhome.php — Theme CSS
   (আগে ৪টা আলাদা <style> ব্লকে ছিল, এখানে একসাথে করা হয়েছে)
   ================================================================ */

html {
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
}
body {
    background-color: #012222;
    color: #ffffff;
    font-family: 'Hind Siliguri', sans-serif;
    margin: 0;
    padding: 0;
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
    /* ✅ ডেস্কটপে বড় স্ক্রিনে যাতে সাইট মাঝখানে মোবাইল-সাইজ কার্ড হয়ে থাকে */
    background-image: linear-gradient(180deg, #021a1a, #011010);
}
@media (min-width: 769px) {
    body { background: #04302d; }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.jackpot-digit {
    background: linear-gradient(180deg, #fffbe8 0%, #ffe8a3 55%, #f6c453 100%);
    color: #7a3e00;
    font-weight: 900;
    border-radius: 8px;
    box-shadow:
        inset 0 2px 3px rgba(255,255,255,.9),
        inset 0 -3px 5px rgba(120,60,0,.35),
        0 4px 10px rgba(0,0,0,.45);
    border: 1px solid #a86a1f;
    font-size: 22px;
    min-width: 26px;
    padding: 6px 4px;
    text-shadow: 0 1px 0 rgba(255,255,255,.6);
    position: relative;
}
/* ✅ Smooth Glow — box-shadow না বদলে, একটা হালকা Glow Layer-এর
   opacity বদলানো হচ্ছে (GPU-friendly, Repaint কম হয়, Jank হয় না) */
.jackpot-digit::before {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(251,191,36,.6);
    opacity: 0;
    animation: jackpotPulse 2.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes jackpotPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.card-bg {
    background: linear-gradient(180deg, #033636 0%, #011f1f 100%);
}

.bonus-ribbon {
    position: absolute;
    top: 6px;
    right: -18px;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    font-size: 8px;
    font-weight: 900;
    padding: 2px 18px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-align: center;
    line-height: 1;
    z-index: 10;
}

.partner-btn {
    background: linear-gradient(180deg, #024b4b 0%, #012d2d 100%);
    border: 1px solid #0d7474;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.1);
}

.provider-logo {
    font-weight: 900;
    font-size: 11px;
    letter-spacing: -0.5px;
    color: #94a3b8;
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #022828 25%, #033838 50%, #022828 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.real-game-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #0d7474;
    background: #022828;
    cursor: pointer;
    transition: transform .15s ease;
}
.real-game-card:active { transform: scale(.95); }
.real-game-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.real-game-card { overflow: hidden; }

/* ✅ Premium Brand Text — CV111 / wintk এর মতো সব লোগো-টাইপ লেখা */
.brand-shine {
    background: linear-gradient(90deg, #a5f3fc 0%, #22d3ee 22%, #f0fdff 42%, #2dd4bf 62%, #0e7490 85%, #22d3ee 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)) drop-shadow(0 0 6px rgba(34,211,238,.4));
    animation: brandShimmer 4s linear infinite;
    letter-spacing: .5px;
}
@keyframes brandShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: -250% center; }
}
.brand-divider {
    color: rgba(34,211,238,.5);
    font-weight: 300;
    text-shadow: 0 0 6px rgba(34,211,238,.3);
}
.real-game-card .vendor-badge {
    position: absolute; top: 6px; right: 6px;
    background: rgba(0,0,0,.65); color: #fbbf24; font-size: 10.5px; font-weight: 800;
    padding: 2px 7px; border-radius: 5px;
}
.real-game-card .name-strip {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.9), transparent);
    padding: 16px 8px 8px;
    font-size: 13px; font-weight: 800; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ================================================================
   ✅ PREMIUM GLASSMORPHISM THEME (Lite — Smooth Performance ভার্সন)
   পুরো সাইটের সব কার্ড/হেডার/বাটনে Frosted-Glass লুক, কিন্তু এবার
   backdrop-filter: blur ছাড়া — কারণ Blur অনেক Card-এ একসাথে চললে
   কম-শক্তির Phone-এ Scroll/Animation আটকে আটকে যায় (Jank হয়)।
   এখন শুধু স্বচ্ছ রঙ + বর্ডার + গ্লো দিয়েই Glass-এর ফিল দেওয়া হচ্ছে,
   কোনো ভারী GPU Blur ছাড়াই — অনেক বেশি Smooth হবে।
   ================================================================ */
body {
    background:
        radial-gradient(circle at 15% 0%, rgba(16,185,129,.10), transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(251,191,36,.08), transparent 45%),
        linear-gradient(180deg, #01201d 0%, #011412 60%, #010c0b 100%) !important;
}

/* সব প্রধান Surface/Card Background */
[class*="bg-[#022828]"],
[class*="bg-[#023333]"],
[class*="bg-[#021c1c]"],
[class*="bg-[#042d2d]"],
[class*="bg-[#032e2e]"],
[class*="bg-[#032424]"],
[class*="bg-[#021a1a]"],
[class*="bg-[#021717]"],
[class*="bg-[#011717]"],
[class*="bg-[#0b4843]"],
.card-bg, .partner-btn {
    background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
                #072e2c !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow:
        0 8px 24px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.08) !important;
    position: relative;
}
.real-game-card {
    background: rgba(6, 40, 38, .9) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.3) !important;
    position: relative;
}

/* সক্রিয়/হাইলাইটেড উপাদান (যেমন Active Tab) — সোনালি Glow */
[class*="bg-[#053d3d]"] {
    background: linear-gradient(160deg, rgba(251,191,36,.24), rgba(16,185,129,.14)), #0a3d3a !important;
    border: 1px solid rgba(251,191,36,.45) !important;
    box-shadow:
        0 8px 20px rgba(251,191,36,.15),
        inset 0 1px 0 rgba(255,255,255,.15) !important;
}

/* উপরের Glass-এ হালকা আলোর ঝলক (Reflection) — Card-এর একদম উপরের প্রান্তে */
.card-bg::before, .partner-btn::before,
[class*="bg-[#022828]"]::before, [class*="bg-[#023333]"]::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 45%;
    background: linear-gradient(180deg, rgba(255,255,255,.10), transparent);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

/* Bottom Navigation — গাঢ়, উপরে হালকা গ্লো বর্ডার */
.bottom-nav, [class*="bg-[#021a1a]"] {
    background: linear-gradient(180deg, rgba(4,48,44,.92), rgba(1,20,18,.97)) !important;
    border-top: 1px solid rgba(251,191,36,.2) !important;
}

/* ✅ Winners Ticker */
@keyframes scrollTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.winner-chip {
    display: inline-flex; align-items: center; gap: 5px; background: #022828;
    border: 1px solid #0d7474; border-radius: 20px; padding: 2px 10px 2px 3px; flex-shrink: 0;
}
.winner-chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: #0d7474; }
.winner-chip .wtxt { font-size: 10.5px; color: #d1d5db; font-weight: 600; }
.winner-chip .wamt { color: #fbbf24; font-weight: 800; }

/* ✅ Favorite (❤️) আইকন */
.fav-heart {
    position: absolute; top: 6px; left: 6px; width: 26px; height: 26px; border-radius: 50%;
    background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 13px; z-index: 5; cursor: pointer;
}
.fav-heart.active { color: #ef4444; }

/* ✅ সাইড মেনু Grid Card */
.menu-card {
    background-color: #083733;
    border: 1px solid #135d56;
    border-radius: 12px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-card:active { background-color: #0c423e; transform: translateY(-1px); }
.menu-card i { font-size: 20px; }
.menu-icon-orange { color: #f77268; }
.menu-icon-gold { color: #e0b44a; }
.menu-icon-cyan { color: #53d0c6; }
.menu-icon-green { color: #38db99; }
.menu-icon-flag { color: #e65252; }
.menu-card span {
    color: #d1eded;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
}
