 :root {
            --cyan: #10b981;
            --pink: #e50914;
            --bg: #0d1117;
            --glass: rgba(15, 23, 42, 0.85);
            --card: rgba(255, 255, 255, 0.04);
            --border: rgba(255, 255, 255, 0.1);
        }

        * { margin:0; padding:0; box-sizing:border-box; }
        body { 
            background: radial-gradient(circle at 20% 10%, rgba(16, 185, 129, 0.05), transparent 40%), var(--bg); 
            color: #fff; font-family: 'Inter', system-ui, sans-serif; min-height: 100vh; overflow-x: hidden; 
        }

        /* HEADER & MENU */
        header { 
            background: #0d1117; padding: 10px 20px; border-bottom: 1px solid #30363d;
            position: sticky; top: 0; z-index: 1000; 
            display: flex; align-items: center; justify-content: space-between; gap: 15px; 
            backdrop-filter: blur(10px);
        }
        .logo { font-size: 1rem; font-weight: 500; color: #e6edf3; white-space: nowrap; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
        
        #menu { 
            display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch; flex-grow: 1; justify-content: flex-end;
            padding: 5px 0;
        }
        #menu::-webkit-scrollbar { display: none; }
        #menu { -ms-overflow-style: none; scrollbar-width: none; }

        #menu span { 
            background: #21262d; padding: 7px 15px; border-radius: 1rem; 
            font-size: 13px; cursor: pointer; white-space: nowrap; 
            border: 1px solid #30363d; transition: 0.3s; color: #8b949e; 
        }
        #menu span.active { background: var(--pink); border-color: var(--pink); color: white; box-shadow: 0 0 12px rgba(229, 9, 20, 0.3); }

        /* MAIN WRAPPER */
        .main-wrapper { max-width: 1600px; margin: auto; padding: 16px; display: flex; gap: 20px; }
        .player-section { flex: 2.8; }
        .player-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; border: 1px solid var(--border); border-radius: .5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
        #player { width: 100%; height: 100%; }

        /* SIDEBAR */
        .sidebar { flex: 1; background: var(--bg); padding: 18px; border-radius: .5rem; border: 1px solid var(--border); max-height: 81vh; overflow-y: auto; display: flex; flex-direction: column; }

        .search-box { margin-bottom: 12px; }
        .search-box input { width: 100%; padding: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: .5rem; color: #fff; outline: none; transition: 0.3s; }
        .search-box input:focus { border-color: var(--cyan); background: rgba(255,255,255,0.08); }

        .stats-container { display: flex; justify-content: space-between; margin-bottom: 18px; padding: 10px; background: rgba(255,255,255,0.03); border-radius: .5rem; border: 1px solid var(--border); }
        .stat-item { text-align: center; flex: 1; }
        .stat-label { font-size: 9px; text-transform: uppercase; opacity: 0.5; letter-spacing: 1px; margin-bottom: 4px; }
        .stat-value { font-size: 15px; font-weight: bold; }

        /* CHANNELS */
        .channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: 12px; }
        .channel { aspect-ratio: 1/1.1; border-radius: .5rem; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; border: 1px solid #30363d; text-align: center; padding: 10px; }
        .channel:hover { transform: translateY(-5px); border-color: var(--cyan); }
        .channel.active { border-color: var(--pink); background: rgba(229, 9, 20, 0.08); }
        .channel img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 8px; }
        .channel span { font-size: 10px; font-weight: 500; opacity: 0.9; line-height: 1.2; }

        
        /* Optimized WhatsApp Button Design */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px; /* কিছুটা ছোট করা হয়েছে */
    height: 50px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px; /* আইকন সাইজ অ্যাডজাস্ট করা হয়েছে */
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

/* সফট পালস অ্যানিমেশন (চোখে লাগবে না) */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: softPulse 2s infinite;
    opacity: 0;
}

@keyframes softPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-btn:hover {
    transform: scale(1.1); /* হোভারে হালকা বড় হবে */
    background-color: #128c7e;
}

/* মোবাইলে সাইজ আরেকটু অপ্টিমাইজড */
@media(max-width: 480px) {
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
}

        @media(max-width: 992px) {
            .main-wrapper { flex-direction: column; }
            .sidebar { max-height: none; }
            .channel-grid { grid-template-columns: repeat(4, 1fr); }
        }

        @media(max-width: 480px) {
            header { flex-direction: column; align-items: flex-start; gap: 10px; }
            #menu { width: 100%; justify-content: flex-start; padding-bottom: 5px; }
            .logo { font-size: 0.9rem; }
            .player-section { height: auto; aspect-ratio: 16/9; width: 100%; position: sticky; top: 0; z-index: 1001; }
            .channel-grid { grid-template-columns: repeat(2, 1fr); }
            .channel img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 8px; }
        }
        
        ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
        .sidebar::-webkit-scrollbar-thumb { background: var(--cyan); }
        
        #skip-btn {
        display: none;
        position: absolute;
        bottom: 30px;
        right: 20px;
        z-index: 10000;
        align-items: center;
        background: rgba(0, 0, 0, .6); 
        color: #fff;
        padding: 0 6px 0 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 18px; 
        height: 36px;
        cursor: pointer;
        font-family: "Roboto", Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
        transition: background 0.2s;
        }

        #skip-btn:hover {
        background: rgba(0, 0, 0, 0.7);
        }
    
        .yt-skip-icon {
        display: flex;
        align-items: center;
        padding: 6px;
        }
        
        /* ডিফল্ট (মোবাইল) */
        .alert-content-wrapper {
            display: block;
            margin-top: 10px;
            padding-left: 5px;
        }
        
        .alert-content {
            display: flex;
            align-items: center;
            font-family: sans-serif;
            font-size: 14px;
        }
        
        /* মোবাইলে hide */
        .hide-on-mobile {
            display: none;
        }
        
        /* আইকনও মোবাইলে hide */
        .icon-wifi {
            display: none;
            color: #818cf8;
            margin-right: 8px;
        }
        
        /* ডেস্কটপ (768px+) */
        @media (min-width: 768px) {
            .hide-on-mobile {
                display: inline;
                margin-right: 5px;
            }
        
            .icon-wifi {
                display: inline;
            }
        
            .alert-content-wrapper {
                margin-top: 10px;
            }
        }
        
        /* এনিমেশন */
        .indigo-animate,
        .animated-text {
            animation: indigoGlow 3s infinite ease-in-out;
        }
        
        @keyframes indigoGlow {
            0% { color: #9ca3af; }
            50% { 
                color: #818cf8;
                text-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
            }
            100% { color: #9ca3af; }
        }