File size: 8,516 Bytes
5a81b95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    /* Cyber Terminal Dark Theme */
    --background: 220 20% 4%;
    --foreground: 180 100% 90%;

    --card: 220 25% 6%;
    --card-foreground: 180 100% 90%;

    --popover: 220 25% 6%;
    --popover-foreground: 180 100% 90%;

    /* Neon Cyan - Primary */
    --primary: 166 100% 50%;
    --primary-foreground: 220 20% 4%;

    /* Deep Navy - Secondary */
    --secondary: 220 30% 12%;
    --secondary-foreground: 180 100% 90%;

    --muted: 220 25% 15%;
    --muted-foreground: 200 20% 55%;

    /* Electric Teal - Accent */
    --accent: 175 100% 45%;
    --accent-foreground: 220 20% 4%;

    /* Hot Coral - Destructive/Alert */
    --destructive: 0 85% 55%;
    --destructive-foreground: 0 0% 100%;

    /* Alert Orange */
    --warning: 30 100% 55%;
    --warning-foreground: 220 20% 4%;

    --border: 200 50% 20%;
    --input: 220 30% 15%;
    --ring: 166 100% 50%;

    --radius: 0.25rem;

    /* Custom Design Tokens */
    --glow-primary: 0 0 20px hsl(166 100% 50% / 0.5), 0 0 40px hsl(166 100% 50% / 0.3);
    --glow-accent: 0 0 20px hsl(175 100% 45% / 0.5), 0 0 40px hsl(175 100% 45% / 0.3);
    --glow-destructive: 0 0 20px hsl(0 85% 55% / 0.5), 0 0 40px hsl(0 85% 55% / 0.3);
    
    --gradient-primary: linear-gradient(135deg, hsl(166 100% 50%), hsl(175 100% 45%));
    --gradient-dark: linear-gradient(180deg, hsl(220 20% 4%), hsl(220 25% 8%));
    --gradient-card: linear-gradient(135deg, hsl(220 25% 8%), hsl(220 30% 6%));
    
    --scanline-opacity: 0.03;
    --noise-opacity: 0.02;

    --sidebar-background: 220 25% 6%;
    --sidebar-foreground: 180 100% 90%;
    --sidebar-primary: 166 100% 50%;
    --sidebar-primary-foreground: 220 20% 4%;
    --sidebar-accent: 220 30% 15%;
    --sidebar-accent-foreground: 180 100% 90%;
    --sidebar-border: 200 50% 20%;
    --sidebar-ring: 166 100% 50%;
  }

  .dark {
    --background: 220 20% 4%;
    --foreground: 180 100% 90%;
    --card: 220 25% 6%;
    --card-foreground: 180 100% 90%;
    --popover: 220 25% 6%;
    --popover-foreground: 180 100% 90%;
    --primary: 166 100% 50%;
    --primary-foreground: 220 20% 4%;
    --secondary: 220 30% 12%;
    --secondary-foreground: 180 100% 90%;
    --muted: 220 25% 15%;
    --muted-foreground: 200 20% 55%;
    --accent: 175 100% 45%;
    --accent-foreground: 220 20% 4%;
    --destructive: 0 85% 55%;
    --destructive-foreground: 0 0% 100%;
    --border: 200 50% 20%;
    --input: 220 30% 15%;
    --ring: 166 100% 50%;
  }

  .light {
    --background: 210 20% 98%;
    --foreground: 220 30% 10%;
    --card: 0 0% 100%;
    --card-foreground: 220 30% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 220 30% 10%;
    --primary: 166 80% 40%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 20% 93%;
    --secondary-foreground: 220 30% 10%;
    --muted: 210 15% 90%;
    --muted-foreground: 220 15% 40%;
    --accent: 175 70% 35%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 70% 50%;
    --destructive-foreground: 0 0% 100%;
    --border: 210 15% 85%;
    --input: 210 15% 90%;
    --ring: 166 80% 40%;
    --scanline-opacity: 0.01;
    --noise-opacity: 0.01;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    @apply bg-background text-foreground font-sans antialiased;
    background-image: 
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        hsl(var(--foreground) / var(--scanline-opacity)) 2px,
        hsl(var(--foreground) / var(--scanline-opacity)) 4px
      );
    background-attachment: fixed;
  }

  ::selection {
    background: hsl(var(--primary) / 0.3);
    color: hsl(var(--primary));
  }
}

@layer components {
  /* Glowing text effects */
  .text-glow {
    text-shadow: var(--glow-primary);
  }

  .text-glow-accent {
    text-shadow: var(--glow-accent);
  }

  .text-glow-destructive {
    text-shadow: var(--glow-destructive);
  }

  /* Box glow effects */
  .box-glow {
    box-shadow: var(--glow-primary);
  }

  .box-glow-accent {
    box-shadow: var(--glow-accent);
  }

  /* Cyber border effect */
  .cyber-border {
    @apply relative;
    border: 1px solid hsl(var(--primary) / 0.3);
  }

  .cyber-border::before {
    content: '';
    @apply absolute inset-0 pointer-events-none;
    background: linear-gradient(
      90deg,
      hsl(var(--primary) / 0) 0%,
      hsl(var(--primary) / 0.1) 50%,
      hsl(var(--primary) / 0) 100%
    );
    animation: scan 3s linear infinite;
  }

  /* Terminal cursor blink */
  .cursor-blink::after {
    content: '▮';
    @apply text-primary ml-1;
    animation: blink 1s step-end infinite;
  }

  /* Data stream effect */
  .data-stream {
    @apply overflow-hidden relative;
  }

  .data-stream::before {
    content: '';
    @apply absolute top-0 left-0 w-full h-full pointer-events-none;
    background: linear-gradient(
      180deg,
      hsl(var(--primary) / 0.1) 0%,
      transparent 10%,
      transparent 90%,
      hsl(var(--primary) / 0.1) 100%
    );
  }

  /* Grid overlay */
  .grid-overlay {
    background-image: 
      linear-gradient(hsl(var(--primary) / 0.03) 1px, transparent 1px),
      linear-gradient(90deg, hsl(var(--primary) / 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  /* Breaking news ticker */
  .ticker {
    @apply overflow-hidden whitespace-nowrap;
  }

  .ticker-content {
    @apply inline-block;
    animation: ticker 30s linear infinite;
  }

  /* Glitch effect */
  .glitch {
    @apply relative;
  }

  .glitch::before,
  .glitch::after {
    content: attr(data-text);
    @apply absolute top-0 left-0 w-full h-full;
  }

  .glitch::before {
    left: 2px;
    text-shadow: -2px 0 hsl(var(--destructive));
    clip-path: inset(0);
    animation: glitch-1 2s infinite linear alternate-reverse;
  }

  .glitch::after {
    left: -2px;
    text-shadow: 2px 0 hsl(var(--accent));
    clip-path: inset(0);
    animation: glitch-2 2s infinite linear alternate-reverse;
  }

  /* Pulse ring */
  .pulse-ring {
    @apply relative;
  }

  .pulse-ring::before {
    content: '';
    @apply absolute inset-0 rounded-full;
    border: 2px solid hsl(var(--primary));
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
}

@layer utilities {
  /* Typography */
  .font-display {
    font-family: 'Orbitron', sans-serif;
  }

  .font-mono {
    font-family: 'JetBrains Mono', monospace;
  }

  .font-sans {
    font-family: 'Inter', sans-serif;
  }

  /* Gradient text */
  .gradient-text {
    @apply bg-clip-text text-transparent;
    background-image: var(--gradient-primary);
  }
}

/* Keyframe animations */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes glitch-1 {
  0%, 100% { clip-path: inset(80% 0 0 0); }
  20% { clip-path: inset(10% 0 70% 0); }
  40% { clip-path: inset(50% 0 30% 0); }
  60% { clip-path: inset(30% 0 50% 0); }
  80% { clip-path: inset(0 0 80% 0); }
}

@keyframes glitch-2 {
  0%, 100% { clip-path: inset(0 0 80% 0); }
  20% { clip-path: inset(30% 0 50% 0); }
  40% { clip-path: inset(70% 0 10% 0); }
  60% { clip-path: inset(10% 0 70% 0); }
  80% { clip-path: inset(60% 0 20% 0); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes matrix-fall {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}