
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Rajdhani', sans-serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #2323b5 50%, #00ccff 100%);
            color: #ffffff;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(45deg, #000000, #292966, #273f80, #234977);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Floating particles */
        .particle {
            position: absolute;
            background: #00d4ff;
            border-radius: 50%;
            pointer-events: none;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
            50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
        }

        /* Header */
        .header {
            text-align: center;
            padding: 3rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
            50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
        }

        .main-title {
            font-family: 'Orbitron', monospace;
            font-size: 4rem;
            font-weight: 900;
            color: #00d4ff;
            text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
            margin-bottom: 1rem;
            position: relative;
            z-index: 2;
            animation: titleGlow 3s ease-in-out infinite alternate;
        }

        @keyframes titleGlow {
            0% { text-shadow: 0 0 30px rgba(0, 212, 255, 0.8); }
            100% { text-shadow: 0 0 50px rgba(0, 212, 255, 1), 0 0 70px rgba(0, 212, 255, 0.8); }
        }

        .subtitle {
            font-size: 1.5rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }

       /* Navigation - Optimalizácia pre mobil */
        .nav-back {
            position: fixed;
            top: 1rem;
            left: 1rem;
            z-index: 1000;
            /* Pridaná responzívnosť pre mobil */
        }

        .nav-btn {
            background: rgba(0, 212, 255, 0.1);
            border: 2px solid #00d4ff;
            color: #00d4ff;
            padding: 0.8rem 1.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            white-space: nowrap;
            /* Zlepšenie pre dotykové zariadenia */
            touch-action: manipulation;
            -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
        }

        .nav-btn:hover {
            background: #00d4ff;
            color: #0a0a0a;
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
        }

        /* Responsive optimalizácia */
        @media (max-width: 768px) {
            .nav-back {
                top: 1rem;
                left: 1rem;
                right: 1rem;
            }
            
            .nav-btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.85rem;
                border-radius: 25px;
                /* Zväčšenie dotykovej oblasti */
                min-height: 44px;
                min-width: 44px;
                justify-content: center;
                /* Lepšie centrovanie textu */
                text-align: center;
                /* Optimalizácia pre malé displeje */
                max-width: fit-content;
            }
            
            .nav-btn:active {
                transform: translateY(-1px);
                background: rgba(0, 212, 255, 0.8);
                color: #0a0a0a;
            }
        }

        @media (max-width: 480px) {
            .nav-back {
                top: 0.8rem;
                left: 0.8rem;
            }
            
            .nav-btn {
                padding: 0.6rem 1rem;
                font-size: 0.8rem;
                gap: 0.3rem;
                border-radius: 20px;
                /* Kompaktnejší vzhľad pre veľmi malé obrazovky */
                min-height: 40px;
            }
            
            /* Skrytie textu a zobrazenie len šípky na veľmi malých obrazovkách */
            .nav-btn {
                position: relative;
                overflow: hidden;
            }
            
            .nav-btn::before {
                content: '←';
                font-size: 1.2rem;
                font-weight: bold;
            }
            
            .nav-btn {
                text-indent: -9999px;
                width: 44px;
                height: 44px;
                padding: 0;
                justify-content: center;
                align-items: center;
            }
            
            .nav-btn::before {
                position: absolute;
                text-indent: 0;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
            }
        }

        /* Alternatívne riešenie pre veľmi malé obrazovky - zachovanie textu */
        @media (max-width: 360px) {
            .nav-btn {
                font-size: 0.75rem;
                padding: 0.5rem 0.8rem;
                text-indent: 0;
                width: auto;
                height: auto;
            }
            
            .nav-btn::before {
                display: none;
            }
        }

        /* Music Player Container */
        .music-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .now-playing {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(0, 212, 255, 0.3);
        border-radius: 25px;
        padding: 2rem;
        margin-bottom: 3rem;
        backdrop-filter: blur(20px);
        text-align: center;
        position: relative;
        overflow: hidden;
}

        

        .album-art {
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, #00d4ff, #0099cc);
            border-radius: 20px;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            position: relative;
            overflow: hidden;
            animation: albumSpin 20s linear infinite paused;
        }

        .album-art.playing {
            animation-play-state: running;
        }

        .album-art::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
        }

        @keyframes albumSpin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .track-info h3 {
            font-size: 1.8rem;
            color: #00d4ff;
            margin-bottom: 0.5rem;
        }

        .track-info p {
            font-size: 1.2rem;
            opacity: 0.8;
            margin-bottom: 1.5rem;
        }

        /* Audio Controls */
        .audio-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .control-btn {
            background: linear-gradient(135deg, #00d4ff, #0099cc);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .control-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
        }

        .play-btn {
            width: 70px;
            height: 70px;
            font-size: 1.5rem;
        }

        /* Progress Bar */
        .progress-container {
            width: 100%;
            max-width: 500px;
            margin: 0 auto 1rem;
            position: relative;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
        }

        .progress {
            height: 100%;
            background: linear-gradient(90deg, #00d4ff, #ffffff);
            border-radius: 4px;
            transition: width 0.1s ease;
            position: relative;
        }

        .progress::after {
            content: '';
            position: absolute;
            right: -5px;
            top: 50%;
            transform: translateY(-50%);
            width: 15px;
            height: 15px;
            background: #00d4ff;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
        }

        .time-display {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            opacity: 0.7;
            margin-top: 0.5rem;
        }

        /* Volume Control */
        .volume-control {
            display: flex;
            align-items: center;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .volume-slider {
            width: 150px;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            outline: none;
            cursor: pointer;
        }

        /* Audio Visualizer */
        .visualizer {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 3px;
            height: 60px;
            margin: 2rem 0;
        }

        .vis-bar {
            width: 4px;
            background: linear-gradient(to top, #00d4ff, #ffffff);
            border-radius: 2px;
            animation: visualize 1.5s ease-in-out infinite;
        }

        .vis-bar:nth-child(odd) { animation-delay: 0.1s; }
        .vis-bar:nth-child(even) { animation-delay: 0.3s; }

        @keyframes visualize {
            0%, 100% { height: 5px; }
            50% { height: 40px; }
        }

        /* Track List */
        .track-list {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(0, 212, 255, 0.2);
            border-radius: 25px;
            padding: 2rem;
            backdrop-filter: blur(20px);
            margin-bottom: 3rem;
        }

        .track-list h2 {
            text-align: center;
            font-family: 'Orbitron', monospace;
            font-size: 2.5rem;
            color: #00d4ff;
            margin-bottom: 2rem;
            position: relative;
        }

        .track-list h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #00d4ff, #ffffff);
            border-radius: 2px;
        }

        .track-item {
            display: flex;
            align-items: center;
            padding: 1.5rem;
            margin-bottom: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid transparent;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .track-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .track-item:hover::before {
            left: 100%;
        }

        .track-item:hover {
            border-color: #00d4ff;
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
        }

        .track-item.active {
            border-color: #00d4ff;
            background: rgba(0, 212, 255, 0.1);
        }

        .track-number {
            font-family: 'Orbitron', monospace;
            font-size: 1.5rem;
            color: #00d4ff;
            margin-right: 1.5rem;
            min-width: 40px;
        }

        .track-details {
            flex: 1;
        }

        .track-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }

        .track-duration {
            font-size: 1rem;
            opacity: 0.7;
        }

        .track-actions {
            display: flex;
            gap: 1rem;
        }

        .action-btn {
            background: rgba(0, 212, 255, 0.2);
            border: 1px solid #00d4ff;
            color: #00d4ff;
            padding: 0.5rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .action-btn:hover {
            background: #00d4ff;
            color: #0a0a0a;
            transform: scale(1.05);
        }

        /* Download Section */
        .download-section {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(0, 212, 255, 0.2);
            border-radius: 25px;
            padding: 2rem;
            backdrop-filter: blur(20px);
            text-align: center;
        }

        .download-section h2 {
            font-family: 'Orbitron', monospace;
            font-size: 2.5rem;
            color: #00d4ff;
            margin-bottom: 1rem;
        }

        .download-section p {
            font-size: 1.2rem;
            opacity: 0.8;
            margin-bottom: 2rem;
        }

        .download-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .download-btn {
            background: linear-gradient(135deg, #00d4ff, #0099cc);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .download-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .main-title {
                font-size: 2.5rem;
            }

            .music-container {
                padding: 0 1rem;
            }

            .album-art {
                width: 150px;
                height: 150px;
                font-size: 3rem;
            }

            .audio-controls {
                gap: 0.5rem;
            }

            .control-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .play-btn {
                width: 60px;
                height: 60px;
                font-size: 1.3rem;
            }

            .track-item {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .track-actions {
                justify-content: center;
            }

            .download-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(0, 212, 255, 0.3);
            border-top: 2px solid #00d4ff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }


        /* Animácia visualizeru počas prehrávania */
.visualizer.playing .vis-bar {
    animation: visualizeActive 0.8s ease-in-out infinite;
}

@keyframes visualizeActive {
    0%, 100% { height: 8px; }
    25% { height: 25px; }
    50% { height: 45px; }
    75% { height: 30px; }
}

/* Animácia pre funkciu animateVisualizer() */
@keyframes animateVisualizer {
    0% { height: 5px; opacity: 0.5; }
    50% { height: 35px; opacity: 1; }
    100% { height: 5px; opacity: 0.5; }
}

/* Rôzne oneskorenia pre visualizer bary */
.vis-bar:nth-child(1) { animation-delay: 0s; }
.vis-bar:nth-child(2) { animation-delay: 0.1s; }
.vis-bar:nth-child(3) { animation-delay: 0.2s; }
.vis-bar:nth-child(4) { animation-delay: 0.05s; }
.vis-bar:nth-child(5) { animation-delay: 0.15s; }
.vis-bar:nth-child(6) { animation-delay: 0.25s; }
.vis-bar:nth-child(7) { animation-delay: 0.08s; }
.vis-bar:nth-child(8) { animation-delay: 0.18s; }
.vis-bar:nth-child(9) { animation-delay: 0.12s; }
.vis-bar:nth-child(10) { animation-delay: 0.22s; }

/* Styling pre checkbox označenie skladieb */
.track-actions .action-btn[onclick*="toggleTrackSelection"] {
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vylepšenie volume slidera */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00d4ff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00d4ff;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Styling pre označené skladby */
.track-item.selected {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #0099cc);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0099cc, #00d4ff);
}