/* 
=================================================================
GRITTY CINEMATIC OVERLAY
Author: Antigravity AI
Description: Static noise and film grain for a gritty aesthetic.
=================================================================
*/

.gritty-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background: url('https://media.giphy.com/media/oEI9uWU7ATWZq/giphy.gif') center/cover;
    mix-blend-mode: overlay;
}

/* Fallback Noise if GIF fails */
.gritty-noise-fallback {
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    animation: grainMove 8s steps(10) infinite;
    pointer-events: none;
    z-index: 9998;
}

@keyframes grainMove {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    50% { transform: translate(-15%, -10%); }
    90% { transform: translate(-10%, 10%); }
}
