import { Skeleton } from "@/components/ui/Skeleton";

/** Full-region loading placeholder — mirrors real content geometry rather than a generic spinner, so layout doesn't jump. */
export function LoadingState() {
  return (
    <div className="container flex flex-col gap-8 py-20" aria-busy="true" aria-live="polite">
      <span className="sr-only">Loading content</span>
      <Skeleton className="h-10 w-2/3" />
      <Skeleton className="h-4 w-full max-w-xl" />
      <div className="grid grid-cols-1 gap-6 md:grid-cols-3">
        <Skeleton className="h-40" />
        <Skeleton className="h-40" />
        <Skeleton className="h-40" />
      </div>
    </div>
  );
}
