
        /* --- CSS VARIABLES & RESET --- */
        :root {
            --bg-dark: #0f172a;
            --bg-panel: #020617;
            --bg-card: #1e293b;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --accent-pink: #db2777; /* Tetap Pink sebagai sekunder */
            --accent-green: #1de9b6; /* REPLACED VIOLET WITH GREEN CORAL/TEAL */
            --border: #334155;
            --success: #00e676;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            height: 100vh;
            overflow: hidden;
            display: flex;
        }

        /* --- UTILS --- */
        .flex { display: flex; }
        .flex-col { flex-direction: column; }
        .items-center { align-items: center; }
        .justify-between { justify-content: space-between; }
        .justify-center { justify-content: center; }
        .gap-2 { gap: 0.5rem; }
        .gap-4 { gap: 1rem; }
        .hidden { display: none !important; }
        .w-full { width: 100%; }
        .h-full { height: 100%; }
        
        /* --- MAIN PLAYER AREA (LEFT) --- */
        .main-stage {
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: margin-right 0.3s ease;
            background: black;
        }

        /* Header Overlay */
        header {
            position: absolute;
            top: 0; left: 0; right: 0;
            padding: 1.5rem;
            background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
            z-index: 10;
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none;
        }
        
        header * { pointer-events: auto; }

        .brand {
            font-size: 1.5rem;
            font-weight: 800;
            /* Update Gradient Brand */
            background: linear-gradient(to right, #71db27, var(--accent-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-shadow: 0 0 20px rgba(29, 233, 182, 0.3);
        }

        /* Video Container */
        .video-container {
            flex: 1;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            width: 100%;
        }

        .video-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .idle-screen {
            text-align: center;
            padding: 2rem;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards;
        }

        .idle-icon {
            font-size: 5rem;
            color: var(--accent-green); /* Update Icon Color */
            margin-bottom: 1rem;
            filter: drop-shadow(0 0 10px rgba(29, 233, 182, 0.5));
            animation: float 3s ease-in-out infinite;
        }

        /* Control Bar */
        .control-bar {
            height: 90px;
            background: var(--bg-panel);
            border-top: 1px solid var(--border);
            display: flex;
            align-items: center;
            padding: 0 2rem;
            z-index: 20;
            box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
        }

        .btn-control {
            background: var(--bg-card);
            border: none;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.2s;
        }

        .btn-control:hover:not(:disabled) {
            background: var(--accent-green); /* Update Hover Color */
            color: #000; /* Text dark on green */
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(29, 233, 182, 0.5);
        }

        .btn-control:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .btn-play-large {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
            color: white;
            /* Update Play Button Gradient */
            background: linear-gradient(135deg, var(--accent-green), var(--accent-green));
        }

        /* --- SIDEBAR (RIGHT) --- */
        .sidebar {
            width: 400px;
            background: var(--bg-panel);
            border-left: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            position: absolute;
            right: 0; top: 0; bottom: 0;
            z-index: 30;
            transform: translateX(0);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .sidebar.closed { transform: translateX(100%); }

        /* Tabs */
        .tabs { display: flex; border-bottom: 1px solid var(--border); }
        .tab-btn {
            flex: 1;
            padding: 1.2rem;
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-weight: 700;
            font-size: 0.8rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border-bottom: 2px solid transparent;
            transition: 0.2s;
            letter-spacing: 0.5px;
        }
        .tab-btn.active { color: white; background: rgba(255,255,255,0.03); }
        .tab-btn.active.search-tab { border-bottom-color: var(--accent-green); color: var(--accent-green); }
        .tab-btn.active.queue-tab { border-bottom-color: var(--accent-green); color: var(--accent-green); }

        /* Content */
        .sidebar-content { flex: 1; overflow-y: auto; padding: 1.5rem; }
        
        /* Search Area */
        .search-wrapper { position: relative; margin-bottom: 1.5rem; }
        .search-input {
            width: 100%;
            background: var(--bg-dark);
            border: 1px solid var(--border);
            color: white;
            padding: 14px 16px;
            padding-right: 45px;
            border-radius: 12px;
            outline: none;
            font-size: 0.95rem;
            transition: 0.2s;
        }
        .search-input:focus { border-color: var(--accent-green); box-shadow: 0 0 0 2px rgba(29, 233, 182, 0.2); }
        
        .loading-spinner {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: var(--accent-green);
            animation: spin 1s ease-in-out infinite;
            position: absolute;
            right: 16px;
            top: 16px;
        }

        @keyframes spin { to { transform: rotate(360deg); } }

        .result-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px;
            background: var(--bg-card);
            border: 1px solid transparent;
            border-radius: 12px;
            margin-bottom: 8px;
            transition: all 0.2s;
        }
        .result-card:hover { border-color: var(--accent-green); transform: translateY(-2px); }
        
        .thumb {
            width: 64px; height: 48px;
            border-radius: 6px; object-fit: cover;
            background: #000;
        }

        .actions { display: flex; gap: 8px; }
        .btn-action {
            width: 32px; height: 32px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: 0.2s;
        }
        .btn-play { background: var(--accent-green); color: black; } /* Play button green */
        .btn-queue { background: var(--bg-dark); color: var(--text-muted); border: 1px solid var(--border); }
        .btn-queue:hover { color: white; border-color: white; }

        /* Custom URL Box */
        .custom-url-box {
            background: rgba(15, 23, 42, 0.5);
            border: 1px dashed var(--border);
            padding: 1rem;
            border-radius: 12px;
            margin-top: 2rem;
        }
        .url-input {
            width: 100%;
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 0.85rem;
            outline: none;
            margin-bottom: 0.5rem;
        }

        /* Animations */
        @keyframes fadeIn { to { opacity: 1; } }
        @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

        /* Responsive */
        @media (max-width: 768px) {
            .main-stage { margin-right: 0 !important; }
            .sidebar { width: 100%; transform: translateX(100%); }
            .sidebar.open { transform: translateX(0); }
            .toggle-btn { display: block !important; }
            .control-bar { padding: 0 1rem; height: 80px; }
        }
        .toggle-btn { display: none; background: transparent; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
