File size: 24,952 Bytes
fcf3577
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI Army Website Correction System</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>
        @keyframes march {
            0% { transform: translateX(-100px); }
            100% { transform: translateX(calc(100vw + 100px)); }
        }
        
        .soldier {
            animation: march linear infinite;
            position: absolute;
            bottom: 0;
            height: 60px;
            filter: drop-shadow(0 0 5px rgba(0,255,255,0.7));
        }
        
        .scan-beam {
            position: absolute;
            width: 2px;
            background: linear-gradient(to top, rgba(0,255,255,0), cyan);
            transform-origin: bottom;
            animation: scan 2s infinite alternate;
        }
        
        @keyframes scan {
            0% { transform: rotate(-45deg); }
            100% { transform: rotate(45deg); }
        }
        
        .glitch {
            position: relative;
        }
        
        .glitch::before, .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
        }
        
        .glitch::before {
            left: 2px;
            text-shadow: -2px 0 red;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim 5s infinite linear alternate-reverse;
        }
        
        .glitch::after {
            left: -2px;
            text-shadow: -2px 0 blue;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim2 5s infinite linear alternate-reverse;
        }
        
        @keyframes glitch-anim {
            0% { clip: rect(31px, 9999px, 94px, 0); }
            10% { clip: rect(112px, 9999px, 76px, 0); }
            20% { clip: rect(85px, 9999px, 77px, 0); }
            30% { clip: rect(27px, 9999px, 97px, 0); }
            40% { clip: rect(64px, 9999px, 98px, 0); }
            50% { clip: rect(61px, 9999px, 85px, 0); }
            60% { clip: rect(99px, 9999px, 114px, 0); }
            70% { clip: rect(34px, 9999px, 115px, 0); }
            80% { clip: rect(98px, 9999px, 129px, 0); }
            90% { clip: rect(43px, 9999px, 96px, 0); }
            100% { clip: rect(82px, 9999px, 64px, 0); }
        }
        
        @keyframes glitch-anim2 {
            0% { clip: rect(65px, 9999px, 119px, 0); }
            10% { clip: rect(33px, 9999px, 69px, 0); }
            20% { clip: rect(82px, 9999px, 73px, 0); }
            30% { clip: rect(79px, 9999px, 103px, 0); }
            40% { clip: rect(33px, 9999px, 149px, 0); }
            50% { clip: rect(22px, 9999px, 99px, 0); }
            60% { clip: rect(67px, 9999px, 134px, 0); }
            70% { clip: rect(87px, 9999px, 106px, 0); }
            80% { clip: rect(52px, 9999px, 74px, 0); }
            90% { clip: rect(54px, 9999px, 111px, 0); }
            100% { clip: rect(64px, 9999px, 98px, 0); }
        }
        
        .terminal {
            font-family: 'Courier New', monospace;
            background-color: #000;
            color: #0f0;
            border: 2px solid #0f0;
            border-radius: 5px;
            padding: 15px;
            height: 300px;
            overflow-y: auto;
            position: relative;
        }
        
        .terminal::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                rgba(0, 255, 0, 0.1) 50%,
                rgba(0, 0, 0, 0.2) 50%
            );
            background-size: 100% 4px;
            pointer-events: none;
        }
        
        .command-line::before {
            content: "> ";
            color: #0f0;
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
        }
    </style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
    <!-- Header -->
    <header class="bg-black py-6 border-b border-cyan-500">
        <div class="container mx-auto px-4">
            <div class="flex justify-between items-center">
                <div class="glitch" data-text="AI ARMY CORPS">
                    <h1 class="text-4xl font-bold text-cyan-400">AI ARMY CORPS</h1>
                </div>
                <div class="flex space-x-4">
                    <button class="bg-cyan-600 hover:bg-cyan-500 px-4 py-2 rounded-lg transition-all">
                        <i class="fas fa-bolt mr-2"></i>Deploy
                    </button>
                    <button class="border border-cyan-500 hover:bg-cyan-900 px-4 py-2 rounded-lg transition-all">
                        <i class="fas fa-cog mr-2"></i>Settings
                    </button>
                </div>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <main class="container mx-auto px-4 py-8 relative overflow-hidden">
        <!-- Soldier Background Animation -->
        <div id="soldier-container" class="fixed bottom-0 left-0 w-full h-20 z-0"></div>
        
        <!-- Dashboard -->
        <div class="bg-gray-800 bg-opacity-70 backdrop-blur-lg rounded-xl p-6 mb-8 border border-cyan-500 relative z-10">
            <h2 class="text-2xl font-bold text-cyan-400 mb-6 flex items-center">
                <i class="fas fa-robot mr-3"></i>Website Correction Command Center
            </h2>
            
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
                <!-- Status Card -->
                <div class="bg-gray-900 p-4 rounded-lg border border-cyan-500">
                    <div class="flex items-center mb-2">
                        <div class="w-3 h-3 rounded-full bg-green-500 mr-2 pulse"></div>
                        <h3 class="font-semibold">System Status</h3>
                    </div>
                    <p class="text-gray-300 text-sm">All systems operational</p>
                    <div class="mt-4">
                        <div class="flex justify-between text-sm mb-1">
                            <span>AI Soldiers:</span>
                            <span class="font-mono">10,000</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-cyan-500 h-2 rounded-full" style="width: 100%"></div>
                        </div>
                    </div>
                </div>
                
                <!-- Errors Found -->
                <div class="bg-gray-900 p-4 rounded-lg border border-cyan-500">
                    <div class="flex items-center mb-2">
                        <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
                        <h3 class="font-semibold">Errors Detected</h3>
                    </div>
                    <p class="text-gray-300 text-sm">On target website</p>
                    <div class="mt-4">
                        <div class="flex justify-between text-sm mb-1">
                            <span>Total Issues:</span>
                            <span class="font-mono" id="error-count">Scanning...</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-red-500 h-2 rounded-full" style="width: 0%" id="error-bar"></div>
                        </div>
                    </div>
                </div>
                
                <!-- Correction Progress -->
                <div class="bg-gray-900 p-4 rounded-lg border border-cyan-500">
                    <div class="flex items-center mb-2">
                        <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
                        <h3 class="font-semibold">Correction Progress</h3>
                    </div>
                    <p class="text-gray-300 text-sm">Fixes applied</p>
                    <div class="mt-4">
                        <div class="flex justify-between text-sm mb-1">
                            <span>Completed:</span>
                            <span class="font-mono" id="fix-count">0%</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-yellow-500 h-2 rounded-full" style="width: 0%" id="fix-bar"></div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- URL Input -->
            <div class="mb-8">
                <label class="block text-cyan-400 mb-2">Target Website URL</label>
                <div class="flex">
                    <input type="text" id="target-url" class="flex-grow bg-gray-700 border border-cyan-500 rounded-l-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-cyan-500" placeholder="https://example.com">
                    <button id="scan-btn" class="bg-cyan-600 hover:bg-cyan-500 px-6 py-2 rounded-r-lg transition-all">
                        <i class="fas fa-search mr-2"></i>Scan
                    </button>
                </div>
            </div>
            
            <!-- Terminal Output -->
            <div class="mb-8">
                <div class="flex justify-between items-center mb-2">
                    <label class="text-cyan-400">AI Army Operations Log</label>
                    <div class="text-xs text-gray-400">
                        <span id="active-soldiers">0</span>/10,000 soldiers deployed
                    </div>
                </div>
                <div class="terminal" id="terminal">
                    <div class="command-line">Initializing AI Army Corps v3.1.4...</div>
                    <div class="command-line">Booting neural network clusters...</div>
                    <div class="command-line">Establishing quantum communication channels...</div>
                    <div class="command-line">10,000 AI soldiers ready for deployment.</div>
                    <div class="command-line">Awaiting target website URL...</div>
                </div>
            </div>
            
            <!-- Error Types -->
            <div>
                <h3 class="text-xl font-semibold text-cyan-400 mb-4">Common Error Types Detected</h3>
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
                    <div class="bg-gray-900 p-3 rounded-lg border border-red-500">
                        <div class="flex items-center mb-1">
                            <i class="fas fa-code text-red-400 mr-2"></i>
                            <span class="font-medium">HTML Errors</span>
                        </div>
                        <p class="text-gray-400 text-sm" id="html-errors">0 found</p>
                    </div>
                    <div class="bg-gray-900 p-3 rounded-lg border border-blue-500">
                        <div class="flex items-center mb-1">
                            <i class="fab fa-css3-alt text-blue-400 mr-2"></i>
                            <span class="font-medium">CSS Issues</span>
                        </div>
                        <p class="text-gray-400 text-sm" id="css-errors">0 found</p>
                    </div>
                    <div class="bg-gray-900 p-3 rounded-lg border border-yellow-500">
                        <div class="flex items-center mb-1">
                            <i class="fab fa-js text-yellow-400 mr-2"></i>
                            <span class="font-medium">JS Bugs</span>
                        </div>
                        <p class="text-gray-400 text-sm" id="js-errors">0 found</p>
                    </div>
                    <div class="bg-gray-900 p-3 rounded-lg border border-purple-500">
                        <div class="flex items-center mb-1">
                            <i class="fas fa-tachometer-alt text-purple-400 mr-2"></i>
                            <span class="font-medium">Performance</span>
                        </div>
                        <p class="text-gray-400 text-sm" id="perf-errors">0 found</p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Deployment Controls -->
        <div class="bg-gray-800 bg-opacity-70 backdrop-blur-lg rounded-xl p-6 border border-cyan-500 relative z-10">
            <h2 class="text-2xl font-bold text-cyan-400 mb-6 flex items-center">
                <i class="fas fa-fighter-jet mr-3"></i>Deployment Controls
            </h2>
            
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <!-- Soldier Deployment -->
                <div class="bg-gray-900 p-4 rounded-lg border border-cyan-500">
                    <h3 class="font-semibold mb-4">AI Soldier Deployment</h3>
                    <div class="mb-4">
                        <label class="block text-gray-300 mb-2">Number of Soldiers</label>
                        <input type="range" id="soldier-count" min="100" max="10000" step="100" value="5000" class="w-full">
                        <div class="flex justify-between text-xs text-gray-400 mt-1">
                            <span>100</span>
                            <span id="soldier-count-value">5,000</span>
                            <span>10,000</span>
                        </div>
                    </div>
                    <div class="flex space-x-3">
                        <button id="deploy-btn" class="flex-1 bg-green-600 hover:bg-green-500 px-4 py-2 rounded-lg transition-all flex items-center justify-center">
                            <i class="fas fa-paper-plane mr-2"></i>Deploy
                        </button>
                        <button id="recall-btn" class="flex-1 bg-red-600 hover:bg-red-500 px-4 py-2 rounded-lg transition-all flex items-center justify-center">
                            <i class="fas fa-undo mr-2"></i>Recall
                        </button>
                    </div>
                </div>
                
                <!-- Correction Strategies -->
                <div class="bg-gray-900 p-4 rounded-lg border border-cyan-500">
                    <h3 class="font-semibold mb-4">Correction Strategies</h3>
                    <div class="space-y-3">
                        <div class="flex items-center">
                            <input type="checkbox" id="html-fix" class="form-checkbox h-4 w-4 text-cyan-500" checked>
                            <label for="html-fix" class="ml-2 text-gray-300">Fix HTML Structure</label>
                        </div>
                        <div class="flex items-center">
                            <input type="checkbox" id="css-fix" class="form-checkbox h-4 w-4 text-cyan-500" checked>
                            <label for="css-fix" class="ml-2 text-gray-300">Optimize CSS</label>
                        </div>
                        <div class="flex items-center">
                            <input type="checkbox" id="js-fix" class="form-checkbox h-4 w-4 text-cyan-500" checked>
                            <label for="js-fix" class="ml-2 text-gray-300">Debug JavaScript</label>
                        </div>
                        <div class="flex items-center">
                            <input type="checkbox" id="perf-fix" class="form-checkbox h-4 w-4 text-cyan-500">
                            <label for="perf-fix" class="ml-2 text-gray-300">Performance Boost</label>
                        </div>
                        <div class="flex items-center">
                            <input type="checkbox" id="seo-fix" class="form-checkbox h-4 w-4 text-cyan-500">
                            <label for="seo-fix" class="ml-2 text-gray-300">SEO Optimization</label>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="bg-black py-6 border-t border-cyan-500 mt-12">
        <div class="container mx-auto px-4 text-center text-gray-400">
            <p>AI Army Corps &copy; 2023 - 10,000 AI Soldiers Ready to Serve</p>
            <div class="flex justify-center space-x-4 mt-2">
                <a href="#" class="hover:text-cyan-400"><i class="fab fa-github"></i></a>
                <a href="#" class="hover:text-cyan-400"><i class="fab fa-twitter"></i></a>
                <a href="#" class="hover:text-cyan-400"><i class="fab fa-linkedin"></i></a>
            </div>
        </div>
    </footer>

    <script>
        // Soldier animation
        function createSoldiers() {
            const container = document.getElementById('soldier-container');
            const soldierCount = 20;
            
            for (let i = 0; i < soldierCount; i++) {
                const soldier = document.createElement('div');
                soldier.className = 'soldier';
                
                // Random soldier type (icons)
                const types = ['fa-robot', 'fa-user-astronaut', 'fa-user-ninja', 'fa-user-secret'];
                const randomType = types[Math.floor(Math.random() * types.length)];
                
                // Create scan beam
                const beam = document.createElement('div');
                beam.className = 'scan-beam';
                beam.style.height = Math.random() * 100 + 50 + 'px';
                beam.style.left = '30px';
                beam.style.animationDelay = Math.random() * 5 + 's';
                
                soldier.innerHTML = `<i class="fas ${randomType} text-2xl text-cyan-400"></i>`;
                soldier.appendChild(beam);
                
                // Random position and animation duration
                soldier.style.left = Math.random() * 100 + '%';
                soldier.style.animationDuration = Math.random() * 20 + 10 + 's';
                soldier.style.animationDelay = Math.random() * 10 + 's';
                
                container.appendChild(soldier);
            }
        }
        
        // Terminal output
        function addTerminalLine(text) {
            const terminal = document.getElementById('terminal');
            const line = document.createElement('div');
            line.className = 'command-line';
            line.textContent = text;
            terminal.appendChild(line);
            terminal.scrollTop = terminal.scrollHeight;
        }
        
        // Simulate scanning process
        function simulateScan() {
            const url = document.getElementById('target-url').value;
            if (!url) {
                addTerminalLine('Error: Please enter a target URL');
                return;
            }
            
            addTerminalLine(`Initiating deep scan of ${url}...`);
            addTerminalLine('Deploying reconnaissance units...');
            
            // Update active soldiers
            let soldiers = 500;
            document.getElementById('active-soldiers').textContent = soldiers;
            
            // Simulate scanning progress
            let progress = 0;
            const scanInterval = setInterval(() => {
                progress += Math.random() * 5;
                if (progress >= 100) {
                    clearInterval(scanInterval);
                    progress = 100;
                    scanComplete();
                }
                
                document.getElementById('error-bar').style.width = progress + '%';
                document.getElementById('error-count').textContent = Math.floor(progress * 20) + ' issues';
                
                // Update error type counts
                document.getElementById('html-errors').textContent = Math.floor(progress * 5) + ' found';
                document.getElementById('css-errors').textContent = Math.floor(progress * 4) + ' found';
                document.getElementById('js-errors').textContent = Math.floor(progress * 6) + ' found';
                document.getElementById('perf-errors').textContent = Math.floor(progress * 3) + ' found';
                
            }, 300);
        }
        
        function scanComplete() {
            addTerminalLine('Scan complete! Website diagnostics ready.');
            addTerminalLine('Preparing correction protocols...');
            
            // Enable deploy button
            document.getElementById('deploy-btn').disabled = false;
        }
        
        // Deploy soldiers
        function deploySoldiers() {
            const count = parseInt(document.getElementById('soldier-count').value);
            document.getElementById('active-soldiers').textContent = count;
            
            addTerminalLine(`Deploying ${count.toLocaleString()} AI soldiers to target website...`);
            addTerminalLine('Establishing beachhead on main domain...');
            addTerminalLine('Correction protocols initiated.');
            
            // Simulate correction progress
            let progress = 0;
            const fixInterval = setInterval(() => {
                progress += Math.random() * 3;
                if (progress >= 100) {
                    clearInterval(fixInterval);
                    progress = 100;
                    addTerminalLine('Mission complete! All errors corrected.');
                }
                
                document.getElementById('fix-bar').style.width = progress + '%';
                document.getElementById('fix-count').textContent = Math.floor(progress) + '%';
                
                // Random progress updates
                if (Math.random() > 0.7) {
                    const actions = [
                        'Optimizing CSS selectors...',
                        'Fixing broken HTML tags...',
                        'Debugging JavaScript functions...',
                        'Compressing images...',
                        'Minifying resources...',
                        'Implementing responsive fixes...',
                        'Fixing accessibility issues...'
                    ];
                    addTerminalLine(actions[Math.floor(Math.random() * actions.length)]);
                }
            }, 300);
        }
        
        // Recall soldiers
        function recallSoldiers() {
            addTerminalLine('Recall order issued! All units returning to base.');
            document.getElementById('active-soldiers').textContent = '0';
            document.getElementById('fix-bar').style.width = '0%';
            document.getElementById('fix-count').textContent = '0%';
        }
        
        // Initialize
        document.addEventListener('DOMContentLoaded', () => {
            createSoldiers();
            
            // Event listeners
            document.getElementById('scan-btn').addEventListener('click', simulateScan);
            document.getElementById('deploy-btn').addEventListener('click', deploySoldiers);
            document.getElementById('recall-btn').addEventListener('click', recallSoldiers);
            
            // Soldier count slider
            const soldierCount = document.getElementById('soldier-count');
            const soldierCountValue = document.getElementById('soldier-count-value');
            soldierCount.addEventListener('input', () => {
                soldierCountValue.textContent = parseInt(soldierCount.value).toLocaleString();
            });
            
            // Disable deploy button initially
            document.getElementById('deploy-btn').disabled = true;
            
            // Add some initial terminal lines
            setTimeout(() => {
                addTerminalLine('Quantum encryption initialized...');
                addTerminalLine('Neural networks synchronized...');
            }, 1500);
        });
    </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=docto41/website-correction-command-center" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>