ase 'End':
                    e.preventDefault();
                    if (!keyboardDebounce) {
                        keyboardDebounce = true;
                        goToSlide(totalSlides - 1);
                        setTimeout(() => keyboardDebounce = false, 200);
                    }
                    break;
            }
        });

        // 鼠标滚轮事件（防抖）
        let wheelDebounce = false;
        document.addEventListener('wheel', function(e) {
            if (isTransitioning 