       
                this.setupEventListeners();
                this.setupUI();
            }
            
            setupEventListeners() {
                this.audio.addEventListener('ended', () => {
                    if (this.isPlaying) {
                        this.playRandomTrack();
                    }
                });
                
                this.audio.addEventListener('play', () => {
                    this.isPlaying = true;
                    this.updateUI();
               