File size: 5,779 Bytes
24f95f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
@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); }