 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 100%);
            color: #fff;
            overflow-x: hidden;
        }

        .app-container {
            display: flex;
            height: 100vh;
        }

        /* Sidebar */
        .sidebar {
            width: 280px;
            background: rgba(18, 18, 18, 0.95);
            backdrop-filter: blur(10px);
            padding: 20px;
            overflow-y: auto;
            border-right: 1px solid rgba(29, 185, 84, 0.2);
        }

        .logo {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 30px;
            background: linear-gradient(135deg, #1db954, #1ed760, #ff006e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
        }

        .menu-section {
            margin-bottom: 25px;
        }

        .menu-title {
            font-size: 12px;
            text-transform: uppercase;
            color: #b3b3b3;
            margin-bottom: 12px;
            letter-spacing: 1px;
        }

        .genre-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .genre-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            padding: 12px 16px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            text-align: left;
        }

        .genre-btn:hover {
            background: rgba(29, 185, 84, 0.2);
            border-color: #1db954;
            box-shadow: 0 0 20px rgba(29, 185, 84, 0.3);
            transform: translateX(5px);
        }

        .genre-btn.active {
            background: linear-gradient(135deg, #1db954, #1ed760);
            border-color: #1db954;
            box-shadow: 0 0 30px rgba(29, 185, 84, 0.5);
            font-weight: bold;
        }

        .favorites-btn {
            background: linear-gradient(135deg, #ff006e, #ff4589);
            border: none;
            color: #fff;
            padding: 14px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 15px;
            font-weight: bold;
            width: 100%;
            margin-top: 20px;
            transition: all 0.3s ease;
        }

        .favorites-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(255, 0, 110, 0.6);
        }

        /* Main Content */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .header {
            background: rgba(18, 18, 18, 0.8);
            backdrop-filter: blur(20px);
            padding: 25px 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .search-filters {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: center;
        }

        .search-input {
            flex: 1;
            min-width: 250px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 25px;
            padding: 12px 20px;
            color: #fff;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #1db954;
            box-shadow: 0 0 20px rgba(29, 185, 84, 0.3);
        }

        .filter-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .filter-label {
            font-size: 13px;
            color: #b3b3b3;
        }

        .filter-select {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 8px 12px;
            color: #fff;
            font-size: 13px;
            cursor: pointer;
        }

        .filter-select:focus {
            outline: none;
            border-color: #1db954;
        }

        .results-info {
            margin-top: 15px;
            font-size: 14px;
            color: #b3b3b3;
        }

        .content-area {
            flex: 1;
            overflow-y: auto;
            padding: 30px;
        }

        .playlist-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }

        .track-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .track-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #1db954, #ff006e, #00d4ff);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .track-card:hover::before {
            transform: scaleX(1);
        }

        .track-card:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(29, 185, 84, 0.5);
            box-shadow: 0 8px 32px rgba(29, 185, 84, 0.3);
            transform: translateY(-5px);
        }

        .track-card.playing {
            border-color: #1db954;
            box-shadow: 0 0 30px rgba(29, 185, 84, 0.5);
        }

        .track-cover {
            width: 100%;
            aspect-ratio: 1;
            border-radius: 8px;
            object-fit: cover;
            margin-bottom: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .track-info {
            position: relative;
        }

        .track-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 5px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .track-artist {
            font-size: 13px;
            color: #b3b3b3;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .track-duration {
            font-size: 12px;
            color: #777;
            margin-top: 5px;
        }

        .favorite-icon {
            position: absolute;
            top: -5px;
            right: 0;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .favorite-icon:hover {
            transform: scale(1.3);
        }

        .favorite-icon.active {
            color: #ff006e;
            animation: heartBeat 0.5s ease;
        }

        @keyframes heartBeat {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.3); }
        }

        /* Player Controls */
        .player-controls {
            background: rgba(18, 18, 18, 0.98);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(29, 185, 84, 0.3);
            padding: 20px 30px;
            box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
        }

        .now-playing {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .now-playing-cover {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            object-fit: cover;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .now-playing-info {
            flex: 1;
        }

        .now-playing-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .now-playing-artist {
            font-size: 14px;
            color: #b3b3b3;
        }

        .controls-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 15px;
        }

        .control-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .control-btn:hover {
            background: rgba(29, 185, 84, 0.3);
            border-color: #1db954;
            box-shadow: 0 0 20px rgba(29, 185, 84, 0.5);
            transform: scale(1.1);
        }

        .control-btn.play-pause {
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, #1db954, #1ed760);
            border-color: #1db954;
            font-size: 22px;
        }

        .control-btn.active {
            background: linear-gradient(135deg, #ff006e, #ff4589);
            border-color: #ff006e;
        }

        .progress-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .time-label {
            font-size: 12px;
            color: #b3b3b3;
            min-width: 45px;
            text-align: center;
        }

        .progress-bar {
            flex: 1;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .progress-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: linear-gradient(90deg, #1db954, #1ed760, #00d4ff);
            width: 0;
            transition: width 0.1s linear;
        }

        .progress-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: linear-gradient(90deg, #1db954, #1ed760);
            width: 0;
            border-radius: 3px;
            box-shadow: 0 0 10px rgba(29, 185, 84, 0.5);
        }

        .volume-control {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 30px;
        }

        .volume-icon {
            font-size: 20px;
            color: #b3b3b3;
        }

        .volume-slider {
            width: 100px;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
        }

        .volume-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            background: linear-gradient(90deg, #1db954, #1ed760);
            width: 70%;
            border-radius: 3px;
        }

        /* Toast Notifications */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .toast {
            background: rgba(18, 18, 18, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid;
            border-radius: 10px;
            padding: 15px 20px;
            min-width: 300px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            animation: slideIn 0.3s ease;
        }

        .toast.success {
            border-color: #1db954;
            box-shadow: 0 8px 32px rgba(29, 185, 84, 0.3);
        }

        .toast.error {
            border-color: #ff006e;
            box-shadow: 0 8px 32px rgba(255, 0, 110, 0.3);
        }

        .toast.info {
            border-color: #00d4ff;
            box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
        }

        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Loading Spinner */
        .loading {
            text-align: center;
            padding: 60px;
            font-size: 18px;
            color: #b3b3b3;
        }

        .spinner {
            display: inline-block;
            width: 50px;
            height: 50px;
            border: 4px solid rgba(29, 185, 84, 0.2);
            border-top-color: #1db954;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-bottom: 20px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 80px 20px;
            color: #b3b3b3;
        }

        .empty-icon {
            font-size: 80px;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .empty-text {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .empty-subtext {
            font-size: 14px;
            color: #777;
        }

        /* Footer */
        .footer {
            text-align: center;
            padding: 20px;
            background: rgba(18, 18, 18, 0.8);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 13px;
            color: #b3b3b3;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                height: auto;
                border-right: none;
                border-bottom: 1px solid rgba(29, 185, 84, 0.2);
            }

            .app-container {
                flex-direction: column;
            }

            .genre-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .playlist-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }

            .search-filters {
                flex-direction: column;
            }

            .search-input {
                width: 100%;
            }

            .volume-control {
                display: none;
            }

            .controls-row {
                gap: 15px;
            }

            .control-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .control-btn.play-pause {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.3);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #1db954, #1ed760);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #1ed760, #1db954);
        }