I need a way to efficiently trigger a CSS animation based on a specific HTTP header in an HTTP response. My backend is in Rust, and I want the animation to play when triggered, rather than simply appearing. The solution would ideally rely on pure CSS and HTML for the animations.