import Link from "next/link";
import Image from "next/image";
import type { Metadata } from "next";

export const metadata: Metadata = {
  title: "Lost on the climb",
  description: "This summit doesn't exist — yet.",
};

export default function NotFound() {
  return (
    <div className="relative min-h-screen flex items-center justify-center px-6 lg:px-10 overflow-hidden isolate">
      <div
        aria-hidden
        className="absolute inset-0 z-0"
        style={{
          background:
            "radial-gradient(ellipse at 50% 60%, rgba(196,184,150,0.08) 0%, rgba(10,10,10,0) 60%)",
        }}
      />

      {/* Glowing orb */}
      <div
        aria-hidden
        className="animate-orb-pulse absolute left-1/2 top-1/2 z-0 w-[500px] h-[500px] sm:w-[700px] sm:h-[700px] rounded-full pointer-events-none"
        style={{
          background:
            "radial-gradient(circle, rgba(196,184,150,0.35) 0%, rgba(196,184,150,0.15) 30%, rgba(196,184,150,0) 70%)",
          filter: "blur(80px)",
        }}
      />

      <div className="relative z-10 max-w-2xl w-full text-center pt-24 pb-12">
        <Image
          src="/image/Studio/Logo Flat.png"
          alt=""
          width={120}
          height={80}
          className="mx-auto mb-10 opacity-40"
        />

        <p className="font-display text-sm tracking-[0.3em] text-accent mb-4">
          404
        </p>
        <h1 className="font-display text-5xl sm:text-6xl lg:text-7xl tracking-wider leading-[0.95] mb-8">
          LOST ON
          <br />
          THE CLIMB.
        </h1>
        <p className="text-lg text-foreground-muted leading-relaxed max-w-xl mx-auto mb-12">
          This summit doesn&apos;t exist yet. The page you&apos;re looking for
          may have drifted off the map.
        </p>

        <div className="flex flex-col sm:flex-row gap-4 justify-center">
          <Link
            href="/"
            className="px-8 py-3 bg-accent text-background font-display tracking-widest text-sm hover:bg-foreground transition-colors"
          >
            BACK TO BASE CAMP
          </Link>
          <Link
            href="/games"
            className="px-8 py-3 border border-border text-foreground font-display tracking-widest text-sm hover:border-accent hover:text-accent transition-colors"
          >
            EXPLORE OUR GAMES
          </Link>
        </div>
      </div>
    </div>
  );
}
