})`;

            // === STANDARD BACKGROUND APPLICATION ===
            if (params.backgroundCSS) {
                pageContainer.style.background = params.backgroundCSS;
            }

            // === VIDEO APPLICATION (if using video) ===
            // Uncomment if your animation uses video:
            /*
            const video = document.querySelector('video');
            if (video && params.backgroundVideoURL) {
                video.src = params.backgroundVideoURL;
            }
            */
