        /* ====================================================================
           ১. CSS Variables & Master Themes
           ==================================================================== */
        :root { 
            --theme: #00ffcc; 
            --bg-color: #050505;
            --card-bg: #0000ff;
            --card-depth: 60px;
            
            /* ডাইনামিক টেক্সট কালার ভেরিয়েবল */
            --text-main: #ffffff; 
            --text-muted: rgba(161, 170, 181, 0.8);
            
            /* গ্লাস ইফেক্টের কালারসমূহ */
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            
            /* গ্রেডিয়েন্ট এবং গ্লো ইফেক্ট */
            --gradient-1: linear-gradient(135deg, var(--theme), #ff0044);
            --shadow-glow: 0 0 20px rgba(var(--theme), 0.5);
        }
        
        /* Cyberpunk / Neon Mode Override Variables */
        body.neon-mode {
            --theme: #00ffcc;
            --bg-color: #050505;
            --card-bg: #090e17;
            --text-main: #ffffff;
            --gradient-1: linear-gradient(135deg, #00ffcc, #ff00ff);
            --shadow-glow: 0 0 30px #00ffcc;
        }
        
        /* ====================================================================
           ২. Base Resets & Global Styles (Footer Sticky Fix)
           ==================================================================== */
        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
            font-family: 'Hind Siliguri', sans-serif; 
        }
        
        /* কোনভাবেই যেন স্ক্রিন ডানে-বামে স্ক্রল না করে তার শক্ত লজিক */
        html, body {
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        /* 🌟 FIX: Flexbox Column Layout for Sticky Footer */
        body { 
            background-color: var(--bg-color); 
            color: var(--text-main); 
            min-height: 100vh; 
            display: flex; 
            flex-direction: column;
            margin: 0;
            
            /* ৩ডি ব্যাকগ্রাউন্ড ইফেক্ট */
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(var(--theme), 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 0, 68, 0.03) 0%, transparent 40%);
                
            transition: background-color 0.5s ease;
        }
        
        /* Custom Scrollbar Styling */
        ::-webkit-scrollbar { 
            width: 8px; 
        }
        
        ::-webkit-scrollbar-track { 
            background: var(--bg-color); 
        }
        
        ::-webkit-scrollbar-thumb { 
            background: var(--theme); 
            border-radius: 10px; 
        }

        /* Heading Text Color Adaptation */
        h1, h2, h3, h4, h5, h6 {
            color: var(--text-main);
        }

        /* ====================================================================
           ৩. 3D Glass Header Navigation & Premium Video Brand Logo
           ==================================================================== */
        header { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 15px 5%; 
            background: rgba(0, 0, 0, 0.8); 
            backdrop-filter: blur(25px); 
            -webkit-backdrop-filter: blur(25px);
            border-bottom: 1px solid var(--glass-border); 
            position: sticky; 
            top: 0; 
            z-index: 1000; 
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
        }

        .brand-logo { 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            cursor: pointer; 
            text-decoration: none; 
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .brand-logo:hover {
            transform: scale(1.05) translateY(-3px); 
        }

        /* 🌟 FIX: Play Icon minimum size so it never hides/shrinks */
        .play-icon-3d {
            position: relative;
            width: 48px;
            height: 48px;
            min-width: 48px;
            min-height: 48px;
            flex-shrink: 0;
            background: linear-gradient(135deg, #ff0044, var(--theme));
            border-radius: 14px; 
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 5px 10px rgba(255, 255, 255, 0.4);
            z-index: 1;
            isolation: isolate;
            transform: translateZ(0);
            overflow: visible !important;
        }

        .play-icon-3d::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 18px;
            background: linear-gradient(45deg, var(--theme), transparent, #ffffff, transparent);
            z-index: -1;
            animation: spinAura 3s linear infinite;
            filter: blur(8px) hue-rotate(180deg); 
        }

        .play-icon-3d i {
            color: #ffffff;
            font-size: 20px;
            margin-left: 4px; 
            filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.6));
            position: relative;
            z-index: 5;
        }

        .brand-text {
            font-size: 28px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #ffffff;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
        }
        
        .brand-text span {
            color: var(--theme);
            filter: hue-rotate(180deg); 
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
        }

        @keyframes spinAura {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Mobile Action Icons wrapper logic */
        .nav-icons { 
            display: flex; 
            align-items: center; 
            gap: 18px; 
        }
        
        .nav-icons button, .nav-icons a { 
            background: var(--glass-bg); 
            color: #ffffff; 
            border: 1px solid var(--glass-border);
            width: 48px; 
            height: 48px; 
            border-radius: 50%; 
            display: flex; 
            justify-content: center; 
            align-items: center;
            cursor: pointer; 
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            text-decoration: none; 
            font-size: 18px;
            box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
        }
        
        .nav-icons button:hover, .nav-icons a:hover { 
            background: var(--theme); 
            color: #000000;
            transform: translateY(-5px) scale(1.1); 
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 20px var(--theme); 
            border-color: var(--theme); 
        }

        /* Premium Mobile Action Menu CSS */
        .mobile-menu-toggle { 
            display: none !important; 
        }
        
        .action-icons-wrapper { 
            display: flex; 
            align-items: center; 
            gap: 18px; 
        }

        @media(max-width: 768px) {
            .mobile-menu-toggle { 
                display: flex !important; 
            }
            
            .action-icons-wrapper {
                position: absolute; 
                top: 75px; 
                right: 5%;
                background: rgba(10, 15, 25, 0.95); 
                backdrop-filter: blur(25px);
                border: 1px solid var(--theme); 
                border-radius: 20px;
                padding: 15px; 
                display: flex; 
                gap: 12px;
                box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(var(--theme), 0.3);
                opacity: 0; 
                pointer-events: none; 
                transform: translateY(-20px);
                transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                z-index: 1050;
            }
            
            .action-icons-wrapper.active { 
                opacity: 1; 
                pointer-events: auto; 
                transform: translateY(0); 
            }
        }

        /* ====================================================================
           ৪. Premium Inline Header Search Bar (Responsive)
           ==================================================================== */
        .header-search-wrapper {
            position: absolute;
            right: 5%; 
            top: 50%;
            transform: translateY(-50%);
            height: 52px;
            background: rgba(0, 0, 0, 0.85); 
            backdrop-filter: blur(20px);
            border: 2px solid var(--theme);
            border-radius: 18px;
            display: flex;
            align-items: center;
            width: 0;
            opacity: 0;
            pointer-events: none; 
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(var(--theme), 0.2);
            z-index: 1050; 
            overflow: hidden;
        }

        .header-search-wrapper.active {
            width: 380px; 
            opacity: 1;
            pointer-events: auto;
        }

        .header-search-wrapper form {
            display: flex;
            width: 100%;
            align-items: center;
            padding: 0 5px 0 15px;
        }

        .header-search-wrapper input {
            flex: 1;
            background: transparent;
            border: none;
            color: #ffffff;
            padding: 10px 10px;
            font-size: 16px;
            outline: none;
            width: 100%;
        }

        .header-search-wrapper input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .header-search-wrapper button {
            background: transparent;
            border: none;
            color: var(--theme);
            font-size: 18px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            transition: 0.3s;
        }

        .header-search-wrapper button:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(0.9);
            color: #ffffff;
            text-shadow: 0 0 10px var(--theme);
        }

        .close-search-btn {
            color: #ff0044 !important; 
        }
        
        @media(max-width: 600px) {
            .header-search-wrapper.active {
                width: calc(100% - 30px); 
                right: 15px;
            }
        }

        /* ====================================================================
           ৫. 🌟 FIX: Premium 3D RGB Notice/Scroll Bar (Always White Background)
           ==================================================================== */
        .premium-notice-bar {
            position: relative;
            margin: 25px 5% 20px 5%; 
            padding: 4px; 
            border-radius: px !important; 
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 5px 15px rgba(255, 255, 255, 0.6); 
            isolation: isolate; 
            z-index: 10;
            transform: translateZ(0);
            -webkit-mask-image: -webkit-radial-gradient(white, black);
            clip-path: inset(0 round 50px);
        }

        .premium-notice-bar::after {
            content: '';
            position: absolute;
            inset: 4px; 
            background: #ffffff !important; /* 🌟 FIX: Always White */
                        border-radius: 20px !important; 
            z-index: -1;
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1); 
        }

        .notice-content {
            position: relative;
            z-index: 5; 
            padding: 10px 25px;
            color: #000000 !important; /* 🌟 FIX: Always Black Text */
            font-weight: 800; 
            font-size: 18px; 
            letter-spacing: 2px;
            display: flex;
            align-items: center;
        }
        
        .notice-content marquee {
            text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.1); 
        }
        
        .notice-icon {
            color: #ff0044 !important; /* Keep icon visible and red */
            margin-right: 12px;
            font-size: 22px;
            animation: pulseIcon 1.5s infinite; 
        }

        @keyframes pulseIcon {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        /* ====================================================================
           ৬. Seamless 7-Color RGB Animated Categories
           ==================================================================== */
        .cat-nav { 
            display: flex; 
           margin-left:2% !important;
            gap: 20px; 
            overflow-x: auto;       
            padding: 5% 5%; 
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent); 
            border-bottom: 1px solid var(--glass-border); 
            flex-wrap: nowrap;
        }
        
        .cat-nav::-webkit-scrollbar { 
            height: 0px; 
        }
        
        .golden-cat {
            position: relative; 
            padding: 12px 30px; 
            border-radius: 18px; 
            text-decoration: none;
            color: #ffffff !important; /* 🌟 নরমাল অবস্থায় টেক্সট সবসময় সাদা হবে */
            font-weight: 700; 
            font-size: 16px; 
            white-space: nowrap; 
            overflow: hidden;
            isolation: isolate; 
            z-index: 1; 
            display: inline-flex; 
            align-items: center; 
            justify-content: center;
            transition: all 0.4s ease; 
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
            border: none;
            flex-shrink: 0; 
            width: max-content; 
            transform: translateZ(0);
            -webkit-mask-image: -webkit-radial-gradient(white, black);
        }
        
        .golden-cat::after {
            content: ''; 
            position: absolute; 
            inset: 4px; 
            background: #000000 !important; /* 🌟 নরমাল অবস্থায় ব্যাকগ্রাউন্ড সবসময় কালো হবে */
            border-radius: 15px; 
            z-index: -1; 
            transition: 0.4s;
        }
        
        .golden-cat:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2); 
            color: #ffffff !important; 
        }
        
        .golden-cat:hover::before { 
            animation-duration: 1.5s; 
        }
        
        .golden-cat.active-cat::after { 
            background: #ffffff !important; /* 🌟 সিলেক্টেড অবস্থায় ব্যাকগ্রাউন্ড সাদা হবে */
        }
        
        .golden-cat.active-cat {
            color: #000000 !important; /* 🌟 সিলেক্টেড অবস্থায় টেক্সট কালো হবে */
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.6);
            text-shadow: none;
            font-weight: 800;
        }

        /* ====================================================================
           ৭. 3D Premium Ad Boxes (Banner Ad in video Top/Bottom)
           ==================================================================== */
        .premium-3d-ad-box {
            width: 100%;
            background-color: #0b0f19;
            background-image: linear-gradient(145deg, #111520 0%, #05070a 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.05), 0 15px 35px rgba(0, 0, 0, 0.9);
            border-radius: 16px;
            
            padding: 5px; 
            max-height: 90px;
            
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
            transition: all 0.4s ease;
        }
        
        .premium-3d-ad-box:hover {
            box-shadow: inset 0 2px 15px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(var(--theme), 0.2);
            border-color: rgba(var(--theme), 0.5);
        }
        
        .premium-3d-ad-box img {
            max-width: 100%;
            height: auto;
            max-height: 75px; 
            object-fit: contain; 
            border-radius: 8px;
        }

        .home-top-banner-container {
            margin-bottom: 35px;
            width: 100%;
        }

        /* ====================================================================
           ৮. NATIVE AD CARD (Looks exactly like Video Card)
           ==================================================================== */
        .native-ad-card {
            position: relative;
            display: flex;
            flex-direction: column;
            border-radius: 20px;
            z-index: 1;
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 var(--card-depth) 40px rgba(0, 0, 0, 0.8);
            overflow: hidden;
            isolation: isolate;
            padding: 4px; /* Same padding as video card */
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            transform: translateZ(0);
            backface-visibility: hidden;
            -webkit-mask-image: -webkit-radial-gradient(white, black);
            clip-path: inset(0 round 20px);
        }





/* ==========================================================
   🔥 ADVANCED 3D GLOWING SPIN BORDER (ALL CARDS & BUTTONS)
   ========================================================== */
.native-ad-card::before,
.video-card::before, 
.rgb-popup-container::before, 
#video-wrapper::before,
.premium-notice-bar::before,
.golden-cat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    /* 250vmax এর বদলে % ব্যবহার করায় ফোন আর গরম হবে না বা ল্যাগ করবে না */
    width: 200%;
    height: 300%; 
    background: conic-gradient(
        from 0deg, 
        transparent 0%, 
        var(--theme) 15%, 
        #ff0044 35%, 
        #0055ff 50%, 
        transparent 70%
    );
    filter: blur(10px); /* 🌟 চমৎকার সাইবারপাঙ্ক গ্লো ইফেক্ট */
    transform-origin: center;
    animation: spinCardBorderAdvanced 3.5s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes spinCardBorderAdvanced {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================
   🚀 ULTRA PREMIUM: Laser / Meteor Edge Glow (Vercel Style)
   ========================================================== */
.native-ad-card::before,
.video-card::before, 
.rgb-popup-container::before, 
#video-wrapper::before,
.premium-notice-bar::before,
.golden-cat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%; 
    height: 300%; 
    /* পুরো কালারের বদলে শুধু একটি উজ্জ্বল লেজার লাইন এবং তার লেজ ঘুরবে */
    background: conic-gradient(
        from 0deg, 
        transparent 60%, 
        rgba(0, 255, 204, 0.1) 75%, 
        var(--theme) 92%, 
        #ff0044 98%, 
        #ffffff 100%
    );
    filter: drop-shadow(0 0 10px var(--theme)); /* বাইরে চমৎকার লেজার আভা */
    transform-origin: center;
    animation: meteorSpin 3s linear infinite;
    z-index: -2;
    pointer-events: none;
}

/* স্পিড এবং স্মুথনেস কন্ট্রোল */
@keyframes meteorSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}



 /* ==========================================================
   🔥 FULL BORDER SMOOTH RGB SPIN (Premium & Balanced)
   ========================================================== */
.native-ad-card::before,
.video-card::before, 
.rgb-popup-container::before, 
#video-wrapper::before,
.premium-notice-bar::before,
.golden-cat::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%; 
    height: 300%;
    /* সম্পূর্ণ বর্ডারে প্রিমিয়াম কালার মিক্স থাকবে (কোনো গ্যাপ ছাড়া) */
    background: conic-gradient(
        var(--theme), 
        #0088cc, 
        #ff00ff, 
        #ff0044, 
        var(--theme)
    );
    filter: blur(4px); /* কালারগুলো স্মুথভাবে মিশে থাকার জন্য হালকা ব্লার */
    transform-origin: center;
    animation: fullBorderSpin 4s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes fullBorderSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}



        /* ====================================================================
           ৯. Main Container, Grid, and 3D Video Card
           ==================================================================== */
        .container { 
            padding: 50px 5%; 
            flex: 1 0 auto; /* Pushes footer down */
            
            /* Mobile Overflow Prevention */
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
            overflow-x: hidden;
        }
        
        .video-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
            gap: 40px; 
        }
        
        /* Mobile adjustment for video grid */
        @media(max-width: 500px) {
            .video-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .video-card, .rgb-popup-container, #video-wrapper, .player-box {
            transform: translateZ(0);
            backface-visibility: hidden;
            -webkit-mask-image: -webkit-radial-gradient(white, black);
            clip-path: inset(0 round 20px); 
        }

        .video-card { 
            position: relative; 
            display: flex; 
            flex-direction: column; 
            border-radius: 20px; 
            z-index: 1; 
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            box-shadow: 0 var(--card-depth) 40px rgba(0, 0, 0, 0.8); 
            overflow: hidden; 
            isolation: isolate; 
            padding: 4px; 
            text-decoration: none; 
            color: var(--text-main);
        }
        
       /* Card Inner Ad Banner (3D Round Glowing Frame Style) Height Fixed */
        .card-ad-banner {
            width: calc(100% - 20px);
            margin: 10px auto 12px auto; 
            background-color: #0b0f19; 
            background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
            border-radius: 35px; 
            border: 2px solid var(--theme); 
            box-shadow: inset 0 3px 10px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(var(--theme), 0.3); 
            text-align: center;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 10;
            padding: 2px; 
            max-height: 60px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .video-card:hover .card-ad-banner {
            transform: translateY(-4px) scale(1.02);
            box-shadow: inset 0 3px 10px rgba(255, 255, 255, 0.3), 0 12px 25px rgba(0, 0, 0, 0.9), 0 0 25px rgba(var(--theme), 0.6);
        }

        .card-ad-banner img, .card-ad-banner iframe {
            max-width: 100%;
            height: auto;
            max-height: 50px; 
            object-fit: contain; 
            border-radius: 30px; 
            display: block;
        }

        /* Skeleton Loader */
        .skeleton { 
            position: relative; 
            pointer-events: none; 
        }
        
        .skeleton::after {
            background: var(--card-bg) !important;
        }
        
        .skeleton * { 
            opacity: 0; 
        }
        
        .skeleton::before {
            content: ''; 
            position: absolute; 
            top: 0; 
            left: -100%; 
            width: 50%; 
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
            animation: shimmer 1.5s infinite ease-in-out; 
            z-index: 10;
        }
        
        @keyframes shimmer { 
            100% { left: 200%; } 
        }
        
        .thumbnail { 
            width: calc(100% - 16px); 
            margin: 8px auto 0 auto; 
            display: block; 
            height: auto; 
            aspect-ratio: 16 / 9; 
            border-radius: 12px; 
            object-fit: cover; 
            border-bottom: 3px solid var(--theme); 
            transition: transform 0.5s ease, filter 0.5s ease; 
            position: relative;
            z-index: 5; 
        }
        
        .video-card:hover .thumbnail { 
            filter: brightness(1.15) contrast(1.1); 
            transform: scale(1.03); 
        }
        
        .card-info { 
            padding: 22px; 
            position: relative;
            z-index: 5; 
            flex: 1; 
        }
        
        .title { 
            font-weight: 700; 
            font-size: 18px; 
            line-height: 1.5; 
            height: 54px; 
            overflow: hidden; 
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
            color: var(--text-main);
        }
        
        .stats { 
            display: flex; 
            justify-content: space-between; 
            margin-top: 18px; 
            font-size: 14px; 
            color: var(--text-muted); 
            font-weight: 600; 
            background: rgba(0, 0, 0, 0.3);
            padding: 10px 15px;
            border-radius: 12px;
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(5px); 
        }

        /* ====================================================================
           ১০. Watch Page Layout & Mobile Overflow Fix
           ==================================================================== */
        .watch-layout { 
            display: flex; 
            gap: 40px; 
            flex-wrap: wrap; 
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
        }
        
        .main-player-section { 
            flex: 1; 
            min-width: 0; 
            width: 100%;
            max-width: 100%; 
            box-sizing: border-box;
        }
        
        .sidebar-section { 
            width: 380px; 
            flex-shrink: 0; 
            max-width: 100%;
            box-sizing: border-box;
        }
        
        .player-box { 
            position: relative; 
            margin-bottom: 25px; 
            border-radius: 20px; 
            background: var(--card-bg);
            padding: 10px;
            box-shadow: 0 var(--card-depth) 50px rgba(0, 0, 0, 0.9);
            border: 1px solid var(--glass-border);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }
        
        .ambilight-canvas {
            position: absolute; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%;
            filter: blur(70px); 
            opacity: 0.65; 
            z-index: -1; 
            transform: scale(1.08); 
            pointer-events: none;
        }

        /* ====================================================================
           ১১. PiP Mode CSS & Draggable Fixes
           ==================================================================== */
        .pip-mode {
            position: fixed !important; 
            bottom: 30px; 
            right: 30px; 
            
            /* PiP Dimensions & Look */
            width: 400px !important; 
            max-width: 90vw !important; 
            z-index: 9999;
            
            /* 🌟 3D Card Look for PiP */
            background-color: var(--card-bg) !important;
            border-radius: 18px !important; 
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(var(--theme), 0.5) !important;
            border: 2px solid var(--theme) !important; 
            padding: 6px !important; /* To keep video safe */
            
            cursor: grab; 
            animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            
            /* Allow elements to break out (like the close button) */
            clip-path: none !important;
            -webkit-mask-image: none !important;
            overflow: visible !important;
        }
        
        .pip-mode:active {
            cursor: grabbing;
        }
        
        @keyframes popIn { 
            0% { transform: scale(0) translateY(100px); opacity: 0; } 
            100% { transform: scale(1) translateY(0); opacity: 1; } 
        }
        
        /* Hide Banner Ads & Ambilight when in PiP Mode */
        .pip-mode .watch-ad-top,
        .pip-mode .watch-ad-bottom,
        .pip-mode .premium-3d-ad-box,
        .pip-mode .ambilight-canvas {
            display: none !important;
        }
        
        /* PiP Close Button Fix */
        #pip-close-btn {
            position: absolute; 
            top: -15px; 
            right: -15px; 
            width: 35px; 
            height: 35px; 
            background: #ff0044; 
            color: #ffffff;
            border: 2px solid #ffffff; 
            border-radius: 50%; 
            font-size: 16px; 
            cursor: pointer; 
            z-index: 10000; 
            display: none; 
            justify-content: center; 
            align-items: center; 
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8); 
            transition: 0.3s;
        }
        
        #pip-close-btn:hover { 
            transform: scale(1.15) rotate(90deg); 
            background: #ffffff; 
            color: #ff0044; 
            border-color: #ff0044; 
        }
        
        .pip-mode #pip-close-btn { 
            display: flex !important; 
        }

        /* ====================================================================
           ১২. 🌟 CLEAN UI - Custom Ultimate Video Player & Controls
           ==================================================================== */
        #video-wrapper { 
            position: relative; 
            border-radius: 20px; 
            overflow: hidden; 
            isolation: isolate; 
            z-index: 1;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9); 
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 4px; 
            background: #000000;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }
        
        #video-wrapper::after {
            content: '';
            position: absolute;
            inset: 4px; 
            background: #000000;
            border-radius: 16px; 
            z-index: -1; 
        }
        
        #video-wrapper:hover::before, #video-wrapper.paused::before {
            animation-duration: 1.5s;
        }
        
        video { 
            width: 100%; 
            height: auto; 
            max-width: 100%; 
            max-height: 80vh;
            object-fit: contain; 
            border-radius: 16px; 
            display: block; 
            outline: none; 
            background: #000000;
            position: relative;
            z-index: 5; 
        }
        
        
        #audio-overlay {
            position: absolute;
            inset: 4px;
            border-radius: 16px;
            background: #000000;
            z-index: 6; 
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }
        
        #audio-overlay i {
            font-size: 60px;
            color: var(--theme);
            animation: pulseIcon 2s infinite;
        }
        
        .audio-only-mode #audio-overlay {
            opacity: 1;
            pointer-events: auto;
        }

        /* 🌟 CLEAN UI: Video Controls Background & Layout */
        .custom-controls { 
            position: absolute; 
            bottom: 4px; 
            left: 4px; 
            width: calc(100% - 8px); 
            box-sizing: border-box; 
            padding: 20px 15px 5px 15px; 
            background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%); 
            display: flex; 
            flex-direction: column; 
            justify-content: flex-end; 
            gap: 8px;
            z-index: 50; 
            border-radius: 0 0 16px 16px; 
            opacity: 0; 
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }
        
        #video-wrapper.show-controls .custom-controls, 
        #video-wrapper.paused .custom-controls { 
            opacity: 1; 
            visibility: visible;
        }
        
        /* 🌟 Progress Bar explicitly placed at the bottom */
        .progress-container { 
            width: 100%; 
            height: 5px; 
            background: rgba(255, 255, 255, 0.2); 
            border-radius: 5px; 
            cursor: pointer; 
            position: relative; 
            transition: transform 0.2s ease;
            transform-origin: bottom; 
            margin-bottom: 5px;
        }
        
        .progress-container:hover { 
            transform: scaleY(2); 
        }
        
        .progress-bar { 
            height: 100%; 
            background: var(--gradient-1); 
            border-radius: 5px; 
            width: 0%; 
            box-shadow: 0 0 15px var(--theme); 
            position: relative;
        }
        
        .progress-bar::after {
            content: '';
            position: absolute;
            right: -5px;
            top: 50%;
            transform: translateY(-50%) scale(0);
            width: 12px;
            height: 12px;
            background: #ffffff;
            border-radius: 50%;
            box-shadow: 0 0 10px #ffffff;
            transition: 0.2s;
        }
        
        .progress-container:hover .progress-bar::after {
            transform: translateY(-50%) scale(1);
        }
        
        /* 🌟 Clean Buttons Line (One Line UI) */
        .ctrl-btns { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            color: #ffffff; 
            width: 100%;
        }
        
        .ctrl-btns-left, .ctrl-btns-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .ctrl-btns button { 
            background: none; 
            border: none; 
            color: #ffffff; 
            font-size: 20px; 
            cursor: pointer; 
            transition: all 0.3s ease; 
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .ctrl-btns button:hover { 
            color: var(--theme); 
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1); 
        }
        
        .time-text {
            font-size:14px; 
            font-weight:700; 
            font-family:monospace; 
            background:rgba(0, 0, 0, 0.5); 
            padding:4px 8px; 
            border-radius:8px;
        }

        /* 🌟 NEW: Volume Sliding Animation near Settings Gear */
        .volume-container {
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .vol-slider-wrapper {
            width: 0;
            overflow: hidden;
            transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
            opacity: 0;
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 0;
        }
        
        .vol-slider-wrapper.show {
            width: 80px;
            opacity: 1;
            padding: 0 8px;
            margin-left: 5px;
        }
        
        .volume-slider {
            width: 100%;
            height: 4px;
            accent-color: var(--theme);
            cursor: pointer;
            margin: 0;
        }

        /* 🌟 Settings Dropdown Menu CSS */
        .player-settings-wrapper {
            position: absolute; 
            bottom: 65px; 
            right: 15px; 
            background: rgba(10, 15, 25, 0.95);
            backdrop-filter: blur(20px); 
            border: 1px solid var(--theme); 
            border-radius: 15px; 
            padding: 15px; 
            width: 200px;
            display: flex; 
            flex-direction: column; 
            gap: 15px; 
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(var(--theme), 0.3);
            z-index: 60; 
            visibility: hidden; 
            opacity: 0; 
            transform: translateY(10px) scale(0.95); 
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .player-settings-wrapper.active { 
            visibility: visible; 
            opacity: 1; 
            transform: translateY(0) scale(1); 
        }
        
        .setting-item { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            font-size: 13px; 
            color: #ffffff; 
            font-weight: 600; 
            width: 100%;
        }
        
        .setting-item span i { 
            margin-right: 8px; 
            color: var(--text-muted); 
            width: 15px; 
            text-align: center; 
        }
        
        .setting-item button, .setting-item select { 
            background: rgba(255, 255, 255, 0.1); 
            color: #ffffff; 
            border: 1px solid rgba(255, 255, 255, 0.2); 
            border-radius: 8px; 
            padding: 4px 10px; 
            outline: none; 
            cursor: pointer; 
            font-size: 12px; 
            font-weight: bold; 
            transition: 0.3s; 
        }
        
        .setting-item button:hover, .setting-item select:hover { 
            border-color: var(--theme); 
            box-shadow: 0 0 10px rgba(var(--theme), 0.3); 
        }

        #video-wrapper:fullscreen { 
            border-radius: 0; 
            padding: 4px; 
        }
        
        #video-wrapper:fullscreen::after { 
            border-radius: 0; 
            inset: 4px; 
        }
        
        #video-wrapper:fullscreen video { 
            border-radius: 0; 
            max-height: 100vh; 
        }
        
        #video-wrapper:fullscreen .custom-controls { 
            border-radius: 0; 
            bottom: 4px; 
        }

        /* ====================================================================
           ১৩. Video Overlays, Double Tap & 3D RGB Popup Engine
           ==================================================================== */
        .watermark { 
            position: absolute; 
            top: 25px; 
            right: 30px; 
            font-size: 20px; 
            font-weight: 800; 
            color: rgba(255, 255, 255, 0.25); 
            text-shadow: 0 0 15px rgba(0, 0, 0, 0.8); 
            z-index: 40; 
            pointer-events: none; 
            user-select: none; 
            letter-spacing: 2px; 
        }
        
        .dt-zone { 
            position: absolute; 
            top: 0; 
            width: 35%; 
            height: calc(100% - 70px); 
            z-index: 45; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            color: rgba(255, 255, 255, 0); 
            font-size: 50px; 
            font-weight: bold; 
            background: rgba(255, 255, 255, 0); 
            transition: 0.4s; 
            pointer-events: auto; 
            cursor: pointer; 
        }
        
        .dt-left { left: 0; } 
        .dt-right { right: 0; }
        
        .dt-zone.active { 
            color: rgba(255, 255, 255, 0.9); 
            background: rgba(255, 255, 255, 0.15); 
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); 
        }

        /* Direct Ad Overlay Engine */
        .ad-overlay { 
            position: absolute; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background: rgba(0, 0, 0, 0.95); 
            display: none; 
            flex-direction: column; 
            justify-content: flex-start; 
            align-items: center; 
            z-index: 100; 
            backdrop-filter: blur(25px); 
            padding-top: 3%; 
        }
        
        .ad-iframe { 
            width: 90%; 
            height: 60%; 
            border-radius: 15px; 
            border: 4px solid var(--theme); 
            box-shadow: 0 0 40px rgba(var(--theme), 0.6); 
            background: #ffffff; 
            z-index: 101; 
        }

        .rgb-popup-container { 
            position: absolute; 
            bottom: 4%; 
            left: 50%; 
            width: 90%; 
            max-width: 450px; 
            padding: 4px; 
            border-radius: 20px; 
            z-index: 200; 
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(var(--theme), 0.4); 
            isolation: isolate; 
            display: none; 
            flex-direction: column; 
            overflow: hidden; 
            animation: popUpAnim 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; 
        }
        
        @keyframes popUpAnim { 
            0% { transform: translate(-50%, 80px) scale(0.8); opacity: 0; } 
            100% { transform: translate(-50%, 0) scale(1); opacity: 1; } 
        }
        
        .rgb-popup-container::after { 
            content: ''; 
            position: absolute; 
            inset: 4px; 
            background: rgba(10, 15, 25, 0.98); 
            backdrop-filter: blur(20px); 
            border-radius: 16px; 
            z-index: -1; 
        }
        
        .rgb-popup-content { 
            position: relative; 
            z-index: 5; 
            padding: 25px; 
            text-align: center; 
        }
        
        .skip-btn { 
            margin-top: 10px; 
            background: var(--gradient-1); 
            color: #ffffff; 
            padding: 12px 25px; 
            border-radius: 30px; 
            font-weight: 800; 
            cursor: pointer; 
            border: none; 
            font-size: 15px; 
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--theme), 0.4); 
            transition: 0.3s; 
        }
        
        .skip-btn:hover { 
            transform: scale(1.05); 
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), 0 0 25px var(--theme); 
        }

        /* ====================================================================
           ১৪. Action Buttons & Engagements Container
           ==================================================================== */
        .action-bar-container { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            flex-wrap: wrap; 
            margin-top: 25px; 
            border-bottom: 1px solid var(--glass-border); 
            padding-bottom: 25px; 
            gap: 15px; 
        }
        
        .action-btns { 
            display: flex; 
            gap: 15px; 
            flex-wrap: wrap; 
        }
        
        .action-btn { 
            background: var(--glass-bg); 
            border: 1px solid var(--glass-border); 
            padding: 12px 25px; 
            border-radius: 30px; 
            cursor: pointer; 
            color: var(--text-main); 
            font-weight: 600; 
            display: flex; 
            align-items: center; 
            gap: 10px; 
            transition: all 0.4s ease; 
            position: relative; 
            overflow: hidden; 
            font-size: 15px; 
        }
        
        .action-btn:hover { 
            background: var(--theme); 
            color: #000000; 
            transform: translateY(-4px); 
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--theme), 0.6); 
            border-color: var(--theme); 
        }

        .particle { 
            position: absolute; 
            pointer-events: none; 
            animation: floatUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
            font-size: 24px; 
            z-index: 1000; 
            filter: drop-shadow(0 0 10px #ff0044); 
        }
        
        @keyframes floatUp { 
            0% { transform: translateY(0) scale(0.5) rotate(0deg); opacity: 1; } 
            100% { transform: translateY(-150px) scale(2.5) rotate(20deg); opacity: 0; } 
        }

        .autoplay-toggle { 
            display: flex; 
            align-items: center; 
            gap: 12px; 
            font-weight: 700; 
            color: var(--theme); 
            background: rgba(0, 0, 0, 0.4); 
            padding: 10px 20px; 
            border-radius: 30px; 
            border: 1px solid var(--glass-border); 
        }
        
        .switch { 
            position: relative; 
            display: inline-block; 
            width: 45px; 
            height: 24px; 
        }
        
        .switch input { 
            opacity: 0; 
            width: 0; 
            height: 0; 
        }
        
        .slider { 
            position: absolute; 
            cursor: pointer; 
            top: 0; 
            left: 0; 
            right: 0; 
            bottom: 0; 
            background-color: rgba(255, 255, 255, 0.1); 
            transition: .4s; 
            border-radius: 24px; 
            border: 1px solid rgba(255, 255, 255, 0.2); 
        }
        
        .slider:before { 
            position: absolute; 
            content: ""; 
            height: 16px; 
            width: 16px; 
            left: 3px; 
            bottom: 3px; 
            background-color: #a1aab5; 
            transition: .4s; 
            border-radius: 50%; 
        }
        
        input:checked + .slider { 
            background-color: var(--theme); 
            box-shadow: 0 0 15px var(--theme); 
            border-color: var(--theme); 
        }
        
        input:checked + .slider:before { 
            transform: translateX(21px); 
            background-color: #000000; 
        }

        /* ====================================================================
           ১৫. Developer WhatsApp Popup CSS 
           ==================================================================== */
        .dev-popup-overlay { 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background: rgba(0, 0, 0, 0.85); 
            backdrop-filter: blur(15px); 
            -webkit-backdrop-filter: blur(15px); 
            z-index: 100000; 
            display: none; 
            justify-content: center; 
            align-items: center; 
            padding: 20px; 
        }
        
        .dev-box { 
            position: relative; 
            background: linear-gradient(145deg, var(--card-bg), #050505); 
            padding: 4px; 
            border-radius: 25px; 
            max-width: 450px; 
            width: 100%; 
            text-align: center; 
            opacity: 0; 
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            overflow: hidden; 
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(var(--theme), 0.2); 
            border: 2px solid var(--theme); 
        }
        
        .dev-box.active { 
            opacity: 1; 
            transform: scale(1); 
        }
        
        .dev-box-content { 
            position: relative; 
            z-index: 5; 
            padding: 36px; 
        }
        
        .dev-box h2 { 
            color: #ffffff; 
            font-size: 22px; 
            font-weight: 800; 
            margin: 20px 0 10px 0; 
            text-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); 
        }
        
        .dev-box h1 { 
            color: var(--theme); 
            font-size: 35px; 
            letter-spacing: 2px; 
            margin-bottom: 25px; 
            text-shadow: 0 0 20px rgba(var(--theme), 0.5); 
            font-weight: 900; 
        }

        /* ====================================================================
           ১৬. Auth & Forms Layer
           ==================================================================== */
        .auth-box { 
            max-width: 500px; 
            margin: 80px auto; 
            padding: 50px; 
            background: linear-gradient(135deg, var(--card-bg), rgba(0, 0, 0, 0.5)); 
            border-radius: 30px; 
            box-shadow: 0 var(--card-depth) 70px rgba(0, 0, 0, 0.9); 
            border: 1px solid var(--glass-border); 
            text-align: center; 
            position: relative; 
        }
        
        .auth-box::before { 
            content: ''; 
            position: absolute; 
            top: 0; 
            left: 50%; 
            transform: translateX(-50%); 
            width: 60%; 
            height: 5px; 
            background: var(--gradient-1); 
            border-radius: 0 0 10px 10px; 
            box-shadow: var(--shadow-glow); 
        }
        
        .auth-box input { 
            width: 100%; 
            padding: 20px 25px; 
            margin-bottom: 25px; 
            border-radius: 15px; 
            border: 1px solid rgba(255, 255, 255, 0.1); 
            background: rgba(0, 0, 0, 0.6); 
            color: #ffffff; 
            outline: none; 
            font-size: 16px; 
            transition: 0.3s; 
            box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3); 
        }
        
        .auth-box input:focus { 
            border-color: var(--theme); 
            box-shadow: 0 0 20px rgba(var(--theme), 0.3), inset 0 0 10px rgba(var(--theme), 0.2); 
        }
        
        .btn-theme { 
            width: 100%; 
            padding: 20px; 
            background: var(--gradient-1); 
            color: #ffffff; 
            border: none; 
            border-radius: 15px; 
            font-weight: 800; 
            cursor: pointer; 
            font-size: 18px; 
            transition: all 0.4s ease; 
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 
            text-transform: uppercase; 
            letter-spacing: 1px; 
        }
        
        .btn-theme:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--shadow-glow); 
        }

        /* ====================================================================
           ১৭. Mobile Responsive Media Queries 
           ==================================================================== */
        @media(max-width: 900px) {
            .watch-layout { 
                flex-direction: column; 
                width: 100%; 
            }
            .sidebar-section { 
                width: 100%; 
            }
            .pip-mode { 
                width: 300px !important; 
                bottom: 20px; 
                right: 20px; 
            }
            .dt-zone { 
                font-size: 30px; 
            }
            .pip-mode #pip-close-btn { 
                top: -12px; 
                right: -10px; 
                width: 32px; 
                height: 32px; 
                font-size: 14px; 
            }
        }

        @media(max-width: 768px) {
            .custom-controls { 
                padding: 15px 10px 5px 10px; 
            }
            
            .ctrl-btns { 
                flex-direction: row; 
                gap: 10px; 
            }
            
            .ctrl-btns button { 
                width: 32px; 
                height: 32px; 
                font-size: 16px; 
            }
            
            .time-text { 
                font-size: 12px !important; 
                padding: 4px 6px !important; 
            }
            
            .player-settings-wrapper { 
                bottom: 55px; 
                right: 5px; 
                width: 210px; 
                padding: 12px; 
            }
            
            .setting-item { 
                font-size: 12px; 
            }
            
            .setting-item button, .setting-item select { 
                padding: 3px 8px; 
                font-size: 11px; 
            }
            
            .setting-item .volume-slider { 
                width: 70px; 
            }
            
            .action-bar-container { 
                flex-direction: column; 
                width: 100%; 
                align-items: stretch; 
                gap: 15px; 
            }
            .action-btns { 
                display: grid; 
                grid-template-columns: repeat(2, 1fr); 
                width: 100%; 
                gap: 10px; 
            }
            .action-btn { 
                width: 100%; 
                justify-content: center; 
                font-size: 13px; 
                padding: 10px; 
                border-radius: 15px; 
            }
            .autoplay-toggle { 
                justify-content: space-between; 
                margin-top: 5px; 
                width: 100%; 
            }
            .ad-iframe { 
                height: 60%; 
                width: 95%; 
                margin-top: 0; 
            }
            .rgb-popup-container { 
                width: 95%; 
                animation: none; 
                transform: translate(-50%, 0); 
                bottom: 2%; 
            }
            .skip-btn { 
                padding: 10px 20px; 
                font-size: 13px; 
            }
        }

        @media(max-width: 400px) {
            .action-btns { 
                grid-template-columns: repeat(2, 1fr); 
            }
            .time-text { 
                font-size: 10px !important; 
            }
        }

        /* ====================================================================
           ১৮. Premium Toast Notification System
           ==================================================================== */
        .premium-toast-container { 
            position: fixed; 
            top: 30px; 
            right: 30px; 
            z-index: 99999; 
            display: flex; 
            flex-direction: column; 
            gap: 15px; 
            pointer-events: none; 
        }
        
        .premium-toast { 
            background: rgba(10, 15, 25, 0.95); 
            backdrop-filter: blur(20px); 
            border: 1px solid rgba(255, 255, 255, 0.1); 
            border-left: 5px solid var(--theme); 
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(var(--theme), 0.3); 
            border-radius: 12px; 
            padding: 20px 25px; 
            color: #ffffff; 
            font-weight: 600; 
            font-size: 16px; 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            min-width: 320px; 
            max-width: 400px; 
            transform: translateX(120%); 
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
            position: relative; 
            overflow: hidden; 
            pointer-events: auto; 
        }
        
        .premium-toast.show { 
            transform: translateX(0); 
        }
        
        .premium-toast .icon { 
            font-size: 26px; 
            color: var(--theme); 
            animation: pulseIcon 2s infinite; 
        }
        
        .premium-toast-progress { 
            position: absolute; 
            bottom: 0; 
            left: 0; 
            height: 4px; 
            background: var(--gradient-1); 
            width: 100%; 
            transition: width linear; 
        }
        
        /* 🌟 FIXED FOOTER STYLING (Smaller and Strictly Bottom) */
        footer { 
            background: rgba(0, 0, 0, 0.95); 
            padding: 12px 5%; 
            border-top: 1px solid var(--glass-border); 
            margin-top: auto; 
            color: var(--text-muted); 
            position: relative; 
            z-index: 100; 
            width: 100%;
            flex-shrink: 0;
        }
        
        .footer-wrapper { 
            display: flex; 
            flex-direction: column; 
            justify-content: center; 
            align-items: center; 
            gap: 8px; 
            text-align: center; 
        }
        
        .footer-text { 
            font-size: 14px; 
            font-weight: 500; 
            margin: 0; 
            color: #ffffff; 
        }
        
        .dev-mini-btn { 
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.5)); 
            color: var(--theme); 
            border: 1px solid var(--theme); 
            padding: 5px 15px; 
            border-radius: 30px; 
            font-size: 11px; 
            font-weight: 700; 
            cursor: pointer; 
            transition: all 0.4s ease; 
            display: flex; 
            align-items: center; 
            gap: 6px; 
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 
        }
        
        .dev-mini-btn:hover { 
            background: var(--theme); 
            color: #000000; 
            transform: translateY(-3px); 
            box-shadow: 0 10px 20px rgba(var(--theme), 0.4); 
        }
        
        
        
        
        
        
        
        
        
        
        
        
        
        
                            .live-notification-box {
                        background: rgba(15, 20, 30, 0.85); 
                        backdrop-filter: blur(15px); 
                        border: 1px solid rgba(0, 255, 204, 0.4); 
                        box-shadow: 0 20px 40px rgba(0,0,0,0.9), inset 0 0 20px rgba(0,255,204,0.1);
                        border-radius: 20px;
                        padding: 25px 20px;
                        width: 100%;
                        margin: 0 auto;
                        transition: all 0.3s ease;
                    }
                    .ln-icon-wrap {
                        width: 60px; height: 60px; 
                        background: rgba(0, 255, 204, 0.1); border-radius: 50%; 
                        display: flex; justify-content: center; align-items: center; 
                        margin: 0 auto 15px auto; border: 2px solid #00ffcc; 
                        box-shadow: 0 0 20px rgba(0, 255, 204, 0.4); animation: pulseIcon 2s infinite;
                    }
                    .ln-icon-wrap i { font-size: 24px; color: #00ffcc; margin-left: 4px; }
                    .ln-title { color: #fff; font-size: 18px; margin-bottom: 8px; font-weight: 800; }
                    .ln-desc { color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 20px; line-height: 1.5; }
                    .ln-btn {
                        background: linear-gradient(135deg, #00ffcc, #0055ff); border: none; 
                        padding: 14px 20px; border-radius: 30px; color: #000; font-size: 15px; 
                        font-weight: 800; cursor: pointer; box-shadow: 0 5px 20px rgba(0, 255, 204, 0.4); 
                        transition: all 0.3s ease; width: 100%; display: flex; justify-content: center; 
                        align-items: center; gap: 8px;
                    }
                    @media(max-width: 600px) {
                        .live-notification-box { padding: 12px 15px; border-radius: 12px; }
                        .ln-icon-wrap { width: 35px; height: 35px; margin: 0 auto 8px auto; border-width: 1px; }
                        .ln-icon-wrap i { font-size: 14px; margin-left: 2px; }
                        .ln-title { font-size: 14px; margin-bottom: 4px; }
                        .ln-desc { font-size: 10px; margin-bottom: 10px; line-height: 1.3; }
                        .ln-btn { padding: 8px 15px; font-size: 11px; }
                        .ln-btn i { font-size: 12px; }
                        .yt-badge-live, .yt-badge-view { padding: 3px 6px !important; font-size: 10px !important; }
                    }
                    
                    
                    
                    
                    
                    
                                                    @keyframes whiteDotBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
                                .ultra-join-btn { position: relative; background: #ff0044; border: 2px solid #cc0000; color: #ffffff; font-size: 22px; font-weight: 900; padding: 16px 45px; border-radius: 50px; cursor: pointer; box-shadow: 0 10px 25px rgba(255, 0, 68, 0.6); display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: 2px; z-index: 10; transition: background 0.3s ease; }
                                .ultra-join-btn:hover { background: #d60039; }
                                .live-white-dot { width: 14px; height: 14px; background: #ffffff; border-radius: 50%; box-shadow: 0 0 10px #ffffff; animation: whiteDotBlink 1s infinite ease-in-out; }
                                
                                
                                
                                
                                
                                
                                    .floating-social-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 99990; display: flex; flex-direction: column-reverse; align-items: center; gap: 15px; }
    .social-main-btn { width: 60px; height: 60px; border-radius: 50%; color: #fff; font-size: 28px; display: flex; justify-content: center; align-items: center; border: 2px solid rgba(255,255,255,0.2); cursor: pointer; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 5; }
    .social-main-btn:hover { transform: scale(1.1) rotate(360deg); }
    .social-items-container { display: flex; flex-direction: column-reverse; gap: 15px; opacity: 0; pointer-events: none; transform: translateY(20px); transition: 0.4s ease; position: absolute; bottom: 75px; }
    .social-items-container.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .s-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 22px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: 0.3s; border: 1px solid rgba(255,255,255,0.2); }
    .s-icon:hover { transform: scale(1.15) translateX(-5px); }
    /* অ্যানিমেশন অফ করার ক্লাস */
body.disable-animations * {
    animation: none !important;
    transition: none !important;
}

body.disable-animations .ambilight-canvas, 
body.disable-animations .premium-3d-ad-box::before,
body.disable-animations .video-card::before {
    display: none !important;
}




<style>
/* ==========================================================
   🌟 ১. Gemini & ChatGPT Style Background Animation
   ========================================================== */
.gemini-ai-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -100;
    background: radial-gradient(circle at 15% 50%, rgba(0, 85, 255, 0.15), transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(255, 0, 68, 0.15), transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(0, 255, 204, 0.15), transparent 50%);
    animation: geminiBreath 8s ease-in-out infinite alternate;
}
@keyframes geminiBreath {
    0% { filter: hue-rotate(0deg) brightness(1) scale(1); }
    100% { filter: hue-rotate(60deg) brightness(1.3) scale(1.1); }
}

.chatgpt-dots {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -99;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: dotMove 15s linear infinite;
    pointer-events: none;
}
@keyframes dotMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* ==========================================================
   🌟 ২. Awesome 3D Magic Key Animation
   ========================================================== */
.magic-key-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 65px;
    color: #ffcc00;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 15px #ffcc00) drop-shadow(0 0 30px #ff8800);
    animation: magicKeyFloat 2s ease-in-out infinite, magicKeyGlow 1.5s infinite alternate;
    z-index: 10;
}
@keyframes magicKeyFloat {
    0%, 100% { transform: translate(-50%, -50%) rotateY(0deg) scale(1); }
    50% { transform: translate(-50%, -60%) rotateY(180deg) scale(1.1); }
}
@keyframes magicKeyGlow {
    0% { filter: drop-shadow(0 0 15px #ffcc00); color: #ffcc00; }
    100% { filter: drop-shadow(0 0 30px #ffffff) drop-shadow(0 0 45px #ffcc00); color: #ffffff; }
}

/* ==========================================================
   🌟 ৩. Suggested Videos Premium Border Animation
   ========================================================== */
.suggested-video-card {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 15px;
    gap: 15px;
    isolation: isolate;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
}
.suggested-video-card:hover {
    transform: scale(1.02);
}
.suggested-video-card::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 250%; height: 350%;
    background: conic-gradient(from 0deg, transparent 0%, #00ffcc 15%, #ff0044 35%, #0055ff 50%, transparent 70%);
    filter: blur(8px);
    transform-origin: center;
    animation: spinCardBorderAdvanced 3.5s linear infinite;
    z-index: -2;
    pointer-events: none;
}
.suggested-video-card::after {
    content: '';
    position: absolute;
    inset: 3px; /* বর্ডারের পুরুত্ব */
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    z-index: -1;
}
/* ==========================================================
   🌟 লাইভ সার্চ সাজেশন (Live Search Suggestion)
   ========================================================== */
.live-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg, #090e17);
    border: 1px solid var(--glass-border);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}
.suggestion-item {
    padding: 12px 15px;
    color: var(--text-main, #fff);
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--glass-bg, rgba(255,255,255,0.1)); color: var(--theme, #00ffcc); }
