RED: ASPECT RATIO PARSING ===
        // This function is REQUIRED and should be copied exactly from existing animations
        function parseAspectRatio(aspectRatioStr) {
            const parts = aspectRatioStr.split('/');
            if (parts.length !== 2) {
                console.warn(`Invalid aspect ratio format: ${aspectRatioStr}, using default 9/16`);
                return { width: 9, height: 16, decimal: 9 / 16 };
            }

            const width = parseFloat(parts[0]);
            const h