function() {
                playNextTrack();
            });
            
            // Handle errors - try next track
            audio.addEventListener('error', function() {
                console.log('Error loading track, trying next...');
                playNextTrack();
            });
            
            // Auto-start music (may require user interaction first)
            tryPlayMusic();
        }
        
        function tryPlayMusic() {
            if (!ENABLE_BACKGROUND_MUSIC) return;
    