'use client'; import { motion } from 'framer-motion'; export default function CosmicCard({ children, className = '', animate = true, onClick, clickable = false }) { const Component = animate ? motion.div : 'div'; const animationProps = animate && clickable ? { whileHover: { scale: 1.02, y: -4 }, whileTap: { scale: 0.98 }, transition: { duration: 0.2 }, } : {}; return ( {children} ); }