'use client'; import { motion, useReducedMotion } from 'framer-motion'; import { useEffect, useState } from 'react'; interface InkTechFusionProps { className?: string; variant?: 'subtle' | 'prominent' | 'dynamic'; primaryColor?: string; secondaryColor?: string; } interface InkBlob { id: number; x: number; y: number; size: number; opacity: number; duration: number; delay: number; color: string; } export function InkTechFusion({ className = '', variant = 'subtle', primaryColor = '#C41E3A', secondaryColor = '#1C1C1C', }: InkTechFusionProps) { const prefersReducedMotion = useReducedMotion(); const [blobs, setBlobs] = useState([]); useEffect(() => { const count = variant === 'prominent' ? 8 : variant === 'dynamic' ? 12 : 5; const generated: InkBlob[] = Array.from({ length: count }, (_, i) => ({ id: i, x: Math.random() * 100, y: Math.random() * 100, size: Math.random() * 300 + 100, opacity: Math.random() * 0.06 + 0.02, duration: Math.random() * 25 + 20, delay: Math.random() * 5, color: i % 2 === 0 ? primaryColor : secondaryColor, })); setBlobs(generated); }, [variant, primaryColor, secondaryColor]); return (