{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-aurora-lit",
  "type": "registry:component",
  "title": "Hero Aurora Lit",
  "description": "A giant dark headline silhouetted against a drifting aurora, rim-lit like an eclipse, with a faint reflection on a glowing horizon line. Quiet, nocturnal and built around the type.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "hero",
    "hero",
    "aurora",
    "typography",
    "glow",
    "reflection",
    "night"
  ],
  "docs": "https://hyperblur.dev/effects/hero-aurora-lit",
  "files": [
    {
      "path": "registry/hyperblur/hero-aurora-lit.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/hero-aurora-lit.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface HeroAuroraLitAction {\n  label: string;\n  href: string;\n}\n\nexport interface HeroAuroraLitProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  primaryCta?: HeroAuroraLitAction | null;\n  secondaryCta?: HeroAuroraLitAction | null;\n  colors?: [string, string, string];\n  reflection?: boolean;\n  speed?: number;\n  headingAs?: \"h1\" | \"h2\";\n}\n\nconst css = `\n.hb-vb10 {\n  --hb-vb10-a: #34f5c5;\n  --hb-vb10-b: #3b82f6;\n  --hb-vb10-c: #c026d3;\n  --hb-vb10-sp: 1;\n  position: relative;\n  box-sizing: border-box;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  width: 100%;\n  min-height: 620px;\n  padding: 60px clamp(18px, 5cqi, 48px) 56px;\n  overflow: hidden;\n  isolation: isolate;\n  container-type: inline-size;\n  background: #030304;\n  color: #ededed;\n  font-family: inherit;\n  text-align: center;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-vb10 *, .hb-vb10 *::before, .hb-vb10 *::after { box-sizing: border-box; }\n.hb-vb10-sky {\n  position: absolute;\n  left: 50%;\n  top: 38%;\n  z-index: -2;\n  width: min(1100px, 130%);\n  height: 340px;\n  transform: translate(-50%, -50%);\n  pointer-events: none;\n}\n.hb-vb10-veil {\n  position: absolute;\n  border-radius: 50%;\n  filter: blur(46px);\n  mix-blend-mode: screen;\n  animation: hb-vb10-drift calc(var(--hb-vb10-dur) / var(--hb-vb10-sp)) cubic-bezier(.45, 0, .55, 1) infinite alternate;\n  animation-delay: var(--hb-vb10-del);\n}\n.hb-vb10-veil:nth-child(1) { left: 6%; top: 18%; width: 52%; height: 64%; background: radial-gradient(closest-side, var(--hb-vb10-a), transparent); --hb-vb10-dur: 11s; --hb-vb10-del: -2s; --hb-vb10-tx: 12%; }\n.hb-vb10-veil:nth-child(2) { left: 32%; top: 6%; width: 46%; height: 80%; background: radial-gradient(closest-side, var(--hb-vb10-b), transparent); --hb-vb10-dur: 14s; --hb-vb10-del: -6s; --hb-vb10-tx: -10%; }\n.hb-vb10-veil:nth-child(3) { left: 52%; top: 22%; width: 42%; height: 60%; background: radial-gradient(closest-side, var(--hb-vb10-c), transparent); --hb-vb10-dur: 12s; --hb-vb10-del: -4s; --hb-vb10-tx: -14%; }\n.hb-vb10-veil:nth-child(4) { left: 24%; top: 34%; width: 50%; height: 34%; background: radial-gradient(closest-side, #ffffff, transparent); opacity: .55; --hb-vb10-dur: 9s; --hb-vb10-del: -1s; --hb-vb10-tx: 8%; }\n@keyframes hb-vb10-drift {\n  from { transform: translate3d(0, 0, 0) scale(1, 1); }\n  to { transform: translate3d(var(--hb-vb10-tx), -6%, 0) scale(1.15, .85); }\n}\n.hb-vb10-curtain {\n  position: absolute;\n  inset: 0;\n  background: repeating-linear-gradient(90deg, rgba(3, 3, 4, 0) 0 22px, rgba(3, 3, 4, .35) 22px 26px);\n  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);\n  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);\n  animation: hb-vb10-curtain calc(20s / var(--hb-vb10-sp)) linear infinite;\n}\n@keyframes hb-vb10-curtain {\n  to { background-position: 260px 0; }\n}\n.hb-vb10-stars {\n  position: absolute;\n  inset: 0;\n  z-index: -3;\n  background-image:\n    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, .7), transparent),\n    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, .5), transparent),\n    radial-gradient(1px 1px at 44% 12%, rgba(255, 255, 255, .6), transparent),\n    radial-gradient(1px 1px at 63% 82%, rgba(255, 255, 255, .45), transparent),\n    radial-gradient(1px 1px at 78% 22%, rgba(255, 255, 255, .7), transparent),\n    radial-gradient(1px 1px at 90% 64%, rgba(255, 255, 255, .5), transparent),\n    radial-gradient(1.5px 1.5px at 6% 52%, rgba(255, 255, 255, .6), transparent),\n    radial-gradient(1.5px 1.5px at 84% 46%, rgba(255, 255, 255, .55), transparent);\n  pointer-events: none;\n}\n.hb-vb10-in { animation: hb-vb10-up 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--hb-vb10-d, 0ms); }\n@keyframes hb-vb10-up {\n  from { opacity: 0; transform: translate3d(0, 14px, 0); }\n  to { opacity: 1; transform: none; }\n}\n.hb-vb10-eyebrow {\n  display: inline-flex;\n  align-items: center;\n  gap: 10px;\n  margin: 0;\n  color: rgba(237, 237, 237, .6);\n  font-size: 12.5px;\n  letter-spacing: .14em;\n  text-transform: uppercase;\n}\n.hb-vb10-eyebrow::before, .hb-vb10-eyebrow::after { content: \"\"; width: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(237, 237, 237, .4)); }\n.hb-vb10-eyebrow::after { transform: scaleX(-1); }\n.hb-vb10-word {\n  position: relative;\n  margin: 0;\n  font-family: var(--font-grotesk, inherit);\n  font-size: clamp(54px, 12cqi, 156px);\n  font-weight: 700;\n  line-height: .92;\n  letter-spacing: -.055em;\n  text-wrap: balance;\n}\n.hb-vb10-title {\n  width: 100%;\n  max-width: 1000px;\n  margin-top: 22px;\n  background: linear-gradient(180deg, #3a3d4a 0%, #101015 34%, #050507 70%);\n  -webkit-background-clip: text;\n  background-clip: text;\n  color: transparent;\n  filter:\n    drop-shadow(0 -1px 0 color-mix(in srgb, var(--hb-vb10-a) 70%, #ffffff))\n    drop-shadow(0 0 18px color-mix(in srgb, var(--hb-vb10-b) 55%, transparent))\n    drop-shadow(0 0 48px color-mix(in srgb, var(--hb-vb10-a) 30%, transparent));\n}\n.hb-vb10-mwrap {\n  width: 100%;\n  max-width: 1000px;\n  height: .6em;\n  margin-top: 4px;\n  overflow: hidden;\n  pointer-events: none;\n  user-select: none;\n}\n.hb-vb10-mirror {\n  margin: 0;\n  background: linear-gradient(0deg, #2a2d38 0%, #08080a 40%);\n  -webkit-background-clip: text;\n  background-clip: text;\n  color: transparent;\n  transform: scaleY(-1);\n  opacity: .5;\n  filter: blur(1.5px) drop-shadow(0 0 18px color-mix(in srgb, var(--hb-vb10-b) 40%, transparent));\n  -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent 42%);\n  mask-image: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent 42%);\n}\n.hb-vb10-horizon {\n  width: min(760px, 90%);\n  height: 1px;\n  margin-top: -2px;\n  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--hb-vb10-a) 60%, #ffffff), color-mix(in srgb, var(--hb-vb10-b) 70%, transparent), transparent);\n  box-shadow: 0 0 24px 2px color-mix(in srgb, var(--hb-vb10-b) 40%, transparent);\n}\n.hb-vb10-sub { max-width: 520px; margin: 26px 0 0; color: rgba(237, 237, 237, .58); font-size: clamp(14.5px, 1.7cqi, 16.5px); line-height: 1.6; }\n.hb-vb10-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }\n.hb-vb10-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 9px;\n  min-height: 46px;\n  padding: 0 22px;\n  border: 1px solid rgba(255, 255, 255, .14);\n  border-radius: 999px;\n  color: #ededed;\n  font: inherit;\n  font-size: 15px;\n  font-weight: 550;\n  text-decoration: none;\n  white-space: nowrap;\n  transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s ease, border-color .25s ease, box-shadow .3s ease;\n}\n.hb-vb10-btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); }\n.hb-vb10-btn:active { transform: scale(.98); }\n.hb-vb10-btn:focus-visible { outline: 2px solid var(--hb-vb10-a); outline-offset: 3px; }\n.hb-vb10-btn[data-primary] { border-color: transparent; background: #f5f5f5; color: #050507; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 40px -8px color-mix(in srgb, var(--hb-vb10-a) 70%, transparent); }\n.hb-vb10-btn[data-primary]:hover { background: #ffffff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 56px -6px color-mix(in srgb, var(--hb-vb10-a) 80%, transparent); }\n@container (max-width: 480px) {\n  .hb-vb10-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }\n  .hb-vb10-btn { justify-content: center; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-vb10-veil, .hb-vb10-curtain, .hb-vb10-in { animation: none; }\n  .hb-vb10-btn { transition: none; }\n}\n`;\n\nconst defaultPrimary: HeroAuroraLitAction = { label: \"Download for Mac\", href: \"#\" };\nconst defaultSecondary: HeroAuroraLitAction = { label: \"Read the manifesto\", href: \"#\" };\n\nfunction d(ms: number) {\n  return { \"--hb-vb10-d\": `${ms}ms` } as React.CSSProperties;\n}\n\nexport function HeroAuroraLit({\n  eyebrow = \"Nocturne for Mac and iPad\",\n  title = \"Write in the quiet hours\",\n  subtitle = \"A calm writing space with a night palette tuned for tired eyes, timed focus sessions and private sync across your devices.\",\n  primaryCta = defaultPrimary,\n  secondaryCta = defaultSecondary,\n  colors = [\"#34f5c5\", \"#3b82f6\", \"#c026d3\"],\n  reflection = true,\n  speed = 1,\n  headingAs = \"h1\",\n  className = \"\",\n  style,\n  ...rest\n}: HeroAuroraLitProps) {\n  const Heading = headingAs;\n  const vars = {\n    \"--hb-vb10-a\": colors[0],\n    \"--hb-vb10-b\": colors[1],\n    \"--hb-vb10-c\": colors[2],\n    \"--hb-vb10-sp\": Math.max(speed, 0.1),\n    ...style,\n  } as React.CSSProperties;\n\n  return (\n    <section className={`hb-vb10 ${className}`} style={vars} {...rest}>\n      <style href=\"hb-hero-aurora-lit\" precedence=\"default\">{css}</style>\n      <div className=\"hb-vb10-stars\" aria-hidden=\"true\" />\n      <div className=\"hb-vb10-sky\" aria-hidden=\"true\">\n        <span className=\"hb-vb10-veil\" />\n        <span className=\"hb-vb10-veil\" />\n        <span className=\"hb-vb10-veil\" />\n        <span className=\"hb-vb10-veil\" />\n        <span className=\"hb-vb10-curtain\" />\n      </div>\n      {eyebrow ? (\n        <p className=\"hb-vb10-eyebrow hb-vb10-in\" style={d(60)}>\n          {eyebrow}\n        </p>\n      ) : null}\n      <Heading className=\"hb-vb10-word hb-vb10-title hb-vb10-in\" style={d(160)}>\n        {title}\n      </Heading>\n      {reflection ? (\n        <>\n          <div className=\"hb-vb10-word hb-vb10-mwrap hb-vb10-in\" style={d(260)} aria-hidden=\"true\">\n            <p className=\"hb-vb10-mirror\">{title}</p>\n          </div>\n          <span className=\"hb-vb10-horizon hb-vb10-in\" style={d(320)} aria-hidden=\"true\" />\n        </>\n      ) : null}\n      {subtitle ? (\n        <p className=\"hb-vb10-sub hb-vb10-in\" style={d(380)}>\n          {subtitle}\n        </p>\n      ) : null}\n      {primaryCta || secondaryCta ? (\n        <div className=\"hb-vb10-actions hb-vb10-in\" style={d(460)}>\n          {primaryCta ? (\n            <a className=\"hb-vb10-btn\" data-primary=\"\" href={primaryCta.href}>\n              <svg width=\"15\" height=\"15\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                <path d=\"M12 4v11M7 10l5 5 5-5M5 20h14\" />\n              </svg>\n              {primaryCta.label}\n            </a>\n          ) : null}\n          {secondaryCta ? (\n            <a className=\"hb-vb10-btn\" href={secondaryCta.href}>\n              {secondaryCta.label}\n            </a>\n          ) : null}\n        </div>\n      ) : null}\n    </section>\n  );\n}\n"
    }
  ]
}