{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "bento-8",
  "dependencies": [
    "clsx",
    "framer-motion",
    "lucide-react",
    "motion",
    "tailwind-merge"
  ],
  "registryDependencies": [
    "card"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/bento-8.tsx",
      "content": "\"use client\";\nimport React from \"react\";\nimport { motion } from \"framer-motion\";\nimport { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\nimport { Card, CardContent, CardFooter } from \"@/components/ui/card\";\n\nfunction cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n\nconst BentoCard = ({ children, className, title, description }: { children: React.ReactNode, className?: string, title?: React.ReactNode, description?: React.ReactNode }) => (\n  <Card\n    className={cn(\n      \"group relative min-h-[340px] cursor-pointer overflow-hidden rounded-xl border border-white/10 bg-white/5 p-0\",\n      className\n    )}\n  >\n    <CardContent className=\"mb-6 flex h-[250px] w-full flex-1 items-center justify-center pt-2\">\n      {children}\n    </CardContent>\n\n    <CardFooter className=\"z-10 flex flex-col items-center justify-center gap-2 pb-4 text-center bg-transparent border-none\">\n      <h3 className=\"mx-auto line-clamp-2 text-center text-3xl leading-tight font-medium tracking-tight text-neutral-200\">\n        {title}\n      </h3>\n\n      <p className=\"mx-auto max-w-[280px] text-xs leading-tight text-neutral-600\">\n        {description}\n      </p>\n    </CardFooter>\n  </Card>\n);\n\nconst GlowingOrb = ({\n  color,\n  className,\n}: {\n  color: string;\n  className?: string;\n}) => (\n  <div\n    className={cn(\n      \"absolute flex h-64 w-64 items-center justify-center transition-all duration-300 ease-out\",\n      className\n    )}\n  >\n    <motion.div\n      className=\"absolute h-38 w-38 rounded-full opacity-10\"\n      style={{ backgroundColor: color }}\n      animate={{\n        opacity: [0, 0.1, 0],\n      }}\n      transition={{\n        duration: 1,\n        delay: 0.5,\n        ease: \"easeInOut\",\n        repeat: Infinity,\n        repeatDelay: 0.5,\n      }}\n    />\n\n    <motion.div\n      className=\"absolute h-32 w-32 rounded-full opacity-15\"\n      style={{ backgroundColor: color }}\n      animate={{\n        opacity: [0, 0.15, 0],\n      }}\n      transition={{\n        duration: 1,\n        delay: 0.2,\n        ease: \"easeInOut\",\n        repeat: Infinity,\n        repeatDelay: 0.5,\n      }}\n    />\n\n    <div className=\"absolute h-26 w-26 rounded-full bg-black shadow-lg\" />\n\n    <div\n      className=\"absolute h-20 w-20 rounded-full shadow-[inset_0px_4px_8px_0px_rgba(255,255,255,0.25),inset_0px_2px_1px_rgba(0,0,0,0.56),1px_2px_4px_2px_rgba(0,0,0,0.25)]\"\n      style={{\n        background: `linear-gradient(to bottom, ${color}, ${color}90 )`,\n      }}\n    />\n  </div>\n);\n\nconst KeysList = () => {\n  return (\n    <div className=\"grid grid-cols-6 gap-2 [mask-image:radial-gradient(ellipse_at_center,black_20%,transparent_80%)]\">\n      {Array(18)\n        .fill(0)\n        .map((_, i) => (\n          <div\n            key={i}\n            className=\"rounded-sm bg-gradient-to-b from-white/20 to-white/5 p-[1.5px] shadow-[0_0_4px_rgba(0,0,0,0.5)]\"\n          >\n            <div className=\"h-12 w-12 rounded-sm bg-neutral-900\" />\n          </div>\n        ))}\n    </div>\n  );\n};\n\nexport default function BentoGrid8() {\n  return (\n    <div className=\"min-h-screen bg-black p-6 font-sans md:p-12\">\n      <div className=\"mx-auto grid max-w-6xl grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3\">\n        <BentoCard\n          title=\"Intelligence with Integrity\"\n          description=\"Experience a feed that adapts to you, built on a foundation of absolute privacy.\"\n        >\n          <KeysList />\n          <GlowingOrb className=\"left-1/2 -translate-x-1/2\" color=\"#BB3EC5\" />\n        </BentoCard>\n\n        <BentoCard\n          title=\"Unlock Deeper Knowledge\"\n          description=\"Go from long-form articles to core insights at the speed of thought.\"\n        >\n          <AuroraSvgBackground />\n          <GetInfoButton />\n        </BentoCard>\n\n        <BentoCard\n          title=\"Your Personal Information Hub\"\n          description=\"Unify your digital world. Bring every source you love into one elegant space.\"\n        >\n          <KeysList />\n          <GlowingOrb className=\"left-1/2 -translate-x-1/2\" color=\"#42E7FE\" />\n        </BentoCard>\n\n        <BentoSource />\n\n        <BentoCard\n          className=\"md:col-span-2\"\n          title=\"Interest-Based Content Filtering\"\n          description=\"Simply select your topics of interest for a highly relevant and focused feed from the start.\"\n        >\n          <InterestsMarquee />\n        </BentoCard>\n      </div>\n    </div>\n  );\n}\n\nfunction ArrowIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg width=\"18\" height=\"19\" viewBox=\"0 0 18 19\" fill=\"none\" {...props}>\n      <path\n        d=\"M4.97062 18.3755L0.303955 0.375488L16.304 8.37549C8.30396 8.90882 5.41507 15.2644 4.97062 18.3755Z\"\n        fill=\"black\"\n        stroke=\"white\"\n        strokeWidth=\"0.4\"\n      />\n    </svg>\n  );\n}\n\nconst GetInfoButton = () => {\n  return (\n    <div className=\"relative flex items-center justify-center p-8\">\n      <div className=\"relative inline-flex items-center justify-center\">\n        <button className=\"relative z-10 rounded-full border-[8px] border-neutral-950 bg-[#222325] px-16 py-3 text-xl text-neutral-300 shadow-[inset_2px_2px_8px_rgba(0,0,0,0.4),inset_1px_1px_1px_rgba(255,255,255,0.2)]\">\n          Get info\n        </button>\n      </div>\n    </div>\n  );\n};\n\nconst BentoSource = () => {\n  const [isHovering, setIsHovering] = React.useState(false);\n\n  return (\n    <Card\n      className={cn(\n        \"group relative min-h-[340px] cursor-pointer overflow-hidden rounded-xl border border-white/10 bg-white/5 p-0\"\n      )}\n      onMouseEnter={() => setIsHovering(true)}\n      onMouseLeave={() => setIsHovering(false)}\n    >\n      <CardContent className=\"mb-6 flex h-[250px] w-full flex-1 items-center justify-center pt-2\">\n        <div className=\"relative w-full max-w-[200px]\">\n          <div className=\"mask-b-blur-xl rounded-xl border border-white/10 bg-white/5 mask-b-from-0% mask-b-to-100% p-4\">\n            <div className=\"mb-3 flex items-center gap-1\">\n              <div className=\"size-7 rounded-full bg-white/20\"></div>\n              <div className=\"h-2 w-12 rounded-full bg-white/20\" />\n              <div className=\"h-2 w-20 rounded-full bg-white/20\" />\n            </div>\n\n            <div className=\"mb-2 h-2 w-full rounded-full bg-white/20\" />\n            <div className=\"mb-6 h-2 w-2/3 rounded-full bg-white/20\" />\n          </div>\n\n          <div className=\"absolute -bottom-6 left-1/2 z-20 -translate-x-1/2\">\n            <div className=\"relative rounded-full p-1 shadow-[inset__0px_0px_4px_0px_rgba(255,255,255,0.5)]\">\n              <div className=\"h-12 w-12 rounded-full bg-gradient-to-b from-cyan-400 to-cyan-500/50 shadow-[inset_5px_10px_20px_rgba(255,255,255,0.1),inset_-10px_-15px_20px_rgba(0,0,0,0.2)]\" />\n\n              <motion.div\n                className=\"absolute -right-2 -bottom-2\"\n                animate={{\n                  y: isHovering ? -2 : 0,\n                  x: isHovering ? -50 : 0,\n                }}\n                transition={{ duration: 0.3, ease: \"easeOut\" }}\n              >\n                <motion.div\n                  animate={{\n                    rotate: isHovering ? 45 : 0,\n                  }}\n                  transition={{ duration: 0.3, ease: \"easeOut\" }}\n                >\n                  <ArrowIcon />\n                </motion.div>\n                <motion.div\n                  className=\"absolute -right-12 rounded-tr-2xl rounded-b-2xl bg-gradient-to-b from-cyan-400 to-cyan-400/70 px-4 py-1 text-[10px] font-bold text-black\"\n                  animate={{\n                    opacity: isHovering ? 1 : 0.8,\n                  }}\n                  transition={{ duration: 0.3, ease: \"easeOut\" }}\n                >\n                  Kyle\n                </motion.div>\n              </motion.div>\n            </div>\n          </div>\n        </div>\n      </CardContent>\n\n      <CardFooter className=\"z-10 flex flex-col items-center justify-center gap-2 pb-4 text-center bg-transparent border-none\">\n        <h3 className=\"mx-auto line-clamp-2 text-center text-3xl leading-tight font-medium tracking-tight text-neutral-200\">\n          Become the Source\n        </h3>\n\n        <p className=\"mx-auto max-w-[280px] text-xs leading-tight text-neutral-600\">\n          AI-distilled insights, ready to share. Elevate your voice in any\n          conversation.\n        </p>\n      </CardFooter>\n    </Card>\n  );\n};\n\nconst interests1 = [\n  \"Developer\",\n  \"Founder\",\n  \"Engineer\",\n  \"Writer\",\n  \"Marketer\",\n  \"Product\",\n  \"Creator\",\n  \"Researcher\",\n  \"Artist\",\n  \"Builder\",\n  \"Strategist\",\n];\n\nconst interests2 = [\n  \"Developer\",\n  \"Founder\",\n  \"Engineer\",\n  \"Designer\",\n  \"Writer\",\n  \"Marketer\",\n  \"Product\",\n  \"Creator\",\n  \"Researcher\",\n  \"Artist\",\n  \"Builder\",\n  \"Strategist\",\n];\n\nconst interests3 = [\n  \"Developer\",\n  \"Founder\",\n  \"Engineer\",\n  \"Writer\",\n  \"Marketer\",\n  \"Product\",\n  \"Creator\",\n  \"Researcher\",\n  \"Artist\",\n  \"Builder\",\n  \"Strategist\",\n];\n\nfunction InterestsMarquee() {\n  return (\n    <div className=\"relative overflow-hidden py-3\">\n      <div\n        className=\"space-y-4\"\n        style={{\n          maskImage:\n            \"radial-gradient(ellipse 50% 100% at 50% 50%, black 30%, transparent 100%)\",\n          WebkitMaskImage:\n            \"radial-gradient(ellipse 60% 100% at 50% 50%, black 10%, transparent 80%)\",\n        }}\n      >\n        <div className=\"opacity-80 blur-[1px]\">\n          <Row items={interests1} />\n        </div>\n\n        <Row reverse items={interests2} />\n\n        <div className=\"opacity-80 blur-[1px]\">\n          <Row items={interests3} />\n        </div>\n      </div>\n    </div>\n  );\n}\n\nconst Row = ({\n  reverse = false,\n  items,\n}: {\n  reverse?: boolean;\n  items: string[];\n}) => {\n  const loopItems = [...items, ...items];\n\n  return (\n    <div className=\"w-full overflow-hidden\">\n      <motion.div\n        animate={{\n          x: reverse ? [\"-50%\", \"0%\"] : [\"0%\", \"-50%\"],\n        }}\n        transition={{\n          duration: 35,\n          ease: \"linear\",\n          repeat: Infinity,\n        }}\n        className=\"flex w-max gap-4\"\n      >\n        {loopItems.map((item, i) => (\n          <div\n            key={i}\n            className={cn(\n              \"flex items-center rounded-full border px-6 py-3 text-sm whitespace-nowrap\",\n              item === \"Designer\"\n                ? \"border-white/10 bg-gradient-to-r from-blue-600/40 to-blue-300/50 text-white\"\n                : \"border-white/10 bg-neutral-800/80 text-neutral-400\"\n            )}\n          >\n            <span className=\"mr-3 h-4 w-4 rounded-full bg-orange-500\" />\n            {item}\n          </div>\n        ))}\n      </motion.div>\n    </div>\n  );\n};\n\nconst AuroraSvgBackground = () => {\n  return (\n    <div className=\"absolute h-full w-full\">\n      <svg\n        width=\"100%\"\n        height=\"100%\"\n        viewBox=\"0 0 420 303\"\n        fill=\"none\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        preserveAspectRatio=\"xMidYMin slice\"\n        className=\"pointer-events-none absolute top-8 opacity-100\"\n      >\n        <g filter=\"url(#filter0_f_30_593)\">\n          <path d=\"M90.5631 86L0 -22H424L354.019 86H90.5631Z\" fill=\"#38C764\" />\n          <path d=\"M90.5631 86L0 -22H424L354.019 86H90.5631Z\" stroke=\"black\" />\n        </g>\n        <g filter=\"url(#filter1_f_30_593)\">\n          <path\n            d=\"M107.5 82L15.5 -31H-24V203L107.5 116V82Z\"\n            fill=\"url(#paint0_linear_30_593)\"\n          />\n        </g>\n        <g filter=\"url(#filter2_f_30_593)\">\n          <path\n            d=\"M87.7766 83.2016L23.3766 4.10156H-4.27344V167.902L87.7766 107.002V83.2016Z\"\n            fill=\"url(#paint1_linear_30_593)\"\n          />\n        </g>\n        <g filter=\"url(#filter3_f_30_593)\">\n          <path\n            d=\"M337 82L429 -31H468.5V203L337 116V82Z\"\n            fill=\"url(#paint2_linear_30_593)\"\n          />\n        </g>\n        <g filter=\"url(#filter4_f_30_593)\">\n          <path\n            d=\"M356.723 83.2016L421.123 4.10156H448.773V167.902L356.723 107.002V83.2016Z\"\n            fill=\"url(#paint3_linear_30_593)\"\n          />\n        </g>\n        <defs>\n          <filter\n            id=\"filter0_f_30_593\"\n            x=\"-31.0718\"\n            y=\"-52.5\"\n            width=\"485.992\"\n            height=\"169\"\n            filterUnits=\"userSpaceOnUse\"\n            colorInterpolationFilters=\"sRGB\"\n          >\n            <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n            <feBlend\n              mode=\"normal\"\n              in=\"SourceGraphic\"\n              in2=\"BackgroundImageFix\"\n              result=\"shape\"\n            />\n            <feGaussianBlur\n              stdDeviation=\"15\"\n              result=\"effect1_foregroundBlur_30_593\"\n            />\n          </filter>\n          <filter\n            id=\"filter1_f_30_593\"\n            x=\"-124\"\n            y=\"-131\"\n            width=\"331.5\"\n            height=\"434\"\n            filterUnits=\"userSpaceOnUse\"\n            colorInterpolationFilters=\"sRGB\"\n          >\n            <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n            <feBlend\n              mode=\"normal\"\n              in=\"SourceGraphic\"\n              in2=\"BackgroundImageFix\"\n              result=\"shape\"\n            />\n            <feGaussianBlur\n              stdDeviation=\"50\"\n              result=\"effect1_foregroundBlur_30_593\"\n            />\n          </filter>\n          <filter\n            id=\"filter2_f_30_593\"\n            x=\"-39.2734\"\n            y=\"-30.8984\"\n            width=\"162.05\"\n            height=\"233.8\"\n            filterUnits=\"userSpaceOnUse\"\n            colorInterpolationFilters=\"sRGB\"\n          >\n            <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n            <feBlend\n              mode=\"normal\"\n              in=\"SourceGraphic\"\n              in2=\"BackgroundImageFix\"\n              result=\"shape\"\n            />\n            <feGaussianBlur\n              stdDeviation=\"17.5\"\n              result=\"effect1_foregroundBlur_30_593\"\n            />\n          </filter>\n          <filter\n            id=\"filter3_f_30_593\"\n            x=\"237\"\n            y=\"-131\"\n            width=\"331.5\"\n            height=\"434\"\n            filterUnits=\"userSpaceOnUse\"\n            colorInterpolationFilters=\"sRGB\"\n          >\n            <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n            <feBlend\n              mode=\"normal\"\n              in=\"SourceGraphic\"\n              in2=\"BackgroundImageFix\"\n              result=\"shape\"\n            />\n            <feGaussianBlur\n              stdDeviation=\"50\"\n              result=\"effect1_foregroundBlur_30_593\"\n            />\n          </filter>\n          <filter\n            id=\"filter4_f_30_593\"\n            x=\"321.723\"\n            y=\"-30.8984\"\n            width=\"162.05\"\n            height=\"233.8\"\n            filterUnits=\"userSpaceOnUse\"\n            colorInterpolationFilters=\"sRGB\"\n          >\n            <feFlood floodOpacity=\"0\" result=\"BackgroundImageFix\" />\n            <feBlend\n              mode=\"normal\"\n              in=\"SourceGraphic\"\n              in2=\"BackgroundImageFix\"\n              result=\"shape\"\n            />\n            <feGaussianBlur\n              stdDeviation=\"17.5\"\n              result=\"effect1_foregroundBlur_30_593\"\n            />\n          </filter>\n          <linearGradient\n            id=\"paint0_linear_30_593\"\n            x1=\"41.75\"\n            y1=\"-31\"\n            x2=\"41.75\"\n            y2=\"203\"\n            gradientUnits=\"userSpaceOnUse\"\n          >\n            <stop stopColor=\"#1DBDD1\" />\n            <stop offset=\"1\" stopColor=\"#0D454C\" />\n          </linearGradient>\n          <linearGradient\n            id=\"paint1_linear_30_593\"\n            x1=\"41.7516\"\n            y1=\"4.10156\"\n            x2=\"41.7516\"\n            y2=\"167.902\"\n            gradientUnits=\"userSpaceOnUse\"\n          >\n            <stop stopColor=\"#11ACC4\" />\n            <stop offset=\"1\" stopColor=\"#075966\" />\n          </linearGradient>\n          <linearGradient\n            id=\"paint2_linear_30_593\"\n            x1=\"402.75\"\n            y1=\"-31\"\n            x2=\"402.75\"\n            y2=\"203\"\n            gradientUnits=\"userSpaceOnUse\"\n          >\n            <stop stopColor=\"#1DBDD1\" />\n            <stop offset=\"1\" stopColor=\"#0D454C\" />\n          </linearGradient>\n          <linearGradient\n            id=\"paint3_linear_30_593\"\n            x1=\"402.748\"\n            y1=\"4.10156\"\n            x2=\"402.748\"\n            y2=\"167.902\"\n            gradientUnits=\"userSpaceOnUse\"\n          >\n            <stop stopColor=\"#11ACC4\" />\n            <stop offset=\"1\" stopColor=\"#075966\" />\n          </linearGradient>\n        </defs>\n      </svg>\n    </div>\n  );\n};\n",
      "type": "registry:ui",
      "target": "components/ui/bento-8.tsx"
    }
  ],
  "type": "registry:ui"
}
