Spaces:
Running on Zero

File size: 6,184 Bytes
2eef5d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&family=Noto+Sans+Lao:wght@400;500;600;700;800&display=swap");
@import "tailwindcss";

@custom-variant dark (&:where(.dark, .dark *));

@theme {
  --font-sans: "Noto Sans Lao", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Noto Sans Lao", "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;

  --color-background: #fafaf9;
  --color-foreground: #18181b;
  --color-card: #ffffff;
  --color-card-foreground: #18181b;
  --color-popover: #ffffff;
  --color-popover-foreground: #18181b;
  --color-muted: #f4f4f5;
  --color-muted-foreground: #71717a;
  --color-border: #e4e4e7;
  --color-input: #e4e4e7;
  --color-primary: #4f46e5;
  --color-primary-foreground: #ffffff;
  --color-secondary: #eef2ff;
  --color-secondary-foreground: #4338ca;
  --color-accent: #f4f4f5;
  --color-accent-foreground: #18181b;
  --color-destructive: #ef4444;
  --color-destructive-foreground: #ffffff;
  --color-success: #16a34a;
  --color-success-foreground: #ffffff;
  --color-warning: #f59e0b;
  --color-warning-foreground: #ffffff;
  --color-ring: #4f46e5;
  --color-chart-1: #4f46e5;
  --color-chart-2: #10b981;
  --color-chart-3: #f59e0b;
  --color-chart-4: #f43f5e;
  --color-chart-5: #8b5cf6;

  --radius-sm: 0.5rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  --shadow-card: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 4px 12px -2px rgb(0 0 0 / 0.06);
  --shadow-card-hover: 0 2px 4px 0 rgb(0 0 0 / 0.05), 0 12px 24px -6px rgb(0 0 0 / 0.14);
  --shadow-glow: 0 0 0 1px rgb(79 70 229 / 0.12), 0 8px 24px -6px rgb(79 70 229 / 0.35);
  --shadow-soft: 0 4px 16px -4px rgb(0 0 0 / 0.08);

  --animate-fade-in: fade-in 0.3s ease-out;
  --animate-fade-up: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  --animate-scale-in: scale-in 0.2s ease-out;
  --animate-slide-in-left: slide-in-left 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  --animate-slide-in-right: slide-in-right 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  --animate-slide-in-up: slide-in-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  --animate-shimmer: shimmer 1.6s linear infinite;
  --animate-float: float 6s ease-in-out infinite;
  --animate-pulse-soft: pulse-soft 2.4s ease-in-out infinite;

  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes slide-in-left {
    from { transform: translateX(-100%); }
    to { transform: none; }
  }
  @keyframes slide-in-right {
    from { transform: translateX(100%); }
    to { transform: none; }
  }
  @keyframes slide-in-up {
    from { transform: translateY(100%); }
    to { transform: none; }
  }
  @keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  @keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
  }
}

@layer base {
  * {
    @apply border-border;
  }
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  body {
    @apply bg-background text-foreground antialiased;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-tap-highlight-color: transparent;
  }
  ::selection {
    @apply bg-primary/15 text-foreground;
  }
}

@layer utilities {
  .safe-top {
    padding-top: env(safe-area-inset-top);
  }
  .safe-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .text-balance {
    text-wrap: balance;
  }
  .bg-grid {
    background-image:
      linear-gradient(to right, rgb(0 0 0 / 0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgb(0 0 0 / 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
  }
  .dark .bg-grid {
    background-image:
      linear-gradient(to right, rgb(255 255 255 / 0.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  }
  .bg-dots {
    background-image: radial-gradient(rgb(0 0 0 / 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
  }
  .dark .bg-dots {
    background-image: radial-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px);
  }
  .text-gradient {
    @apply bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 via-violet-600 to-indigo-400;
  }
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Dark mode token overrides (class-based via `.dark`) */
.dark {
  --color-background: #0c0a09;
  --color-foreground: #fafafa;
  --color-card: #18181b;
  --color-card-foreground: #fafafa;
  --color-popover: #18181b;
  --color-popover-foreground: #fafafa;
  --color-muted: #27272a;
  --color-muted-foreground: #a1a1aa;
  --color-border: #27272a;
  --color-input: #3f3f46;
  --color-primary: #818cf8;
  --color-primary-foreground: #0c0a09;
  --color-secondary: #2e2b52;
  --color-secondary-foreground: #c7d2fe;
  --color-accent: #27272a;
  --color-accent-foreground: #fafafa;
  --color-ring: #818cf8;
}

/* Refined scrollbar */
@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: rgb(0 0 0 / 0.16);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(0 0 0 / 0.28);
    border: 2px solid transparent;
    background-clip: content-box;
  }
  .dark ::-webkit-scrollbar-thumb {
    background: rgb(255 255 255 / 0.16);
    border: 2px solid transparent;
    background-clip: content-box;
  }
  .dark ::-webkit-scrollbar-thumb:hover {
    background: rgb(255 255 255 / 0.28);
    border: 2px solid transparent;
    background-clip: content-box;
  }
}