'use client'; type CardProps = { id: string; flipped: boolean; onFlip: (id: string) => void; }; export default function Card({ id, flipped, onFlip }: CardProps) { return (