{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "bento-3",
  "dependencies": [
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "card"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/bento-3.tsx",
      "content": "\"use client\";\nimport React from \"react\";\nimport { AnimatePresence, motion, useInView } from \"motion/react\";\nimport {\n  Card,\n  CardHeader,\n  CardTitle,\n  CardDescription,\n  CardContent,\n  CardFooter,\n} from \"@/components/ui/card\";\n\nconst CARD6_FEED = [\n  {\n    id: \"alice\",\n    name: \"Alice g.\",\n    message: \"Alice successfully participated in the Team\",\n    date: \"13.10.2025 Tuesday\",\n  },\n  {\n    id: \"raj\",\n    name: \"Raj g.\",\n    message: \"Raj successfully participated in the Team\",\n    date: \"13.10.2025 Tuesday\",\n  },\n  {\n    id: \"shane\",\n    name: \"Shane p.\",\n    message: \"Shane successfully participated in the Team\",\n    date: \"13.10.2025 Tuesday\",\n  },\n  {\n    id: \"mia\",\n    name: \"Mia r.\",\n    message: \"Mia completed a customer feedback sync\",\n    date: \"14.10.2025 Wednesday\",\n  },\n  {\n    id: \"leo\",\n    name: \"Leo t.\",\n    message: \"Leo updated the sprint delivery timeline\",\n    date: \"14.10.2025 Wednesday\",\n  },\n] as const;\n\ntype Card6FeedItem = (typeof CARD6_FEED)[number];\ntype Card6VisibleEntry = {\n  key: number;\n  item: Card6FeedItem;\n};\n\nconst CARD3_TARGET_TENTHS = 936;\nconst CARD3_DURATION_SECONDS = 4.2;\n\nconst buildDigitTrack = (steps: number) =>\n  Array.from({ length: steps + 1 }, (_, index) => index % 10);\n\nconst CARD3_TENS_STEPS = Math.floor(CARD3_TARGET_TENTHS / 100);\nconst CARD3_ONES_STEPS = Math.floor(CARD3_TARGET_TENTHS / 10);\nconst CARD3_DECIMAL_STEPS = CARD3_TARGET_TENTHS;\n\nconst CARD3_TENS_TRACK = buildDigitTrack(CARD3_TENS_STEPS);\nconst CARD3_ONES_TRACK = buildDigitTrack(CARD3_ONES_STEPS);\nconst CARD3_DECIMAL_TRACK = buildDigitTrack(CARD3_DECIMAL_STEPS);\n\nconst CARD5_USERS = [\n  { id: \"alice\", name: \"Alice g.\", email: \"alice@gmail.com\" },\n  { id: \"park\", name: \"Park k.\", email: \"alice@gmail.com\" },\n  { id: \"leon\", name: \"Leon k.\", email: \"alice@gmail.com\" },\n] as const;\n\nconst MotionCard = motion(Card);\n\nconst Bento3 = () => {\n  const [isCard4On, setIsCard4On] = React.useState(false);\n  const card4Name = isCard4On ? \"Mia\" : \"Kyle\";\n  const [card2SwapIndex, setCard2SwapIndex] = React.useState(0);\n  const card3Ref = React.useRef<HTMLDivElement | null>(null);\n  const isCard3InView = useInView(card3Ref, { once: true, amount: 0.6 });\n  const [card5CheckedCount, setCard5CheckedCount] = React.useState(0);\n\n  const card2Cards = [\n    { id: \"think\", label: \"Think\", img: \"https://assets.watermelon.sh/Cube.svg\" },\n    { id: \"analyze\", label: \"Analyze\", img: \"https://assets.watermelon.sh/Compose.svg\" },\n    { id: \"record\", label: \"Record\", img: \"https://assets.watermelon.sh/Closed%20Treasure%20Chest.svg\" },\n    { id: \"status\", label: \"Status\", img:\"https://assets.watermelon.sh/Cube.svg\" },\n    { id: \"write\", label: \"Write\", img: \"https://assets.watermelon.sh/Edit%20Chat%20History.svg\" },\n    { id: \"host\", label: \"Host\", img: \"https://assets.watermelon.sh/Cloud%20Storage.svg\" },\n  ] as const;\n\n  const card2SwapOrder = [\"think\", \"analyze\", \"write\", \"host\", \"status\"] as const;\n\n  const card2Slots = {\n    think: { x: -138, y: -92 },\n    analyze: { x: 138, y: -92 },\n    record: { x: 0, y: -44 },\n    status: { x: 0, y: 90 },\n    write: { x: -138, y: 44 },\n    host: { x: 138, y: 44 },\n  } as const;\n\n  React.useEffect(() => {\n    const intervalId = setInterval(() => {\n      setCard2SwapIndex((prev) => (prev + 1) % card2SwapOrder.length);\n    }, 1800);\n\n    return () => clearInterval(intervalId);\n  }, [card2SwapOrder.length]);\n\n  const getCard2SlotId = (cardId: (typeof card2Cards)[number][\"id\"]) => {\n    const currentSwapTarget = card2SwapOrder[card2SwapIndex];\n\n    if (cardId === \"record\") return currentSwapTarget;\n    if (cardId === currentSwapTarget) return \"record\";\n    return cardId;\n  };\n\n  const [card6VisibleEntries, setCard6VisibleEntries] = React.useState<Card6VisibleEntry[]>(() => [\n    { key: 0, item: CARD6_FEED[0] },\n    { key: 1, item: CARD6_FEED[1] },\n    { key: 2, item: CARD6_FEED[2] },\n  ]);\n  const card6CursorRef = React.useRef(3);\n  const card6KeyRef = React.useRef(3);\n\n  React.useEffect(() => {\n    const intervalId = setInterval(() => {\n      setCard6VisibleEntries((prev) => {\n        const nextItem = CARD6_FEED[card6CursorRef.current % CARD6_FEED.length];\n        card6CursorRef.current += 1;\n\n        const nextKey = card6KeyRef.current;\n        card6KeyRef.current += 1;\n\n        return [prev[1], prev[2], { key: nextKey, item: nextItem }];\n      });\n    }, 1800);\n\n    return () => clearInterval(intervalId);\n  }, []);\n\n  React.useEffect(() => {\n    const hasCompletedCycle = card5CheckedCount >= CARD5_USERS.length;\n\n    const timeoutId = setTimeout(() => {\n      if (hasCompletedCycle) {\n        // Reset all checks together before starting the next loop.\n        setCard5CheckedCount(0);\n        return;\n      }\n\n      setCard5CheckedCount((prev) => Math.min(prev + 1, CARD5_USERS.length));\n    }, hasCompletedCycle ? 1100 : 800);\n\n    return () => clearTimeout(timeoutId);\n  }, [card5CheckedCount]);\n\n  return (\n    <div className=\"flex items-start xl:items-center justify-center min-h-screen bg-[#000000] relative font-['Inter',sans-serif] py-20 sm:py-14 px-3 sm:px-4\">\n      {/* Back */}\n\n      {/* \n        Layout structure (nested flex for per-row column control):\n        Row 1: [Card1 (wide)]  [Card2 (narrower)]\n        Rows 2-3: [Left section]  [Right: Card5 spanning full height]\n          Left section Row A: [Card3 (wider)] [Card4 (narrower)]\n          Left section Row B: [Card6 (equal)] [Card7 (equal)]\n      */}\n      <div className=\"w-full max-w-[1080px] flex flex-col gap-3.5\">\n        {/* ===== ROW 1 ===== */}\n        <div className=\"flex flex-col xl:flex-row gap-3.5 xl:h-[330px]\">\n          {/* Card 1 - Your Workflow, Accelerated (wider) */}\n          <Card className=\"flex-[2.1] bg-[#070707] rounded-2xl border border-[#7B7B7B]/15 flex flex-col lg:flex-row relative overflow-hidden min-h-[360px] sm:min-h-[330px]\">\n            <div className=\"w-40 h-20 bg-[#B6B5B5] blur-[150px] absolute left-1/2 -translate-x-1/2 -top-20\" />\n            {/* Left content */}\n            <CardHeader className=\"flex flex-col justify-end w-full lg:max-w-[400px] min-w-0 z-10 px-6 sm:px-8\">\n              <BullseyeIcon />\n              <CardTitle className=\"text-[22px] sm:text-[24px] font-semibold bg-clip-text text-transparent bg-linear-to-r from-[#FFFFFF] to-[#999999] mt-4 leading-tight w-full\">\n                Your Workflow, Accelerated.\n              </CardTitle>\n              <CardTitle className=\"text-[22px] sm:text-[24px] font-semibold text-[#4488FF] leading-tight w-full\">\n                Smart Access Hub\n              </CardTitle>\n              <CardDescription className=\"text-[13px] sm:text-[14px] font-light text-white/40 mt-3 leading-relaxed tracking-tight w-full\">\n                Your most-used tools, intelligently organized. Spend less time\n                searching and more time doing.\n              </CardDescription>\n            </CardHeader>\n\n            {/* Right floating menu card */}\n            <CardContent className=\"relative mt-2 lg:mt-0 lg:absolute lg:right-0 lg:top-6 w-full lg:w-[320px] min-h-[210px] m-4 lg:h-[calc(100%-16px)] bg-[#070707] border border-[#7B7B7B]/15 rounded-2xl flex flex-col gap-[22px] pt-7 sm:pt-10 px-8 sm:px-12 lg:px-16 mask-r-from-0%\">\n              <p className=\"text-[16px] font-light text-white/90\">Table</p>\n              <p className=\"text-[16px] font-light text-white/90\">Status</p>\n              <p className=\"text-[16px] font-light text-white/90\">Position</p>\n              <p className=\"text-[16px] font-light text-white/90\">Comments</p>\n              <p className=\"text-[16px] font-light text-white/90\">\n                Active Search\n              </p>\n              <motion.span\n                className=\"w-[calc(100%-6rem)] sm:w-[calc(100%-6rem)] lg:w-full h-10 bg-zinc-400/30 rounded-lg mask-r-from-0% absolute left-4 sm:left-8 lg:left-8 top-5 sm:top-8 pointer-events-none\"\n                initial={{ opacity: 0, y: 0 }}\n                animate={{\n                  y: [-2, -2, 44 , 44, 90, 90, 135, 135, 180, 180],\n                  opacity: [0, 1, 1, 1, 1, 1, 1, 1, 1, 0],\n                }}\n                transition={{\n                  duration: 4,\n                  times: [0, 0.08, 0.22, 0.32, 0.46, 0.56, 0.7, 0.8, 0.92, 1],\n                  ease: \"easeInOut\",\n                  repeat: Infinity,\n                  repeatDelay: 0.2,\n                }}\n              ></motion.span>\n            </CardContent>\n          </Card>\n\n          {/* Card 2 - Live Activity Stream (Think, Analyze, Record, Write, Host) */}\n          <Card className=\"flex-1 bg-[#070707] rounded-2xl border border-[#7B7B7B]/15 flex-col justify-between pb-7 relative overflow-hidden min-h-[330px] hidden xl:flex\">\n            <div className=\"w-15 h-15 bg-[#B6B5B5] blur-[80px] absolute left-1/2 -translate-x-1/2 -top-20\" />\n\n            {/* Labels and circles arrangement */}\n            {/* Top row labels */}\n            <CardContent className=\"w-full h-full relative mask-b-from-80% scale-[0.9] sm:scale-100 origin-center px-0\">\n              {card2Cards.map((card) => {\n                const slotId = getCard2SlotId(card.id);\n                const slot = card2Slots[slotId];\n\n                return (\n                  <motion.div\n                    key={card.id}\n                    className=\"size-25 border border-[#262626] flex flex-col gap-2 items-center justify-center p-2 rounded-2xl absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 will-change-transform\"\n                    animate={{\n                      x: slot.x,\n                      y: slot.y,\n                      scale: slotId === \"record\" ? 1.03 : 1,\n                      opacity: slotId === \"record\" ? 0.96 : 0.78,\n                      zIndex: slotId === \"record\" ? 3 : 1,\n                    }}\n                    transition={{\n                      type: \"spring\",\n                      stiffness: 150,\n                      damping: 24,\n                      mass: 0.8,\n                    }}\n                  >\n                    <img\n                      src={card.img}\n                      alt={`${card.label} Icon`}\n                      className=\"size-7 mb-1 opacity-80\"\n                    />\n                    <span className=\"text-[13px] text-white/60 font-medium whitespace-nowrap\">\n                      {card.label}\n                    </span>\n                  </motion.div>\n                );\n              })}\n            </CardContent>\n\n            {/* Bottom text */}\n            <CardFooter className=\"mt-auto px-6 sm:px-7 relative z-0 items-start flex-col bg-transparent border-none\">\n              <CardTitle className=\"text-[17px] font-medium text-white\">\n                Live Activity Stream\n              </CardTitle>\n              <CardDescription className=\"text-[13px] font-light text-white/40 mt-1 leading-relaxed\">\n                See important updates from your team as they happen.\n              </CardDescription>\n            </CardFooter>\n          </Card>\n        </div>\n\n        {/* ===== ROWS 2-3 wrapper ===== */}\n        <div className=\"flex flex-col xl:flex-row gap-3.5\">\n          {/* Left section (rows 2 and 3 stacked) */}\n          <div className=\"flex-[2.45] flex flex-col gap-3.5\">\n            {/* Row 2: Success Metric + Kyle */}\n            <div className=\"flex flex-col sm:flex-row gap-3.5 sm:h-[180px]\">\n              {/* Card 3 - Success Metric (+93.6%) â€” wider */}\n              <div ref={card3Ref} className=\"flex-[1.4] min-h-[180px]\">\n                <Card className=\"h-full w-full bg-[#070707] rounded-2xl border border-[#7B7B7B]/15 flex flex-col sm:flex-row items-start sm:items-center p-6 sm:p-8 gap-4 sm:gap-6 relative overflow-hidden\">\n                <div className=\"w-30 h-10 bg-[#B6B5B5] blur-[100px] absolute left-30 -top-20\" />\n\n                {/* Big percentage */}\n                <div className=\"text-[38px] sm:text-[48px] font-bold leading-none tracking-tight tabular-nums shrink-0 text-[#5BA6FF] flex items-baseline mask-b-from-0%\">\n                  <span className=\"-translate-y-3\">+</span>\n                  <RollingDigit\n                    steps={CARD3_TENS_STEPS}\n                    track={CARD3_TENS_TRACK}\n                    shouldStart={isCard3InView}\n                    durationSeconds={CARD3_DURATION_SECONDS}\n                  />\n                  <RollingDigit\n                    steps={CARD3_ONES_STEPS}\n                    track={CARD3_ONES_TRACK}\n                    shouldStart={isCard3InView}\n                    durationSeconds={CARD3_DURATION_SECONDS}\n                  />\n                  <span className=\"mx-0.5\">.</span>\n                  <RollingDigit\n                    steps={CARD3_DECIMAL_STEPS}\n                    track={CARD3_DECIMAL_TRACK}\n                    shouldStart={isCard3InView}\n                    durationSeconds={CARD3_DURATION_SECONDS}\n                  />\n                  <span className=\"-translate-y-1\">%</span>\n                </div>\n\n                {/* Text content */}\n                <CardHeader className=\"px-0 w-full sm:flex-1 sm:min-w-0\">\n                  <CardTitle className=\"text-[18px] font-medium text-white w-full\">\n                    Success Metric\n                  </CardTitle>\n                  <CardDescription className=\"text-[13px] font-light text-white/40 mt-1 leading-relaxed w-full\">\n                    Key performance indicators, visualized.\n                  </CardDescription>\n                </CardHeader>\n                </Card>\n              </div>\n\n              {/* Card 4 - Kyle avatar â€” narrower */}\n              <Card className=\"flex-[0.8] bg-[#070707] rounded-2xl border border-[#7B7B7B]/15 flex flex-col items-center justify-center relative overflow-hidden min-h-[180px]\">\n                <div className=\"w-10 h-10 bg-[#B6B5B5] blur-[60px] absolute left-0 -top-10\" />\n                <motion.div\n                  role=\"switch\"\n                  aria-checked={isCard4On}\n                  tabIndex={0}\n                  onClick={() => setIsCard4On((prev) => !prev)}\n                  onKeyDown={(e) => {\n                    if (e.key === \"Enter\" || e.key === \" \") {\n                      e.preventDefault();\n                      setIsCard4On((prev) => !prev);\n                    }\n                  }}\n                  className={`w-18 h-10 rounded-full border relative`}\n                  animate={{\n                    backgroundColor: isCard4On\n                      ? \"#4488FF\"\n                      : \"rgba(217, 217, 217, 0.1)\",\n                    borderColor: isCard4On ? \"#5BA6FF\" : \"#3A3A3A\",\n                  }}\n                  transition={{ duration: 0.45, ease: \"easeInOut\" }}\n                >\n                  <motion.div\n                    className=\"size-8.5 rounded-full bg-white absolute left-0.5 top-1/2 -translate-y-1/2\"\n                    animate={{ x: isCard4On ? 33 : 0 }}\n                    transition={{ duration: 0.45, ease: \"easeInOut\" }}\n                  ></motion.div>\n                </motion.div>\n\n                <motion.div\n                  className=\"flex flex-col\"\n                  animate={{ x: isCard4On ? 16 : 10, y: isCard4On ? 0 : -10 }}\n                  transition={{ duration: 0.45, ease: \"easeInOut\" }}\n                >\n                  <motion.div\n                    animate={{ rotate: isCard4On ? 60 : 0, x: isCard4On ? 18 : 6, y: isCard4On ? 20 : 0 }}\n                    transition={{ duration: 0.45, ease: \"easeInOut\" }}\n                  >\n                    <Arrow />\n                  </motion.div>\n                  <motion.div\n                    className=\"relative mt-0.5\"\n                    animate={{ x: isCard4On ? 8 : 6, y: isCard4On ? -2 : 0 }}\n                    transition={{ duration: 0.45, ease: \"easeInOut\" }}\n                  >\n                    <div className=\"relative h-[34px] min-w-[78px] px-3 py-1 rounded-full border border-[#D9D9D9] flex items-center justify-center\">\n                      <AnimatePresence mode=\"wait\" initial={false}>\n                        <motion.span\n                          key={card4Name}\n                          initial={{ opacity: 0, y: 4, filter: \"blur(6px)\" }}\n                          animate={{ opacity: 1, y: 0, filter: \"blur(0px)\" }}\n                          exit={{ opacity: 0, y: -4, filter: \"blur(6px)\" }}\n                          transition={{ duration: 0.28, ease: \"easeInOut\" }}\n                          className=\"absolute text-[13px] font-light text-white leading-relaxed whitespace-nowrap\"\n                        >\n                          {card4Name}\n                        </motion.span>\n                      </AnimatePresence>\n                    </div>\n                  </motion.div>\n                </motion.div>\n              </Card>\n            </div>\n\n            {/* Row 3: Activity Timeline + Work From Anywhere (EQUAL width) */}\n            <div className=\"flex flex-col lg:flex-row gap-3.5 lg:h-[330px]\">\n              {/* Card 6 - Live Activity Stream (Timeline) */}\n              <Card className=\"flex-1 bg-[#070707] rounded-2xl border border-[#7B7B7B]/15 flex flex-col sm:flex-row lg:flex-col px-6 sm:px-7 pb-7 pt-5 relative overflow-hidden min-h-[320px] gap-4 sm:gap-6\">\n                <div className=\"w-20 h-20 bg-[#B6B5B5]/50 blur-[60px] absolute left-15 -top-10\" />\n\n                {/* Activity entries */}\n                <CardContent className=\"flex flex-col gap-4 flex-1 overflow-hidden order-1 sm:order-2 lg:order-1 sm:flex-[1.25] lg:flex-1 px-0\">\n                  <AnimatePresence initial={false} mode=\"popLayout\">\n                    {card6VisibleEntries.map(({ key, item }, index) => (\n                      <motion.div\n                        key={key}\n                        layout=\"position\"\n                        className=\"flex items-start gap-3 will-change-transform\"\n                        initial={{ y: index === 2 ? 42 : 0, opacity: index === 2 ? 0 : 1, filter: index === 2 ? \"blur(8px)\" : \"blur(0px)\" }}\n                        animate={{ y: 0, opacity: 1, filter: \"blur(0px)\" }}\n                        exit={{ y: -26, opacity: 0, filter: \"blur(8px)\" }}\n                        transition={{\n                          layout: { duration: 0.52, ease: [0.22, 1, 0.36, 1] },\n                          y: { type: \"spring\", stiffness: 210, damping: 24, mass: 0.75 },\n                          opacity: { duration: 0.5, ease: [0.22, 1, 0.36, 1] },\n                          filter: { duration: 0.55, ease: [0.22, 1, 0.36, 1] },\n                        }}\n                      >\n                        <div className=\"w-[30px] h-[30px] rounded-lg bg-[#141414] border border-[#7B7B7B]/15 shrink-0 mt-0.5 flex items-center justify-center\">\n                          <BullseyeIcon className=\"size-4 opacity-30\" />\n                        </div>\n                        <div>\n                          <p className=\"text-[13px] text-white/80 font-medium\">\n                            {item.name}\n                          </p>\n                          <p className=\"text-[11px] text-white/30 font-light leading-relaxed\">\n                            {item.message}\n                          </p>\n                          <p className=\"text-[10px] text-white/20 font-light\">\n                            {item.date}\n                          </p>\n                        </div>\n                      </motion.div>\n                    ))}\n                  </AnimatePresence>\n                </CardContent>\n\n                {/* Bottom text */}\n                <CardFooter className=\"mt-auto sm:mt-0 lg:mt-auto order-2 sm:order-1 lg:order-2 sm:max-w-[220px] lg:max-w-none sm:flex sm:flex-col sm:justify-end items-start flex-col px-0 bg-transparent border-none\">\n                  <CardTitle className=\"text-[17px] font-semibold text-white\">\n                    Live Activity Stream\n                  </CardTitle>\n                  <CardDescription className=\"text-[13px] font-light text-white/40 mt-1 leading-relaxed\">\n                    See important updates from your team as they happen.\n                  </CardDescription>\n                </CardFooter>\n              </Card>\n\n              {/* Card 7 - Work From Anywhere (Phone mockup) */}\n              <MotionCard\n                initial=\"rest\"\n                whileHover=\"hover\"\n                className=\"flex-1 bg-[#070707] rounded-2xl border border-[#7B7B7B]/15 flex flex-col sm:flex-row lg:flex-col p-6 sm:p-7 relative overflow-hidden min-h-[320px] gap-4 sm:gap-6\"\n              >\n                <div className=\"w-20 h-20 bg-[#B6B5B5]/60 blur-[70px] absolute left-25 -top-10\" />\n\n                {/* Phone mockup */}\n                <CardContent className=\"order-1 sm:order-2 lg:order-1 flex-1 sm:flex-[1.2] lg:flex-1 flex items-center justify-center relative mask-b-from-60% min-h-[170px] sm:min-h-0 overflow-hidden px-0\">\n                  <motion.div\n                    className=\"absolute h-78 sm:h-90 left-1/2 sm:left-25 top-8 sm:top-5 -translate-x-[8%] sm:translate-x-0 scale-75 sm:scale-80 blur-[1px]\"\n                    variants={{\n                      rest: { y: 0 },\n                      hover: { y: -18 },\n                    }}\n                    transition={{\n                     type: \"spring\",\n                     bounce: 0.3,\n                     duration: 0.7,\n                     delay: 0.2\n                    }}\n                  >\n                    <PhoneMockup />\n                  </motion.div>\n                  <motion.div\n                    className=\"absolute h-78 sm:h-90 top-8 sm:top-5 left-1/2 sm:left-5 -translate-x-[64%] sm:translate-x-0\"\n                    variants={{\n                      rest: { y: 0 },\n                      hover: { y: -20 },\n                    }}\n                    transition={{\n                      type: \"spring\",\n                     bounce: 0.3,\n                     duration: 0.7\n                    }}\n                  >\n                    <PhoneMockup />\n                  </motion.div>\n                </CardContent>\n\n                {/* Bottom text */}\n                <CardFooter className=\"mt-auto sm:mt-0 lg:mt-auto relative z-20 order-2 sm:order-1 lg:order-2 sm:max-w-[230px] lg:max-w-none sm:flex sm:flex-col sm:justify-end shrink-0 items-start flex-col px-0 bg-transparent border-none\">\n                  <CardTitle className=\"text-[17px] font-semibold text-white\">\n                    Work From Anywhere.\n                  </CardTitle>\n                  <CardDescription className=\"text-[13px] font-light text-white/40 mt-1 leading-relaxed\">\n                    Manage your pipeline on the go. Get the native app for iOS\n                    and Android.\n                  </CardDescription>\n                </CardFooter>\n              </MotionCard>\n            </div>\n          </div>\n\n          {/* Right section: Card 5 - User Management (spans full height of rows 2-3) */}\n          <Card className=\"flex-1 bg-[#070707] rounded-2xl border border-[#7B7B7B]/15 flex flex-col p-5 sm:p-6 relative overflow-hidden min-h-[460px] xl:h-[524px] gap-0\">\n            <div className=\"w-20 h-20 bg-[#B6B5B5]/80 rounded-full blur-[70px] absolute left-15 -top-15\" />\n\n            {/* Top tags */}\n            <CardContent className=\"pt-3 pb-6 sm:pb-10 pr-4 sm:pr-6 bg-[#070707] border-2 border-[#7B7B7B]/10 rounded-3xl flex flex-col gap-2 items-end mask-l-from-20% relative lg:absolute top-0 lg:top-6 right-0 lg:right-6 px-0\">\n              <div className=\"flex gap-3\">\n                <span className=\"text-sm rounded-md text-white/20 px-2 py-1 border-2 border-[#1F1F1F]\">\n                  Change\n                </span>\n                <span className=\"text-sm rounded-md text-white/20 px-2 py-1 border-2 border-[#1F1F1F]\">\n                  Edit users\n                </span>\n              </div>\n\n              <div className=\"w-full px-2 py-1 bg-[#1B1E1F]/70 flex justify-end text-white/30 rounded-lg text-sm mt-3\">\n                Current Date\n              </div>\n              <div className=\"w-full px-2 py-1 flex justify-end text-white/30 rounded-lg text-sm\">\n                Current Day\n              </div>\n            </CardContent>\n\n            {/* User list */}\n            <CardContent className=\"flex flex-col gap-3 mt-6 lg:mt-24 relative z-20 px-0\">\n              {CARD5_USERS.map((user, index) => {\n                const isChecked = index < card5CheckedCount;\n\n                return (\n                  <div\n                    key={user.id}\n                    className=\"bg-[#070707] border border-[#212121] rounded-xl px-4 sm:px-5 py-4 flex items-center gap-3 w-full lg:max-w-[200px]\"\n                  >\n                    <motion.div\n                      className=\"w-[32px] h-[32px] rounded-full border-3 shrink-0 flex items-center justify-center\"\n                      animate={{\n                        backgroundColor: isChecked\n                          ? \"rgba(91, 166, 255, 0.18)\"\n                          : \"#070707\",\n                        borderColor: isChecked\n                          ? \"rgba(91, 166, 255, 0.85)\"\n                          : \"rgba(75, 75, 75, 0.3)\",\n                      }}\n                      transition={{ duration: 0.35, ease: \"easeInOut\" }}\n                    >\n                      <motion.svg\n                        width=\"14\"\n                        height=\"14\"\n                        viewBox=\"0 0 14 14\"\n                        fill=\"none\"\n                        xmlns=\"http://www.w3.org/2000/svg\"\n                        animate={{ opacity: isChecked ? 1 : 0, scale: isChecked ? 1 : 0.8 }}\n                        transition={{ duration: 0.25, ease: \"easeOut\" }}\n                      >\n                        <path\n                          d=\"M2 7.4L5.2 10.3L12 3.7\"\n                          stroke=\"#8CC0FF\"\n                          strokeWidth=\"1.6\"\n                          strokeLinecap=\"round\"\n                          strokeLinejoin=\"round\"\n                        />\n                      </motion.svg>\n                    </motion.div>\n\n                    <motion.div\n                      animate={{ opacity: isChecked ? 0.55 : 1 }}\n                      transition={{ duration: 0.35, ease: \"easeInOut\" }}\n                    >\n                      <p className=\"text-[13px] text-white/80 font-medium leading-tight\">\n                        <span className=\"relative inline-block\">\n                          {user.name}\n                          <motion.span\n                            className=\"pointer-events-none absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-white/65 origin-left\"\n                            animate={{ scaleX: isChecked ? 1 : 0, opacity: isChecked ? 1 : 0 }}\n                            transition={{ duration: 0.34, ease: [0.22, 1, 0.36, 1] }}\n                          />\n                        </span>\n                      </p>\n                      <p className=\"text-[11px] text-white/30 font-light\">\n                        <span className=\"relative inline-block\">\n                          {user.email}\n                          <motion.span\n                            className=\"pointer-events-none absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-white/35 origin-left\"\n                            animate={{ scaleX: isChecked ? 1 : 0, opacity: isChecked ? 1 : 0 }}\n                            transition={{\n                              duration: 0.3,\n                              ease: [0.22, 1, 0.36, 1],\n                              delay: isChecked ? 0.04 : 0,\n                            }}\n                          />\n                        </span>\n                      </p>\n                    </motion.div>\n                  </div>\n                );\n              })}\n            </CardContent>\n\n            {/* Keyboard */}\n            <CardFooter className=\"mt-5 sm:mt-auto pt-2 sm:pt-4 mask-b-from-0% w-full md:max-w-[360px] xl:max-w-none md:mx-auto xl:mx-0 px-0 bg-transparent border-none\">\n              <KeyboardGraphic />\n            </CardFooter>\n          </Card>\n        </div>\n      </div>\n    </div>\n  );\n};\n\nexport default Bento3;\n\n/* ============================\n   SUB-COMPONENTS\n   ============================ */\n\nconst BullseyeIcon = ({ className }: { className?: string }) => {\n  return (\n    <svg\n      width=\"28\"\n      height=\"28\"\n      viewBox=\"0 0 28 28\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      className={`${className}`}\n    >\n      <g filter=\"url(#filter0_i_bento3)\">\n        <circle cx=\"13.86\" cy=\"13.86\" r=\"13.86\" fill=\"#070707\" />\n      </g>\n      <circle\n        cx=\"13.86\"\n        cy=\"13.86\"\n        r=\"12.936\"\n        stroke=\"#ACACAC\"\n        strokeOpacity=\"0.72\"\n        strokeWidth=\"1.848\"\n      />\n      <circle cx=\"13.8609\" cy=\"13.8613\" r=\"8.316\" fill=\"#070707\" />\n      <circle\n        cx=\"13.8609\"\n        cy=\"13.8613\"\n        r=\"7.392\"\n        stroke=\"#ACACAC\"\n        strokeOpacity=\"0.72\"\n        strokeWidth=\"1.848\"\n      />\n      <defs>\n        <filter\n          id=\"filter0_i_bento3\"\n          x=\"0\"\n          y=\"-10.164\"\n          width=\"27.7207\"\n          height=\"37.884\"\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          <feColorMatrix\n            in=\"SourceAlpha\"\n            type=\"matrix\"\n            values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"\n            result=\"hardAlpha\"\n          />\n          <feOffset dy=\"-10.164\" />\n          <feGaussianBlur stdDeviation=\"7.854\" />\n          <feComposite in2=\"hardAlpha\" operator=\"arithmetic\" k2=\"-1\" k3=\"1\" />\n          <feColorMatrix\n            type=\"matrix\"\n            values=\"0 0 0 0 1 0 0 0 0 0.991346 0 0 0 0 0.991346 0 0 0 0.25 0\"\n          />\n          <feBlend mode=\"normal\" in2=\"shape\" result=\"effect1_innerShadow\" />\n        </filter>\n      </defs>\n    </svg>\n  );\n};\n\nconst PhoneMockup = () => {\n  return (\n    <img\n      src=\"https://assets.watermelon.sh/iphone-mockup.png\"\n      alt=\"Phone Mockup\"\n      width={200}\n      height={400}\n      className=\"w-auto h-full object-contain\"\n      loading=\"lazy\"\n      decoding=\"async\"\n    />\n  );\n};\n\nconst KeyboardGraphic = () => {\n  return (\n    <img\n      src=\"https://assets.watermelon.sh/keyboard.png\"\n      alt=\"Keyboard Graphic\"\n      width={400}\n      height={100}\n      className=\"w-full h-auto object-contain\"\n      loading=\"lazy\"\n      decoding=\"async\"\n    />\n  );\n};\n\nconst Arrow = () => {\n  return (\n    <svg\n      width=\"18\"\n      height=\"19\"\n      viewBox=\"0 0 18 19\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M4.97135 18.3756L0.304688 0.37561L16.3047 8.37561C8.30469 8.90894 5.4158 15.2645 4.97135 18.3756Z\"\n        fill=\"black\"\n        stroke=\"white\"\n        strokeWidth=\"0.4\"\n      />\n    </svg>\n  );\n};\n\nconst RollingDigit = ({\n  steps,\n  track,\n  shouldStart,\n  durationSeconds,\n}: {\n  steps: number;\n  track: number[];\n  shouldStart: boolean;\n  durationSeconds: number;\n}) => {\n  return (\n    <span className=\"relative inline-flex h-[1em] w-[0.62em] overflow-hidden align-baseline\">\n      <motion.span\n        className=\"absolute left-0 top-0 flex flex-col\"\n        initial={{ y: \"0em\" }}\n        animate={{ y: shouldStart ? `-${steps}em` : \"0em\" }}\n        transition={{ duration: durationSeconds, ease: [0.19, 1, 0.22, 1] }}\n      >\n        {track.map((value, index) => (\n          <span key={`${value}-${index}`} className=\"h-[1em] leading-none\">\n            {value}\n          </span>\n        ))}\n      </motion.span>\n    </span>\n  );\n};\n",
      "type": "registry:ui",
      "target": "components/ui/bento-3.tsx"
    }
  ],
  "type": "registry:ui"
}
