/* Modern Scrollbar */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: #0B0C10; }
        ::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: #ff3b3b; }

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

        .glass-nav {
            background: rgba(11, 12, 16, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .bg-sport-pattern {
            background-color: #0B0C10;
            background-image: radial-gradient(#1F2833 1.5px, transparent 1.5px), radial-gradient(#1F2833 1.5px, #0B0C10 1.5px);
            background-size: 30px 30px;
            background-position: 0 0, 15px 15px;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
        }

        .glow-blob {
            position: fixed;
            filter: blur(80px);
            z-index: -1;
            opacity: 0.4;
            animation: blob 10s infinite;
        }

        /* Video Player & Modal */
        .player-modal { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
        
        .player-minimized {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 340px !important;
            height: 192px !important;
            z-index: 100;
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.6);
            border: 1px solid rgba(255,255,255,0.1);
        }
        .player-minimized .controls-overlay { display: none; }
        .player-minimized:hover .controls-overlay { display: flex; }

        .hover-card-effect:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px -10px rgba(255, 59, 59, 0.15);
        }

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: currentColor;
    margin-left: 3px;
    animation: blink 1s steps(1) infinite;
  }
  @keyframes blink {
    50% { opacity: 0; }
  }



/*======== Video Playe Code ============================  */

/* Fullscreen fix */
:fullscreen {
    background: black;
}

input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

#progress-fill {
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3), 
                0 0 5px rgba(239, 68, 68, 0.5); 
    transition: width 0.1s linear;
}
.timeline-container:hover #progress-fill {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5), 
                0 0 10px rgba(239, 68, 68, 0.8);
}

.double-tap-area.active .seek-icon {
    animation: seek-fade-out 0.5s ease-out;
}
@keyframes seek-fade-out {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(1); }
}

.timeline-container:hover #timeline-thumbnail-preview {
    display: block !important;
}

@media (hover: none) and (pointer: coarse) {
    #player-container.touch-controls .player-controls {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    #player-container.touch-controls.controls-visible .player-controls {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .timeline-container:hover #timeline-thumbnail-preview {
        display: none !important;
    }
}



.football-slider {
    background: transparent; 
}

.football-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 100%;
    cursor: pointer;
    
    background: linear-gradient(to right, #4CAF50 50%, #52525B 50%); /* সবুজ এবং ধূসর দুটি রং দিয়ে ফিল */
    background-size: 100% 4px; 
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 9999px;
}

/* ব্রাউজারের জন্য স্লাইডার ফুটবল স্টাইল */
.football-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px; 
    height: 16px;
    margin-top: -6px; 
    cursor: grab;
    
    border-radius: 50%; 
    background-color: white; 
    border: 3px solid #22C55E; 
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.7); 
    transition: all 0.2s;
}

.football-slider::-moz-range-track {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: linear-gradient(to right, #4CAF50 50%, #52525B 50%); 
    background-size: 100% 4px; 
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 9999px;
}

.football-slider::-moz-range-thumb {
    width: 16px; 
    height: 16px;
    cursor: grab;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #22C55E;
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.7);
    transition: all 0.2s;
}




.cat-btn.active:not([data-category="all"]) {
    /* background: linear-gradient(135deg, #149b31, #53bb63) !important; */

    background: linear-gradient(135deg, #058dcb, #0ea5e9) !important;
    color: inherit !important;
}





/* side bar boll icon  */
    .animate-spin-slow {
        animation: spin 10s linear infinite; /* 10 সেকেন্ডে একবার ঘুরবে */
    }
    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

/* notificason box deshing settign */
#notifSettingsMenu.show {
    animation: dropFade 0.45s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.premium-toggle {
    position: relative;
    width: 42px;
    height: 22px;
}
.premium-toggle input {
    display: none;
}
.premium-toggle .slider {
    position: absolute;
    inset: 0;
    background: #2a2a2a;
    border-radius: 999px;
    transition: background .3s;
}
.premium-toggle .slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #aaa;
    border-radius: 50%;
    transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s;
}
.premium-toggle input:checked + .slider {
    background: linear-gradient(135deg,#22c55e,#16a34a);
}
.premium-toggle input:checked + .slider::before {
    transform: translateX(20px);
    background: white;
}



/* Mobile Swipe Indicator */
.swipe-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    z-index: 100;
    opacity: 0;
    pointer-events: none; /* যাতে এর উপর টাচ না লাগে */
    transition: opacity 0.3s ease;
}

.swipe-indicator.show {
    opacity: 1;
}

#swipeText {
    font-size: 16px;
    font-weight: bold;
}

/* Footer */
        @keyframes marquee {
            0% { transform: translateX(0%); }
            100% { transform: translateX(-100%); }
        }
        .animate-marquee {
            animation: marquee 40s linear infinite;
        }
        .mask-linear-fade {
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        @keyframes tiltGlow {
            0%   { transform: rotate(-1deg) translateY(0); box-shadow: 0 0 0 rgba(16,185,129,0.0); }
            25%  { transform: rotate(1deg) translateY(-1px); box-shadow: 0 0 18px rgba(16,185,129,0.35); }
            50%  { transform: rotate(-0.5deg) translateY(0); box-shadow: 0 0 26px rgba(34,197,94,0.55); }
            75%  { transform: rotate(0.5deg) translateY(1px); box-shadow: 0 0 18px rgba(16,185,129,0.35); }
            100% { transform: rotate(-1deg) translateY(0); box-shadow: 0 0 0 rgba(16,185,129,0.0); }
        }

/* ================== Live Radar UI ================== */
#live-radar-container {
    transition: box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease-in-out;
}

#radar-drag-handle {
    /* Critical for mobile touch-dragging so the screen doesn't scroll instead */
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#radar-drag-handle:active {
    cursor: grabbing !important;
    background: rgba(0, 0, 0, 0.6);
}

/* Glassmorphism overrides if Tailwind fails */
.radar-glass {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}






