Name === "data-theme") {
                           init();
                        }
                    });
                });

                observer.observe(document.documentElement, { attributes: true });

                init();
                animate();
            }
        });
        // 主题切换逻辑保持不变
        const themeToggleButton = document.getElementById('theme-toggle-button');
        const currentTheme = localStorage.getItem('theme') ? localStorage.getItem('