{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "not-found",
  "title": "Not Found",
  "author": "AlgorizeTech",
  "description": "Ask the user to pick one of 6 not found variants: https://avaraui.com/view/not-found. This item holds 6 of them as looks of one component (component-wall, aurora-glass, blueprint, spatial-portal, hyperspace, quantum-hologram). Skip the question if the user already named one. A responsive, full-page 404 Hyperspace website section with ambient radial glow, masked cyber grid backdrop, animated compass indicator, and customizable shortcuts.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "src/components/custom/blocks/NotFoundBlock.tsx",
      "content": "\"use client\";\n\nimport React, { useState } from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport { accentStyle } from \"@/lib/accent\";\nimport {\n  BookOpen,\n  Home,\n  LayoutGrid,\n  Compass,\n  Sparkles,\n  ArrowRight,\n  Activity,\n  Search,\n  Cpu,\n  Radio,\n  Zap,\n} from \"lucide-react\";\n\nexport type NotFoundVariant =\n  | \"hyperspace\"\n  | \"animated-beam-border\"\n  | \"quantum-hologram\"\n  | \"spatial-portal\"\n  | \"kinetic-wireframe\"\n  | \"infinite-horizon\"\n  | \"dimensional-portal\"\n  | \"portal\"\n  | \"aurora-glass\"\n  | \"component-wall\"\n  | \"mosaic-wall\"\n  | \"card-wall\";\n\nexport interface ShortcutItem {\n  label: string;\n  href?: string;\n  onClick?: () => void;\n  icon?: React.ReactNode;\n}\n\nexport interface NotFoundAction {\n  label: string;\n  href?: string;\n  onClick?: () => void;\n  icon?: React.ReactNode;\n}\n\nexport interface NotFoundSectionProps\n  extends React.HTMLAttributes<HTMLElement> {\n  /** Visual variant: classic \"hyperspace\" or vibrant \"animated-beam-border\" */\n  variant?: NotFoundVariant;\n  /** Numerical error code, defaults to \"404\" */\n  code?: string;\n  /** Floating badge text */\n  badge?: string;\n  /** Main heading title */\n  title?: string;\n  /** Explanatory description */\n  description?: string;\n  /** Primary button action */\n  primaryAction?: NotFoundAction;\n  /** Secondary button action */\n  secondaryAction?: NotFoundAction;\n  /** Section heading for shortcut quicklinks */\n  shortcutsTitle?: string;\n  /** List of shortcut links */\n  shortcuts?: ShortcutItem[];\n  /** Toggle visibility of shortcut quicklinks card */\n  showShortcuts?: boolean;\n  /** Optional theme accent color string */\n  color?: string;\n}\n\n/* ========================================================================== */\n/*  VARIANT 1: CLASSIC HYPERSPACE 404 SECTION                                 */\n/* ========================================================================== */\n\nexport function HyperspaceNotFoundSection({\n  code = \"404\",\n  badge = \"Error 404 • Page Not Found\",\n  title = \"Lost in Hyperspace?\",\n  description = \"The page you are looking for doesn't exist, was relocated, or is temporarily unavailable in this documentation.\",\n  primaryAction = {\n    label: \"Explore Documentation\",\n    href: \"#\",\n    icon: <BookOpen className=\"h-4 w-4\" />,\n  },\n  secondaryAction = {\n    label: \"Back to Home\",\n    href: \"/\",\n    icon: <Home className=\"h-4 w-4\" />,\n  },\n  shortcutsTitle = \"Popular Shortcuts\",\n  shortcuts = [\n    {\n      label: \"All Components\",\n      href: \"#\",\n      icon: <LayoutGrid className=\"h-3.5 w-3.5 shrink-0 text-primary\" />,\n    },\n    {\n      label: \"Installation\",\n      href: \"#\",\n      icon: <BookOpen className=\"h-3.5 w-3.5 shrink-0 text-primary\" />,\n    },\n  ],\n  showShortcuts = true,\n  color,\n  className,\n  ...props\n}: NotFoundSectionProps) {\n  const dynamicAccent = accentStyle(color);\n\n  const renderAction = (action?: NotFoundAction, isPrimary = false) => {\n    if (!action) return null;\n\n    const baseClass = isPrimary\n      ? \"inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-full bg-foreground px-7 py-3 text-[14px] font-semibold tracking-[0.3px] text-background transition-all hover:bg-foreground/90 active:scale-[0.98] cursor-pointer\"\n      : \"inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-full bg-foreground/[0.04] px-7 py-3 text-[14px] font-medium text-foreground transition-all hover:bg-foreground/10 active:scale-[0.98] cursor-pointer\";\n\n    const defaultIcon = isPrimary ? (\n      <BookOpen className=\"h-4 w-4\" />\n    ) : (\n      <Home className=\"h-4 w-4\" />\n    );\n    const actionIcon = action.icon !== undefined ? action.icon : defaultIcon;\n\n    if (action.href) {\n      return (\n        <a\n          href={action.href}\n          onClick={(e) => {\n            if (action.onClick) {\n              e.preventDefault();\n              action.onClick();\n            }\n          }}\n          className={baseClass}\n        >\n          {actionIcon}\n          <span>{action.label}</span>\n        </a>\n      );\n    }\n\n    return (\n      <button\n        type=\"button\"\n        onClick={action.onClick}\n        className={baseClass}\n      >\n        {actionIcon}\n        <span>{action.label}</span>\n      </button>\n    );\n  };\n\n  return (\n    <section\n      style={dynamicAccent}\n      className={cn(\n        \"relative flex w-full h-full min-h-full flex-1 min-h-[580px] sm:min-h-[640px] lg:min-h-screen flex-col items-center justify-center overflow-hidden px-4 sm:px-6 py-12 text-center transition-colors duration-300 font-sans\",\n        className\n      )}\n      {...props}\n    >\n      {/* Ambient Radial Background Glows */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute left-1/2 top-1/2 -z-10 h-[500px] w-[500px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary/10 blur-[120px]\"\n      />\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute left-1/3 top-1/3 -z-10 h-[300px] w-[300px] rounded-full bg-primary/5 blur-[100px]\"\n      />\n\n      {/* Grid Pattern Background overlay */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-0 -z-10 bg-[linear-gradient(to_right,color-mix(in_oklab,var(--foreground)_5%,transparent)_1px,transparent_1px),linear-gradient(to_bottom,color-mix(in_oklab,var(--foreground)_5%,transparent)_1px,transparent_1px)] bg-[size:24px_24px] [mask-image:radial-gradient(ellipse_60%_50%_at_50%_50%,#000_70%,transparent_100%)]\"\n      />\n\n      <div className=\"flex w-full max-w-2xl flex-col items-center justify-center\">\n        {/* Status Badge */}\n        {badge && (\n          <div className=\"inline-flex items-center gap-1.5 rounded-full bg-foreground/[0.04] px-3.5 py-1 text-[12px] text-foreground/90 backdrop-blur border border-foreground/[0.06] select-none\">\n            <Compass\n              className=\"h-3.5 w-3.5 animate-spin text-primary\"\n              style={{ animationDuration: \"10s\" }}\n            />\n            <span>{badge}</span>\n          </div>\n        )}\n\n        {/* Big Code Heading */}\n        <h1 className=\"mt-6 select-none font-serif font-normal text-[clamp(88px,20vw,168px)] leading-none tracking-[-0.04em] text-primary\">\n          {code}\n        </h1>\n\n        {/* Title & Description */}\n        <div className=\"mt-6 max-w-lg\">\n          <h2 className=\"font-serif font-normal text-[clamp(26px,3.6vw,46px)] leading-[1.15] tracking-[-0.02em] text-foreground mb-3\">\n            {title}\n          </h2>\n          <p className=\"mx-auto max-w-[490px] text-[14px] sm:text-[15px] leading-[1.65] text-foreground/60\">\n            {description}\n          </p>\n        </div>\n\n        {/* Primary Action Buttons */}\n        {(primaryAction || secondaryAction) && (\n          <div className=\"mt-7 flex w-full flex-col items-center justify-center gap-2.5 sm:flex-row\">\n            {renderAction(primaryAction, true)}\n            {renderAction(secondaryAction, false)}\n          </div>\n        )}\n\n        {/* Quick Links Footer Card */}\n        {showShortcuts && shortcuts && shortcuts.length > 0 && (\n          <div className=\"mt-12 w-full max-w-md border-t border-foreground/[0.06] pt-6\">\n            <p className=\"mb-3 text-[11px] font-semibold uppercase tracking-[0.08em] text-foreground/30 select-none\">\n              {shortcutsTitle}\n            </p>\n            <div className=\"grid grid-cols-2 gap-2\">\n              {shortcuts.map((shortcut, idx) => {\n                const ItemTag = shortcut.href ? \"a\" : \"button\";\n                return (\n                  <ItemTag\n                    key={idx}\n                    href={shortcut.href}\n                    onClick={(e) => {\n                      if (shortcut.onClick) {\n                        e.preventDefault();\n                        shortcut.onClick();\n                      }\n                    }}\n                    className=\"flex items-center gap-2.5 rounded-lg bg-foreground/[0.04] p-2.5 text-left text-[13px] text-foreground/70 transition-all hover:bg-foreground/[0.07] hover:text-foreground cursor-pointer border border-transparent hover:border-foreground/[0.04]\"\n                  >\n                    {shortcut.icon}\n                    <span className=\"truncate font-medium\">{shortcut.label}</span>\n                  </ItemTag>\n                );\n              })}\n            </div>\n          </div>\n        )}\n      </div>\n    </section>\n  );\n}\n\n/* ========================================================================== */\n/*  VARIANT 2: ARCHITECTURAL MODULAR CAD BLUEPRINT 404 SECTION                */\n/* ========================================================================== */\n\nconst ANIMATED_BORDER_KEYFRAMES = `\n@keyframes not-found-float {\n  0%, 100% { transform: translateY(0); }\n  50% { transform: translateY(-4px); }\n}\n@keyframes not-found-ruler-scan {\n  0% { transform: translateX(-100%); }\n  50% { transform: translateX(500%); }\n  100% { transform: translateX(-100%); }\n}\n`;\n\nexport function AnimatedBeamNotFoundSection({\n  code = \"404\",\n  badge = \"CAD SPEC // 0x404 ROUTE EXCEPTION\",\n  title = \"Lost in the Digital Architecture?\",\n  description = \"The requested navigation vector has collapsed or relocated to an unindexed partition. Re-anchor to safety using the architectural directory below.\",\n  primaryAction = {\n    label: \"Explore Documentation\",\n    href: \"#\",\n    icon: <BookOpen className=\"h-4 w-4\" />,\n  },\n  secondaryAction = {\n    label: \"Return to Homepage\",\n    href: \"/\",\n    icon: <Home className=\"h-4 w-4\" />,\n  },\n  shortcutsTitle = \"Tactical Navigation Directory\",\n  shortcuts = [\n    {\n      label: \"All Components\",\n      href: \"#\",\n      icon: <LayoutGrid className=\"h-4 w-4\" />,\n    },\n    {\n      label: \"Installation Guide\",\n      href: \"#\",\n      icon: <BookOpen className=\"h-4 w-4\" />,\n    },\n    {\n      label: \"Templates Library\",\n      href: \"#\",\n      icon: <Sparkles className=\"h-4 w-4\" />,\n    },\n    {\n      label: \"Live Changelog\",\n      href: \"#\",\n      icon: <Activity className=\"h-4 w-4\" />,\n    },\n  ],\n  showShortcuts = true,\n  color,\n  className,\n  ...props\n}: NotFoundSectionProps) {\n  const dynamicAccent = accentStyle(color);\n  const [searchVal, setSearchVal] = useState(\"\");\n  const [searchStatus, setSearchStatus] = useState<string | null>(null);\n\n  const handleSearch = (e: React.FormEvent) => {\n    e.preventDefault();\n    if (!searchVal.trim()) return;\n    setSearchStatus(`Scanning vector \"${searchVal.trim()}\"... 4 verified healthy routes identified.`);\n    setTimeout(() => setSearchStatus(null), 3500);\n  };\n\n  const renderAction = (action?: NotFoundAction, isPrimary = false) => {\n    if (!action) return null;\n\n    const baseClass = isPrimary\n      ? \"group relative inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-[var(--radius-xl,0.875rem)] bg-primary text-primary-foreground font-semibold px-5 sm:px-6 py-2.5 text-xs sm:text-sm hover:opacity-90 hover:scale-[1.02] active:scale-[0.98] transition-all duration-200 cursor-pointer select-none\"\n      : \"relative inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-[var(--radius-xl,0.875rem)] border border-border bg-background hover:bg-muted hover:border-primary/40 hover:scale-[1.02] text-foreground font-medium px-5 sm:px-6 py-2.5 text-xs sm:text-sm active:scale-[0.98] transition-all duration-200 cursor-pointer select-none\";\n\n    const defaultIcon = isPrimary ? (\n      <BookOpen className=\"h-4 w-4\" />\n    ) : (\n      <Home className=\"h-4 w-4\" />\n    );\n    const actionIcon = action.icon !== undefined ? action.icon : defaultIcon;\n\n    if (action.href) {\n      return (\n        <a\n          href={action.href}\n          onClick={(e) => {\n            if (action.onClick) {\n              e.preventDefault();\n              action.onClick();\n            }\n          }}\n          className={baseClass}\n        >\n          {actionIcon}\n          <span>{action.label}</span>\n          {isPrimary && (\n            <ArrowRight className=\"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1.5\" />\n          )}\n        </a>\n      );\n    }\n\n    return (\n      <button type=\"button\" onClick={action.onClick} className={baseClass}>\n        {actionIcon}\n        <span>{action.label}</span>\n        {isPrimary && (\n          <ArrowRight className=\"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1.5\" />\n        )}\n      </button>\n    );\n  };\n\n  return (\n    <section\n      style={dynamicAccent}\n      className={cn(\n        \"relative flex w-full h-full min-h-full flex-1 min-h-[640px] sm:min-h-[720px] lg:min-h-screen flex-col items-center justify-center overflow-hidden px-3 sm:px-6 lg:px-8 py-8 sm:py-14 text-left transition-colors duration-300 font-sans select-none bg-background\",\n        className\n      )}\n      {...props}\n    >\n      <style>{ANIMATED_BORDER_KEYFRAMES}</style>\n\n      {/* Crisp Architectural Background Grid (Zero Blur Blobs) */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-0 -z-10 bg-[linear-gradient(to_right,color-mix(in_oklab,var(--foreground)_5%,transparent)_1px,transparent_1px),linear-gradient(to_bottom,color-mix(in_oklab,var(--foreground)_5%,transparent)_1px,transparent_1px)] bg-[size:32px_32px] [mask-image:radial-gradient(ellipse_80%_70%_at_50%_50%,#000_70%,transparent_100%)]\"\n      />\n\n      {/* Architectural CAD Blueprint Master Container (Zero Shadow) */}\n      <div className=\"relative w-full max-w-5xl rounded-[var(--radius-3xl,1.5rem)] bg-card border border-border overflow-hidden transition-all flex flex-col\">\n        {/* ================================================================== */}\n        {/* TOP SPEC RAIL: Technical Status Header                             */}\n        {/* ================================================================== */}\n        <div className=\"flex flex-wrap items-center justify-between gap-2.5 border-b border-border bg-muted/40 px-4 sm:px-6 py-3 font-mono text-xs\">\n          <div className=\"flex items-center gap-2.5\">\n            <span className=\"relative flex h-2 w-2\">\n              <span className=\"animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75\" />\n              <span className=\"relative inline-flex rounded-full h-2 w-2 bg-primary\" />\n            </span>\n            <span className=\"font-bold text-foreground tracking-wider uppercase transition-colors hover:text-primary cursor-default\">\n              {badge}\n            </span>\n          </div>\n          <div className=\"hidden sm:flex items-center gap-2 text-muted-foreground text-[11px] uppercase tracking-wider\">\n            <span>{\"CAD SPEC // ROUTE_EXCEPTION\"}</span>\n            <span className=\"text-border\">/</span>\n            <span className=\"text-primary font-semibold\">0x404</span>\n          </div>\n          <div className=\"flex items-center gap-3 text-muted-foreground text-[11px]\">\n            <span className=\"hidden md:inline font-mono\">STATUS: 404_NOT_FOUND</span>\n            <span className=\"px-2 py-0.5 rounded-[var(--radius-sm,0.25rem)] border border-primary/30 bg-primary/10 text-primary font-semibold transition-all hover:bg-primary/20 cursor-default\">\n              UNRESOLVED\n            </span>\n          </div>\n        </div>\n\n        {/* ================================================================== */}\n        {/* HERO ROW: Monumental Typographic 404 + Metadata Spec Tiles          */}\n        {/* ================================================================== */}\n        <div className=\"relative w-full py-6 sm:py-8 px-4 sm:px-8 flex flex-col sm:flex-row items-center justify-between gap-6 bg-muted/10 border-b border-border\">\n          <div className=\"flex flex-col items-center sm:items-start text-center sm:text-left\">\n            <span className=\"font-mono text-[10px] text-muted-foreground uppercase tracking-widest mb-1 flex items-center gap-1.5\">\n              <span className=\"text-primary font-bold\">[+]</span>\n              <span>{\"ERROR_IDENTIFIER // VECTOR_NULL\"}</span>\n            </span>\n            <h1 className=\"font-mono font-black text-[clamp(60px,13vw,100px)] leading-none tracking-tight text-foreground select-none animate-[not-found-float_5s_ease-in-out_infinite] transition-transform duration-300 hover:scale-[1.02] cursor-default\">\n              {code}\n            </h1>\n          </div>\n\n          {/* Technical Metadata Spec Box with Hover Scale & Border Glow Transitions */}\n          <div className=\"w-full sm:w-auto grid grid-cols-2 sm:flex sm:flex-row gap-2 sm:gap-3 font-mono text-[11px]\">\n            <div className=\"p-3 rounded-[var(--radius-lg,0.5rem)] border border-border bg-background flex flex-col transition-all duration-200 hover:border-primary/50 hover:bg-muted/40 hover:scale-[1.02] cursor-default group\">\n              <span className=\"text-muted-foreground text-[9px] uppercase group-hover:text-primary transition-colors\">PROTOCOL</span>\n              <span className=\"font-bold text-foreground\">HTTP/3 QUIC</span>\n            </div>\n            <div className=\"p-3 rounded-[var(--radius-lg,0.5rem)] border border-border bg-background flex flex-col transition-all duration-200 hover:border-primary/50 hover:bg-muted/40 hover:scale-[1.02] cursor-default group\">\n              <span className=\"text-muted-foreground text-[9px] uppercase group-hover:text-primary transition-colors\">STATE</span>\n              <span className=\"font-bold text-primary\">NULL_POINTER</span>\n            </div>\n            <div className=\"p-3 rounded-[var(--radius-lg,0.5rem)] border border-border bg-background flex flex-col col-span-2 sm:col-span-1 transition-all duration-200 hover:border-primary/50 hover:bg-muted/40 hover:scale-[1.02] cursor-default group\">\n              <span className=\"text-muted-foreground text-[9px] uppercase group-hover:text-primary transition-colors\">SAFE_NODES</span>\n              <span className=\"font-bold text-foreground flex items-center gap-1.5\">\n                <span className=\"relative flex h-1.5 w-1.5\">\n                  <span className=\"animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-500 opacity-75\" />\n                  <span className=\"relative inline-flex rounded-full h-1.5 w-1.5 bg-emerald-500\" />\n                </span>\n                04 VERIFIED\n              </span>\n            </div>\n          </div>\n        </div>\n\n        {/* ================================================================== */}\n        {/* DRAFTING RULER TICK BAR (Architectural Spec Lines with Scan Beam)   */}\n        {/* ================================================================== */}\n        <div className=\"relative w-full flex items-center justify-between border-b border-border py-2 px-4 sm:px-6 font-mono text-[10px] text-muted-foreground/70 select-none overflow-hidden bg-background\">\n          {/* Animated laser scan beam along the ruler bar */}\n          <div\n            aria-hidden=\"true\"\n            className=\"pointer-events-none absolute inset-y-0 w-28 bg-gradient-to-r from-transparent via-primary/20 to-transparent animate-[not-found-ruler-scan_6s_ease-in-out_infinite]\"\n          />\n          <span className=\"font-bold transition-transform duration-200 hover:scale-125 hover:text-primary cursor-default\">+</span>\n          <div className=\"flex-1 mx-3 flex justify-between items-center opacity-40\">\n            {Array.from({ length: 32 }).map((_, i) => (\n              <span\n                key={i}\n                className={cn(\n                  \"inline-block w-px bg-foreground transition-all duration-200 hover:scale-y-150 hover:bg-primary cursor-pointer\",\n                  i % 4 === 0 ? \"h-3\" : \"h-1.5\"\n                )}\n              />\n            ))}\n          </div>\n          <span className=\"font-bold transition-transform duration-200 hover:scale-125 hover:text-primary cursor-default\">+</span>\n        </div>\n\n        {/* ================================================================== */}\n        {/* MODULAR CONTENT BODY: 2-Column Architectural Layout                 */}\n        {/* ================================================================== */}\n        <div className=\"grid grid-cols-1 md:grid-cols-12 items-stretch\">\n          {/* Left Column: Diagnostics, Description & Action Controls */}\n          <div className=\"md:col-span-6 lg:col-span-7 p-5 sm:p-7 md:p-8 flex flex-col justify-between\">\n            <div className=\"space-y-3\">\n              <div className=\"flex items-center gap-2\">\n                <span className=\"font-mono text-[10.5px] text-primary font-bold uppercase tracking-widest\">\n                  {\"// DIAGNOSTIC SUMMARY\"}\n                </span>\n              </div>\n              <h2 className=\"text-xl sm:text-2xl md:text-3xl font-extrabold tracking-tight text-foreground transition-colors\">\n                {title}\n              </h2>\n              <p className=\"text-xs sm:text-sm text-muted-foreground leading-relaxed max-w-lg\">\n                {description}\n              </p>\n            </div>\n\n            {/* Flat Route Resolver Search Form (Zero Shadow, Smooth Focus) */}\n            <form onSubmit={handleSearch} className=\"mt-5 sm:mt-6 w-full\">\n              <div className=\"relative flex items-center\">\n                <Search className=\"absolute left-3.5 h-4 w-4 text-muted-foreground pointer-events-none\" />\n                <input\n                  type=\"text\"\n                  value={searchVal}\n                  onChange={(e) => setSearchVal(e.target.value)}\n                  placeholder=\"Search route or component directory...\"\n                  className=\"w-full rounded-[var(--radius-xl,0.875rem)] bg-background border border-border pl-10 pr-22 py-2.5 text-xs sm:text-sm text-foreground placeholder:text-muted-foreground/60 focus:outline-none focus:border-primary focus:ring-1 focus:ring-primary transition-all duration-200 font-mono\"\n                />\n                <button\n                  type=\"submit\"\n                  className=\"absolute right-1.5 rounded-[var(--radius-lg,0.5rem)] bg-primary text-primary-foreground font-mono text-xs font-semibold px-3 py-1.5 hover:opacity-90 hover:scale-[1.03] active:scale-[0.97] transition-all duration-200 cursor-pointer\"\n                >\n                  RESOLVE\n                </button>\n              </div>\n              {searchStatus && (\n                <p className=\"mt-2 text-xs font-mono text-primary animate-pulse transition-all\">\n                  {searchStatus}\n                </p>\n              )}\n            </form>\n\n            {/* Primary & Secondary Action Buttons (Zero Shadow with Smooth Micro-Interaction) */}\n            {(primaryAction || secondaryAction) && (\n              <div className=\"mt-6 flex flex-wrap items-center gap-2.5 sm:gap-3 w-full\">\n                {renderAction(primaryAction, true)}\n                {renderAction(secondaryAction, false)}\n              </div>\n            )}\n          </div>\n\n          {/* Right Column: Navigation Directory Tiles */}\n          <div className=\"md:col-span-6 lg:col-span-5 p-5 sm:p-7 md:p-8 border-t md:border-t-0 md:border-l border-border bg-muted/20 flex flex-col justify-between\">\n            <div>\n              <div className=\"flex items-center justify-between pb-3 border-b border-border\">\n                <span className=\"font-mono text-xs font-bold uppercase tracking-wider text-foreground\">\n                  {shortcutsTitle}\n                </span>\n                <span className=\"font-mono text-[10px] text-primary font-bold\">\n                  [SELECT VECTOR]\n                </span>\n              </div>\n\n              {/* 4 Quick-link tiles in responsive grid with Smooth Hover Transitions */}\n              {showShortcuts && shortcuts && shortcuts.length > 0 && (\n                <div className=\"my-4 grid grid-cols-1 sm:grid-cols-2 gap-2 sm:gap-2.5\">\n                  {shortcuts.map((shortcut, idx) => {\n                    const ItemTag = shortcut.href ? \"a\" : \"button\";\n                    return (\n                      <ItemTag\n                        key={idx}\n                        href={shortcut.href}\n                        onClick={(e) => {\n                          if (shortcut.onClick) {\n                            e.preventDefault();\n                            shortcut.onClick();\n                          }\n                        }}\n                        className=\"group relative flex items-center justify-between gap-3 p-3 rounded-[var(--radius-lg,0.5rem)] border border-border bg-background hover:bg-muted/70 hover:border-primary/50 hover:translate-x-0.5 transition-all duration-200 cursor-pointer text-left\"\n                      >\n                        <div className=\"flex items-center gap-2.5 min-w-0\">\n                          {/* Icon container: flat border, fills with solid primary on hover, icon turns pure white */}\n                          <div className=\"flex h-8 w-8 shrink-0 items-center justify-center rounded-[var(--radius-md,0.375rem)] border border-primary/25 bg-primary/10 text-primary group-hover:scale-110 group-hover:bg-primary group-hover:border-primary transition-all duration-200 [&_svg]:transition-colors [&_svg]:group-hover:!text-white dark:[&_svg]:group-hover:!text-white\">\n                            {shortcut.icon}\n                          </div>\n                          <div className=\"min-w-0 flex-1\">\n                            <span className=\"text-xs sm:text-[13px] font-semibold text-foreground group-hover:text-primary transition-colors duration-200 block truncate\">\n                              {shortcut.label}\n                            </span>\n                            <span className=\"text-[9.5px] font-mono text-muted-foreground block truncate\">\n                              VEC_0{idx + 1}\n                            </span>\n                          </div>\n                        </div>\n                        <ArrowRight className=\"h-3.5 w-3.5 text-muted-foreground group-hover:text-primary group-hover:translate-x-1.5 transition-all duration-200 shrink-0\" />\n                      </ItemTag>\n                    );\n                  })}\n                </div>\n              )}\n            </div>\n\n            {/* Bottom Status Spec within Right Column */}\n            <div className=\"pt-3 border-t border-border flex items-center justify-between text-[10.5px] font-mono text-muted-foreground\">\n              <span>DESTINATION_STATUS</span>\n              <span className=\"text-primary font-bold flex items-center gap-1.5\">\n                <span className=\"h-1.5 w-1.5 rounded-full bg-primary animate-pulse\" />\n                READY TO ANCHOR\n              </span>\n            </div>\n          </div>\n        </div>\n\n        {/* ================================================================== */}\n        {/* BOTTOM ARCHITECTURAL SPEC BAR                                      */}\n        {/* ================================================================== */}\n        <div className=\"border-t border-border px-4 sm:px-6 py-2.5 bg-muted/30 flex flex-wrap items-center justify-between gap-2 text-[10.5px] font-mono text-muted-foreground\">\n          <span>{\"CAD DRAFT // 01_ROOT -- RECOVERY DIRECTORY\"}</span>\n          <span className=\"hidden sm:inline\">ALGORIZE UI • SYSTEM SPEC</span>\n          <span>COORD: [404, 0, NULL]</span>\n        </div>\n      </div>\n    </section>\n  );\n}\n\n/* ========================================================================== */\n/*  VARIANT 3: ADVANCED QUANTUM HOLOGRAM & GYROSCOPIC SINGULARITY 404         */\n/* ========================================================================== */\n\nconst QUANTUM_HOLOGRAM_KEYFRAMES = `\n@keyframes quantum-orbit-clockwise {\n  0% { transform: rotate(0deg); }\n  100% { transform: rotate(360deg); }\n}\n@keyframes quantum-orbit-counter {\n  0% { transform: rotate(360deg); }\n  100% { transform: rotate(0deg); }\n}\n@keyframes quantum-hologram-flicker {\n  0%, 100% { transform: translate(0, 0); opacity: 0.9; }\n  25% { transform: translate(-2px, 1px); opacity: 0.7; }\n  50% { transform: translate(2px, -1px); opacity: 0.95; }\n  75% { transform: translate(-1px, -2px); opacity: 0.8; }\n}\n@keyframes quantum-wave-pulse {\n  0%, 100% { transform: scaleY(0.3); opacity: 0.6; }\n  50% { transform: scaleY(1.4); opacity: 1; }\n}\n@keyframes quantum-radar-sweep {\n  0% { transform: rotate(0deg); }\n  100% { transform: rotate(360deg); }\n}\n@keyframes quantum-pulse-glow {\n  0%, 100% { transform: scale(0.95); opacity: 0.35; }\n  50% { transform: scale(1.08); opacity: 0.7; }\n}\n`;\n\nexport function QuantumHologramNotFoundSection({\n  code = \"404\",\n  badge = \"QUANTUM ROUTE ANOMALY // 0x404\",\n  title = \"Lost in the Quantum Singularity?\",\n  description = \"The spacetime coordinates of this page have drifted into an unmapped event horizon. Re-align your navigational trajectory via the recovery vectors below.\",\n  primaryAction = {\n    label: \"Re-anchor to Orbit\",\n    href: \"#\",\n    icon: <Sparkles className=\"h-4 w-4\" />,\n  },\n  secondaryAction = {\n    label: \"Return to Base\",\n    href: \"/\",\n    icon: <Home className=\"h-4 w-4\" />,\n  },\n  shortcutsTitle = \"Quantum Recovery Trajectories\",\n  shortcuts = [\n    {\n      label: \"Component Matrix\",\n      href: \"#\",\n      icon: <LayoutGrid className=\"h-4 w-4\" />,\n    },\n    {\n      label: \"System Quickstart\",\n      href: \"#\",\n      icon: <BookOpen className=\"h-4 w-4\" />,\n    },\n    {\n      label: \"Telemetry Hub\",\n      href: \"#\",\n      icon: <Cpu className=\"h-4 w-4\" />,\n    },\n    {\n      label: \"Live Changelog\",\n      href: \"#\",\n      icon: <Activity className=\"h-4 w-4\" />,\n    },\n  ],\n  showShortcuts = true,\n  color,\n  className,\n  ...props\n}: NotFoundSectionProps) {\n  const dynamicAccent = accentStyle(color);\n  const [searchVal, setSearchVal] = useState(\"\");\n  const [searchStatus, setSearchStatus] = useState<string | null>(null);\n\n  const handleSearch = (e: React.FormEvent) => {\n    e.preventDefault();\n    if (!searchVal.trim()) return;\n    setSearchStatus(`Analyzing coordinates \"${searchVal.trim()}\"... Event horizon bypassed. 4 safe trajectories locked.`);\n    setTimeout(() => setSearchStatus(null), 3500);\n  };\n\n  const renderAction = (action?: NotFoundAction, isPrimary = false) => {\n    if (!action) return null;\n\n    const baseClass = isPrimary\n      ? \"group relative inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-[var(--radius-xl,1rem)] bg-primary text-primary-foreground font-semibold px-6 py-3 text-xs sm:text-sm shadow-lg shadow-primary/25 hover:shadow-primary/40 hover:scale-[1.02] active:scale-[0.98] transition-all cursor-pointer select-none\"\n      : \"relative inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-[var(--radius-xl,1rem)] border border-border/80 bg-background/80 hover:bg-muted text-foreground font-medium px-6 py-3 text-xs sm:text-sm hover:scale-[1.02] active:scale-[0.98] transition-all cursor-pointer backdrop-blur-md select-none\";\n\n    const defaultIcon = isPrimary ? (\n      <Sparkles className=\"h-4 w-4\" />\n    ) : (\n      <Home className=\"h-4 w-4\" />\n    );\n    const actionIcon = action.icon !== undefined ? action.icon : defaultIcon;\n\n    if (action.href) {\n      return (\n        <a\n          href={action.href}\n          onClick={(e) => {\n            if (action.onClick) {\n              e.preventDefault();\n              action.onClick();\n            }\n          }}\n          className={baseClass}\n        >\n          {actionIcon}\n          <span>{action.label}</span>\n          {isPrimary && (\n            <ArrowRight className=\"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1.5\" />\n          )}\n        </a>\n      );\n    }\n\n    return (\n      <button type=\"button\" onClick={action.onClick} className={baseClass}>\n        {actionIcon}\n        <span>{action.label}</span>\n        {isPrimary && (\n          <ArrowRight className=\"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1.5\" />\n        )}\n      </button>\n    );\n  };\n\n  return (\n    <section\n      style={dynamicAccent}\n      className={cn(\n        \"relative flex w-full h-full min-h-full flex-1 min-h-[680px] sm:min-h-[760px] lg:min-h-screen flex-col items-center justify-center overflow-hidden px-3.5 sm:px-6 lg:px-8 py-10 sm:py-16 text-center transition-colors duration-300 font-sans select-none\",\n        className\n      )}\n      {...props}\n    >\n      <style>{QUANTUM_HOLOGRAM_KEYFRAMES}</style>\n\n      {/* Bioluminescent Cosmic Ambient Light Blooms */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute left-1/2 top-1/2 -z-20 h-[500px] sm:h-[620px] w-[500px] sm:w-[620px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary/20 blur-[130px] opacity-75 dark:opacity-50\"\n      />\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute left-1/3 top-1/4 -z-20 h-[320px] w-[320px] rounded-full bg-cyan-500/15 blur-[100px] opacity-50 dark:opacity-35\"\n      />\n\n      {/* Futuristic Cyber-Grid Background Mesh */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-0 -z-10 bg-[radial-gradient(circle,color-mix(in_oklab,var(--foreground)_9%,transparent)_1px,transparent_1px)] bg-[size:28px_28px] [mask-image:radial-gradient(ellipse_75%_65%_at_50%_50%,#000_65%,transparent_100%)]\"\n      />\n\n      <div className=\"relative w-full max-w-4xl mx-auto flex flex-col items-center gap-6 sm:gap-8\">\n        {/* ================================================================== */}\n        {/* TOP QUANTUM HUD TELEMETRY RAIL                                      */}\n        {/* ================================================================== */}\n        <div className=\"relative w-full rounded-[var(--radius-2xl,1.25rem)] bg-card/85 dark:bg-neutral-950/85 backdrop-blur-xl border border-primary/25 px-4 sm:px-6 py-2.5 sm:py-3 flex flex-wrap items-center justify-between gap-3 text-xs font-mono shadow-sm\">\n          {/* Left: Signal beacon with animated frequency waveform */}\n          <div className=\"flex items-center gap-2.5\">\n            <span className=\"relative flex h-2.5 w-2.5 shrink-0\">\n              <span className=\"animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75\" />\n              <span className=\"relative inline-flex rounded-full h-2.5 w-2.5 bg-primary\" />\n            </span>\n            <span className=\"font-bold text-foreground tracking-wider uppercase text-[11px] sm:text-xs truncate\">\n              {badge}\n            </span>\n            <div className=\"hidden min-[480px]:flex items-center gap-1 ml-1 py-0.5 shrink-0\">\n              <span className=\"w-0.5 h-3 bg-primary rounded-full animate-[quantum-wave-pulse_1.2s_ease-in-out_infinite]\" />\n              <span className=\"w-0.5 h-4 bg-primary rounded-full animate-[quantum-wave-pulse_1.2s_ease-in-out_infinite_200ms]\" />\n              <span className=\"w-0.5 h-2 bg-primary/70 rounded-full animate-[quantum-wave-pulse_1.2s_ease-in-out_infinite_400ms]\" />\n              <span className=\"w-0.5 h-3.5 bg-primary rounded-full animate-[quantum-wave-pulse_1.2s_ease-in-out_infinite_600ms]\" />\n            </div>\n          </div>\n\n          {/* Center: System coordinates with live pulsating icon */}\n          <div className=\"hidden md:flex items-center gap-2 text-muted-foreground text-[11px]\">\n            <Radio className=\"h-3.5 w-3.5 text-primary animate-pulse shrink-0\" />\n            <span>SINGULARITY: EVENT_HORIZON_0x404</span>\n          </div>\n\n          {/* Right: Quantum State Status */}\n          <div className=\"flex items-center gap-2 sm:gap-3 text-muted-foreground text-[10.5px] sm:text-[11px] shrink-0\">\n            <span className=\"flex items-center gap-1 text-primary font-semibold\">\n              <Zap className=\"h-3 w-3 shrink-0\" />\n              <span>PARITY: UNBOUND</span>\n            </span>\n            <span className=\"hidden sm:inline-block text-border\">•</span>\n            <span className=\"px-2 py-0.5 rounded-[var(--radius-sm,0.25rem)] border border-primary/30 bg-primary/10 text-primary font-semibold\">\n              HTTP/3\n            </span>\n          </div>\n        </div>\n\n        {/* ================================================================== */}\n        {/* CENTERPIECE: 3D GYROSCOPIC SINGULARITY & CHROMATIC HOLOGRAM 404     */}\n        {/* ================================================================== */}\n        <div className=\"relative w-full flex flex-col items-center justify-center my-2 sm:my-4 select-none\">\n          {/* Gyroscopic 3D Concentric Orbit Rings */}\n          <div className=\"relative flex items-center justify-center w-64 h-64 sm:w-80 sm:h-80 [perspective:1000px]\">\n            {/* Ambient Pulsing Glow Core */}\n            <div\n              aria-hidden=\"true\"\n              className=\"absolute h-48 w-48 sm:h-60 sm:w-60 rounded-full bg-primary/25 blur-[60px] pointer-events-none animate-[quantum-pulse-glow_4s_ease-in-out_infinite]\"\n            />\n\n            {/* Outer Tilted 3D Orbit Ring (Clockwise) with Orbiting Satellite Bead */}\n            <div\n              aria-hidden=\"true\"\n              className=\"absolute w-64 h-64 sm:w-80 sm:h-80 rounded-full border border-dashed border-primary/35 animate-[quantum-orbit-clockwise_18s_linear_infinite] [transform:rotateX(68deg)_rotateY(10deg)] pointer-events-none\"\n            >\n              <span className=\"absolute -top-1 left-1/2 -translate-x-1/2 h-2.5 w-2.5 rounded-full bg-primary shadow-[0_0_12px_var(--primary,#6366f1)]\" />\n              <span className=\"absolute -bottom-1 left-1/2 -translate-x-1/2 h-2 w-2 rounded-full bg-primary/80 shadow-[0_0_10px_var(--primary,#6366f1)]\" />\n            </div>\n\n            {/* Middle Tilted 3D Orbit Ring (Counter-Clockwise) */}\n            <div\n              aria-hidden=\"true\"\n              className=\"absolute w-52 h-52 sm:w-64 sm:h-64 rounded-full border border-primary/30 animate-[quantum-orbit-counter_12s_linear_infinite] [transform:rotateX(68deg)_rotateY(-15deg)] pointer-events-none\"\n            >\n              <span className=\"absolute top-1/2 -left-1 -translate-y-1/2 h-2 w-2 rounded-full bg-primary\" />\n            </div>\n\n            {/* Inner Circular Radar Sweep Scanner */}\n            <div\n              aria-hidden=\"true\"\n              className=\"absolute h-36 w-36 sm:h-44 sm:w-44 rounded-full border border-primary/25 overflow-hidden pointer-events-none\"\n            >\n              <div className=\"absolute inset-0 rounded-full border-t-2 border-primary animate-[quantum-radar-sweep_4s_linear_infinite]\" />\n            </div>\n\n            {/* Center Chromatic Aberration Holographic 404 Display */}\n            <div className=\"relative z-10 flex items-center justify-center\">\n              {/* Cyan/Rose Chromatic Aberration Underlayer with Glitch Flicker */}\n              <span\n                aria-hidden=\"true\"\n                className=\"absolute font-mono font-black text-[clamp(76px,16vw,128px)] leading-none tracking-tight text-rose-500/40 blur-[1px] -translate-x-1 translate-y-0.5 animate-[quantum-hologram-flicker_3s_ease-in-out_infinite] select-none pointer-events-none\"\n              >\n                {code}\n              </span>\n              <span\n                aria-hidden=\"true\"\n                className=\"absolute font-mono font-black text-[clamp(76px,16vw,128px)] leading-none tracking-tight text-cyan-400/40 blur-[1px] translate-x-1 -translate-y-0.5 animate-[quantum-hologram-flicker_3s_ease-in-out_infinite_1.5s] select-none pointer-events-none\"\n              >\n                {code}\n              </span>\n\n              {/* Main Crisp Holographic Headline */}\n              <h1 className=\"relative font-mono font-black text-[clamp(76px,16vw,128px)] leading-none tracking-tight bg-gradient-to-b from-foreground via-foreground/95 to-primary/60 bg-clip-text text-transparent hover:scale-105 transition-transform duration-300 cursor-default\">\n                {code}\n              </h1>\n            </div>\n          </div>\n\n          {/* Title and Human-Friendly Explanatory Description */}\n          <div className=\"mt-4 sm:mt-6 space-y-2.5 max-w-xl text-center px-4\">\n            <h2 className=\"text-xl sm:text-2xl md:text-3xl font-extrabold tracking-tight text-foreground leading-tight\">\n              {title}\n            </h2>\n            <p className=\"text-xs sm:text-sm text-muted-foreground leading-relaxed max-w-md mx-auto\">\n              {description}\n            </p>\n          </div>\n\n          {/* Interactive Quantum Terminal Resolver Search Bar */}\n          <form onSubmit={handleSearch} className=\"mt-6 sm:mt-7 w-full max-w-md px-4\">\n            <div className=\"relative flex items-center\">\n              <span className=\"absolute left-3.5 font-mono text-xs text-primary font-bold pointer-events-none\">\n                &gt;&gt;\n              </span>\n              <input\n                type=\"text\"\n                value={searchVal}\n                onChange={(e) => setSearchVal(e.target.value)}\n                placeholder=\"INPUT_COORDINATE // RESOLVE_ROUTE\"\n                className=\"w-full rounded-[var(--radius-xl,1rem)] bg-card/80 dark:bg-neutral-900/80 border border-primary/30 pl-11 pr-22 py-2.5 sm:py-3 text-xs sm:text-sm text-foreground placeholder:text-muted-foreground/60 focus:outline-none focus:border-primary focus:ring-2 focus:ring-primary/25 backdrop-blur-md transition-all font-mono\"\n              />\n              <button\n                type=\"submit\"\n                className=\"absolute right-1.5 rounded-[var(--radius-lg,0.75rem)] bg-primary text-primary-foreground font-mono text-xs font-semibold px-3.5 py-1.5 hover:opacity-90 active:scale-95 transition-all cursor-pointer shadow-sm shadow-primary/30\"\n              >\n                RESOLVE\n              </button>\n            </div>\n            {searchStatus && (\n              <p className=\"mt-2.5 text-xs font-mono text-primary animate-pulse truncate px-1\">\n                {searchStatus}\n              </p>\n            )}\n          </form>\n\n          {/* Primary & Secondary Call to Action Buttons */}\n          {(primaryAction || secondaryAction) && (\n            <div className=\"mt-6 flex flex-wrap items-center justify-center gap-3 w-full sm:w-auto px-4\">\n              {renderAction(primaryAction, true)}\n              {renderAction(secondaryAction, false)}\n            </div>\n          )}\n        </div>\n\n        {/* ================================================================== */}\n        {/* HOLOGRAPHIC RECOVERY TRAJECTORIES GRID                              */}\n        {/* ================================================================== */}\n        {showShortcuts && shortcuts && shortcuts.length > 0 && (\n          <div className=\"w-full border-t border-border/60 pt-7 sm:pt-8\">\n            <div className=\"flex items-center justify-between mb-3 px-1 font-mono\">\n              <span className=\"text-[11px] uppercase tracking-wider text-muted-foreground font-semibold flex items-center gap-1.5\">\n                <span className=\"text-primary font-bold\">[+]</span> {shortcutsTitle}\n              </span>\n              <span className=\"text-[10px] text-primary font-bold\">\n                SELECT_TRAJECTORY\n              </span>\n            </div>\n\n            <div className=\"grid grid-cols-1 min-[480px]:grid-cols-2 lg:grid-cols-4 gap-2.5 sm:gap-3\">\n              {shortcuts.map((shortcut, idx) => {\n                const ItemTag = shortcut.href ? \"a\" : \"button\";\n                return (\n                  <ItemTag\n                    key={idx}\n                    href={shortcut.href}\n                    onClick={(e) => {\n                      if (shortcut.onClick) {\n                        e.preventDefault();\n                        shortcut.onClick();\n                      }\n                    }}\n                    className=\"group relative flex items-center justify-between gap-3 p-3 sm:p-3.5 rounded-[var(--radius-xl,1rem)] border border-border/80 bg-card/60 hover:bg-card hover:border-primary/60 transition-all duration-200 hover:scale-[1.02] cursor-pointer text-left backdrop-blur-md shadow-xs hover:shadow-primary/10\"\n                  >\n                    <div className=\"flex items-center gap-2.5 min-w-0\">\n                      {/* Icon Container: Turns solid primary with crisp WHITE icon on hover */}\n                      <div className=\"flex h-9 w-9 shrink-0 items-center justify-center rounded-[var(--radius-lg,0.75rem)] bg-primary/10 border border-primary/25 text-primary group-hover:scale-110 group-hover:bg-primary transition-all duration-200 [&_svg]:transition-colors [&_svg]:group-hover:!text-white dark:[&_svg]:group-hover:!text-white\">\n                        {shortcut.icon}\n                      </div>\n                      <div className=\"min-w-0 flex-1\">\n                        <span className=\"text-xs sm:text-[13px] font-semibold text-foreground group-hover:text-primary transition-colors duration-200 block truncate\">\n                          {shortcut.label}\n                        </span>\n                        <span className=\"text-[9.5px] font-mono text-muted-foreground block truncate\">\n                          {`TRAJ_0${idx + 1} // STABLE`}\n                        </span>\n                      </div>\n                    </div>\n                    <ArrowRight className=\"h-3.5 w-3.5 text-muted-foreground group-hover:text-primary group-hover:translate-x-1.5 transition-all duration-200 shrink-0\" />\n                  </ItemTag>\n                );\n              })}\n            </div>\n          </div>\n        )}\n      </div>\n    </section>\n  );\n}\n\n/* ========================================================================== */\n/*  VARIANT 4: KINETIC RADAR MATRIX WITH COLOR-ANIMATED 404                  */\n/* ========================================================================== */\n\nconst WIREFRAME_STYLES = `\n@keyframes perspective-grid-flow {\n  0% {\n    background-position: 0 0;\n  }\n  100% {\n    background-position: 0 60px;\n  }\n}\n@keyframes horizon-glow-pulse {\n  0%, 100% {\n    opacity: 0.35;\n    transform: scaleY(0.85);\n  }\n  50% {\n    opacity: 0.85;\n    transform: scaleY(1.2);\n  }\n}\n@keyframes float-particle-rise-1 {\n  0% {\n    transform: translateY(15px) scale(0.8);\n    opacity: 0;\n  }\n  50% {\n    opacity: 0.85;\n  }\n  100% {\n    transform: translateY(-80px) scale(1.2);\n    opacity: 0;\n  }\n}\n@keyframes float-particle-rise-2 {\n  0% {\n    transform: translateY(30px) scale(0.6);\n    opacity: 0;\n  }\n  50% {\n    opacity: 0.95;\n  }\n  100% {\n    transform: translateY(-90px) scale(1.1);\n    opacity: 0;\n  }\n}\n@keyframes hero-404-color-flow {\n  0% {\n    background-position: 0% 50%;\n  }\n  50% {\n    background-position: 100% 50%;\n  }\n  100% {\n    background-position: 0% 50%;\n  }\n}\n@keyframes hero-404-glow {\n  0%, 100% {\n    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.45));\n  }\n  33% {\n    filter: drop-shadow(0 0 35px rgba(6, 182, 212, 0.5));\n  }\n  66% {\n    filter: drop-shadow(0 0 35px rgba(236, 72, 153, 0.5));\n  }\n}\n`;\n\nexport function KineticWireframeNotFoundSection({\n  code = \"404\",\n  badge,\n  title = \"Page Not Found\",\n  description = \"The page you are looking for doesn't exist, has been relocated, or is temporarily unavailable.\",\n  primaryAction = {\n    label: \"Back to Home\",\n    href: \"/\",\n    icon: <Home className=\"h-4 w-4\" />,\n  },\n  secondaryAction = {\n    label: \"Explore Documentation\",\n    href: \"#\",\n    icon: <BookOpen className=\"h-4 w-4\" />,\n  },\n  color,\n  className,\n  ...props\n}: NotFoundSectionProps) {\n  const dynamicAccent = accentStyle(color);\n\n  const renderAction = (action?: NotFoundAction, isPrimary = false) => {\n    if (!action) return null;\n    const baseClass = isPrimary\n      ? \"inline-flex w-full sm:w-auto items-center justify-center gap-2.5 rounded-full bg-primary text-primary-foreground font-semibold px-8 py-3.5 text-xs sm:text-sm hover:opacity-95 hover:scale-[1.02] active:scale-[0.98] transition-all cursor-pointer shadow-lg shadow-primary/20\"\n      : \"inline-flex w-full sm:w-auto items-center justify-center gap-2.5 rounded-full border border-border bg-card/80 hover:bg-card hover:border-foreground/30 text-foreground font-medium px-8 py-3.5 text-xs sm:text-sm backdrop-blur-md active:scale-[0.98] transition-all cursor-pointer\";\n\n    const content = (\n      <>\n        {action.icon}\n        <span>{action.label}</span>\n      </>\n    );\n\n    if (action.onClick) {\n      return (\n        <button\n          type=\"button\"\n          onClick={action.onClick}\n          className={baseClass}\n        >\n          {content}\n        </button>\n      );\n    }\n\n    return (\n      <a href={action.href ?? \"#\"} className={baseClass}>\n        {content}\n      </a>\n    );\n  };\n\n  return (\n    <section\n      style={dynamicAccent}\n      className={cn(\n        \"relative w-full h-full min-h-full flex-1 min-h-[700px] sm:min-h-[780px] lg:min-h-screen flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8 py-16 sm:py-24 overflow-hidden bg-background text-foreground select-none transition-colors duration-200\",\n        className\n      )}\n      {...props}\n    >\n      <style>{WIREFRAME_STYLES}</style>\n\n      {/* ==================================================================== */}\n      {/* FULL BACKGROUND: 3D PERSPECTIVE RUNWAY & HORIZON LIGHT BEAM          */}\n      {/* ==================================================================== */}\n      <div\n        aria-hidden=\"true\"\n        className=\"absolute inset-0 flex items-center justify-center pointer-events-none overflow-hidden select-none\"\n      >\n        {/* Subtle Cosmic Starfield / Dot Matrix */}\n        <div\n          className=\"absolute inset-0 opacity-[0.12] dark:opacity-[0.20]\"\n          style={{\n            backgroundImage: \"radial-gradient(circle, currentColor 1px, transparent 1px)\",\n            backgroundSize: \"28px 28px\",\n          }}\n        />\n\n        {/* 3D Infinite Perspective Grid Floor */}\n        <div\n          className=\"absolute -bottom-24 left-1/2 -translate-x-1/2 w-[220%] h-[58%] origin-bottom pointer-events-none\"\n          style={{\n            perspective: \"500px\",\n            maskImage:\n              \"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 60%, transparent 100%)\",\n            WebkitMaskImage:\n              \"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 60%, transparent 100%)\",\n          }}\n        >\n          <div\n            className=\"w-full h-full\"\n            style={{\n              transform: \"rotateX(74deg)\",\n              backgroundImage: `\n                linear-gradient(to right, rgba(99, 102, 241, 0.28) 1px, transparent 1px),\n                linear-gradient(to bottom, rgba(99, 102, 241, 0.28) 1px, transparent 1px)\n              `,\n              backgroundSize: \"60px 60px\",\n              animation: \"perspective-grid-flow 3.5s linear infinite\",\n            }}\n          />\n        </div>\n\n        {/* Horizon Light Beam & Aurora Glow */}\n        <div\n          className=\"absolute top-1/2 left-0 right-0 h-[2px] bg-gradient-to-r from-transparent via-primary/80 to-transparent pointer-events-none shadow-[0_0_24px_rgba(99,102,241,0.8)]\"\n          style={{ animation: \"horizon-glow-pulse 5s ease-in-out infinite\" }}\n        />\n        <div\n          className=\"absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 w-[650px] h-32 bg-primary/15 blur-3xl pointer-events-none rounded-full\"\n          style={{ animation: \"horizon-glow-pulse 6s ease-in-out infinite\" }}\n        />\n\n        {/* Rising Ambient Digital Sparks / Particles */}\n        <div\n          className=\"absolute top-[48%] left-[20%] w-2 h-2 rounded-full bg-primary/70 blur-[1px] pointer-events-none\"\n          style={{\n            animation: \"float-particle-rise-1 4s ease-in-out infinite\",\n            animationDelay: \"0s\",\n          }}\n        />\n        <div\n          className=\"absolute top-[52%] left-[32%] w-1.5 h-1.5 rounded-full bg-cyan-400/80 pointer-events-none\"\n          style={{\n            animation: \"float-particle-rise-2 5s ease-in-out infinite\",\n            animationDelay: \"1.2s\",\n          }}\n        />\n        <div\n          className=\"absolute top-[46%] right-[22%] w-2 h-2 rounded-full bg-pink-500/70 blur-[1px] pointer-events-none\"\n          style={{\n            animation: \"float-particle-rise-1 4.5s ease-in-out infinite\",\n            animationDelay: \"2s\",\n          }}\n        />\n        <div\n          className=\"absolute top-[54%] right-[35%] w-1.5 h-1.5 rounded-full bg-primary/80 pointer-events-none\"\n          style={{\n            animation: \"float-particle-rise-2 5.5s ease-in-out infinite\",\n            animationDelay: \"3s\",\n          }}\n        />\n        <div\n          className=\"absolute top-[44%] left-[48%] w-1.5 h-1.5 rounded-full bg-purple-400/80 pointer-events-none\"\n          style={{\n            animation: \"float-particle-rise-1 4.8s ease-in-out infinite\",\n            animationDelay: \"0.8s\",\n          }}\n        />\n      </div>\n\n      {/* ==================================================================== */}\n      {/* FOREGROUND CONTENT: HERO 404 + MIRROR FLOOR REFLECTION               */}\n      {/* ==================================================================== */}\n      <div className=\"relative z-10 w-full max-w-3xl mx-auto flex flex-col items-center text-center my-auto\">\n        {/* Optional Clean Badge (Only if provided) */}\n        {badge && (\n          <div className=\"inline-flex items-center gap-2.5 px-4 py-1.5 rounded-full border border-border/80 bg-card/60 backdrop-blur-xl text-foreground text-xs font-mono tracking-wide mb-3 shadow-sm hover:border-primary/40 transition-colors\">\n            <span className=\"relative flex h-2 w-2\">\n              <span className=\"animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75\" />\n              <span className=\"relative inline-flex rounded-full h-2 w-2 bg-primary\" />\n            </span>\n            <span>{badge}</span>\n          </div>\n        )}\n\n        {/* MASSIVE 404 WITH INVERTED MIRROR REFLECTION */}\n        <div className=\"relative flex flex-col items-center select-none my-1\">\n          {/* Main 404 */}\n          <div\n            className=\"text-[9.5rem] sm:text-[13.5rem] md:text-[16.5rem] lg:text-[19rem] font-black font-mono tracking-tighter leading-none select-none text-transparent bg-clip-text\"\n            style={{\n              backgroundImage:\n                \"linear-gradient(135deg, #38bdf8, #818cf8, #c084fc, #f472b6, #38bdf8)\",\n              backgroundSize: \"300% 300%\",\n              animation:\n                \"hero-404-color-flow 7s ease infinite, hero-404-glow 7s ease infinite\",\n            }}\n          >\n            {code}\n          </div>\n\n          {/* Inverted Mirror Floor Reflection */}\n          <div\n            aria-hidden=\"true\"\n            className=\"text-[9.5rem] sm:text-[13.5rem] md:text-[16.5rem] lg:text-[19rem] font-black font-mono tracking-tighter leading-none select-none text-transparent bg-clip-text opacity-25 pointer-events-none scale-y-[-0.35] -mt-20 sm:-mt-28 md:-mt-32 blur-[2px]\"\n            style={{\n              backgroundImage:\n                \"linear-gradient(135deg, #38bdf8, #818cf8, #c084fc, #f472b6, #38bdf8)\",\n              backgroundSize: \"300% 300%\",\n              animation: \"hero-404-color-flow 7s ease infinite\",\n              maskImage:\n                \"linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 80%)\",\n              WebkitMaskImage:\n                \"linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 80%)\",\n            }}\n          >\n            {code}\n          </div>\n        </div>\n\n        {/* Title & Description */}\n        <h1 className=\"text-2xl sm:text-3xl lg:text-4xl font-bold tracking-tight text-foreground max-w-xl mb-3 mt-4\">\n          {title}\n        </h1>\n        <p className=\"text-sm sm:text-base text-muted-foreground max-w-lg mx-auto mb-8 leading-relaxed\">\n          {description}\n        </p>\n\n        {/* Action Buttons */}\n        <div className=\"flex flex-col sm:flex-row items-center justify-center gap-3.5 w-full sm:w-auto\">\n          {renderAction(primaryAction, true)}\n          {renderAction(secondaryAction, false)}\n        </div>\n      </div>\n    </section>\n  );\n}\n\nexport { KineticWireframeNotFoundSection as SpatialPortalNotFoundSection };\n\n/* ========================================================================== */\n/*  VARIANT 5: AURORA CELESTIAL SINGULARITY & 3D ORBITAL PORTAL 404 SECTION   */\n/* ========================================================================== */\n\nconst AURORA_GLASS_STYLES = `\n@keyframes hero-prismatic-flow {\n  0% {\n    background-position: 0% 50%;\n  }\n  50% {\n    background-position: 100% 50%;\n  }\n  100% {\n    background-position: 0% 50%;\n  }\n}\n@keyframes hero-float-left {\n  0%, 100% {\n    transform: translateY(0px) rotate(0deg);\n  }\n  50% {\n    transform: translateY(-12px) rotate(-1deg);\n  }\n}\n@keyframes hero-float-center {\n  0%, 100% {\n    transform: translateY(0px) scale(1);\n  }\n  50% {\n    transform: translateY(-16px) scale(1.03);\n  }\n}\n@keyframes hero-float-right {\n  0%, 100% {\n    transform: translateY(0px) rotate(0deg);\n  }\n  50% {\n    transform: translateY(-12px) rotate(1deg);\n  }\n}\n@keyframes portal-vortex-spin {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes portal-vortex-spin-reverse {\n  0% {\n    transform: rotate(360deg);\n  }\n  100% {\n    transform: rotate(0deg);\n  }\n}\n@keyframes portal-singularity-pulse {\n  0%, 100% {\n    transform: scale(0.92);\n    opacity: 0.9;\n  }\n  50% {\n    transform: scale(1.15);\n    opacity: 1;\n  }\n}\n@keyframes sonar-wave-pulse {\n  0% {\n    transform: scale(0.35);\n    opacity: 0.8;\n  }\n  100% {\n    transform: scale(2.4);\n    opacity: 0;\n  }\n}\n@keyframes radar-sweep-360 {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes starlight-twinkle {\n  0%, 100% {\n    transform: scale(0.85);\n    opacity: 0.3;\n  }\n  50% {\n    transform: scale(1.4);\n    opacity: 1;\n  }\n}\n`;\n\nexport function AuroraGlassNotFoundSection({\n  code = \"404\",\n  badge,\n  title = \"Lost Beyond the Horizon\",\n  description = \"The coordinate you were navigating to has drifted into uncharted space or never existed. Let's guide you back to safety.\",\n  primaryAction = {\n    label: \"Return to Safety\",\n    href: \"/\",\n    icon: <Home className=\"h-4 w-4\" />,\n  },\n  secondaryAction = {\n    label: \"Explore Documentation\",\n    href: \"#\",\n    icon: <BookOpen className=\"h-4 w-4\" />,\n  },\n  color,\n  className,\n  ...props\n}: NotFoundSectionProps) {\n  const dynamicAccent = accentStyle(color);\n\n  const renderAction = (action?: NotFoundAction, isPrimary = false) => {\n    if (!action) return null;\n    const baseClass = isPrimary\n      ? \"inline-flex w-full sm:w-auto items-center justify-center gap-2.5 rounded-full bg-primary text-primary-foreground font-semibold px-8 py-3.5 text-xs sm:text-sm hover:opacity-95 hover:scale-[1.03] active:scale-[0.98] transition-all cursor-pointer shadow-lg shadow-primary/25 relative overflow-hidden group select-none\"\n      : \"inline-flex w-full sm:w-auto items-center justify-center gap-2.5 rounded-full border border-border/80 bg-card/60 hover:bg-card hover:border-primary/40 text-foreground font-medium px-8 py-3.5 text-xs sm:text-sm backdrop-blur-md active:scale-[0.98] hover:scale-[1.02] transition-all cursor-pointer select-none\";\n\n    const content = (\n      <>\n        {action.icon}\n        <span>{action.label}</span>\n        {isPrimary && (\n          <ArrowRight className=\"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1\" />\n        )}\n      </>\n    );\n\n    if (action.onClick) {\n      return (\n        <button type=\"button\" onClick={action.onClick} className={baseClass}>\n          {content}\n        </button>\n      );\n    }\n\n    return (\n      <a href={action.href ?? \"#\"} className={baseClass}>\n        {content}\n      </a>\n    );\n  };\n\n  const isStandard404 = code === \"404\";\n\n  return (\n    <section\n      style={dynamicAccent}\n      className={cn(\n        \"relative w-full h-full min-h-full flex-1 min-h-screen min-h-[100dvh] flex flex-col items-center justify-center overflow-hidden bg-background text-foreground select-none transition-colors duration-200\",\n        className\n      )}\n      {...props}\n    >\n      <style>{AURORA_GLASS_STYLES}</style>\n\n      {/* ==================================================================== */}\n      {/* BACKGROUND: CYBER RADAR SWEEP, SONAR PULSES, LASER STREAMS & HORIZON */}\n      {/* ==================================================================== */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-0 flex items-center justify-center overflow-hidden select-none\"\n      >\n        {/* Subtle Cosmic Starfield / Dot Matrix */}\n        <div\n          className=\"absolute inset-0 opacity-[0.14] dark:opacity-[0.22]\"\n          style={{\n            backgroundImage:\n              \"radial-gradient(circle, var(--primary,#6366f1) 1px, transparent 1px)\",\n            backgroundSize: \"28px 28px\",\n            maskImage:\n              \"radial-gradient(ellipse 70% 60% at 50% 50%, #000 70%, transparent 100%)\",\n            WebkitMaskImage:\n              \"radial-gradient(ellipse 70% 60% at 50% 50%, #000 70%, transparent 100%)\",\n          }}\n        />\n\n        {/* Concentric Cyber Radar Rings in Background */}\n        <div className=\"absolute h-[320px] w-[320px] sm:h-[520px] sm:w-[520px] rounded-full border border-primary/25 pointer-events-none\" />\n        <div className=\"absolute h-[520px] w-[520px] sm:h-[820px] sm:w-[820px] rounded-full border border-dashed border-primary/20 pointer-events-none\" />\n        <div className=\"absolute h-[740px] w-[740px] sm:h-[1140px] sm:w-[1140px] rounded-full border border-primary/15 pointer-events-none\" />\n\n        {/* Dynamic Rotating 360° Radar Scanner Cone */}\n        <div\n          className=\"absolute h-[520px] w-[520px] sm:h-[820px] sm:w-[820px] rounded-full pointer-events-none animate-[radar-sweep-360_10s_linear_infinite]\"\n          style={{\n            background:\n              \"conic-gradient(from 0deg, transparent 0deg, transparent 280deg, color-mix(in srgb, var(--primary,#6366f1) 12%, transparent) 340deg, color-mix(in srgb, var(--primary,#6366f1) 35%, transparent) 360deg)\",\n            maskImage: \"radial-gradient(circle, black 65%, transparent 72%)\",\n            WebkitMaskImage: \"radial-gradient(circle, black 65%, transparent 72%)\",\n          }}\n        />\n\n        {/* Concentric Expanding Sonar Pulse Waves */}\n        <div\n          className=\"absolute h-[320px] w-[320px] sm:h-[420px] sm:w-[420px] rounded-full border-2 border-primary/35 shadow-[0_0_24px_var(--primary,#6366f1)] pointer-events-none\"\n          style={{ animation: \"sonar-wave-pulse 7s ease-out infinite\" }}\n        />\n        <div\n          className=\"absolute h-[320px] w-[320px] sm:h-[420px] sm:w-[420px] rounded-full border-2 border-primary/25 shadow-[0_0_20px_var(--primary,#6366f1)] pointer-events-none\"\n          style={{\n            animation: \"sonar-wave-pulse 7s ease-out infinite\",\n            animationDelay: \"2.3s\",\n          }}\n        />\n        <div\n          className=\"absolute h-[320px] w-[320px] sm:h-[420px] sm:w-[420px] rounded-full border-2 border-primary/15 shadow-[0_0_16px_var(--primary,#6366f1)] pointer-events-none\"\n          style={{\n            animation: \"sonar-wave-pulse 7s ease-out infinite\",\n            animationDelay: \"4.6s\",\n          }}\n        />\n\n        {/* Twinkling Star Points */}\n        <div\n          className=\"absolute top-[44%] left-[20%] w-2.5 h-2.5 rounded-full bg-primary shadow-[0_0_14px_var(--primary,#6366f1)] pointer-events-none\"\n          style={{ animation: \"starlight-twinkle 3.5s ease-in-out infinite\" }}\n        />\n        <div\n          className=\"absolute top-[52%] left-[32%] w-2 h-2 rounded-full bg-primary/80 shadow-[0_0_10px_var(--primary,#6366f1)] pointer-events-none\"\n          style={{\n            animation: \"starlight-twinkle 4.2s ease-in-out infinite\",\n            animationDelay: \"1s\",\n          }}\n        />\n        <div\n          className=\"absolute top-[42%] right-[22%] w-2.5 h-2.5 rounded-full bg-primary shadow-[0_0_14px_var(--primary,#6366f1)] pointer-events-none\"\n          style={{\n            animation: \"starlight-twinkle 4s ease-in-out infinite\",\n            animationDelay: \"2s\",\n          }}\n        />\n        <div\n          className=\"absolute top-[55%] right-[32%] w-2 h-2 rounded-full bg-primary/70 shadow-[0_0_10px_var(--primary,#6366f1)] pointer-events-none\"\n          style={{\n            animation: \"starlight-twinkle 4.8s ease-in-out infinite\",\n            animationDelay: \"3s\",\n          }}\n        />\n      </div>\n\n      {/* ==================================================================== */}\n      {/* FOREGROUND CONTENT: BALANCED 3-ROW GRID - 404 ALWAYS AT EXACT CENTER */}\n      {/* ==================================================================== */}\n      <div className=\"relative z-10 w-full max-w-4xl mx-auto min-h-screen min-h-[100dvh] grid grid-rows-[1fr_auto_1fr] items-center text-center px-4 sm:px-6 py-6 sm:py-10\">\n        {/* Top Equalizer Row: ensures 404 sits at exactly 50% viewport on all screens */}\n        <div aria-hidden=\"true\" className=\"w-full pointer-events-none\" />\n\n        {/* Middle Row: 404 Hero Representation centered directly on Radar Apex */}\n        <div className=\"relative flex items-center justify-center my-auto select-none w-full\">\n          {isStandard404 ? (\n            <div className=\"flex items-center justify-center gap-1 sm:gap-3\">\n              {/* Digit 4 (Left) */}\n              <span\n                aria-hidden=\"true\"\n                className=\"text-[clamp(5.5rem,15vw,18rem)] font-black font-mono leading-none tracking-tighter text-transparent bg-clip-text select-none animate-[hero-float-left_6s_ease-in-out_infinite]\"\n                style={{\n                  backgroundImage:\n                    \"linear-gradient(135deg, #0ea5e9, var(--primary,#6366f1), #38bdf8, color-mix(in srgb, var(--primary,#6366f1) 60%, #38bdf8 40%), #2563eb, var(--primary,#6366f1), #0ea5e9)\",\n                  backgroundSize: \"300% 300%\",\n                  animation:\n                    \"hero-prismatic-flow 8s ease infinite, hero-float-left 6s ease-in-out infinite\",\n                }}\n              >\n                4\n              </span>\n\n              {/* Center '0' - HYPER-MODERN ANIMATED SINGULARITY PORTAL (ORIGINAL FRAME PRESERVED) */}\n              <div className=\"relative flex items-center justify-center w-[clamp(4.8rem,13vw,14.5rem)] h-[clamp(4.8rem,13vw,14.5rem)] mx-1 sm:mx-2 animate-[hero-float-center_6s_ease-in-out_infinite_0.3s]\">\n                {/* Layer 2: Outer Precision Dash/Tick Chrono Ring (Clockwise) with Glowing Blue & Theme Satellites */}\n                <div\n                  aria-hidden=\"true\"\n                  className=\"pointer-events-none absolute inset-0 rounded-full border-2 border-dashed border-primary/50 animate-[portal-vortex-spin_16s_linear_infinite]\"\n                >\n                  <span className=\"absolute -top-1.5 left-1/2 -translate-x-1/2 h-3 w-3 rounded-full bg-sky-400 shadow-[0_0_16px_#38bdf8,0_0_30px_#0ea5e9]\" />\n                  <span className=\"absolute -bottom-1 left-1/2 -translate-x-1/2 h-2 w-2 rounded-full bg-primary/80 shadow-[0_0_10px_var(--primary,#6366f1)]\" />\n                </div>\n\n                {/* Layer 3: Middle 3D Tilted Orbit Ring (Counter-Clockwise) with Satellite */}\n                <div\n                  aria-hidden=\"true\"\n                  className=\"pointer-events-none absolute inset-2.5 sm:inset-3.5 rounded-full border border-sky-400/35 dark:border-primary/35 animate-[portal-vortex-spin-reverse_10s_linear_infinite] [transform:rotateX(62deg)_rotateY(-15deg)]\"\n                >\n                  <span className=\"absolute top-1/2 -left-1.5 -translate-y-1/2 h-2.5 w-2.5 rounded-full bg-cyan-300 shadow-[0_0_14px_#38bdf8,0_0_24px_var(--primary,#6366f1)]\" />\n                </div>\n\n                {/* Layer 4: Swirling Liquid Plasma Conic Torus Ring */}\n                <div\n                  aria-hidden=\"true\"\n                  className=\"pointer-events-none absolute inset-3 sm:inset-4 rounded-full overflow-hidden\"\n                >\n                  <div\n                    className=\"w-full h-full rounded-full animate-[portal-vortex-spin_5s_linear_infinite]\"\n                    style={{\n                      background:\n                        \"conic-gradient(from 0deg, #0ea5e9, var(--primary,#6366f1), #38bdf8, color-mix(in srgb, var(--primary,#6366f1) 50%, #38bdf8 50%), #2563eb, var(--primary,#6366f1), #0ea5e9)\",\n                      maskImage:\n                        \"radial-gradient(circle, transparent 52%, black 54%, black 76%, transparent 78%)\",\n                      WebkitMaskImage:\n                        \"radial-gradient(circle, transparent 52%, black 54%, black 76%, transparent 78%)\",\n                    }}\n                  />\n                </div>\n\n                {/* Layer 5: Star Icon Center Core - Light Mode: White, Dark Mode: Black */}\n                <div className=\"relative z-10 flex items-center justify-center w-[58%] h-[58%] rounded-full bg-white dark:bg-black backdrop-blur-xl border border-sky-400/30 dark:border-primary/30 shadow-[inset_0_0_18px_rgba(0,0,0,0.08)] dark:shadow-[inset_0_0_20px_rgba(0,0,0,0.9)]\">\n                  {/* Pulsing Singularity Star Flare */}\n                  <div className=\"relative flex items-center justify-center animate-[portal-singularity-pulse_3.5s_ease-in-out_infinite]\">\n                    {/* 4-Point Radiant Sparkle / Star Flare */}\n                    <svg\n                      viewBox=\"0 0 24 24\"\n                      fill=\"currentColor\"\n                      className=\"w-8 h-8 sm:w-11 sm:h-11 md:w-14 md:h-14 text-primary animate-[portal-vortex-spin_24s_linear_infinite]\"\n                      style={{ filter: \"drop-shadow(0 0 16px #0ea5e9)\" }}\n                    >\n                      <path d=\"M12 0C12 6.627 6.627 12 0 12C6.627 12 12 17.373 12 24C12 17.373 17.373 12 24 12C17.373 12 12 6.627 12 0Z\" />\n                    </svg>\n                    {/* High-Intensity Inner Core Dot */}\n                    <span className=\"absolute h-2 w-2 sm:h-2.5 sm:w-2.5 rounded-full bg-white shadow-[0_0_12px_#ffffff,0_0_24px_#38bdf8,0_0_40px_var(--primary,#6366f1)]\" />\n                  </div>\n                </div>\n              </div>\n\n              {/* Digit 4 (Right) */}\n              <span\n                aria-hidden=\"true\"\n                className=\"text-[clamp(5.5rem,15vw,18rem)] font-black font-mono leading-none tracking-tighter text-transparent bg-clip-text select-none animate-[hero-float-right_6s_ease-in-out_infinite_0.6s]\"\n                style={{\n                  backgroundImage:\n                    \"linear-gradient(135deg, #0ea5e9, var(--primary,#6366f1), #38bdf8, color-mix(in srgb, var(--primary,#6366f1) 60%, #38bdf8 40%), #2563eb, var(--primary,#6366f1), #0ea5e9)\",\n                  backgroundSize: \"300% 300%\",\n                  animation:\n                    \"hero-prismatic-flow 8s ease infinite, hero-float-right 6s ease-in-out infinite 0.6s\",\n                }}\n              >\n                4\n              </span>\n            </div>\n          ) : (\n            <div\n              className=\"text-[clamp(6.5rem,18vw,20rem)] font-black font-mono tracking-tighter leading-none select-none text-transparent bg-clip-text animate-[hero-float-center_6s_ease-in-out_infinite]\"\n              style={{\n                backgroundImage:\n                  \"linear-gradient(135deg, #0ea5e9, var(--primary,#6366f1), #38bdf8, color-mix(in srgb, var(--primary,#6366f1) 60%, #38bdf8 40%), #2563eb, var(--primary,#6366f1), #0ea5e9)\",\n                backgroundSize: \"300% 300%\",\n                animation: \"hero-prismatic-flow 8s ease infinite\",\n              }}\n            >\n              {code}\n            </div>\n          )}\n        </div>\n\n        {/* Bottom Row: Title, Description, and Action Buttons */}\n        <div className=\"flex flex-col items-center justify-start text-center w-full max-w-xl mx-auto self-start pt-2 sm:pt-4\">\n          <h1 className=\"text-xl sm:text-3xl lg:text-4xl font-bold tracking-tight text-foreground max-w-xl mb-2 sm:mb-3\">\n            {title}\n          </h1>\n          <p className=\"text-xs sm:text-sm lg:text-base text-muted-foreground max-w-md sm:max-w-lg mx-auto mb-6 sm:mb-8 leading-relaxed\">\n            {description}\n          </p>\n\n          <div className=\"flex flex-col sm:flex-row items-center justify-center gap-2.5 sm:gap-3.5 w-full sm:w-auto\">\n            {renderAction(primaryAction, true)}\n            {renderAction(secondaryAction, false)}\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n\n/* ========================================================================== */\n/*  VARIANT 6: COMPONENT WALL MOSAIC 404 SECTION                              */\n/* ========================================================================== */\n\nconst COMPONENT_WALL_IMAGES = {\n  bento:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/bento-showcase-1790516064489.jpg\",\n  appointment:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/book-appointment-1790516064490.jpg\",\n  calendar:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/calendar-1790516064491.jpg\",\n  chart:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516056/chart-1790516064492.jpg\",\n  collage:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/collage-hero-1790516064493.jpg\",\n  dataFlow:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516056/data-flow-1790516064493.jpg\",\n  dataGrid:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516056/data-grid-1790516064494.jpg\",\n  fashion:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516058/fashion-hero-1790516064495.jpg\",\n  footer:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/footer-1790516064495.jpg\",\n  hero:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/hero-1790516064495.jpg\",\n  heroCarousel:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516059/hero-carousel-1790516064496.jpg\",\n  honeycomb:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516059/honeycomb-hero-1790516064497.jpg\",\n  invoice:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516059/invoice-1790516064498.jpg\",\n  login:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516058/login-form-1790516064498.jpg\",\n  navbar:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/navbar-1790516064499.jpg\",\n  newsletter:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516058/newsletter-1790516064499.jpg\",\n  gallery:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516058/orbit-gallery-1790516064499.jpg\",\n  platform:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516057/platform-grid-1790516064500.jpg\",\n  pricing:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516058/pricing-1790516064500.jpg\",\n  product:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516058/product-details-1790516064500.jpg\",\n  profile:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516058/profile-page-1790516064501.jpg\",\n  reviews:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516059/reviews-1790516064502.jpg\",\n  support:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516059/support-hero-1790516064502.jpg\",\n  waitlist:\n    \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto,w_500,c_limit/v1790516059/waitlist-1790516064503.jpg\",\n};\n\ninterface MosaicCard {\n  x: number;\n  y: number;\n  w: number;\n  h: number;\n  title: string;\n  image?: string;\n  content?: React.ReactNode;\n  bgClass?: string;\n}\n\nconst CENTER_ZERO_CARDS: MosaicCard[] = [\n  // --- TOP APEX CARD (Centered at 50%: x: 38%, y: 0%, w: 24%, h: 11%) ---\n  { x: 38, y: 0, w: 24, h: 11, title: \"Hero Showcase\", image: COMPONENT_WALL_IMAGES.hero },\n\n  // --- UPPER-RIGHT ARCH (Smoothly curving down and outward) ---\n  { x: 63, y: 5.5, w: 24, h: 11, title: \"Profile Page\", image: COMPONENT_WALL_IMAGES.profile },\n  { x: 73, y: 18, w: 24, h: 11, title: \"Reviews Component\", image: COMPONENT_WALL_IMAGES.reviews },\n\n  // --- RIGHT VERTICAL FLANK (Rows at y = 30.5%, 43.5%, 56.5% - uniform 2% gap, h: 11%) ---\n  { x: 76, y: 30.5, w: 24, h: 11, title: \"Bento Showcase\", image: COMPONENT_WALL_IMAGES.bento },\n  { x: 76, y: 43.5, w: 24, h: 11, title: \"Chart Analytics\", image: COMPONENT_WALL_IMAGES.chart },\n  { x: 76, y: 56.5, w: 24, h: 11, title: \"Calendar Scheduler\", image: COMPONENT_WALL_IMAGES.calendar },\n\n  // --- LOWER-RIGHT ARCH (Smoothly curving down and inward towards bottom apex) ---\n  { x: 73, y: 69.5, w: 24, h: 11, title: \"Pricing Grid\", image: COMPONENT_WALL_IMAGES.pricing },\n  { x: 63, y: 82, w: 24, h: 11, title: \"Orbit Gallery\", image: COMPONENT_WALL_IMAGES.gallery },\n\n  // --- BOTTOM APEX CARD (Centered at 50%: x: 38%, y: 87.5%, w: 24%, h: 11% - mirrors top apex) ---\n  { x: 38, y: 87.5, w: 24, h: 11, title: \"Invoice Billing\", image: COMPONENT_WALL_IMAGES.invoice },\n\n  // --- LOWER-LEFT ARCH (Smoothly curving up and outward from bottom apex) ---\n  { x: 13, y: 82, w: 24, h: 11, title: \"Hero Carousel\", image: COMPONENT_WALL_IMAGES.heroCarousel },\n  { x: 3, y: 69.5, w: 24, h: 11, title: \"Newsletter App\", image: COMPONENT_WALL_IMAGES.newsletter },\n\n  // --- LEFT VERTICAL FLANK (Rows at y = 56.5%, 43.5%, 30.5% - uniform 2% gap, mirrors right flank) ---\n  { x: 0, y: 56.5, w: 24, h: 11, title: \"Navbar Showcase\", image: COMPONENT_WALL_IMAGES.navbar },\n  { x: 0, y: 43.5, w: 24, h: 11, title: \"Fashion Hero\", image: COMPONENT_WALL_IMAGES.fashion },\n  { x: 0, y: 30.5, w: 24, h: 11, title: \"Support Hero\", image: COMPONENT_WALL_IMAGES.support },\n\n  // --- UPPER-LEFT ARCH (Smoothly curving up and inward towards top apex) ---\n  { x: 3, y: 18, w: 24, h: 11, title: \"Collage Hero\", image: COMPONENT_WALL_IMAGES.collage },\n  { x: 13, y: 5.5, w: 24, h: 11, title: \"Product Details\", image: COMPONENT_WALL_IMAGES.product },\n];\n\nconst FOUR_CARDS: MosaicCard[] = [\n  // --- VERTICAL STEM COLUMN (all w: 24%, h: 11% - identical size as '0') ---\n  { x: 50.5, y: 0, w: 24, h: 11, title: \"Mobile Wireframe\", image: COMPONENT_WALL_IMAGES.waitlist },\n  { x: 50.5, y: 12.5, w: 24, h: 11, title: \"Book Appointment\", image: COMPONENT_WALL_IMAGES.appointment },\n  { x: 50.5, y: 25, w: 24, h: 11, title: \"Data Flow Architecture\", image: COMPONENT_WALL_IMAGES.dataFlow },\n  { x: 50.5, y: 37.5, w: 24, h: 11, title: \"Calendar Scheduler\", image: COMPONENT_WALL_IMAGES.calendar },\n  { x: 50.5, y: 50, w: 24, h: 11, title: \"Platform Grid\", image: COMPONENT_WALL_IMAGES.platform },\n  // Intersection Card (Data Grid) - aligned with stem and crossbar\n  { x: 50.5, y: 62.5, w: 24, h: 11, title: \"Data Grid Table\", image: COMPONENT_WALL_IMAGES.dataGrid },\n  { x: 50.5, y: 75, w: 24, h: 11, title: \"Honeycomb Hero\", image: COMPONENT_WALL_IMAGES.honeycomb },\n  { x: 50.5, y: 87.5, w: 24, h: 11, title: \"Bento Showcase\", image: COMPONENT_WALL_IMAGES.bento },\n\n  // --- HORIZONTAL CROSSBAR ROW (all y: 62.5%, w: 24%, h: 11% - spans from x: 0% to exactly 100%) ---\n  { x: 0, y: 62.5, w: 24, h: 11, title: \"Login Form\", image: COMPONENT_WALL_IMAGES.login },\n  { x: 25.25, y: 62.5, w: 24, h: 11, title: \"Chart Analytics\", image: COMPONENT_WALL_IMAGES.chart },\n  // Right-side tail card (Hero Carousel) - ends precisely at 100% (76% + 24% = 100%)\n  { x: 76, y: 62.5, w: 24, h: 11, title: \"Hero Carousel\", image: COMPONENT_WALL_IMAGES.heroCarousel },\n\n  // --- DIAGONAL ARM (all w: 24%, h: 11% - perfectly spaced without overlap, 1.5% gap to stem at top-left) ---\n  { x: 25.0, y: 12.5, w: 24, h: 11, title: \"Invoice Summary\", image: COMPONENT_WALL_IMAGES.invoice },\n  { x: 16.7, y: 25, w: 24, h: 11, title: \"Profile Page\", image: COMPONENT_WALL_IMAGES.profile },\n  { x: 8.3, y: 37.5, w: 24, h: 11, title: \"Product Details\", image: COMPONENT_WALL_IMAGES.product },\n  { x: 0, y: 50, w: 24, h: 11, title: \"Orbit Gallery\", image: COMPONENT_WALL_IMAGES.gallery },\n];\n\nconst BUBBLE_DOTS = [\n  { left: 5, size: 5, dur: 7, delay: 0 },\n  { left: 13, size: 7, dur: 9, delay: 2.5 },\n  { left: 21, size: 4, dur: 6.5, delay: 1.2 },\n  { left: 30, size: 8, dur: 10, delay: 4.1 },\n  { left: 39, size: 5, dur: 7.5, delay: 0.8 },\n  { left: 48, size: 6, dur: 8.5, delay: 3.2 },\n  { left: 57, size: 8, dur: 11, delay: 1.9 },\n  { left: 66, size: 4, dur: 6, delay: 4.8 },\n  { left: 74, size: 7, dur: 8, delay: 0.5 },\n  { left: 82, size: 5, dur: 9.5, delay: 2.1 },\n  { left: 90, size: 8, dur: 10.5, delay: 3.7 },\n  { left: 96, size: 4, dur: 7, delay: 5.3 },\n];\n\nexport function ComponentWallNotFoundSection({\n  color,\n  className,\n  ...props\n}: NotFoundSectionProps) {\n  const dynamicAccent = accentStyle(color);\n\n  const renderCard = (card: MosaicCard, idx: number) => {\n    return (\n      <div\n        key={idx}\n        style={{\n          position: \"absolute\",\n          left: `${card.x}%`,\n          top: `${card.y}%`,\n          width: `${card.w}%`,\n          height: `${card.h}%`,\n        }}\n        className={cn(\n          \"rounded-lg sm:rounded-xl md:rounded-2xl overflow-hidden shadow-sm border border-border/40 select-none bg-muted/30\",\n          card.bgClass\n        )}\n        title={card.title}\n      >\n        {card.image ? (\n          <img\n            src={card.image}\n            alt={card.title}\n            className=\"w-full h-full object-cover pointer-events-none\"\n            loading=\"lazy\"\n          />\n        ) : (\n          card.content\n        )}\n      </div>\n    );\n  };\n\n  return (\n    <section\n      style={dynamicAccent}\n      className={cn(\n        \"relative w-full h-full min-h-full flex-1 self-stretch min-h-[660px] sm:min-h-[720px] lg:min-h-screen min-h-[100dvh] flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8 py-8 sm:py-12 overflow-hidden bg-background text-foreground select-none transition-colors duration-200\",\n        className\n      )}\n      {...props}\n    >\n      {/* Dynamic Keyframes for Bidirectional Scanner & Rising Bubble Dots */}\n      <style>{`\n        @keyframes component-wall-scan-bidirectional {\n          0% {\n            top: -6%;\n            opacity: 0.15;\n          }\n          6% {\n            opacity: 1;\n          }\n          46% {\n            opacity: 1;\n          }\n          50% {\n            top: 106%;\n            opacity: 0.15;\n          }\n          56% {\n            opacity: 1;\n          }\n          96% {\n            opacity: 1;\n          }\n          100% {\n            top: -6%;\n            opacity: 0.15;\n          }\n        }\n        @keyframes component-wall-bubble-rise {\n          0% {\n            bottom: -6%;\n            opacity: 0;\n            transform: scale(0.4) translateX(0);\n          }\n          15% {\n            opacity: 0.85;\n          }\n          50% {\n            transform: scale(1.05) translateX(14px);\n          }\n          85% {\n            opacity: 0.85;\n          }\n          100% {\n            bottom: 106%;\n            opacity: 0;\n            transform: scale(1.3) translateX(-10px);\n          }\n        }\n        @keyframes component-wall-ambient-pulse {\n          0%, 100% {\n            opacity: 0.25;\n            transform: scale(0.96) translate(-50%, 0);\n          }\n          50% {\n            opacity: 0.55;\n            transform: scale(1.06) translate(-50%, 0);\n          }\n        }\n      `}</style>\n\n      {/* Background Subtle Dot Matrix Grid */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-0 opacity-[0.08] dark:opacity-[0.16]\"\n        style={{\n          backgroundImage:\n            \"radial-gradient(circle, var(--primary,#6366f1) 1.2px, transparent 1.2px)\",\n          backgroundSize: \"28px 28px\",\n          maskImage:\n            \"radial-gradient(ellipse 70% 60% at 50% 50%, #000 70%, transparent 100%)\",\n          WebkitMaskImage:\n            \"radial-gradient(ellipse 70% 60% at 50% 50%, #000 70%, transparent 100%)\",\n        }}\n      />\n\n      {/* Floating Glowing Bubble Dots (rising up continuously from bottom) */}\n      <div aria-hidden=\"true\" className=\"pointer-events-none absolute inset-0 overflow-hidden\">\n        {BUBBLE_DOTS.map((dot, i) => (\n          <div\n            key={i}\n            className=\"absolute rounded-full bg-primary/50 shadow-[0_0_10px_var(--primary)] backdrop-blur-[0.5px]\"\n            style={{\n              left: `${dot.left}%`,\n              width: `${dot.size}px`,\n              height: `${dot.size}px`,\n              animation: `component-wall-bubble-rise ${dot.dur}s ease-in-out infinite`,\n              animationDelay: `${dot.delay}s`,\n            }}\n          />\n        ))}\n      </div>\n\n      {/* ================================================================== */}\n      {/* HIGH-TECH DUAL-BEAM HOLOGRAPHIC SCANNER GATE (Bidirectional Sweep)  */}\n      {/* ================================================================== */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute inset-x-0 -translate-y-1/2 z-20\"\n        style={{\n          animation: \"component-wall-scan-bidirectional 6s cubic-bezier(0.4, 0, 0.2, 1) infinite\",\n        }}\n      >\n        {/* Soft volumetric light aura trailing behind the scanner */}\n        <div className=\"absolute -top-10 left-0 right-0 h-28 bg-gradient-to-b from-transparent via-primary/18 to-transparent blur-xl pointer-events-none\" />\n\n        {/* Leading Razor-Sharp Laser Beam (Top Edge) */}\n        <div\n          className=\"w-full h-[1.5px] bg-gradient-to-r from-transparent via-primary to-transparent opacity-90\"\n          style={{\n            boxShadow: \"0 0 16px 2px var(--primary)\",\n          }}\n        />\n\n        {/* Translucent Luminous Scanning Field with Cyber HUD Readouts */}\n        <div className=\"relative w-full h-8 sm:h-9 bg-gradient-to-b from-primary/15 via-primary/5 to-primary/15 backdrop-blur-[1px] flex items-center justify-between px-3 sm:px-8 overflow-hidden\">\n          {/* Micro-scanline texture inside the field */}\n          <div\n            className=\"absolute inset-0 opacity-25\"\n            style={{\n              backgroundImage:\n                \"repeating-linear-gradient(to bottom, transparent, transparent 3px, var(--primary) 3px, var(--primary) 4px)\",\n            }}\n          />\n\n          {/* Left HUD Telemetry Tag */}\n          <div className=\"relative z-10 flex items-center gap-2 font-mono text-[9px] sm:text-[10px] tracking-wider text-primary font-bold select-none bg-background/85 px-2 py-0.5 rounded border border-primary/40 shadow-[0_0_12px_var(--primary)] backdrop-blur-md\">\n            <span className=\"relative flex h-1.5 w-1.5\">\n              <span className=\"animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75\" />\n              <span className=\"relative inline-flex rounded-full h-1.5 w-1.5 bg-primary\" />\n            </span>\n            <span className=\"hidden min-[420px]:inline\">SYSTEM_SCAN</span>\n            <span className=\"text-foreground/70\">::</span>\n            <span>0x404</span>\n          </div>\n\n          {/* Center High-Intensity Laser Lens Reticle */}\n          <div className=\"relative z-10 flex items-center justify-center\">\n            <div className=\"w-24 sm:w-44 h-[2px] bg-primary shadow-[0_0_20px_3px_var(--primary)] rounded-full\" />\n            <div className=\"absolute w-3 h-3 rounded-full border border-primary/80 flex items-center justify-center shadow-[0_0_10px_var(--primary)]\">\n              <div className=\"w-1 h-1 rounded-full bg-primary\" />\n            </div>\n          </div>\n\n          {/* Right HUD Telemetry Tag */}\n          <div className=\"relative z-10 hidden sm:flex items-center gap-1.5 font-mono text-[9px] sm:text-[10px] tracking-wider text-primary font-semibold select-none bg-background/85 px-2 py-0.5 rounded border border-primary/40 shadow-[0_0_12px_var(--primary)] backdrop-blur-md\">\n            <span className=\"text-foreground/60\">[</span>\n            <span className=\"text-primary animate-pulse\">GRID_PASS</span>\n            <span className=\"text-foreground/60\">]</span>\n          </div>\n        </div>\n\n        {/* Trailing Razor-Sharp Laser Beam (Bottom Edge) */}\n        <div\n          className=\"w-full h-[1.5px] bg-gradient-to-r from-transparent via-primary to-transparent opacity-90\"\n          style={{\n            boxShadow: \"0 0 16px 2px var(--primary)\",\n          }}\n        />\n      </div>\n\n      {/* Ambient Radial Color Spot with Subtle Pulse */}\n      <div\n        aria-hidden=\"true\"\n        className=\"pointer-events-none absolute -top-40 left-1/2 -translate-x-1/2 w-[700px] h-[400px] rounded-full bg-primary/10 blur-[130px]\"\n        style={{\n          animation: \"component-wall-ambient-pulse 7s ease-in-out infinite\",\n        }}\n      />\n\n      {/* Main Foreground Container: Perfectly Centered 404 Mosaic */}\n      <div className=\"relative z-10 w-full h-full min-h-full flex-1 max-w-4xl mx-auto flex items-center justify-center my-auto px-2 sm:px-4\">\n        {/* ================================================================== */}\n        {/* MONUMENTAL 404 COMPONENT WALL MOSAIC                               */}\n        {/* ================================================================== */}\n        <div className=\"relative flex items-center justify-center gap-3 sm:gap-5 md:gap-8 w-full max-w-3xl lg:max-w-4xl mx-auto select-none\">\n          {/* Digit 4 (Left - Identical card dimensions as '0') */}\n          <div className=\"relative w-[32%] max-w-[290px] aspect-[100/135]\">\n            {FOUR_CARDS.map(renderCard)}\n          </div>\n\n          {/* Digit 0 (Center - Identical card dimensions as '4') */}\n          <div className=\"relative w-[32%] max-w-[290px] aspect-[100/135]\">\n            {CENTER_ZERO_CARDS.map(renderCard)}\n          </div>\n\n          {/* Digit 4 (Right - Identical card dimensions as '0') */}\n          <div className=\"relative w-[32%] max-w-[290px] aspect-[100/135]\">\n            {FOUR_CARDS.map(renderCard)}\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n\n/* ========================================================================== */\n/*  MAIN EXPORT: DISPATCHES TO SELECTED VARIANT                               */\n/* ========================================================================== */\n\nexport function NotFoundSection({\n  variant = \"hyperspace\",\n  ...props\n}: NotFoundSectionProps) {\n  if (\n    variant === \"component-wall\" ||\n    (variant as string) === \"mosaic-wall\" ||\n    (variant as string) === \"card-wall\" ||\n    (variant as string) === \"mosaic\"\n  ) {\n    return <ComponentWallNotFoundSection {...props} />;\n  }\n  if (variant === \"aurora-glass\") {\n    return <AuroraGlassNotFoundSection {...props} />;\n  }\n  if (variant === \"animated-beam-border\") {\n    return <AnimatedBeamNotFoundSection {...props} />;\n  }\n  if (variant === \"quantum-hologram\") {\n    return <QuantumHologramNotFoundSection {...props} />;\n  }\n  if (\n    variant === \"kinetic-wireframe\" ||\n    variant === \"spatial-portal\" ||\n    variant === \"infinite-horizon\" ||\n    variant === \"dimensional-portal\" ||\n    variant === \"portal\"\n  ) {\n    return <KineticWireframeNotFoundSection {...props} />;\n  }\n  return <HyperspaceNotFoundSection {...props} />;\n}\n\nexport default NotFoundSection;\n",
      "type": "registry:component",
      "target": "components/custom/blocks/NotFoundBlock.tsx"
    },
    {
      "path": "src/lib/accent.ts",
      "content": "import type { CSSProperties } from \"react\";\n\n/**\n * Bridging the docs colour picker into a preview.\n *\n * Most blocks are already written against the `--primary` token (`bg-primary`,\n * `ring-primary/30`, `text-primary-foreground`…). Rather than teaching each one a\n * bespoke `color` prop, a demo can repoint that token for its own subtree and\n * every one of those classes follows along.\n */\n\n/** The swatches the picker offers, as concrete CSS colours. */\nconst PRESET_HEX: Record<string, string> = {\n  lavender: \"#9b8afb\",\n  indigo: \"#6366f1\",\n  rose: \"#f43f5e\",\n  emerald: \"#10b981\",\n  zinc: \"#18181b\",\n};\n\n/** True when the picker sits on \"Default\" — the page theme should win. */\nexport function isDefaultAccent(color?: string): boolean {\n  return !color || color === \"primary\" || color === \"default\";\n}\n\n/**\n * Turns a picker value into a CSS colour, or null for \"Default\" — meaning\n * nothing should be overridden, so the theme (and the sidebar customizer)\n * keeps control.\n */\nexport function resolveAccent(color?: string): string | null {\n  if (isDefaultAccent(color)) return null;\n  return PRESET_HEX[color as string] ?? (color as string);\n}\n\n/**\n * The picker value in a form every block accepts. Blocks know the older swatch\n * names but not \"lavender\" — and since that is also a CSS named colour\n * (#e6e6fa), a block that passes unknown names straight through would paint\n * the wrong shade, while others fall back to a different palette. Demos that\n * hand the picker value to such a block run it through this first. Every\n * other value is returned untouched.\n */\nexport function toBlockColor(color: string): string;\nexport function toBlockColor(color: string | undefined): string | undefined;\nexport function toBlockColor(color?: string): string | undefined {\n  return color === \"lavender\" ? PRESET_HEX.lavender : color;\n}\n\nfunction parseHex(input: string): [number, number, number] | null {\n  const hex = input.trim().replace(/^#/, \"\");\n  if (/^[a-f\\d]{3}$/i.test(hex)) {\n    const [r, g, b] = hex.split(\"\");\n    return [parseInt(r + r, 16), parseInt(g + g, 16), parseInt(b + b, 16)];\n  }\n  if (/^[a-f\\d]{6}$/i.test(hex)) {\n    return [\n      parseInt(hex.slice(0, 2), 16),\n      parseInt(hex.slice(2, 4), 16),\n      parseInt(hex.slice(4, 6), 16),\n    ];\n  }\n  return null;\n}\n\n/** Legible foreground for content sitting on a filled `color` swatch. */\nexport function accentForeground(color: string): string {\n  const rgb = parseHex(color);\n  if (!rgb) return \"#ffffff\";\n  const channel = (v: number) => {\n    const c = v / 255;\n    return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);\n  };\n  const luminance =\n    0.2126 * channel(rgb[0]) +\n    0.7152 * channel(rgb[1]) +\n    0.0722 * channel(rgb[2]);\n  return luminance > 0.45 ? \"#09090b\" : \"#ffffff\";\n}\n\n/** The theme tokens a picked accent repoints, as `--name` → value. */\nexport function accentTokens(color?: string): Record<string, string> {\n  const resolved = resolveAccent(color);\n  if (!resolved) return {};\n  return {\n    \"--primary\": resolved,\n    \"--primary-foreground\": accentForeground(resolved),\n    \"--ring\": resolved,\n  };\n}\n\n/**\n * Inline style repointing `--primary` at the picked accent for one subtree.\n * `--primary-foreground` is derived alongside it, otherwise a light pick leaves\n * `text-primary-foreground` content unreadable on its own fill. Returns `{}` on\n * \"Default\" so the page theme still wins.\n */\nexport function accentStyle(color?: string): CSSProperties {\n  return accentTokens(color) as CSSProperties;\n}\n",
      "type": "registry:component",
      "target": "lib/accent.ts"
    }
  ],
  "docs": "Named export: NotFoundSection (also default export) and NotFoundSectionProps. Ready for drop-in use in Next.js not-found.tsx or standalone 404 routes.",
  "categories": [
    "marketing",
    "layout",
    "feedback"
  ],
  "type": "registry:component"
}
