import Link from "next/link"
import { Button } from "@/components/ui/button"
import { Music2, Home } from "lucide-react"

export default function NotFound() {
  return (
    <div className="flex min-h-screen flex-col items-center justify-center bg-background p-4">
      <div className="w-full max-w-md space-y-6 text-center">
        <div className="flex justify-center">
          <div className="rounded-full bg-primary/10 p-6">
            <Music2 className="h-16 w-16 text-primary" />
          </div>
        </div>

        <div className="space-y-2">
          <h1 className="text-4xl font-bold text-foreground">404</h1>
          <h2 className="text-2xl font-semibold text-foreground">Page introuvable</h2>
          <p className="text-muted-foreground">La page que vous recherchez n'existe pas ou a été déplacée.</p>
        </div>

        <div className="space-y-3">
          <Button asChild className="w-full gap-2">
            <Link href="/home">
              <Home className="h-4 w-4" />
              Retour à l'accueil
            </Link>
          </Button>

          <Button asChild variant="outline" className="w-full bg-transparent">
            <Link href="/search">Rechercher de la musique</Link>
          </Button>
        </div>
      </div>
    </div>
  )
}
