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

export default function NotFound() {
  return (
    <div className="flex min-h-screen flex-col items-center justify-center px-4">
      <div className="flex flex-col items-center text-center max-w-md">
        <div className="flex h-16 w-16 items-center justify-center rounded-full bg-muted mb-6">
          <FileQuestion className="h-8 w-8 text-muted-foreground" />
        </div>
        <h2 className="text-xl font-semibold mb-2">页面未找到</h2>
        <p className="text-sm text-muted-foreground mb-6">
          您访问的页面不存在或已被移除，请检查链接是否正确。
        </p>
        <Link href="/store">
          <Button className="gap-2">
            <Home className="h-4 w-4" />
            返回应用中心
          </Button>
        </Link>
      </div>
    </div>
  );
}
