'use client'; import React from 'react'; interface NeuralGrainOverlayProps { intensity?: number; active?: boolean; className?: string; } /** * NeuralGrainOverlay - Thermally safe static grain texture. * * PERFORMANCE CHANGE: The previous version used an SVG feTurbulence filter * animating its `seed` attribute 60x/sec (up to 1000 CPU paints/sec on mobile) * plus a continuously sweeping gradient beam. * * Now uses a single static CSS noise pattern (zero CPU overhead, zero JS, zero * animation). The grain visual is preserved via a lightweight data-URI PNG tile. */ export function NeuralGrainOverlay({ intensity = 0.22, active = true, className = '', }: NeuralGrainOverlayProps) { if (!active) return null; return (