Spaces:
Running
Running
| @import "tailwindcss"; | |
| :root { | |
| --font-inter: 'Inter', system-ui, -apple-system, sans-serif; | |
| /* Janus palette */ | |
| --janus-bg: #0a0a0f; | |
| --janus-surface: #111118; | |
| --janus-surface-hover: #18181f; | |
| --janus-border: rgba(255, 255, 255, 0.06); | |
| --janus-border-hover: rgba(255, 255, 255, 0.12); | |
| --janus-indigo: #818cf8; | |
| --janus-violet: #a78bfa; | |
| --janus-text: #e5e7eb; | |
| --janus-text-muted: #6b7280; | |
| --janus-text-dim: #374151; | |
| --janus-glow: rgba(99, 102, 241, 0.15); | |
| /* Spacing */ | |
| --sidebar-width: 260px; | |
| --sidebar-collapsed: 68px; | |
| --input-max-width: 768px; | |
| } | |
| @theme inline { | |
| --font-sans: var(--font-inter); | |
| } | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: var(--font-inter); | |
| background-color: var(--janus-bg); | |
| color: var(--janus-text); | |
| line-height: 1.6; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| overflow-x: hidden; | |
| } | |
| /* βββ Scrollbar βββ */ | |
| ::-webkit-scrollbar { width: 5px; height: 5px; } | |
| ::-webkit-scrollbar-track { background: transparent; } | |
| ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 999px; } | |
| ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); } | |
| /* βββ Selection βββ */ | |
| ::selection { background: rgba(129, 140, 248, 0.3); } | |
| /* βββ Focus βββ */ | |
| *:focus-visible { | |
| outline: 1px solid rgba(129, 140, 248, 0.5); | |
| outline-offset: 2px; | |
| } | |
| /* βββ Animations βββ */ | |
| @keyframes spin { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } | |
| @keyframes orbPulse { | |
| 0%, 100% { transform: scale(1); opacity: 0.7; } | |
| 50% { transform: scale(1.12); opacity: 1; } | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(8px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @keyframes shimmer { | |
| 0% { background-position: -200% 0; } | |
| 100% { background-position: 200% 0; } | |
| } | |
| @keyframes floatUp { | |
| 0% { transform: translateY(0) scale(1); opacity: 0; } | |
| 10% { opacity: 0.8; } | |
| 90% { opacity: 0.4; } | |
| 100% { transform: translateY(-100vh) scale(0.5); opacity: 0; } | |
| } | |
| @keyframes ring1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } | |
| @keyframes ring2 { from { transform: rotate(120deg); } to { transform: rotate(-240deg); } } | |
| @keyframes ring3 { from { transform: rotate(240deg); } to { transform: rotate(600deg); } } | |
| .janus-ring-1 { animation: ring1 3s linear infinite; } | |
| .janus-ring-2 { animation: ring2 4s linear infinite; } | |
| .janus-ring-3 { animation: ring3 5s linear infinite; } | |
| /* βββ Glassmorphism βββ */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.025); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid var(--janus-border); | |
| } | |
| .glass-hover { | |
| transition: all 0.3s ease; | |
| } | |
| .glass-hover:hover { | |
| background: rgba(255, 255, 255, 0.05); | |
| border-color: var(--janus-border-hover); | |
| } | |
| /* βββ Conversation Bubbles βββ */ | |
| .bubble-user { | |
| background: rgba(129, 140, 248, 0.08); | |
| border: 1px solid rgba(129, 140, 248, 0.12); | |
| border-radius: 20px 20px 4px 20px; | |
| } | |
| .bubble-janus { | |
| background: transparent; | |
| border-radius: 20px 20px 20px 4px; | |
| } | |
| /* βββ Input Bar βββ */ | |
| .input-bar { | |
| background: var(--janus-surface); | |
| border: 1px solid var(--janus-border); | |
| border-radius: 24px; | |
| transition: all 0.3s ease; | |
| } | |
| .input-bar:focus-within { | |
| border-color: rgba(129, 140, 248, 0.3); | |
| box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.1), 0 4px 24px rgba(0, 0, 0, 0.3); | |
| } | |
| /* βββ Text Utilities βββ */ | |
| .text-gradient { | |
| background: linear-gradient(135deg, #e0e7ff 0%, #818cf8 50%, #a78bfa 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .text-gradient-subtle { | |
| background: linear-gradient(135deg, #f3f4f6 0%, #9ca3af 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* βββ Page Container βββ */ | |
| .page-container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 2rem 2.5rem; | |
| } | |
| /* βββ Card βββ */ | |
| .card { | |
| background: var(--janus-surface); | |
| border: 1px solid var(--janus-border); | |
| border-radius: 16px; | |
| padding: 1.5rem; | |
| transition: all 0.3s ease; | |
| } | |
| .card:hover { | |
| border-color: var(--janus-border-hover); | |
| } | |
| /* βββ Shimmer Loading βββ */ | |
| .shimmer { | |
| background: linear-gradient(90deg, transparent 25%, rgba(129, 140, 248, 0.06) 50%, transparent 75%); | |
| background-size: 200% 100%; | |
| animation: shimmer 2s ease-in-out infinite; | |
| } | |
| /* βββ Prose βββ */ | |
| .prose { max-width: 65ch; } | |
| .prose p { margin-bottom: 1em; } | |
| .prose h1, .prose h2, .prose h3 { margin-top: 1.5em; margin-bottom: 0.5em; font-weight: 500; } | |
| .prose ul, .prose ol { margin-bottom: 1em; padding-left: 1.5em; } | |
| .prose li { margin-bottom: 0.25em; } | |
| .prose code { background: rgba(255,255,255,0.06); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.875em; } | |
| .prose pre { background: rgba(0,0,0,0.4); padding: 1em; border-radius: 8px; overflow-x: auto; margin-bottom: 1em; } | |
| .prose pre code { background: transparent; padding: 0; } | |
| .prose blockquote { border-left: 2px solid rgba(129,140,248,0.3); padding-left: 1em; color: #9ca3af; } | |
| .prose-invert { color: #d1d5db; } | |
| /* βββ Line Clamp βββ */ | |
| .line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } | |
| .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } | |
| .line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } | |
| /* βββ Particle βββ */ | |
| .particle { animation: floatUp var(--duration, 20s) linear infinite; animation-delay: var(--delay, 0s); } | |