
        @import url("../assets/fonts.googleapis.com_assets");

        /* Dynamic Theming */
        :root[data-theme="dark"] {
            --bg-color: #050505;
            --glass-bg: rgba(20, 20, 25, 0.4);
            --glass-border: rgba(255, 255, 255, 0.1);
            --text-main: #ffffff;
            --text-muted: #94a3b8;
            --primary: #3b82f6;
            --accent: #f43f5e;
            --card-hover: rgba(255, 255, 255, 0.15);
            --plyr-color-main: #3b82f6;
            --liquid-color-1: #ff0055;
            --liquid-color-2: #0088ff;
        }
        :root[data-theme="light"] {
            --bg-color: #f8fafc;
            --glass-bg: rgba(255, 255, 255, 0.6);
            --glass-border: rgba(0, 0, 0, 0.1);
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #2563eb;
            --accent: #e11d48;
            --card-hover: rgba(0, 0, 0, 0.08);
            --plyr-color-main: #2563eb;
            --liquid-color-1: #ff758c;
            --liquid-color-2: #73c8ff;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; -webkit-tap-highlight-color: transparent; }
        
        body {
            background-color: var(--bg-color); color: var(--text-main);
            min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
            padding-top: 80px; padding-bottom: 90px;
            position: relative; transition: background-color 0.5s ease;
        }

        /* Liquid Animated Background Effects */
        .bg-bubbles {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; overflow: hidden;
            background: var(--bg-color);
        }
        .bubble {
            position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
            animation: floatBubble 10s infinite alternate ease-in-out;
        }
        .bubble:nth-child(1) { width: 300px; height: 300px; background: var(--liquid-color-1); top: 10%; left: 20%; animation-duration: 12s; }
        .bubble:nth-child(2) { width: 400px; height: 400px; background: var(--liquid-color-2); bottom: 10%; right: 10%; animation-duration: 15s; }
        .bubble:nth-child(3) { width: 250px; height: 250px; background: #a855f7; top: 50%; left: 50%; animation-duration: 10s; }

        @keyframes floatBubble { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(30px, -50px) scale(1.2); } }
        @keyframes popupIn { 0% { opacity: 0; transform: scale(0.9) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
        @keyframes slideIn { 0% { opacity: 0; transform: translateX(20px); } 100% { opacity: 1; transform: translateX(0); } }

        /* Premium Liquid Glass Mixin */
        .glass {
            background: var(--glass-bg); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
            border: 1px solid var(--glass-border); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
        }

        /* Global Loader */
        #global-loader {
            position: fixed; top:0; left:0; width:100%; height:100%; background: var(--bg-color); z-index: 9999;
            display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.5s;
        }
        .loader-ring { width: 60px; height: 60px; border: 5px solid rgba(255,255,255,0.1); border-top: 5px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* Header & Footer */
        header { position: fixed; top: 0; left: 0; width: 100%; height: 70px; z-index: 1000; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
        .logo { font-size: 22px; font-weight: 800; display:flex; align-items:center; gap:8px; background: linear-gradient(45deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .header-links { display: flex; gap: 10px; }
        .btn-glass { padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 8px; cursor: pointer; border: 1px solid var(--glass-border); background: var(--glass-bg); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
        .btn-glass:hover { background: var(--card-hover); transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
        .btn-glass:active { transform: scale(0.95); }

        footer { position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 600px; height: 65px; z-index: 1000; border-radius: 30px; display: flex; justify-content: space-around; align-items: center; padding: 0 10px; }
        .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-muted); cursor: pointer; flex: 1; text-align: center; transition: 0.3s; }
        .nav-item.active { color: var(--primary); text-shadow: 0 0 10px rgba(59,130,246,0.5); transform: translateY(-5px) scale(1.1); }
        .nav-item i { font-size: 22px; }
        .nav-item span { font-size: 10px; font-weight: 700; }

        /* Main Container */
        .container { max-width: 1200px; margin: 0 auto; padding: 20px; width: 100%; }
        .view-section { display: none; animation: popupIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
        .view-section.active { display: block; }

        /* Grid & Lists */
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
        .card { padding: 25px 15px; border-radius: 24px; text-align: center; cursor: pointer; transition: 0.4s; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; position: relative; overflow: hidden; }
        .card:hover { background: var(--card-hover); transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
        .card i { font-size: 45px; margin-bottom: 15px; transition: 0.4s; }
        .card:hover i { color: var(--accent); transform: scale(1.2) rotate(5deg); }
        .card span { font-size: 14px; font-weight: 700; word-break: break-word; line-height: 1.4; z-index: 1; }

        /* Combo Batch Card */
        .combo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
        .combo-card { border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; cursor:pointer; }
        .combo-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); border-color:var(--primary); }
        .combo-thumb { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--glass-border); transition: 0.4s; }
        .combo-card:hover .combo-thumb { transform: scale(1.05); }
        .combo-info { padding: 20px; z-index: 2; background: var(--glass-bg); flex:1; display:flex; flex-direction:column; justify-content:space-between; }
        .combo-id { font-size: 11px; color: var(--primary); font-weight: 800; letter-spacing: 1px; margin-bottom: 5px; }
        .combo-title { font-size: 15px; font-weight: 600; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .combo-btn { width: 100%; padding: 12px; border-radius: 12px; background: linear-gradient(45deg, var(--primary), #00c6ff); color: white; border: none; font-weight: 600; cursor: pointer; transition: 0.3s; display:flex; align-items:center; justify-content:center; gap:8px; }
        .combo-btn:hover { filter: brightness(1.2); box-shadow: 0 5px 15px rgba(59,130,246,0.5); }

        .folder-card { border-left: 5px solid var(--primary); }
        .folder-card.videos { border-left-color: #3b82f6; }
        .folder-card.pdfs { border-left-color: #ef4444; }
        .folder-card.notes { border-left-color: #10b981; }
        .folder-card .badge { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.15); padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 800; }

        .list-item { display: flex; align-items: center; justify-content: space-between; padding: 18px; margin-bottom: 15px; border-radius: 20px; cursor: pointer; transition: 0.3s; animation: slideIn 0.3s ease-out forwards; }
        .list-item:hover { background: var(--card-hover); transform: translateX(5px); border-left: 4px solid var(--primary); }
        .item-info { display: flex; align-items: center; gap: 15px; flex: 1; }
        .item-icon { width: 45px; height: 45px; border-radius: 14px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: inset 0 0 10px rgba(255,255,255,0.05); }
        .item-title { font-size: 14px; font-weight: 500; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height:1.4; }

        .action-btns { display: flex; gap: 10px; }
        .btn-play, .btn-dl, .btn-add { width: 38px; height: 38px; border-radius: 12px; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; transition: 0.3s; font-size: 14px; }
        .btn-play { background: linear-gradient(135deg, var(--primary), #00c6ff); }
        .btn-dl { background: linear-gradient(135deg, #10b981, #059669); }
        .btn-add { background: linear-gradient(135deg, var(--accent), #ff758c); }
        .btn-play:hover, .btn-dl:hover, .btn-add:hover { transform: scale(1.15) rotate(5deg); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

        /* Modals */
        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
        .modal-content { width: 100%; max-width: 450px; border-radius: 30px; padding: 35px; position: relative; animation: popupIn 0.5s ease; text-align:center; }
        .modal-close { position: absolute; top: 20px; right: 25px; font-size: 24px; color: var(--text-muted); cursor: pointer; transition:0.3s; }
        .modal-close:hover { color: var(--accent); transform:rotate(90deg); }

        /* Advanced Video Player Specific */
        .video-wrapper { width: 100%; max-width: 1000px; background: #000; border-radius: 20px; position: relative; border: 1px solid var(--glass-border); box-shadow: 0 20px 50px rgba(0,0,0,0.6); overflow: hidden; }
        .plyr { border-radius: 20px; max-height: 75vh; }
        
        .rotated { transform: rotate(90deg); width: 100vh !important; height: 100vw !important; z-index: 9999; position: fixed; top: 0; left: 0; background: black; border-radius:0; max-height: 100vw; }
        .rotated .plyr, .rotated video, .rotated iframe { height: 100vw !important; width: 100vh !important; max-height: 100vw; border-radius: 0; }

        /* Internal Player Controls */
        .internal-controls { position: absolute; top: 15px; left: 15px; z-index: 100; display: flex; gap: 10px; background: rgba(0, 0, 0, 0.5); padding: 8px; border-radius: 14px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); transition: opacity 0.3s; opacity: 0; }
        .video-wrapper:hover .internal-controls, .internal-controls:hover { opacity: 1; }
        .btn-ctrl { background: rgba(255, 255, 255, 0.15); border: none; color: white; width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 15px; text-decoration: none; }
        .btn-ctrl:hover { background: var(--primary); transform: scale(1.1); }

        .search-bar { width: 100%; padding: 18px 25px; border-radius: 50px; border: 1px solid var(--primary); background: rgba(0,0,0,0.3); color: var(--text-main); font-size: 16px; margin-bottom: 25px; outline: none; transition: 0.3s; box-shadow: inset 0 2px 5px rgba(0,0,0,0.2); backdrop-filter: blur(10px); }
        .search-bar:focus { box-shadow: 0 0 20px rgba(59,130,246,0.4); }
        
        /* Premium Settings UI */
        .premium-setting-row { display: flex; justify-content: space-between; align-items: center; padding: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 20px; margin-bottom: 15px; transition: 0.3s; }
        .premium-setting-row:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); }
        .premium-select { background: rgba(0,0,0,0.6); color: var(--text-main); border: 1px solid var(--glass-border); padding: 10px 15px; border-radius: 12px; outline: none; font-family: 'Poppins', sans-serif; cursor: pointer; font-size: 14px; }
        
        /* Notification System */
        #toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
        .toast { background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--glass-border); padding: 15px 25px; border-radius: 15px; color: white; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: slideInRight 0.3s forwards, fadeOut 0.3s 2.7s forwards; }
        @keyframes slideInRight { from { transform: translateX(100%); opacity:0; } to { transform: translateX(0); opacity:1; } }
        @keyframes fadeOut { from { opacity:1; } to { opacity:0; } }

    