import React from 'react'; import { motion } from 'framer-motion'; const MATH_SYMBOLS = ['∑', '∫', 'π', '∞', '√', 'Δ', 'Ω', 'θ', 'α', 'β', 'μ', 'λ', '±', '≠', '≈', '∇', '∂', '∈', '∉']; export default function BackgroundGraphics() { const [elements, setElements] = React.useState([]); React.useEffect(() => { // Generate random positions only on client side to avoid hydration mismatch const newElements = Array.from({ length: 25 }).map((_, i) => ({ id: i, symbol: MATH_SYMBOLS[Math.floor(Math.random() * MATH_SYMBOLS.length)], left: `${Math.random() * 100}%`, top: `${Math.random() * 100}%`, fontSize: `${Math.random() * 30 + 20}px`, duration: Math.random() * 20 + 20, delay: Math.random() * -20, opacity: Math.random() * 0.05 + 0.03, // Very subtle opacity })); setElements(newElements); }, []); return (