@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap";.playground{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:2rem 0;border-radius:var(--radius);overflow:hidden}.playground-editor,.playground-preview{display:flex;flex-direction:column;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);overflow:hidden;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.playground-editor-header,.playground-preview-header{background:hsl(var(--muted));padding:.875rem 1.25rem;border-bottom:1px solid hsl(var(--border));font-weight:600;font-size:.8125rem;color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:.05em;display:flex;align-items:center;gap:.5rem}.playground-editor-header:before{content:"";width:8px;height:8px;border-radius:50%;background:#3c83f6;box-shadow:0 0 0 2px hsl(var(--muted))}.playground-preview-header:before{content:"";width:8px;height:8px;border-radius:50%;background:#16a249;box-shadow:0 0 0 2px hsl(var(--muted))}.playground-editor-content{flex:1;min-height:500px;font-family:Fira Code,Courier New,monospace;font-size:13px;line-height:1.6;background:hsl(var(--background));color:hsl(var(--foreground))}.playground-editor-content textarea{background:transparent;color:hsl(var(--foreground));caret-color:#3c83f6}.playground-editor-content textarea:focus{outline:none}.playground-editor-content pre{background:hsl(var(--background));color:hsl(var(--foreground));padding:1.25rem;margin:0}.playground-editor-content pre code{background:transparent;color:hsl(var(--foreground))}.playground-preview-content{flex:1;padding:2rem;min-height:500px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background:hsl(var(--background));color:hsl(var(--foreground))}.playground-error{margin-top:1rem;padding:1rem;background:hsl(var(--destructive) / .1);border:1px solid hsl(var(--destructive) / .3);border-radius:calc(var(--radius) - 2px);color:hsl(var(--destructive-foreground));font-family:Fira Code,Courier New,monospace;font-size:.8125rem;white-space:pre-wrap;word-break:break-word;width:100%}@media(max-width:968px){.playground{grid-template-columns:1fr;gap:1rem}.playground-editor-content,.playground-preview-content{min-height:400px}.playground-preview-content{padding:1.5rem}}.hook-demo{max-width:100%}.hook-demo-header{display:flex;align-items:flex-start;gap:1.5rem;margin-bottom:3rem;flex-wrap:wrap}.back-button{padding:.625rem 1.25rem;background:hsl(var(--secondary));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);cursor:pointer;font-size:.9375rem;color:hsl(var(--foreground));transition:all .2s;font-weight:500;display:inline-flex;align-items:center;gap:.5rem}.back-button:hover{background:hsl(var(--accent));border-color:hsl(var(--border));transform:translate(-2px)}.hook-demo-title{flex:1}.hook-demo-title h1{font-size:2.5rem;font-weight:800;margin-bottom:.75rem;color:hsl(var(--foreground));font-family:Fira Code,Courier New,monospace;background:linear-gradient(135deg,hsl(var(--foreground)),#3c83f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hook-demo-description{color:hsl(var(--muted-foreground));font-size:1.125rem;line-height:1.7}.source-button{padding:.625rem 1.25rem;background:#3c83f6;color:hsl(var(--primary-foreground));text-decoration:none;border-radius:calc(var(--radius) - 2px);font-size:.9375rem;font-weight:600;transition:all .2s;white-space:nowrap;display:inline-flex;align-items:center;gap:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.source-button:hover{background:#6da2f8;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}.hook-demo-content{margin-bottom:3rem}.hook-demo-install{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:2rem;margin-top:2rem;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.hook-demo-install h3{font-size:1.125rem;font-weight:600;margin-bottom:1rem;color:hsl(var(--foreground));display:flex;align-items:center;gap:.5rem}.hook-demo-install h3:before{content:"";width:4px;height:1.125rem;background:#3c83f6;border-radius:2px}.hook-demo-install h3:not(:first-child){margin-top:2rem}.install-code{display:block;padding:1rem 1.25rem;background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);font-family:Fira Code,Courier New,monospace;font-size:.9375rem;color:hsl(var(--foreground));overflow-x:auto;margin-bottom:.5rem;position:relative}.install-code:before{content:"$";color:hsl(var(--muted-foreground));margin-right:.5rem}.hook-demo-error{text-align:center;padding:4rem 1.5rem}.hook-demo-error h2{font-size:2.5rem;font-weight:800;margin-bottom:1rem;color:hsl(var(--foreground))}.hook-demo-error p{color:hsl(var(--muted-foreground));font-size:1.125rem;margin-bottom:2rem}.hook-demo-error a{display:inline-flex;align-items:center;gap:.5rem;padding:.875rem 1.75rem;background:#3c83f6;color:hsl(var(--primary-foreground));text-decoration:none;border-radius:calc(var(--radius) - 2px);font-weight:600;transition:all .2s;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.hook-demo-error a:hover{background:#6da2f8;transform:translateY(-1px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a}@media(max-width:768px){.hook-demo-header{flex-direction:column}.hook-demo-title h1{font-size:1.75rem}.source-button{width:100%;justify-content:center}.hook-demo-install{padding:1.5rem}}.gallery-header{text-align:center;margin-bottom:4rem}.gallery-header h2{font-size:3rem;font-weight:800;margin-bottom:1rem;color:hsl(var(--foreground));background:linear-gradient(135deg,hsl(var(--foreground)),hsl(var(--muted-foreground)));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.gallery-header p{color:hsl(var(--muted-foreground));font-size:1.125rem;max-width:600px;margin:0 auto;line-height:1.7}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.hook-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1.75rem;text-decoration:none;color:inherit;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;position:relative;overflow:hidden}.hook-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#3c83f6,#7c3bed);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.4,0,.2,1)}.hook-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;border-color:#3c83f6}.hook-card:hover:before{transform:scaleX(1)}.hook-card-header{margin-bottom:1rem}.hook-card-header h3{font-size:1.25rem;font-weight:600;color:#3c83f6;font-family:Fira Code,Courier New,monospace;transition:color .2s}.hook-card:hover .hook-card-header h3{color:#6da2f8}.hook-card-description{color:hsl(var(--muted-foreground));font-size:.9375rem;line-height:1.7;flex:1;margin-bottom:1.5rem}.hook-card-footer{display:flex;justify-content:flex-end}.hook-card-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#3c83f61a;color:#3c83f6;border-radius:calc(var(--radius) - 2px);font-size:.8125rem;font-weight:600;transition:all .2s}.hook-card:hover .hook-card-badge{background:#3c83f633;transform:translate(4px)}@media(max-width:768px){.gallery-grid{grid-template-columns:1fr}.gallery-header h2{font-size:2rem}}.app{min-height:100vh;display:flex;flex-direction:column;background:hsl(var(--background))}.app-header{border-bottom:1px solid hsl(var(--border));padding:1rem 0;position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:hsl(var(--card) / .8);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.app-header .container{max-width:1400px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center}.logo{text-decoration:none;color:hsl(var(--foreground));transition:opacity .2s}.logo:hover{opacity:.8}.logo h1{font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,hsl(var(--foreground)),hsl(var(--muted-foreground)));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.app-header nav{display:flex;gap:1.5rem;align-items:center}.app-footer a{color:#3c83f6;text-decoration:none;transition:color .2s}.app-footer a:hover{color:#6da2f8;text-decoration:underline}.app-header nav a{text-decoration:none;color:hsl(var(--muted-foreground));font-weight:500;font-size:.9375rem;padding:.5rem 1rem;border-radius:calc(var(--radius) - 2px);transition:all .2s;position:relative}.app-header nav a:hover{color:hsl(var(--foreground));background:hsl(var(--accent))}.app-header nav a.active{color:hsl(var(--foreground));background:hsl(var(--accent))}.app-main{flex:1;max-width:1400px;width:100%;margin:0 auto;padding:3rem 2rem}.app-footer{background:hsl(var(--card));border-top:1px solid hsl(var(--border));padding:2rem 0;margin-top:auto}.app-footer .container{max-width:1400px;margin:0 auto;padding:0 2rem;text-align:center;color:hsl(var(--muted-foreground));font-size:.875rem}@media(max-width:768px){.app-header .container{flex-direction:column;gap:1rem;padding:0 1.5rem}.app-header nav{gap:.5rem}.app-header nav a{padding:.5rem .75rem;font-size:.875rem}.logo h1{font-size:1.25rem}.app-main{padding:2rem 1.5rem}}*{margin:0;padding:0;box-sizing:border-box}:root{--background: oklch(1 0 0);--foreground: oklch(.145 0 0);--card: oklch(1 0 0);--card-foreground: oklch(.145 0 0);--popover: oklch(1 0 0);--popover-foreground: oklch(.145 0 0);--primary: oklch(.205 0 0);--primary-foreground: oklch(.985 0 0);--secondary: oklch(.97 0 0);--secondary-foreground: oklch(.205 0 0);--muted: oklch(.97 0 0);--muted-foreground: oklch(.556 0 0);--accent: oklch(.97 0 0);--accent-foreground: oklch(.205 0 0);--destructive: oklch(.577 .245 27.325);--destructive-foreground: oklch(.985 0 0);--border: oklch(.922 0 0);--input: oklch(.922 0 0);--ring: oklch(.708 0 0);--radius: .625rem;--shadow-sm: 0 1px 2px rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1)}.dark{--background: oklch(.145 0 0);--foreground: oklch(.985 0 0);--card: oklch(.145 0 0);--card-foreground: oklch(.985 0 0);--popover: oklch(.145 0 0);--popover-foreground: oklch(.985 0 0);--primary: oklch(.985 0 0);--primary-foreground: oklch(.205 0 0);--secondary: oklch(.269 0 0);--secondary-foreground: oklch(.985 0 0);--muted: oklch(.269 0 0);--muted-foreground: oklch(.708 0 0);--accent: oklch(.269 0 0);--accent-foreground: oklch(.985 0 0);--destructive: oklch(.396 .141 25.723);--destructive-foreground: oklch(.637 .237 25.331);--border: oklch(.269 0 0);--input: oklch(.269 0 0);--ring: oklch(.439 0 0)}html,body{height:100%;background:var(--background);color:var(--foreground);font-family:Inter,system-ui,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased;transition:background .3s ease,color .3s ease,border-color .3s ease}h1,h2,h3,h4,h5,h6{color:var(--foreground);font-weight:700;line-height:1.2}a{color:var(--primary);text-decoration:none;transition:color .2s}a:hover{color:var(--primary)}button{background:var(--primary);color:var(--primary-foreground);border:none;border-radius:calc(var(--radius) - 2px);padding:.625rem 1.25rem;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:var(--shadow-sm)}button:hover{background:var(--accent);box-shadow:var(--shadow-md)}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.5rem;transition:background .2s,box-shadow .2s}.card:hover{box-shadow:var(--shadow-md)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--background)}::-webkit-scrollbar-thumb{background:var(--muted);border-radius:5px}::-webkit-scrollbar-thumb:hover{background:var(--muted-foreground)}code,pre{font-family:Fira Code,monospace;background:var(--muted);color:var(--foreground);border-radius:calc(var(--radius) - 2px);padding:.25rem .5rem}
