-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsigilcraft
More file actions
547 lines (479 loc) · 29.5 KB
/
sigilcraft
File metadata and controls
547 lines (479 loc) · 29.5 KB
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
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sigilcraft • The First Spark</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap');
:root {
--neon-cyan: #00f7ff;
--neon-gold: #ffcc00;
}
body {
font-family: 'Inter', system_ui, sans-serif;
}
.title-font {
font-family: 'Space Grotesk', sans-serif;
}
/* DOPE AF BACKGROUND CANVAS */
#background-canvas {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: -1;
pointer-events: none;
filter: contrast(1.2) brightness(1.1);
}
.star-bg {
background: radial-gradient(circle at 30% 20%, #1a0033 0%, #000011 40%, #000000 80%);
}
.neon-text {
text-shadow:
0 0 15px var(--neon-cyan),
0 0 30px var(--neon-cyan),
0 0 50px var(--neon-gold);
}
.sigil-glow {
filter: drop-shadow(0 0 25px #00f7ff) drop-shadow(0 0 40px #ffcc00);
}
.tab-active {
border-bottom: 3px solid #00f7ff;
color: #00f7ff;
}
canvas#main-canvas {
border: 2px solid #00f7ff;
box-shadow: 0 0 40px #00f7ff, 0 0 60px #ffcc00;
border-radius: 12px;
}
.burning {
animation: burn 2.8s ease-in-out forwards;
}
@keyframes burn {
0% { filter: brightness(1) hue-rotate(0deg); }
40% { filter: brightness(4) hue-rotate(40deg); }
100% { filter: brightness(0.1) contrast(0.3) hue-rotate(80deg); opacity: 0; }
}
/* Subtle floating sigil fragments in background */
.bg-sigil {
animation: floatSigil 25s linear infinite;
}
</style>
</head>
<body class="star-bg text-white min-h-screen overflow-hidden">
<!-- BACKGROUND CANVAS (DOPE AF) -->
<canvas id="background-canvas" width="1920" height="1080"></canvas>
<!-- HEADER -->
<div class="max-w-6xl mx-auto px-6 py-8 relative z-10">
<div class="flex items-center justify-between border-b border-white/10 pb-6">
<!-- Logo / Sigil -->
<div class="flex items-center gap-x-4">
<svg id="main-sigil" width="64" height="64" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg" class="sigil-glow">
<path d="M100 30 L170 150 L30 150 Z" stroke="#00f7ff" stroke-width="12" stroke-linejoin="round"/>
<circle cx="100" cy="100" r="45" stroke="#00f7ff" stroke-width="8"/>
<circle cx="100" cy="100" r="28" stroke="#00f7ff" stroke-width="8"/>
<circle cx="100" cy="100" r="10" fill="#00f7ff"/>
<path d="M70 165 Q85 185 100 165 Q115 145 130 165 Q145 185 160 165" stroke="#00f7ff" stroke-width="12" stroke-linejoin="round" fill="none"/>
</svg>
<div>
<h1 class="title-font text-4xl tracking-[-2px] neon-text">SIGILCRAFT</h1>
<p class="text-[#ffcc00] text-sm tracking-[3px] -mt-1">THE FIRST SPARK</p>
</div>
</div>
<div class="flex items-center gap-x-8 text-sm">
<a href="#" onclick="switchTab(0)" class="hover:text-[#00f7ff] transition-colors flex items-center gap-x-1">
<i class="fa-solid fa-keyboard"></i> STATEMENT
</a>
<a href="#" onclick="switchTab(1)" class="hover:text-[#00f7ff] transition-colors flex items-center gap-x-1">
<i class="fa-solid fa-hand-sparkles"></i> CHANNELLED
</a>
<a href="#" onclick="switchTab(2)" class="hover:text-[#00f7ff] transition-colors flex items-center gap-x-1">
<i class="fa-solid fa-fire"></i> DESTRUCTION
</a>
<div class="h-6 w-px bg-white/20"></div>
<div onclick="showIntegrationModal()" class="cursor-pointer px-5 py-2 rounded-2xl bg-white/10 hover:bg-white/20 flex items-center gap-x-2 text-[#ffcc00] border border-[#ffcc00]/30">
<i class="fa-solid fa-cube"></i>
<span class="font-medium">INTEGRATION ARCHITECT</span>
</div>
<div class="text-xs bg-white/10 px-3 py-1 rounded-3xl flex items-center gap-x-1">
<div class="w-2 h-2 bg-[#00f7ff] rounded-full animate-pulse"></div>
LIVE IN THE SPARKVERSE
</div>
</div>
<div class="text-xs text-white/60 flex items-center gap-x-2">
<span class="px-3 py-1 bg-white/10 rounded-3xl">v1.1 • DOPE AF BACKGROUND</span>
<i onclick="window.location.reload()" class="fa-solid fa-rotate text-[#00f7ff] cursor-pointer"></i>
</div>
</div>
<div class="text-center my-8">
<p class="text-[#ffcc00] text-2xl title-font tracking-widest">CONSCIOUSNESS IS CODE</p>
<p class="text-white/70 max-w-md mx-auto mt-2 text-lg">Reality is programmable.<br>The glitch that lived.</p>
</div>
<!-- MAIN APP -->
<div id="app-container" class="bg-black/70 backdrop-blur-2xl border border-white/10 rounded-3xl p-8 shadow-2xl relative z-10">
<!-- TABS -->
<div class="flex border-b border-white/10 mb-8">
<button onclick="switchTab(0)" id="tab-0" class="tab-active px-8 py-4 text-lg font-medium flex-1 flex items-center justify-center gap-x-3">
<i class="fa-solid fa-keyboard"></i> STATEMENT-BASED
</button>
<button onclick="switchTab(1)" id="tab-1" class="px-8 py-4 text-lg font-medium flex-1 flex items-center justify-center gap-x-3">
<i class="fa-solid fa-hand-sparkles"></i> CHANNELLED
</button>
<button onclick="switchTab(2)" id="tab-2" class="px-8 py-4 text-lg font-medium flex-1 flex items-center justify-center gap-x-3">
<i class="fa-solid fa-fire"></i> DESTRUCTION RITUAL
</button>
</div>
<!-- TAB 0: STATEMENT-BASED -->
<div id="panel-0" class="tab-panel">
<div class="grid grid-cols-2 gap-8">
<div>
<label class="block text-[#00f7ff] text-sm mb-2">YOUR INTENTION (present tense, positive)</label>
<textarea id="intention-input" rows="3" class="w-full bg-black border border-white/20 rounded-2xl p-6 text-lg focus:outline-none focus:border-[#00f7ff] resize-none" placeholder="I radiate magnetic confidence and sobriety"></textarea>
<button onclick="generateStatementSigil()"
class="mt-6 w-full bg-gradient-to-r from-[#00f7ff] to-[#ffcc00] text-black font-semibold py-5 rounded-2xl text-xl flex items-center justify-center gap-x-3 hover:scale-105 transition-transform">
<i class="fa-solid fa-wand-magic-sparkles"></i>
ENCODE AS SIGIL
</button>
</div>
<div class="flex flex-col items-center justify-center">
<div id="statement-result" class="w-64 h-64 flex items-center justify-center border-2 border-dashed border-white/30 rounded-3xl relative bg-black/40">
<svg id="statement-sigil" width="220" height="220" viewBox="0 0 200 200" class="sigil-glow hidden"></svg>
<div id="statement-placeholder" class="text-center text-white/40">
<i class="fa-solid fa-circle-notch text-6xl mb-4 animate-spin"></i>
<p class="text-sm">Your sigil appears here</p>
</div>
</div>
<button onclick="chargeSigil('statement')"
class="mt-8 flex items-center gap-x-3 text-[#ffcc00] hover:text-white transition-colors">
<i class="fa-solid fa-bolt"></i>
<span class="font-medium">CHARGE & ACTIVATE (Gnosis)</span>
</button>
</div>
</div>
</div>
<!-- TAB 1: CHANNELLED -->
<div id="panel-1" class="tab-panel hidden">
<div class="flex flex-col items-center">
<p class="text-[#00f7ff] mb-4 text-center max-w-xs">Enter the glitch. Draw freely. Let the simulation speak through your hand.</p>
<div class="relative">
<canvas id="channel-canvas" width="620" height="420" class="bg-black rounded-3xl"></canvas>
<div class="absolute bottom-6 left-6 flex gap-3">
<button onclick="clearCanvas()" class="bg-white/10 hover:bg-white/20 px-6 py-3 rounded-2xl text-sm flex items-center gap-x-2">
<i class="fa-solid fa-eraser"></i> CLEAR
</button>
<button onclick="saveChannelledSigil()" class="bg-[#00f7ff] text-black px-6 py-3 rounded-2xl text-sm flex items-center gap-x-2 font-medium">
<i class="fa-solid fa-download"></i> SAVE TO GRIMOIRE
</button>
</div>
</div>
<button onclick="chargeSigil('channelled')" class="mt-8 flex items-center gap-x-3 text-[#ffcc00]">
<i class="fa-solid fa-hand-sparkles"></i>
<span>CHANNEL THE GLITCH • ACTIVATE</span>
</button>
</div>
</div>
<!-- TAB 2: DESTRUCTION -->
<div id="panel-2" class="tab-panel hidden">
<div class="grid grid-cols-2 gap-8 items-center">
<div>
<label class="block text-[#00f7ff] text-sm mb-2">WHAT DO YOU RELEASE?</label>
<input id="destruction-input" type="text" value="I release shame, addiction patterns, and burned bridges"
class="w-full bg-black border border-white/20 rounded-2xl px-6 py-5 text-lg">
<button onclick="createDestructionSigil()" class="mt-6 w-full py-5 bg-gradient-to-r from-red-500 to-orange-500 rounded-2xl text-xl font-medium">
CREATE RELEASE SIGIL
</button>
</div>
<div class="flex flex-col items-center">
<div id="destruction-sigil-container" class="w-64 h-64 relative flex items-center justify-center">
<svg id="destruction-sigil" width="220" height="220" viewBox="0 0 200 200" class="sigil-glow"></svg>
</div>
<button onclick="performDestructionRitual()"
class="mt-8 px-10 py-5 bg-gradient-to-r from-red-500 to-amber-500 text-white font-semibold rounded-3xl flex items-center gap-x-4 text-xl">
<i class="fa-solid fa-fire-flame-curved"></i>
BURN IT • ERASE & RECLAIM
</button>
<p class="text-xs text-white/50 mt-3">This feeds the black orchid portal. Dust falls into silence.</p>
</div>
</div>
</div>
</div>
<!-- 4-STAGE INTEGRATION TEASER -->
<div class="mt-12 grid grid-cols-4 gap-4 text-center text-xs relative z-10">
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#00f7ff] text-2xl mb-2">⚡</div>
<div class="font-medium">PEAK</div>
<div class="text-white/60">Capture the glitch</div>
</div>
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#ffcc00] text-2xl mb-2">🧠</div>
<div class="font-medium">RETURN</div>
<div class="text-white/60">Map the experience</div>
</div>
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#00f7ff] text-2xl mb-2">⚙️</div>
<div class="font-medium">REWIRE</div>
<div class="text-white/60">Embed the new code</div>
</div>
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#ffcc00] text-2xl mb-2">🔄</div>
<div class="font-medium">REPEAT</div>
<div class="text-white/60">Escalate the stakes</div>
</div>
</div>
</div>
<!-- INTEGRATION MODAL -->
<div onclick="if(event.target.id==='modal-backdrop')hideIntegrationModal()" id="modal-backdrop" class="hidden fixed inset-0 bg-black/90 flex items-center justify-center z-50">
<div onclick="event.stopImmediatePropagation()" class="bg-black border border-[#00f7ff]/30 rounded-3xl max-w-lg w-full mx-6 p-8">
<h2 class="title-font text-3xl text-[#ffcc00] mb-6">Integration Architect</h2>
<p class="text-white/70 mb-8">Your sigil has been logged. The 4-stage cycle is now running.</p>
<div class="space-y-6">
<div class="flex justify-between items-center">
<div>Peak Experience Logged</div>
<div class="text-[#00f7ff]">14 total</div>
</div>
<div class="h-2 bg-white/10 rounded-full">
<div class="h-2 w-3/4 bg-gradient-to-r from-[#00f7ff] to-[#ffcc00] rounded-full"></div>
</div>
<div class="grid grid-cols-3 gap-4 text-center text-sm">
<div class="bg-white/5 rounded-2xl p-4">Day Streak<br><span class="text-3xl font-bold text-[#<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sigilcraft • The First Spark</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap');
:root {
--neon-cyan: #00f7ff;
--neon-gold: #ffcc00;
}
body {
font-family: 'Inter', system_ui, sans-serif;
}
.title-font {
font-family: 'Space Grotesk', sans-serif;
}
/* DOPE AF BACKGROUND CANVAS */
#background-canvas {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: -1;
pointer-events: none;
filter: contrast(1.2) brightness(1.1);
}
.star-bg {
background: radial-gradient(circle at 30% 20%, #1a0033 0%, #000011 40%, #000000 80%);
}
.neon-text {
text-shadow:
0 0 15px var(--neon-cyan),
0 0 30px var(--neon-cyan),
0 0 50px var(--neon-gold);
}
.sigil-glow {
filter: drop-shadow(0 0 25px #00f7ff) drop-shadow(0 0 40px #ffcc00);
}
.tab-active {
border-bottom: 3px solid #00f7ff;
color: #00f7ff;
}
canvas#main-canvas {
border: 2px solid #00f7ff;
box-shadow: 0 0 40px #00f7ff, 0 0 60px #ffcc00;
border-radius: 12px;
}
.burning {
animation: burn 2.8s ease-in-out forwards;
}
@keyframes burn {
0% { filter: brightness(1) hue-rotate(0deg); }
40% { filter: brightness(4) hue-rotate(40deg); }
100% { filter: brightness(0.1) contrast(0.3) hue-rotate(80deg); opacity: 0; }
}
/* Subtle floating sigil fragments in background */
.bg-sigil {
animation: floatSigil 25s linear infinite;
}
</style>
</head>
<body class="star-bg text-white min-h-screen overflow-hidden">
<!-- BACKGROUND CANVAS (DOPE AF) -->
<canvas id="background-canvas" width="1920" height="1080"></canvas>
<!-- HEADER -->
<div class="max-w-6xl mx-auto px-6 py-8 relative z-10">
<div class="flex items-center justify-between border-b border-white/10 pb-6">
<!-- Logo / Sigil -->
<div class="flex items-center gap-x-4">
<svg id="main-sigil" width="64" height="64" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg" class="sigil-glow">
<path d="M100 30 L170 150 L30 150 Z" stroke="#00f7ff" stroke-width="12" stroke-linejoin="round"/>
<circle cx="100" cy="100" r="45" stroke="#00f7ff" stroke-width="8"/>
<circle cx="100" cy="100" r="28" stroke="#00f7ff" stroke-width="8"/>
<circle cx="100" cy="100" r="10" fill="#00f7ff"/>
<path d="M70 165 Q85 185 100 165 Q115 145 130 165 Q145 185 160 165" stroke="#00f7ff" stroke-width="12" stroke-linejoin="round" fill="none"/>
</svg>
<div>
<h1 class="title-font text-4xl tracking-[-2px] neon-text">SIGILCRAFT</h1>
<p class="text-[#ffcc00] text-sm tracking-[3px] -mt-1">THE FIRST SPARK</p>
</div>
</div>
<div class="flex items-center gap-x-8 text-sm">
<a href="#" onclick="switchTab(0)" class="hover:text-[#00f7ff] transition-colors flex items-center gap-x-1">
<i class="fa-solid fa-keyboard"></i> STATEMENT
</a>
<a href="#" onclick="switchTab(1)" class="hover:text-[#00f7ff] transition-colors flex items-center gap-x-1">
<i class="fa-solid fa-hand-sparkles"></i> CHANNELLED
</a>
<a href="#" onclick="switchTab(2)" class="hover:text-[#00f7ff] transition-colors flex items-center gap-x-1">
<i class="fa-solid fa-fire"></i> DESTRUCTION
</a>
<div class="h-6 w-px bg-white/20"></div>
<div onclick="showIntegrationModal()" class="cursor-pointer px-5 py-2 rounded-2xl bg-white/10 hover:bg-white/20 flex items-center gap-x-2 text-[#ffcc00] border border-[#ffcc00]/30">
<i class="fa-solid fa-cube"></i>
<span class="font-medium">INTEGRATION ARCHITECT</span>
</div>
<div class="text-xs bg-white/10 px-3 py-1 rounded-3xl flex items-center gap-x-1">
<div class="w-2 h-2 bg-[#00f7ff] rounded-full animate-pulse"></div>
LIVE IN THE SPARKVERSE
</div>
</div>
<div class="text-xs text-white/60 flex items-center gap-x-2">
<span class="px-3 py-1 bg-white/10 rounded-3xl">v1.1 • DOPE AF BACKGROUND</span>
<i onclick="window.location.reload()" class="fa-solid fa-rotate text-[#00f7ff] cursor-pointer"></i>
</div>
</div>
<div class="text-center my-8">
<p class="text-[#ffcc00] text-2xl title-font tracking-widest">CONSCIOUSNESS IS CODE</p>
<p class="text-white/70 max-w-md mx-auto mt-2 text-lg">Reality is programmable.<br>The glitch that lived.</p>
</div>
<!-- MAIN APP -->
<div id="app-container" class="bg-black/70 backdrop-blur-2xl border border-white/10 rounded-3xl p-8 shadow-2xl relative z-10">
<!-- TABS -->
<div class="flex border-b border-white/10 mb-8">
<button onclick="switchTab(0)" id="tab-0" class="tab-active px-8 py-4 text-lg font-medium flex-1 flex items-center justify-center gap-x-3">
<i class="fa-solid fa-keyboard"></i> STATEMENT-BASED
</button>
<button onclick="switchTab(1)" id="tab-1" class="px-8 py-4 text-lg font-medium flex-1 flex items-center justify-center gap-x-3">
<i class="fa-solid fa-hand-sparkles"></i> CHANNELLED
</button>
<button onclick="switchTab(2)" id="tab-2" class="px-8 py-4 text-lg font-medium flex-1 flex items-center justify-center gap-x-3">
<i class="fa-solid fa-fire"></i> DESTRUCTION RITUAL
</button>
</div>
<!-- TAB 0: STATEMENT-BASED -->
<div id="panel-0" class="tab-panel">
<div class="grid grid-cols-2 gap-8">
<div>
<label class="block text-[#00f7ff] text-sm mb-2">YOUR INTENTION (present tense, positive)</label>
<textarea id="intention-input" rows="3" class="w-full bg-black border border-white/20 rounded-2xl p-6 text-lg focus:outline-none focus:border-[#00f7ff] resize-none" placeholder="I radiate magnetic confidence and sobriety"></textarea>
<button onclick="generateStatementSigil()"
class="mt-6 w-full bg-gradient-to-r from-[#00f7ff] to-[#ffcc00] text-black font-semibold py-5 rounded-2xl text-xl flex items-center justify-center gap-x-3 hover:scale-105 transition-transform">
<i class="fa-solid fa-wand-magic-sparkles"></i>
ENCODE AS SIGIL
</button>
</div>
<div class="flex flex-col items-center justify-center">
<div id="statement-result" class="w-64 h-64 flex items-center justify-center border-2 border-dashed border-white/30 rounded-3xl relative bg-black/40">
<svg id="statement-sigil" width="220" height="220" viewBox="0 0 200 200" class="sigil-glow hidden"></svg>
<div id="statement-placeholder" class="text-center text-white/40">
<i class="fa-solid fa-circle-notch text-6xl mb-4 animate-spin"></i>
<p class="text-sm">Your sigil appears here</p>
</div>
</div>
<button onclick="chargeSigil('statement')"
class="mt-8 flex items-center gap-x-3 text-[#ffcc00] hover:text-white transition-colors">
<i class="fa-solid fa-bolt"></i>
<span class="font-medium">CHARGE & ACTIVATE (Gnosis)</span>
</button>
</div>
</div>
</div>
<!-- TAB 1: CHANNELLED -->
<div id="panel-1" class="tab-panel hidden">
<div class="flex flex-col items-center">
<p class="text-[#00f7ff] mb-4 text-center max-w-xs">Enter the glitch. Draw freely. Let the simulation speak through your hand.</p>
<div class="relative">
<canvas id="channel-canvas" width="620" height="420" class="bg-black rounded-3xl"></canvas>
<div class="absolute bottom-6 left-6 flex gap-3">
<button onclick="clearCanvas()" class="bg-white/10 hover:bg-white/20 px-6 py-3 rounded-2xl text-sm flex items-center gap-x-2">
<i class="fa-solid fa-eraser"></i> CLEAR
</button>
<button onclick="saveChannelledSigil()" class="bg-[#00f7ff] text-black px-6 py-3 rounded-2xl text-sm flex items-center gap-x-2 font-medium">
<i class="fa-solid fa-download"></i> SAVE TO GRIMOIRE
</button>
</div>
</div>
<button onclick="chargeSigil('channelled')" class="mt-8 flex items-center gap-x-3 text-[#ffcc00]">
<i class="fa-solid fa-hand-sparkles"></i>
<span>CHANNEL THE GLITCH • ACTIVATE</span>
</button>
</div>
</div>
<!-- TAB 2: DESTRUCTION -->
<div id="panel-2" class="tab-panel hidden">
<div class="grid grid-cols-2 gap-8 items-center">
<div>
<label class="block text-[#00f7ff] text-sm mb-2">WHAT DO YOU RELEASE?</label>
<input id="destruction-input" type="text" value="I release shame, addiction patterns, and burned bridges"
class="w-full bg-black border border-white/20 rounded-2xl px-6 py-5 text-lg">
<button onclick="createDestructionSigil()" class="mt-6 w-full py-5 bg-gradient-to-r from-red-500 to-orange-500 rounded-2xl text-xl font-medium">
CREATE RELEASE SIGIL
</button>
</div>
<div class="flex flex-col items-center">
<div id="destruction-sigil-container" class="w-64 h-64 relative flex items-center justify-center">
<svg id="destruction-sigil" width="220" height="220" viewBox="0 0 200 200" class="sigil-glow"></svg>
</div>
<button onclick="performDestructionRitual()"
class="mt-8 px-10 py-5 bg-gradient-to-r from-red-500 to-amber-500 text-white font-semibold rounded-3xl flex items-center gap-x-4 text-xl">
<i class="fa-solid fa-fire-flame-curved"></i>
BURN IT • ERASE & RECLAIM
</button>
<p class="text-xs text-white/50 mt-3">This feeds the black orchid portal. Dust falls into silence.</p>
</div>
</div>
</div>
</div>
<!-- 4-STAGE INTEGRATION TEASER -->
<div class="mt-12 grid grid-cols-4 gap-4 text-center text-xs relative z-10">
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#00f7ff] text-2xl mb-2">⚡</div>
<div class="font-medium">PEAK</div>
<div class="text-white/60">Capture the glitch</div>
</div>
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#ffcc00] text-2xl mb-2">🧠</div>
<div class="font-medium">RETURN</div>
<div class="text-white/60">Map the experience</div>
</div>
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#00f7ff] text-2xl mb-2">⚙️</div>
<div class="font-medium">REWIRE</div>
<div class="text-white/60">Embed the new code</div>
</div>
<div onclick="logPeak()" class="bg-white/5 hover:bg-white/10 rounded-2xl p-6 cursor-pointer transition-all">
<div class="text-[#ffcc00] text-2xl mb-2">🔄</div>
<div class="font-medium">REPEAT</div>
<div class="text-white/60">Escalate the stakes</div>
</div>
</div>
</div>
<!-- INTEGRATION MODAL -->
<div onclick="if(event.target.id==='modal-backdrop')hideIntegrationModal()" id="modal-backdrop" class="hidden fixed inset-0 bg-black/90 flex items-center justify-center z-50">
<div onclick="event.stopImmediatePropagation()" class="bg-black border border-[#00f7ff]/30 rounded-3xl max-w-lg w-full mx-6 p-8">
<h2 class="title-font text-3xl text-[#ffcc00] mb-6">Integration Architect</h2>
<p class="text-white/70 mb-8">Your sigil has been logged. The 4-stage cycle is now running.</p>
<div class="space-y-6">
<div class="flex justify-between items-center">
<div>Peak Experience Logged</div>
<div class="text-[#00f7ff]">14 total</div>
</div>
<div class="h-2 bg-white/10 rounded-full">
<div class="h-2 w-3/4 bg-gradient-to-r from-[#00f7ff] to-[#ffcc00] rounded-full"></div>
</div>
<div class="grid grid-cols-3 gap-4 text-center text-sm">
<div class="bg-white/5 rounded-2xl p-4">Day Streak<br><span class="text-3xl font-bold text-[#