ime === 'undefined') {
            console.warn('anime.js not loaded, details animations will not run.');
            return;
        }
        detailsElements.forEach(details => {
            const summary = details.querySelector('summary');
            const content = details.querySelector('div');
            let isDetailsAnimating = false;
            // Initialize styles for animation
            if (!details.hasAttribute('open')) {
                if (content) {
                    content.style.height