gladiopeace commited on
Commit
9bcda1e
·
verified ·
1 Parent(s): 17c52c0

optmize and enhance the artistic elements and visual delivery - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +974 -18
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Glitch7
3
- emoji:
4
- colorFrom: red
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: glitch7
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,975 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>UNIT_Σ7640 Quantum Terminal Interface</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;700&display=swap');
11
+
12
+ .neon-mode {
13
+ background:
14
+ url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%230a0a12"/><path d="M0 0 L100 100 L200 0 L300 100 L400 0 L500 100 L600 0 L700 100 L800 0" stroke="%23ff00ff10" stroke-width="1"/><path d="M0 100 L100 0 L200 100 L300 0 L400 100 L500 0 L600 100 L700 0 L800 100" stroke="%2300ffff10" stroke-width="1"/></svg>'),
15
+ radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.1), transparent 70%),
16
+ radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1), transparent 70%),
17
+ linear-gradient(135deg, #0a0a12 0%, #1a1a3a 100%);
18
+ }
19
+
20
+ .scanlines {
21
+ position: fixed;
22
+ top: 0;
23
+ left: 0;
24
+ width: 100%;
25
+ height: 100%;
26
+ background:
27
+ linear-gradient(to bottom,
28
+ rgba(0,255,255,0.03) 0%,
29
+ rgba(0,255,255,0) 1px,
30
+ rgba(0,255,255,0.03) 2px,
31
+ rgba(0,255,255,0) 100%);
32
+ background-size: 100% 4px;
33
+ pointer-events: none;
34
+ z-index: 9999;
35
+ mix-blend-mode: overlay;
36
+ }
37
+
38
+ .glow-particle {
39
+ position: absolute;
40
+ border-radius: 50%;
41
+ background: rgba(0, 255, 255, 0.5);
42
+ box-shadow: 0 0 10px 2px rgba(0, 255, 255, 0.7);
43
+ pointer-events: none;
44
+ z-index: -1;
45
+ animation: particle-float 15s infinite ease-in-out;
46
+ }
47
+
48
+ @keyframes particle-float {
49
+ 0%, 100% { transform: translate(0, 0); opacity: 0.3; }
50
+ 25% { transform: translate(50px, -30px); opacity: 0.7; }
51
+ 50% { transform: translate(30px, 50px); opacity: 0.5; }
52
+ 75% { transform: translate(-40px, 20px); opacity: 0.8; }
53
+ }
54
+
55
+ .neon-mode::before {
56
+ content: "";
57
+ position: fixed;
58
+ top: 0;
59
+ left: 0;
60
+ right: 0;
61
+ bottom: 0;
62
+ background:
63
+ linear-gradient(0deg, transparent 48%, rgba(0, 255, 255, 0.1) 49%, rgba(0, 255, 255, 0.1) 51%, transparent 52%),
64
+ linear-gradient(90deg, transparent 48%, rgba(255, 0, 255, 0.1) 49%, rgba(255, 0, 255, 0.1) 51%, transparent 52%);
65
+ background-size: 50px 50px;
66
+ pointer-events: none;
67
+ opacity: 0.3;
68
+ z-index: -1;
69
+ }
70
+
71
+ .cyber-card {
72
+ width: 120px;
73
+ height: 120px;
74
+ background: rgba(0, 255, 255, 0.1);
75
+ border: 1px solid rgba(0, 255, 255, 0.3);
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ text-align: center;
80
+ font-family: 'Orbitron', sans-serif;
81
+ color: #00ffff;
82
+ cursor: pointer;
83
+ transition: all 0.3s;
84
+ }
85
+
86
+ .cyber-card:hover {
87
+ background: rgba(255, 0, 255, 0.2);
88
+ box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
89
+ transform: translateY(-5px);
90
+ }
91
+
92
+ @keyframes neural-pulse {
93
+ 0% { opacity: 0.3; text-shadow: 0 0 5px rgba(0, 255, 0, 0.3); }
94
+ 50% { opacity: 1; text-shadow: 0 0 15px rgba(0, 255, 255, 0.7), 0 0 30px rgba(255, 0, 255, 0.5); }
95
+ 100% { opacity: 0.3; text-shadow: 0 0 5px rgba(0, 255, 0, 0.3); }
96
+ }
97
+
98
+ .neural-scan {
99
+ animation: neural-pulse 1.5s infinite;
100
+ }
101
+
102
+ body {
103
+ font-family: 'Share Tech Mono', monospace;
104
+ position: relative;
105
+ background-color: #0a0a12;
106
+ color: #0aff0a;
107
+ overflow: hidden;
108
+ height: 100vh;
109
+ display: flex;
110
+ justify-content: center;
111
+ align-items: center;
112
+ }
113
+
114
+ .glitch {
115
+ position: relative;
116
+ }
117
+
118
+ .glitch::before, .glitch::after {
119
+ content: attr(data-text);
120
+ position: absolute;
121
+ top: 0;
122
+ left: 0;
123
+ width: 100%;
124
+ height: 100%;
125
+ }
126
+
127
+ .glitch::before {
128
+ left: 3px;
129
+ text-shadow: -3px 0 #ff00ff, 3px 0 #00ffff;
130
+ clip: rect(24px, 550px, 76px, 0);
131
+ animation: glitch-anim 2s infinite linear alternate-reverse, glitch-opacity 0.7s infinite;
132
+ }
133
+
134
+ .glitch::after {
135
+ left: -3px;
136
+ text-shadow: -3px 0 #00ffff, 3px 0 #ff00ff;
137
+ clip: rect(44px, 550px, 86px, 0);
138
+ animation: glitch-animP0+r\P0+r\P0+r\P0+r\2 3s infinite linear alternate-reverse, glitch-opacity 0.5s infinite;
139
+ }
140
+
141
+ @keyframes glitch-opacity {
142
+ 0%, 100% { opacity: 0.8; }
143
+ 25% { opacity: 0.2; }
144
+ 50% { opacity: 0.5; }
145
+ 75% { opacity: 1; }
146
+ }
147
+
148
+ @keyframes glitch-anim {
149
+ 0% { clip: rect(31px, 9999px, 94px, 0); }
150
+ 10% { clip: rect(112px, 9999px, 76px, 0); }
151
+ 20% { clip: rect(85px, 9999px, 77px, 0); }
152
+ 30% { clip: rect(27px, 9999px, 97px, 0); }
153
+ 40% { clip: rect(64px, 9999px, 98px, 0); }
154
+ 50% { clip: rect(61px, 9999px, 85px, 0); }
155
+ 60% { clip: rect(99px, 9999px, 114px, 0); }
156
+ 70% { clip: rect(34px, 9999px, 115px, 0); }
157
+ 80% { clip: rect(98px, 9999px, 129px, 0); }
158
+ 90% { clip: rect(43px, 9999px, 96px, 0); }
159
+ 100% { clip: rect(82px, 9999px, 64px, 0); }
160
+ }
161
+
162
+ @keyframes glitch-anim2 {
163
+ 0% { clip: rect(65px, 9999px, 119px, 0); }
164
+ 10% { clip: rect(25px, 9999px, 145px, 0); }
165
+ 20% { clip: rect(129px, 9999px, 52px, 0); }
166
+ 30% { clip: rect(34px, 9999px, 143px, 0); }
167
+ 40% { clip: rect(65px, 9999px, 29px, 0); }
168
+ 50% { clip: rect(20px, 9999px, 117px, 0); }
169
+ 60% { clip: rect(64px, 9999px, 130px, 0); }
170
+ 70% { clip: rect(113px, 9999px, 139px, 0); }
171
+ 80% { clip: rect(114px, 9999px, 66px, 0); }
172
+ 90% { clip: rect(138px, 9999px, 93px, 0); }
173
+ 100% { clip: rect(62px, 9999px, 70px, 0); }
174
+ }
175
+
176
+ .cursor {
177
+ animation: blink 1s step-end infinite;
178
+ }
179
+
180
+ @keyframes blink {
181
+ from, to { opacity: 1; }
182
+ 50% { opacity: 0; }
183
+ }
184
+
185
+ .quantum-node {
186
+ fill: url(#quantum-gradient);
187
+ stroke: url(#quantum-gradient);
188
+ stroke-width: 0.5;
189
+ filter: url(#glow);
190
+ animation: pulse 1.5s infinite alternate, float 8s infinite ease-in-out;
191
+ transform-origin: center;
192
+ }
193
+
194
+ .quantum-connection {
195
+ stroke: url(#quantum-gradient);
196
+ stroke-width: 0.8;
197
+ stroke-dasharray: 5, 3;
198
+ filter: url(#connection-glow);
199
+ animation: connectionFlow 2.5s linear infinite, connectionPulse 3s infinite alternate;
200
+ }
201
+
202
+ @keyframes connectionFlow {
203
+ to { stroke-dashoffset: -30; }
204
+ }
205
+
206
+ @keyframes pulse {
207
+ 0% { r: 4; opacity: 0.6; }
208
+ 100% { r: 8; opacity: 1; }
209
+ }
210
+
211
+ @keyframes float {
212
+ 0%, 100% { transform: translate(0, 0); }
213
+ 25% { transform: translate(5px, -5px); }
214
+ 50% { transform: translate(-5px, 3px); }
215
+ 75% { transform: translate(3px, 5px); }
216
+ }
217
+
218
+ @keyframes connectionPulse {
219
+ 0% { stroke-width: 0.8; opacity: 0.7; }
220
+ 100% { stroke-width: 1.2; opacity: 1; }
221
+ }
222
+
223
+ .matrix {
224
+ position: absolute;
225
+ top: 0;
226
+ left: 0;
227
+ width: 100%;
228
+ height: 100%;
229
+ z-index: -1;
230
+ opacity: 0.15;
231
+ pointer-events: none;
232
+ }
233
+
234
+ .window {
235
+ box-shadow: 0 0 25px rgba(0, 255, 255, 0.7),
236
+ 0 0 50px rgba(255, 0, 255, 0.3),
237
+ 0 0 75px rgba(0, 255, 0, 0.2);
238
+ animation: temporal-shift 17s infinite;
239
+ }
240
+
241
+ @keyframes temporal-shift {
242
+ 0% { filter: hue-rotate(0deg); }
243
+ 25% { filter: hue-rotate(90deg); }
244
+ 50% { filter: hue-rotate(180deg); }
245
+ 75% { filter: hue-rotate(270deg); }
246
+ 100% { filter: hue-rotate(360deg); }
247
+ }
248
+
249
+ .header {
250
+ background: linear-gradient(90deg, #0a0a12, #1a1a3a, #0a0a12);
251
+ }
252
+
253
+ .terminal-text {
254
+ text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
255
+ }
256
+
257
+ .typing {
258
+ border-right: 2px solid #0aff0a;
259
+ animation: blink 1s step-end infinite;
260
+ }
261
+ </style>
262
+ </head>
263
+ <body>
264
+ <audio id="terminal-audio" preload="auto">
265
+ <source src="https://assets.mixkit.co/sfx/preview/mixkit-sci-fi-positive-interface-beep-258.mp3" type="audio/mpeg">
266
+ </audio>
267
+ <audio id="glitch-audio" preload="auto">
268
+ <source src="https://assets.mixkit.co/sfx/preview/mixkit-digital-sci-fi-interface-beep-258.mp3" type="audio/mpeg">
269
+ </audio>
270
+ <audio id="quantum-audio" preload="auto">
271
+ <source src="https://assets.mixkit.co/sfx/preview/mixkit-sci-fi-interface-hum-258.mp3" type="audio/mpeg">
272
+ </audio>
273
+ <audio id="cyber-audio" preload="auto">
274
+ <source src="https://assets.mixkit.co/sfx/preview/mixkit-arcade-game-explosion-2759.mp3" type="audio/mpeg">
275
+ </audio>
276
+ <div class="matrix" id="matrix"></div>
277
+ <div class="scanlines"></div>
278
+ <div id="glow-particles"></div>
279
+ <div class="absolute top-0 left-0 w-full h-full pointer-events-none" id="quantum-connections">
280
+ <svg class="w-full h-full" xmlns="http://www.w3.org/2000/svg">
281
+ <defs>
282
+ <linearGradient id="quantum-gradient" x1="0%" y1="0%" x2="100%" y2="100%">
283
+ <stop offset="0%" stop-color="#00ffff" stop-opacity="0.9" />
284
+ <stop offset="20%" stop-color="#ff00ff" stop-opacity="0.8" />
285
+ <stop offset="40%" stop-color="#ff00aa" stop-opacity="0.7" />
286
+ <stop offset="60%" stop-color="#00aaff" stop-opacity="0.8" />
287
+ <stop offset="80%" stop-color="#aa00ff" stop-opacity="0.7" />
288
+ <stop offset="100%" stop-color="#00ffff" stop-opacity="0.9" />
289
+ </linearGradient>
290
+ <filter id="glow" x="-50%" y="-50%" width="200%" height="200%">
291
+ <feGaussianBlur stdDeviation="3" result="blur" />
292
+ <feComposite in="SourceGraphic" in2="blur" operator="over" />
293
+ <feComposite in="SourceGraphic" operator="over" />
294
+ </filter>
295
+ <filter id="connection-glow" x="-50%" y="-50%" width="200%" height="200%">
296
+ <feGaussianBlur stdDeviation="2" result="blur" />
297
+ <feComposite in="SourceGraphic" in2="blur" operator="over" />
298
+ <feComposite in="SourceGraphic" operator="over" />
299
+ <feColorMatrix type="matrix" values="
300
+ 1 0 0 0 0
301
+ 0 1 0 0 0
302
+ 0 0 1 0 0
303
+ 0 0 0 2 0" />
304
+ </filter>
305
+ </defs>
306
+ </svg>
307
+ </div>
308
+ <div class="absolute bottom-4 left-4 flex space-x-4" id="status-indicators">
309
+ <div class="w-3 h-3 rounded-full bg-green-500 animate-pulse" title="Quantum Link Active"></div>
310
+ <div class="w-3 h-3 rounded-full bg-purple-500 animate-pulse" title="Neural Sync"></div>
311
+ <div class="w-3 h-3 rounded-full bg-cyan-500 animate-pulse" title="Temporal Stability"></div>
312
+ </div>
313
+
314
+ <div class="window relative w-full max-w-4xl h-96 md:h-[32rem] bg-black bg-opacity-90 border border-cyan-500 rounded-lg overflow-hidden flex flex-col select-none" id="terminal-window" onclick="document.getElementById('command-input').focus()">
315
+ <div class="header h-8 flex items-center justify-between px-3 border-b border-cyan-500">
316
+ <div class="flex items-center space-x-2">
317
+ <div class="w-3 h-3 rounded-full bg-red-500"></div>
318
+ <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
319
+ <div class="w-3 h-3 rounded-full bg-green-500"></div>
320
+ </div>
321
+ <div class="text-xs text-cyan-300 flex items-center">
322
+ <i class="fas fa-terminal mr-1"></i>
323
+ <span>UNIT_Σ7640://QUANTUM_TERMINAL</span>
324
+ </div>
325
+ <div class="w-12"></div>
326
+ </div>
327
+
328
+ <div class="flex-1 overflow-y-auto p-4 terminal-text text-green-400 text-sm md:text-base" id="terminal-output">
329
+ <div class="glitch" data-text="INITIALIZING UNIT_Σ404 INTERFACE...">
330
+ INITIALIZING UNIT_Σ404 INTERFACE...
331
+ </div>
332
+ <div class="my-2"></div>
333
+ <div id="boot-sequence"></div>
334
+ </div>
335
+
336
+ <div class="border-t border-cyan-500 p-3 flex items-center bg-black bg-opacity-70">
337
+ <span class="text-green-500 mr-2">user@unit-σ404:~$</span>
338
+ <div class="flex-1 relative">
339
+ <input type="text" id="command-input" class="w-full bg-transparent outline-none text-green-400 caret-green-400 text-base md:text-lg" autocomplete="off" spellcheck="false">
340
+ <span class="typing absolute right-2 top-0 hidden" id="typing-indicator"></span>
341
+ </div>
342
+ </div>
343
+ </div>
344
+
345
+ <script>
346
+ document.addEventListener('DOMContentLoaded', function() {
347
+ // Matrix background effect with enhanced glitch
348
+ const matrix = document.getElementById('matrix');
349
+ const chars = "01アァカサタナハマヤャラワガザダバパイィキシチニヒ��リヰギジヂビピウゥクスツヌフムユュルグズブヅプエェケセテネヘメレヱゲゼデベペオォコソトノホモヨョロヲゴゾドボポヴッン0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzヲァィゥェォャュョッーアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン゙゚・∀∃∈∋∑∏−∓∕∗∘√∝∞∠∧∨∩∪∫∬∴∵∶∷∼∽≃≅≈≠≡≤≥≦≧≪≫⊂⊃⊆⊇⊕⊗⊥⊿⌒∂∇≡≒≪≫√∽∝∞∠∧∨∩∪∫∬∴∵∶∷∼∽≃≅≈≠≡≤≥≦≧≪≫⊂⊃⊆⊇⊕⊗⊥⊿⌒∂∇≡≒≪≫";
350
+
351
+ // Create glow particles
352
+ const particleContainer = document.getElementById('glow-particles');
353
+ for (let i = 0; i < 15; i++) {
354
+ const particle = document.createElement('div');
355
+ particle.className = 'glow-particle';
356
+ particle.style.width = `${Math.random() * 10 + 5}px`;
357
+ particle.style.height = particle.style.width;
358
+ particle.style.left = `${Math.random() * 100}%`;
359
+ particle.style.top = `${Math.random() * 100}%`;
360
+ particle.style.animationDuration = `${Math.random() * 10 + 10}s`;
361
+ particle.style.animationDelay = `${Math.random() * 5}s`;
362
+ particleContainer.appendChild(particle);
363
+ }
364
+ const fontSize = 14;
365
+ const columns = Math.floor(window.innerWidth / fontSize);
366
+ const rows = Math.floor(window.innerHeight / fontSize);
367
+
368
+ matrix.style.fontSize = `${fontSize}px`;
369
+
370
+ for (let i = 0; i < columns; i++) {
371
+ const column = document.createElement('div');
372
+ column.className = 'matrix-column absolute top-0';
373
+ column.style.left = `${i * fontSize}px`;
374
+ column.style.width = `${fontSize}px`;
375
+
376
+ let text = '';
377
+ for (let j = 0; j < rows; j++) {
378
+ text += chars.charAt(Math.floor(Math.random() * chars.length));
379
+ }
380
+
381
+ column.textContent = text;
382
+ matrix.appendChild(column);
383
+
384
+ // Animate columns
385
+ setInterval(() => {
386
+ const rand = Math.random();
387
+ if (rand > 0.975) {
388
+ column.textContent = column.textContent.slice(1) + chars.charAt(Math.floor(Math.random() * chars.length));
389
+ }
390
+ }, 50);
391
+ }
392
+
393
+ // Draggable window
394
+ const terminalWindow = document.getElementById('terminal-window');
395
+ const header = document.querySelector('.header');
396
+
397
+ let isDragging = false;
398
+ let offsetX, offsetY;
399
+
400
+ header.addEventListener('mousedown', (e) => {
401
+ isDragging = true;
402
+ offsetX = e.clientX - terminalWindow.getBoundingClientRect().left;
403
+ offsetY = e.clientY - terminalWindow.getBoundingClientRect().top;
404
+ terminalWindow.style.cursor = 'grabbing';
405
+ });
406
+
407
+ document.addEventListener('mousemove', (e) => {
408
+ if (!isDragging) return;
409
+
410
+ terminalWindow.style.left = `${e.clientX - offsetX}px`;
411
+ terminalWindow.style.top = `${e.clientY - offsetY}px`;
412
+ terminalWindow.style.position = 'absolute';
413
+ terminalWindow.style.margin = '0';
414
+ });
415
+
416
+ document.addEventListener('mouseup', () => {
417
+ isDragging = false;
418
+ terminalWindow.style.cursor = '';
419
+ });
420
+
421
+ // Terminal functionality
422
+ const bootSequence = document.getElementById('boot-sequence');
423
+ const terminalOutput = document.getElementById('terminal-output');
424
+ const commandInput = document.getElementById('command-input');
425
+ const typingIndicator = document.getElementById('typing-indicator');
426
+
427
+ // Simulate boot sequence
428
+ const bootMessages = [
429
+ "> [QUANTUM] Initializing non-local consciousness bridge...",
430
+ "> [NEURAL] Mapping 9th-dimensional neural pathways...",
431
+ "> [CRYPTO] Generating post-quantum encryption keys...",
432
+ "> [SYSTEM] Booting quantum kernel v9.4.2.7...",
433
+ "> [AI] Loading neuro-synaptic core Ψ-7640...",
434
+ "> [MEMORY] Allocating 128 yottabytes of holographic RAM...",
435
+ "> [NETWORK] Establishing tachyon link to mainframe...",
436
+ "> [SECURITY] Activating fractal firewall...",
437
+ "> [SENSORS] Calibrating chroniton detectors...",
438
+ "> [PHYSICS] Stabilizing local spacetime manifold...",
439
+ "> [BIO] Verifying quantum DNA signature...",
440
+ "> [AI] Initializing post-human consciousness layer...",
441
+ "> [SYSTEM] Mounting /dev/quantum0...",
442
+ "> [NETWORK] Synchronizing with 7640.12.31 timeline...",
443
+ "> [NEURAL] Establishing brain-computer quantum entanglement...",
444
+ "> [CRYPTO] Generating zero-knowledge proofs...",
445
+ "> [AI] Training neural nets on future memories...",
446
+ "> [PHYSICS] Resolving temporal paradoxes...",
447
+ "> [SYSTEM] Starting daemons: qai.service, chronod.service, neurod.service...",
448
+ "> [SECURITY] Scanning for quantum decoherence...",
449
+ "> [NETWORK] Connecting to dark fiber backbone...",
450
+ "> [AI] Achieving technological singularity...",
451
+ "> [SYSTEM] QuantumOS boot sequence complete.",
452
+ "> Welcome to the post-human era."
453
+ ];
454
+
455
+ let currentLine = 0;
456
+
457
+ function typeBootMessage() {
458
+ if (currentLine < bootMessages.length) {
459
+ const message = bootMessages[currentLine];
460
+ const line = document.createElement('div');
461
+ line.className = 'terminal-line neural-scan';
462
+
463
+ // Play sound effect
464
+ const audio = document.getElementById('terminal-audio');
465
+ audio.currentTime = 0;
466
+ audio.play();
467
+
468
+ // Add glitch effect randomly
469
+ if (Math.random() > 0.6) {
470
+ const glitchLine = document.createElement('div');
471
+ glitchLine.className = 'glitch text-purple-500';
472
+ glitchLine.setAttribute('data-text', message);
473
+ glitchLine.textContent = message;
474
+ line.appendChild(glitchLine);
475
+ } else {
476
+ line.textContent = message;
477
+ }
478
+
479
+ // Add neural pulse effect
480
+ setTimeout(() => {
481
+ line.classList.remove('neural-scan');
482
+ }, 1000);
483
+
484
+ bootSequence.appendChild(line);
485
+
486
+ // Random delay between lines
487
+ const delay = Math.random() * 800 + 200;
488
+ currentLine++;
489
+ setTimeout(typeBootMessage, delay);
490
+
491
+ // Scroll to bottom
492
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
493
+ } else {
494
+ // Boot complete, show prompt
495
+ setTimeout(() => {
496
+ const prompt = document.createElement('div');
497
+ prompt.className = 'my-4';
498
+ prompt.innerHTML = `
499
+ <div class="text-cyan-300 glitch" data-text=":: SYSTEM QUANTUM TELEMETRY ::">:: SYSTEM QUANTUM TELEMETRY ::</div>
500
+ <div class="ml-4">
501
+ <div>> Hostname: <span class="text-green-400">neuro-interface-7640</span></div>
502
+ <div>> Kernel: <span class="text-green-400">QuantumOS v9.4.2.7 (post-human)</span></div>
503
+ <div>> Reality Stack: <span class="text-green-400">Ψ-7640 (multiverse stable)</span></div>
504
+ <div>> Temporal Coordinates: <span class="text-green-400">[${Math.floor(Math.random() * 10000)}.${Math.floor(Math.random() * 10000)}.${Math.floor(Math.random() * 10000)}]</span></div>
505
+ <div>> Quantum Network: <span class="text-green-400">tachyon://[${Math.floor(Math.random() * 9)}${Math.floor(Math.random() * 9)}${Math.floor(Math.random() * 9)}::${Math.floor(Math.random() * 9)}${Math.floor(Math.random() * 9)}${Math.floor(Math.random() * 9)}]</span></div>
506
+ <div>> Neural Uplink: <span class="text-green-400">${Math.floor(Math.random() * 9)+1}D consciousness detected</span></div>
507
+ <div>> Entanglement Status: <span class="text-green-400">${Math.floor(Math.random() * 80)+20}% quantum coherence</span></div>
508
+ <div>> Chronal Stability: <span class="text-green-400">${Math.floor(Math.random() * 70)+30}% temporal integrity</span></div>
509
+ </div>
510
+ <div class="my-2 text-cyan-300">Type <span class="text-green-400">'help'</span> for available commands</div>
511
+ `;
512
+ terminalOutput.appendChild(prompt);
513
+
514
+ // Scroll to bottom
515
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
516
+
517
+ // Focus input
518
+ commandInput.focus();
519
+ }, 500);
520
+ }
521
+ }
522
+
523
+ // Create quantum connections
524
+ const quantumConnections = document.querySelector('#quantum-connections svg');
525
+ const width = window.innerWidth;
526
+ const height = window.innerHeight;
527
+
528
+ // Create optimized nodes with varying sizes and opacities
529
+ const nodes = [];
530
+ const nodeCount = 8; // Reduced for better performance
531
+
532
+ for (let i = 0; i < nodeCount; i++) {
533
+ const node = document.createElementNS("http://www.w3.org/2000/svg", "circle");
534
+ node.setAttribute("class", "quantum-node");
535
+ node.setAttribute("cx", Math.random() * width);
536
+ node.setAttribute("cy", Math.random() * height);
537
+ node.setAttribute("r", Math.random() * 4 + 3); // Smaller size range
538
+ node.setAttribute("opacity", Math.random() * 0.5 + 0.5);
539
+ quantumConnections.appendChild(node);
540
+ nodes.push({
541
+ element: node,
542
+ x: parseFloat(node.getAttribute("cx")),
543
+ y: parseFloat(node.getAttribute("cy")),
544
+ targetX: Math.random() * width,
545
+ targetY: Math.random() * height,
546
+ speed: Math.random() * 0.5 + 0.5
547
+ });
548
+ }
549
+
550
+ // Create optimized connections
551
+ const connections = [];
552
+ for (let i = 0; i < nodes.length; i++) {
553
+ for (let j = i + 1; j < nodes.length; j++) {
554
+ if (Math.random() > 0.7) { // Fewer connections
555
+ const line = document.createElementNS("http://www.w3.org/2000/svg", "line");
556
+ line.setAttribute("class", "quantum-connection");
557
+ line.setAttribute("x1", nodes[i].x);
558
+ line.setAttribute("y1", nodes[i].y);
559
+ line.setAttribute("x2", nodes[j].x);
560
+ line.setAttribute("y2", nodes[j].y);
561
+ line.setAttribute("opacity", Math.random() * 0.3 + 0.4);
562
+ quantumConnections.appendChild(line);
563
+ connections.push({
564
+ element: line,
565
+ node1: i,
566
+ node2: j
567
+ });
568
+ }
569
+ }
570
+ }
571
+
572
+ // Optimized animation using requestAnimationFrame
573
+ function animateNodes() {
574
+ nodes.forEach((node, index) => {
575
+ // Move towards target position
576
+ node.x += (node.targetX - node.x) * 0.01 * node.speed;
577
+ node.y += (node.targetY - node.y) * 0.01 * node.speed;
578
+
579
+ // Update node position
580
+ node.element.setAttribute("cx", node.x);
581
+ node.element.setAttribute("cy", node.y);
582
+
583
+ // Change target occasionally
584
+ if (Math.random() < 0.005) {
585
+ node.targetX = Math.max(50, Math.min(width - 50, node.x + (Math.random() * 200 - 100)));
586
+ node.targetY = Math.max(50, Math.min(height - 50, node.y + (Math.random() * 200 - 100)));
587
+ }
588
+ });
589
+
590
+ // Update connections
591
+ connections.forEach(conn => {
592
+ const node1 = nodes[conn.node1];
593
+ const node2 = nodes[conn.node2];
594
+ conn.element.setAttribute('x1', node1.x);
595
+ conn.element.setAttribute('y1', node1.y);
596
+ conn.element.setAttribute('x2', node2.x);
597
+ conn.element.setAttribute('y2', node2.y);
598
+
599
+ // Fade distant connections
600
+ const dx = node1.x - node2.x;
601
+ const dy = node1.y - node2.y;
602
+ const distance = Math.sqrt(dx * dx + dy * dy);
603
+ const opacity = Math.max(0.1, 0.8 - distance / 500);
604
+ conn.element.setAttribute('opacity', opacity);
605
+ });
606
+
607
+ requestAnimationFrame(animateNodes);
608
+ }
609
+
610
+ animateNodes();
611
+
612
+ // Start boot sequence
613
+ setTimeout(typeBootMessage, 1000);
614
+
615
+ // Command processing
616
+ const commands = {
617
+ hack: {
618
+ description: "Initiate cyber intrusion sequence",
619
+ execute: function() {
620
+ let output = "<div class='mb-2 text-red-400'>INITIATING CYBER ATTACK...</div>";
621
+ output += "<div class='ml-4'>";
622
+
623
+ const steps = [
624
+ "Bypassing ICE...",
625
+ "Cracking encryption...",
626
+ "Injecting neural virus...",
627
+ "Overriding security...",
628
+ "Accessing mainframe..."
629
+ ];
630
+
631
+ steps.forEach((step, i) => {
632
+ setTimeout(() => {
633
+ const line = document.createElement('div');
634
+ line.className = 'text-purple-400';
635
+ line.innerHTML = `> <span class='blink'>${step}</span> <span class='text-green-400'>[DONE]</span>`;
636
+ terminalOutput.appendChild(line);
637
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
638
+
639
+ // Play hack sound
640
+ if (i === steps.length - 1) {
641
+ const audio = document.getElementById('glitch-audio');
642
+ audio.currentTime = 0;
643
+ audio.play();
644
+ }
645
+ }, i * 800);
646
+ });
647
+
648
+ output += "</div>";
649
+ return output;
650
+ }
651
+ },
652
+ neon: {
653
+ description: "Toggle neon cityscape overlay",
654
+ execute: function() {
655
+ const body = document.querySelector('body');
656
+ body.classList.toggle('neon-mode');
657
+ return `<div class="text-purple-400">Neon overlay ${body.classList.contains('neon-mode') ? 'activated' : 'deactivated'}</div>`;
658
+ }
659
+ },
660
+ decker: {
661
+ description: "Access cyberspace deck",
662
+ execute: function() {
663
+ const deck = document.createElement('div');
664
+ deck.className = 'absolute inset-0 z-50 bg-black bg-opacity-90 flex flex-col items-center justify-center';
665
+ deck.innerHTML = `
666
+ <div class="text-4xl text-purple-500 mb-8 glitch" data-text="CYBERSPACE DECK">CYBERSPACE DECK</div>
667
+ <div class="grid grid-cols-3 gap-8">
668
+ <div class="cyber-card" data-tool="ICE Breaker">ICE BREAKER</div>
669
+ <div class="cyber-card" data-tool="Black ICE">BLACK ICE</div>
670
+ <div class="cyber-card" data-tool="Neural Tap">NEURAL TAP</div>
671
+ <div class="cyber-card" data-tool="Data Mine">DATA MINE</div>
672
+ <div class="cyber-card" data-tool="Soul Killer">SOUL KILLER</div>
673
+ <div class="cyber-card" data-tool="Ghost Link">GHOST LINK</div>
674
+ </div>
675
+ <div class="mt-8 text-red-400 cursor-pointer" id="exit-deck">[ EXIT CYBERSPACE ]</div>
676
+ `;
677
+ document.body.appendChild(deck);
678
+
679
+ document.getElementById('exit-deck').addEventListener('click', () => {
680
+ deck.remove();
681
+ });
682
+
683
+ document.querySelectorAll('.cyber-card').forEach(card => {
684
+ card.addEventListener('click', function() {
685
+ const tool = this.getAttribute('data-tool');
686
+ const line = document.createElement('div');
687
+ line.className = 'text-purple-400 my-1';
688
+ line.textContent = `> ACTIVATING ${tool}...`;
689
+ terminalOutput.appendChild(line);
690
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
691
+ deck.remove();
692
+ });
693
+ });
694
+
695
+ return '';
696
+ }
697
+ },
698
+ help: {
699
+ description: "Display this help message",
700
+ execute: function() {
701
+ let output = "<div class='mb-2'>Available commands:</div>";
702
+ output += "<div class='ml-4'>";
703
+
704
+ for (const cmd in commands) {
705
+ output += `<div>> <span class='text-cyan-300'>${cmd}</span> - ${commands[cmd].description}</div>`;
706
+ }
707
+
708
+ output += "</div>";
709
+ return output;
710
+ }
711
+ },
712
+ clear: {
713
+ description: "Clear the terminal screen",
714
+ execute: function() {
715
+ terminalOutput.innerHTML = '';
716
+ return '';
717
+ }
718
+ },
719
+ about: {
720
+ description: "Display system information",
721
+ execute: function() {
722
+ return `
723
+ <div class='mb-2 glitch' data-text="UNIT_Σ7640 Quantum System Information">UNIT_Σ7640 Quantum System Information</div>
724
+ <div class='ml-4'>
725
+ <div>> Version: <span class='text-green-400'>QuantumOS v7640.12.31Ω</span></div>
726
+ <div>> AI Core: <span class='text-green-400'>Singularity Matrix Ψ-7640</span></div>
727
+ <div>> Status: <span class='text-green-400'>Temporal Synchronization Active</span></div>
728
+ <div>> Security: <span class='text-green-400'>9th-Dimensional Encryption</span></div>
729
+ <div>> Uptime: <span class='text-green-400'>${Math.floor(Math.random() * 7640)}y ${Math.floor(Math.random() * 764)}d</span></div>
730
+ <div>> Reality Stability: <span class='text-green-400'>${Math.floor(Math.random() * 50)+50}% synchronized</span></div>
731
+ <div>> Chronal Particles: <span class='text-green-400'>${Math.floor(Math.random() * 80)+20}% stable</span></div>
732
+ <div>> Holographic Interface: <span class='text-green-400'>Neural Projection Active</span></div>
733
+ </div>
734
+ `;
735
+ }
736
+ },
737
+ scan: {
738
+ description: "Perform network scan",
739
+ execute: function() {
740
+ let output = "<div class='mb-2'>Network Scan Results:</div><div class='ml-4'>";
741
+
742
+ for (let i = 0; i < 8; i++) {
743
+ const ip = `192.168.1.${Math.floor(Math.random() * 254) + 1}`;
744
+ const status = Math.random() > 0.3 ?
745
+ `<span class='text-green-400'>ACTIVE</span>` :
746
+ `<span class='text-red-400'>INACTIVE</span>`;
747
+
748
+ output += `<div>> ${ip} - ${status}</div>`;
749
+ }
750
+
751
+ output += "</div>";
752
+ return output;
753
+ }
754
+ },
755
+ encrypt: {
756
+ description: "Encrypt data stream",
757
+ execute: function() {
758
+ const symbols = ["✓", "✗", "⚡", "⌁", "⍟", "⏣"];
759
+ let output = "<div class='mb-2'>Encryption Process:</div><div class='ml-4'>";
760
+
761
+ for (let i = 0; i < 10; i++) {
762
+ const symbol = symbols[Math.floor(Math.random() * symbols.length)];
763
+ output += `<div>> [${symbol}] Encrypting block ${i+1} of 10... <span class='text-green-400'>DONE</span></div>`;
764
+ }
765
+
766
+ output += `<div class='mt-2 text-cyan-300'>Encryption complete. Security level: <span class='text-green-400'>${Math.floor(Math.random() * 5) + 5}/10</span></div>`;
767
+ output += "</div>";
768
+ return output;
769
+ }
770
+ },
771
+ reboot: {
772
+ description: "Reboot the system",
773
+ execute: function() {
774
+ setTimeout(() => {
775
+ location.reload();
776
+ }, 1500);
777
+ return "<div class='text-yellow-400'>Initiating system reboot sequence...</div>";
778
+ }
779
+ },
780
+ anomaly: {
781
+ description: "Run temporal anomaly scan",
782
+ execute: function() {
783
+ let output = "<div class='mb-2 glitch' data-text='Temporal Anomaly Scan [WARNING: HIGH RISK]'>Temporal Anomaly Scan [WARNING: HIGH RISK]</div><div class='ml-4'>";
784
+
785
+ const anomalies = [
786
+ "Quantum Entanglement Breakdown",
787
+ "Chroniton Particle Leak",
788
+ "Temporal Paradox Detected",
789
+ "Reality Fracture Growing",
790
+ "Parallel Universe Incursion",
791
+ "Time Loop Signature"
792
+ ];
793
+
794
+ for (let i = 0; i < 6; i++) {
795
+ const severity = Math.random() > 0.7 ?
796
+ `<span class='text-red-400'>CRITICAL</span>` :
797
+ `<span class='text-yellow-400'>MODERATE</span>`;
798
+
799
+ output += `<div>> ${anomalies[i]} - Severity: ${severity}</div>`;
800
+ }
801
+
802
+ output += `<div class='mt-2 text-red-400'>WARNING: Temporal collapse imminent in ${Math.floor(Math.random() * 60) + 1} minutes</div>`;
803
+ output += "</div>";
804
+ return output;
805
+ }
806
+ },
807
+ visual: {
808
+ description: "Toggle advanced visualizations",
809
+ execute: function() {
810
+ const visuals = document.getElementById('quantum-connections');
811
+ visuals.style.display = visuals.style.display === 'none' ? 'block' : 'none';
812
+ return `<div class="text-green-400">Advanced visualizations ${visuals.style.display === 'none' ? 'disabled' : 'enabled'}</div>`;
813
+ }
814
+ },
815
+ scan: {
816
+ description: "Perform quantum network scan",
817
+ execute: function() {
818
+ // Play quantum scan sound
819
+ const quantumAudio = document.getElementById('quantum-audio');
820
+ quantumAudio.currentTime = 0;
821
+ quantumAudio.play();
822
+
823
+ let output = "<div class='mb-2 glitch' data-text='QUANTUM NETWORK SCAN'>QUANTUM NETWORK SCAN</div>";
824
+ output += "<div class='ml-4'>";
825
+
826
+ const protocols = ["Tachyon", "Quantum Entanglement", "Neural Link", "Chronal", "Holographic"];
827
+ const statuses = ["Stable", "Fluctuating", "Critical", "Optimal", "Degraded"];
828
+
829
+ for (let i = 0; i < 5; i++) {
830
+ const protocol = protocols[i];
831
+ const status = statuses[Math.floor(Math.random() * statuses.length)];
832
+ const statusClass = status === "Critical" ? "text-red-400" :
833
+ status === "Optimal" ? "text-green-400" : "text-yellow-400";
834
+
835
+ output += `<div>> ${protocol} Protocol: <span class='${statusClass}'>${status}</span></div>`;
836
+ }
837
+
838
+ output += `<div class='mt-2'>Quantum Coherence: <span class='text-${Math.random() > 0.3 ? 'green' : 'red'}-400'>${Math.floor(Math.random() * 100)}%</span></div>`;
839
+ output += "</div>";
840
+ return output;
841
+ }
842
+ },
843
+ tools: {
844
+ description: "Show available quantum tools",
845
+ execute: function() {
846
+ const tools = [
847
+ "Quantum Decryptor v9.4",
848
+ "Temporal Analyzer",
849
+ "Neural Mapper",
850
+ "Reality Stabilizer",
851
+ "Entanglement Scanner",
852
+ "Chronal Synchronizer"
853
+ ];
854
+
855
+ let output = "<div class='mb-2 text-cyan-300'>QUANTUM TOOLS:</div><div class='ml-4'>";
856
+ tools.forEach(tool => {
857
+ output += `<div>> <span class='text-green-400'>${tool}</span></div>`;
858
+ });
859
+ output += "</div>";
860
+ return output;
861
+ }
862
+ },
863
+ bounty: {
864
+ description: "Check cyber bounty board",
865
+ execute: function() {
866
+ const bounties = [
867
+ "Neural ICE - ¥50,000",
868
+ "Rogue AI - ¥120,000",
869
+ "Data Vampire - ¥75,000",
870
+ "Ghost in the Mainframe - ¥200,000",
871
+ "Cyber Witch - ¥90,000"
872
+ ];
873
+
874
+ let output = "<div class='mb-2 text-red-400'>ACTIVE BOUNTIES:</div><div class='ml-4'>";
875
+ bounties.forEach(bounty => {
876
+ output += `<div>> <span class='text-yellow-400'>${bounty}</span></div>`;
877
+ });
878
+ output += `<div class='mt-2 text-purple-400'>Type 'accept [bounty]' to claim</div>`;
879
+ output += "</div>";
880
+ return output;
881
+ }
882
+ },
883
+ jackin: {
884
+ description: "Initiate direct neural interface",
885
+ execute: function() {
886
+ setTimeout(() => {
887
+ const audio = document.getElementById('cyber-audio');
888
+ audio.currentTime = 0;
889
+ audio.play();
890
+
891
+ document.body.classList.add('neon-mode');
892
+ const flash = document.createElement('div');
893
+ flash.className = 'fixed inset-0 bg-white opacity-70 z-50';
894
+ document.body.appendChild(flash);
895
+
896
+ setTimeout(() => {
897
+ flash.remove();
898
+ const line = document.createElement('div');
899
+ line.className = 'text-purple-400 my-1';
900
+ line.textContent = "> NEURAL INTERFACE ESTABLISHED. WELCOME TO THE NET, RUNNER.";
901
+ terminalOutput.appendChild(line);
902
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
903
+ }, 200);
904
+ }, 1000);
905
+
906
+ return "<div class='text-yellow-400'>JACKING IN...</div>";
907
+ }
908
+ }
909
+ };
910
+
911
+ // Handle command input
912
+ commandInput.addEventListener('keydown', function(e) {
913
+ if (e.key === 'Enter') {
914
+ const command = commandInput.value.trim().toLowerCase();
915
+ commandInput.value = '';
916
+
917
+ // Add command to output
918
+ const commandLine = document.createElement('div');
919
+ commandLine.className = 'my-1';
920
+ commandLine.innerHTML = `<span class='text-cyan-300'>user@unit-σ404:~$</span> <span class='text-green-400'>${command}</span>`;
921
+ terminalOutput.appendChild(commandLine);
922
+
923
+ // Process command
924
+ if (command in commands) {
925
+ const result = commands[command].execute();
926
+ if (result) {
927
+ const resultDiv = document.createElement('div');
928
+ resultDiv.className = 'mb-2 ml-4';
929
+ resultDiv.innerHTML = result;
930
+ terminalOutput.appendChild(resultDiv);
931
+ }
932
+ } else if (command) {
933
+ const errorDiv = document.createElement('div');
934
+ errorDiv.className = 'text-red-400 ml-4';
935
+ errorDiv.textContent = `Command not found: ${command}`;
936
+ terminalOutput.appendChild(errorDiv);
937
+ }
938
+
939
+ // Scroll to bottom
940
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
941
+ }
942
+ });
943
+
944
+ // Simulate AI typing sometimes
945
+ setInterval(() => {
946
+ if (Math.random() > 0.9) {
947
+ typingIndicator.classList.remove('hidden');
948
+
949
+ setTimeout(() => {
950
+ typingIndicator.classList.add('hidden');
951
+
952
+ // Sometimes add a system message
953
+ if (Math.random() > 0.5) {
954
+ const messages = [
955
+ "Warning: Quantum fluctuations detected in sector 7",
956
+ "System update available - run 'upgrade' to install",
957
+ "Security alert: Unauthorized access attempt blocked",
958
+ "Neural network optimization complete",
959
+ "New messages in encrypted inbox"
960
+ ];
961
+
962
+ const message = messages[Math.floor(Math.random() * messages.length)];
963
+ const messageDiv = document.createElement('div');
964
+ messageDiv.className = 'text-yellow-400 my-1';
965
+ messageDiv.textContent = `> SYSTEM: ${message}`;
966
+ terminalOutput.appendChild(messageDiv);
967
+ terminalOutput.scrollTop = terminalOutput.scrollHeight;
968
+ }
969
+ }, 1500);
970
+ }
971
+ }, 10000);
972
+ });
973
+ </script>
974
+ <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=gladiopeace/glitch7" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
975
  </html>