"use client";

import Link from "next/link";
import { Vault } from "lucide-react";
import { Button } from "@/components/ui/button";
import { useT } from "@/lib/i18n";

export default function NotFound() {
  const t = useT();
  return (
    <div className="flex min-h-screen flex-col items-center justify-center gap-4 p-6 text-center">
      <Vault className="h-10 w-10 text-muted-foreground" aria-hidden />
      <h1 className="text-xl font-semibold">{t("error.notFound.title")}</h1>
      <p className="max-w-md text-sm text-muted-foreground">{t("error.notFound.description")}</p>
      <Button asChild>
        <Link href="/">{t("error.notFound.action")}</Link>
      </Button>
    </div>
  );
}
