File size: 27,059 Bytes
81472c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ShadowWatch | Cryptic Surveillance</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Ubuntu+Mono:wght@400;700&display=swap');
        
        :root {
            --primary: #0f172a;
            --secondary: #1e293b;
            --accent: #7c3aed;
            --text: #e2e8f0;
            --highlight: #a78bfa;
        }
        
        body {
            font-family: 'Ubuntu Mono', monospace;
            background-color: var(--primary);
            color: var(--text);
            overflow-x: hidden;
        }
        
        .title-font {
            font-family: 'Orbitron', sans-serif;
        }
        
        .glow {
            text-shadow: 0 0 8px var(--highlight);
        }
        
        .terminal {
            background-color: rgba(15, 23, 42, 0.7);
            border: 1px solid var(--accent);
            box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
        }
        
        .terminal-header {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-bottom: 1px solid var(--accent);
        }
        
        .terminal-body {
            background: rgba(15, 23, 42, 0.5);
        }
        
        .typewriter {
            overflow: hidden;
            border-right: .15em solid var(--accent);
            white-space: nowrap;
            animation: 
                typing 3.5s steps(40, end),
                blink-caret .75s step-end infinite;
        }
        
        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }
        
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: var(--accent) }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        
        .scanline {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                transparent 0%,
                rgba(124, 58, 237, 0.1) 50%,
                transparent 100%
            );
            animation: scan 8s linear infinite;
            pointer-events: none;
        }
        
        @keyframes scan {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }
        
        .grid-bg {
            background-image: 
                linear-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
        }
    </style>
</head>
<body class="min-h-screen grid-bg">
    <!-- Scanline Effect -->
    <div class="scanline"></div>
    
    <!-- Main Container -->
    <div class="container mx-auto px-4 py-8 relative z-10">
        <!-- Header -->
        <header class="flex flex-col md:flex-row justify-between items-center mb-10">
            <div class="flex items-center mb-4 md:mb-0">
                <div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center mr-4">
                    <i class="fas fa-eye text-white text-xl"></i>
                </div>
                <h1 class="title-font text-3xl md:text-4xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-purple-400 to-pink-600">
                    Shadow<span class="glow">Watch</span>
                </h1>
            </div>
            <div class="flex space-x-4">
                <button class="px-4 py-2 bg-purple-700 hover:bg-purple-600 rounded-md transition-all duration-300 flex items-center">
                    <i class="fas fa-user-secret mr-2"></i> Login
                </button>
                <button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-md transition-all duration-300 flex items-center">
                    <i class="fas fa-cog mr-2"></i> Settings
                </button>
            </div>
        </header>
        
        <!-- Dashboard Grid -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
            <!-- Status Panel -->
            <div class="terminal rounded-lg overflow-hidden col-span-1">
                <div class="terminal-header p-4 flex justify-between items-center">
                    <h2 class="font-bold text-purple-300 flex items-center">
                        <i class="fas fa-heart-pulse mr-2"></i> SYSTEM STATUS
                    </h2>
                    <div class="flex space-x-2">
                        <div class="w-3 h-3 rounded-full bg-green-500"></div>
                        <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
                        <div class="w-3 h-3 rounded-full bg-red-500"></div>
                    </div>
                </div>
                <div class="terminal-body p-4">
                    <div class="mb-4">
                        <div class="flex justify-between mb-1">
                            <span class="text-sm text-gray-400">Network Uptime</span>
                            <span class="text-sm text-purple-300">99.98%</span>
                        </div>
                        <div class="w-full bg-gray-800 rounded-full h-2">
                            <div class="bg-green-500 h-2 rounded-full" style="width: 99.98%"></div>
                        </div>
                    </div>
                    <div class="mb-4">
                        <div class="flex justify-between mb-1">
                            <span class="text-sm text-gray-400">Memory Usage</span>
                            <span class="text-sm text-purple-300">64%</span>
                        </div>
                        <div class="w-full bg-gray-800 rounded-full h-2">
                            <div class="bg-yellow-500 h-2 rounded-full" style="width: 64%"></div>
                        </div>
                    </div>
                    <div class="mb-4">
                        <div class="flex justify-between mb-1">
                            <span class="text-sm text-gray-400">CPU Load</span>
                            <span class="text-sm text-purple-300">42%</span>
                        </div>
                        <div class="w-full bg-gray-800 rounded-full h-2">
                            <div class="bg-purple-500 h-2 rounded-full" style="width: 42%"></div>
                        </div>
                    </div>
                    <div class="mt-6">
                        <div class="flex items-center justify-between py-2 border-b border-gray-700">
                            <span class="text-gray-400">Active Nodes</span>
                            <span class="font-mono text-purple-300">24</span>
                        </div>
                        <div class="flex items-center justify-between py-2 border-b border-gray-700">
                            <span class="text-gray-400">Threat Level</span>
                            <span class="font-mono text-green-400">Low</span>
                        </div>
                        <div class="flex items-center justify-between py-2">
                            <span class="text-gray-400">Last Scan</span>
                            <span class="font-mono text-purple-300">2.4s ago</span>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Main Terminal -->
            <div class="terminal rounded-lg overflow-hidden col-span-1 lg:col-span-2">
                <div class="terminal-header p-4 flex justify-between items-center">
                    <h2 class="font-bold text-purple-300 flex items-center">
                        <i class="fas fa-terminal mr-2"></i> COMMAND INTERFACE
                    </h2>
                    <div class="text-xs text-gray-400">
                        <span class="mr-2">v2.4.8</span>
                        <span class="text-green-400">CONNECTED</span>
                    </div>
                </div>
                <div class="terminal-body p-4 h-96 overflow-y-auto font-mono text-sm" id="terminal-output">
                    <div class="mb-4">
                        <p class="text-green-400">user@shadowwatch:~$ <span class="typewriter">initialize --security-level=high</span></p>
                        <p class="text-gray-400 mt-2">> Initializing ShadowWatch protocols...</p>
                        <p class="text-gray-400">> Loading cryptographic modules...</p>
                        <p class="text-green-400">> System ready. Security level set to HIGH.</p>
                    </div>
                    <div class="mb-4">
                        <p class="text-green-400">user@shadowwatch:~$ <span class="text-white">scan network --deep</span></p>
                        <p class="text-gray-400 mt-2">> Scanning 24 active nodes...</p>
                        <p class="text-gray-400">> Analyzing traffic patterns...</p>
                        <p class="text-gray-400">> Detecting anomalies...</p>
                        <p class="text-green-400">> Scan complete. No critical threats detected.</p>
                    </div>
                    <div class="mb-4">
                        <p class="text-green-400">user@shadowwatch:~$ <span class="text-white" id="terminal-input">_</span></p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Activity Feed -->
        <div class="terminal rounded-lg overflow-hidden mb-8">
            <div class="terminal-header p-4 flex justify-between items-center">
                <h2 class="font-bold text-purple-300 flex items-center">
                    <i class="fas fa-list-alt mr-2"></i> ACTIVITY MONITOR
                </h2>
                <div class="flex items-center">
                    <span class="text-xs text-gray-400 mr-2">LIVE FEED</span>
                    <div class="w-2 h-2 rounded-full bg-red-500 pulse"></div>
                </div>
            </div>
            <div class="terminal-body p-4">
                <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                    <div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg">
                        <h3 class="text-purple-300 mb-3 flex items-center">
                            <i class="fas fa-shield-halved mr-2"></i> Security Events
                        </h3>
                        <ul class="space-y-3" id="security-events">
                            <li class="flex items-start">
                                <div class="w-2 h-2 rounded-full bg-green-500 mt-1.5 mr-2"></div>
                                <div>
                                    <p class="text-sm">Firewall rule updated</p>
                                    <p class="text-xs text-gray-400">2 minutes ago</p>
                                </div>
                            </li>
                            <li class="flex items-start">
                                <div class="w-2 h-2 rounded-full bg-yellow-500 mt-1.5 mr-2"></div>
                                <div>
                                    <p class="text-sm">Unusual login attempt</p>
                                    <p class="text-xs text-gray-400">14 minutes ago</p>
                                </div>
                            </li>
                            <li class="flex items-start">
                                <div class="w-2 h-2 rounded-full bg-green-500 mt-1.5 mr-2"></div>
                                <div>
                                    <p class="text-sm">New device authenticated</p>
                                    <p class="text-xs text-gray-400">32 minutes ago</p>
                                </div>
                            </li>
                        </ul>
                    </div>
                    <div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg">
                        <h3 class="text-purple-300 mb-3 flex items-center">
                            <i class="fas fa-network-wired mr-2"></i> Network Traffic
                        </h3>
                        <div class="h-40 flex items-end space-x-1" id="traffic-graph">
                            <div class="w-4 bg-purple-500 rounded-t-sm" style="height: 30%"></div>
                            <div class="w-4 bg-purple-600 rounded-t-sm" style="height: 45%"></div>
                            <div class="w-4 bg-purple-700 rounded-t-sm" style="height: 60%"></div>
                            <div class="w-4 bg-purple-800 rounded-t-sm" style="height: 75%"></div>
                            <div class="w-4 bg-purple-900 rounded-t-sm" style="height: 85%"></div>
                            <div class="w-4 bg-purple-700 rounded-t-sm" style="height: 65%"></div>
                            <div class="w-4 bg-purple-600 rounded-t-sm" style="height: 50%"></div>
                            <div class="w-4 bg-purple-500 rounded-t-sm" style="height: 35%"></div>
                        </div>
                        <p class="text-xs text-gray-400 mt-2 text-center">Last 8 minutes</p>
                    </div>
                    <div class="bg-gray-800 bg-opacity-50 p-4 rounded-lg">
                        <h3 class="text-purple-300 mb-3 flex items-center">
                            <i class="fas fa-bell mr-2"></i> Alerts
                        </h3>
                        <div class="bg-gray-900 p-3 rounded-md mb-3">
                            <div class="flex justify-between items-start">
                                <div class="flex items-center">
                                    <div class="w-2 h-2 rounded-full bg-yellow-500 mr-2"></div>
                                    <span class="text-sm">Warning</span>
                                </div>
                                <span class="text-xs text-gray-400">5 min ago</span>
                            </div>
                            <p class="text-xs mt-1">High CPU usage on node #7</p>
                        </div>
                        <div class="bg-gray-900 p-3 rounded-md">
                            <div class="flex justify-between items-start">
                                <div class="flex items-center">
                                    <div class="w-2 h-2 rounded-full bg-green-500 mr-2"></div>
                                    <span class="text-sm">Info</span>
                                </div>
                                <span class="text-xs text-gray-400">12 min ago</span>
                            </div>
                            <p class="text-xs mt-1">New firmware update available</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Quick Actions -->
        <div class="flex flex-wrap justify-center gap-4 mb-10">
            <button class="px-6 py-3 bg-purple-800 hover:bg-purple-700 rounded-lg transition-all duration-300 flex items-center">
                <i class="fas fa-search mr-2"></i> Quick Scan
            </button>
            <button class="px-6 py-3 bg-gray-800 hover:bg-gray-700 rounded-lg transition-all duration-300 flex items-center">
                <i class="fas fa-lock mr-2"></i> Lock System
            </button>
            <button class="px-6 py-3 bg-gray-800 hover:bg-gray-700 rounded-lg transition-all duration-300 flex items-center">
                <i class="fas fa-chart-line mr-2"></i> Analytics
            </button>
            <button class="px-6 py-3 bg-gray-800 hover:bg-gray-700 rounded-lg transition-all duration-300 flex items-center">
                <i class="fas fa-users mr-2"></i> User Management
            </button>
        </div>
    </div>
    
    <!-- Footer -->
    <footer class="bg-gray-900 bg-opacity-50 py-4 border-t border-gray-800">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="flex items-center mb-4 md:mb-0">
                    <div class="w-8 h-8 rounded-full bg-purple-600 flex items-center justify-center mr-3">
                        <i class="fas fa-eye text-white text-sm"></i>
                    </div>
                    <span class="text-sm text-gray-400">ShadowWatch v2.4.8</span>
                </div>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
                        <i class="fab fa-github"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
                        <i class="fab fa-discord"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
                        <i class="fab fa-twitter"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-purple-300 transition-colors">
                        <i class="fas fa-envelope"></i>
                    </a>
                </div>
            </div>
        </div>
    </footer>
    
    <script>
        // Terminal typing effect
        document.addEventListener('DOMContentLoaded', function() {
            const commands = [
                "analyze --target=network --depth=3",
                "decrypt --file=secure_data.vault --key=shadowkey",
                "monitor --nodes=all --alert-level=medium",
                "deploy --module=stealth --activation=immediate",
                "query --database=threats --last=24h"
            ];
            
            const terminalInput = document.getElementById('terminal-input');
            const terminalOutput = document.getElementById('terminal-output');
            let currentCommand = 0;
            
            function typeCommand() {
                let i = 0;
                const command = commands[currentCommand];
                terminalInput.textContent = '';
                
                const typingInterval = setInterval(() => {
                    if (i < command.length) {
                        terminalInput.textContent += command.charAt(i);
                        i++;
                    } else {
                        clearInterval(typingInterval);
                        setTimeout(() => {
                            executeCommand(command);
                        }, 500);
                    }
                }, 50);
            }
            
            function executeCommand(command) {
                // Create command display
                const commandDisplay = document.createElement('div');
                commandDisplay.className = 'mb-4';
                commandDisplay.innerHTML = `
                    <p class="text-green-400">user@shadowwatch:~$ <span class="text-white">${command}</span></p>
                `;
                terminalOutput.appendChild(commandDisplay);
                
                // Create response based on command
                const response = document.createElement('div');
                response.className = 'mb-4';
                
                let responseText = '';
                if (command.includes('analyze')) {
                    responseText = `
                        <p class="text-gray-400 mt-2">> Analyzing network topology...</p>
                        <p class="text-gray-400">> Scanning for vulnerabilities...</p>
                        <p class="text-green-400">> Analysis complete. Found 3 potential weak points.</p>
                    `;
                } else if (command.includes('decrypt')) {
                    responseText = `
                        <p class="text-gray-400 mt-2">> Accessing secure vault...</p>
                        <p class="text-gray-400">> Applying shadow decryption protocol...</p>
                        <p class="text-green-400">> Decryption successful. Data available in /secure/decrypted</p>
                    `;
                } else if (command.includes('monitor')) {
                    responseText = `
                        <p class="text-gray-400 mt-2">> Establishing surveillance links...</p>
                        <p class="text-gray-400">> Monitoring all 24 nodes...</p>
                        <p class="text-green-400">> Surveillance active. Alert threshold set to MEDIUM.</p>
                    `;
                } else if (command.includes('deploy')) {
                    responseText = `
                        <p class="text-gray-400 mt-2">> Compiling stealth module...</p>
                        <p class="text-gray-400">> Deploying to all nodes...</p>
                        <p class="text-green-400">> Deployment complete. Stealth protocols engaged.</p>
                    `;
                } else if (command.includes('query')) {
                    responseText = `
                        <p class="text-gray-400 mt-2">> Connecting to threat database...</p>
                        <p class="text-gray-400">> Querying last 24 hours...</p>
                        <p class="text-green-400">> Found 12 logged events (3 critical, 5 warnings, 4 info).</p>
                    `;
                }
                
                response.innerHTML = responseText;
                terminalOutput.appendChild(response);
                
                // Scroll to bottom
                terminalOutput.scrollTop = terminalOutput.scrollHeight;
                
                // Prepare for next command
                setTimeout(() => {
                    deleteCommand();
                }, 3000);
            }
            
            function deleteCommand() {
                let text = terminalInput.textContent;
                
                const deletingInterval = setInterval(() => {
                    if (text.length > 0) {
                        text = text.substring(0, text.length - 1);
                        terminalInput.textContent = text;
                    } else {
                        clearInterval(deletingInterval);
                        currentCommand = (currentCommand + 1) % commands.length;
                        setTimeout(typeCommand, 1000);
                    }
                }, 30);
            }
            
            setTimeout(typeCommand, 3000);
            
            // Simulate live feed updates
            const securityEvents = document.getElementById('security-events');
            const trafficGraph = document.getElementById('traffic-graph');
            
            // Security events
            setInterval(() => {
                const events = [
                    {status: 'green', message: 'New secure connection established', time: 'just now'},
                    {status: 'yellow', message: 'Suspicious packet detected', time: '1 min ago'},
                    {status: 'green', message: 'Backup completed successfully', time: '3 mins ago'},
                    {status: 'red', message: 'Intrusion attempt blocked', time: '5 mins ago'}
                ];
                
                const randomEvent = events[Math.floor(Math.random() * events.length)];
                
                const eventItem = document.createElement('li');
                eventItem.className = 'flex items-start';
                eventItem.innerHTML = `
                    <div class="w-2 h-2 rounded-full bg-${randomEvent.status}-500 mt-1.5 mr-2"></div>
                    <div>
                        <p class="text-sm">${randomEvent.message}</p>
                        <p class="text-xs text-gray-400">${randomEvent.time}</p>
                    </div>
                `;
                
                securityEvents.insertBefore(eventItem, securityEvents.firstChild);
                if (securityEvents.children.length > 5) {
                    securityEvents.removeChild(securityEvents.lastChild);
                }
            }, 10000);
            
            // Traffic graph animation
            setInterval(() => {
                trafficGraph.innerHTML = '';
                for (let i = 0; i < 8; i++) {
                    const height = Math.floor(Math.random() * 60) + 20;
                    const colorIntensity = Math.floor(Math.random() * 5) + 5;
                    const bar = document.createElement('div');
                    bar.className = `w-4 bg-purple-${colorIntensity}00 rounded-t-sm`;
                    bar.style.height = `${height}%`;
                    trafficGraph.appendChild(bar);
                }
            }, 5000);
            
            // Simulate system status changes
            setInterval(() => {
                const cpuLoad = document.querySelector('.terminal-body div:nth-child(3) .text-purple-300');
                const memoryUsage = document.querySelector('.terminal-body div:nth-child(2) .text-purple-300');
                const activeNodes = document.querySelector('.terminal-body div:nth-child(4) div:nth-child(1) .text-purple-300');
                
                // Randomize CPU load between 30-70%
                const newCpu = Math.floor(Math.random() * 40) + 30;
                cpuLoad.textContent = `${newCpu}%`;
                document.querySelector('.terminal-body div:nth-child(3) .bg-purple-500').style.width = `${newCpu}%`;
                
                // Randomize memory usage between 50-80%
                const newMemory = Math.floor(Math.random() * 30) + 50;
                memoryUsage.textContent = `${newMemory}%`;
                document.querySelector('.terminal-body div:nth-child(2) .bg-yellow-500').style.width = `${newMemory}%`;
                
                // Randomize active nodes between 20-28
                const newNodes = Math.floor(Math.random() * 8) + 20;
                activeNodes.textContent = newNodes;
            }, 8000);
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=joung/joung-hyun" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>