'use client'; import { motion, useReducedMotion } from 'framer-motion'; export default function RaceHistoryMockup() { const shouldReduceMotion = useReducedMotion(); const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: shouldReduceMotion ? 0 : 0.15 } } }; const raceCardVariants = { hidden: { opacity: 0, x: shouldReduceMotion ? 0 : -20 }, visible: { opacity: 1, x: 0 } }; const profileSectionVariants = { hidden: { opacity: 0, x: shouldReduceMotion ? 0 : 20 }, visible: { opacity: 1, x: 0, transition: { delay: shouldReduceMotion ? 0 : 0.2 } } }; const connectionLineVariants = { hidden: { scaleX: 0, opacity: 0 }, visible: { scaleX: 1, opacity: 0.3, transition: { duration: 0.6 } } }; return (