-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTORE.HTML
More file actions
1330 lines (1240 loc) · 55.5 KB
/
STORE.HTML
File metadata and controls
1330 lines (1240 loc) · 55.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
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<script src="fix-audio.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Materia Solutions | Botanical Excellence</title>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Materia Solutions | Botanical Excellence">
<meta name="twitter:description" content="Advanced Flora Division">
<meta name="twitter:image"
content="https://raw.githubusercontent.com/PARTLYDECENT/Materia-Solutions/main/BANNER.jpg">
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<!-- Tailwind CSS (Local Build) -->
<link rel="stylesheet" href="tailwind.css">
<!-- Three.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
padding: 0;
background-color: #fdfbf7;
color: #4a4443;
/* Lock scrolling for the grid layout */
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
#webgl-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 0;
pointer-events: none;
}
.glass-panel {
background: rgba(255, 255, 255, 0.4);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.6);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}
.flower-card {
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
cursor: pointer;
}
.flower-card:hover {
transform: scale(0.98) translateY(-4px);
background: rgba(255, 255, 255, 0.7);
border-color: rgba(255, 209, 220, 0.8);
box-shadow: 0 12px 40px rgba(255, 209, 220, 0.2);
}
@keyframes softFade {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.modal-animate {
animation: softFade 0.3s ease-out forwards;
}
/* ========== RECIPE TOGGLE BUTTON ========== */
.recipe-toggle {
display: flex;
align-items: center;
padding: 8px 18px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.15);
background: rgba(0, 0, 0, 0.30);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
color: rgba(255, 255, 255, 0.75);
font-size: 11px;
letter-spacing: 0.15em;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
text-transform: uppercase;
white-space: nowrap;
z-index: 100;
}
.recipe-toggle:hover {
background: rgba(180, 140, 255, 0.12);
border-color: rgba(180, 140, 255, 0.4);
box-shadow: 0 4px 30px rgba(180, 140, 255, 0.15);
color: #fff;
transform: translateY(-1px);
}
/* ========== ELEMENTAL CARD EFFECTS ========== */
/* --- Card 1: SCARLET CHERRY — Fire/Burning --- */
.card-fire::before {
content: '';
position: absolute;
bottom: 0; left: 0;
width: 100%; height: 60%;
background: linear-gradient(to top, rgba(255,80,20,0.25), rgba(255,150,50,0.08), transparent);
animation: fireFlicker 2s ease-in-out infinite alternate;
pointer-events: none;
border-radius: inherit;
z-index: 0;
}
.card-fire::after {
content: '';
position: absolute;
bottom: -10px; left: 50%;
width: 80%; height: 40%;
transform: translateX(-50%);
background: radial-gradient(ellipse at center bottom, rgba(255,60,0,0.4), rgba(255,120,0,0.15) 50%, transparent 70%);
animation: fireGlow 1.5s ease-in-out infinite alternate;
filter: blur(12px);
pointer-events: none;
z-index: 0;
}
.card-fire:hover::before {
height: 80%;
background: linear-gradient(to top, rgba(255,60,10,0.4), rgba(255,150,50,0.15), transparent);
}
.card-fire:hover {
border-color: rgba(255,100,30,0.6) !important;
box-shadow: 0 12px 40px rgba(255,80,20,0.3) !important;
}
@keyframes fireFlicker {
0% { opacity: 0.6; transform: scaleY(1); }
50% { opacity: 1; transform: scaleY(1.05); }
100% { opacity: 0.7; transform: scaleY(0.95); }
}
@keyframes fireGlow {
0% { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}
/* --- Card 2: CYBER LOTUS — Digital Scanlines --- */
.card-cyber::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: repeating-linear-gradient(
0deg,
transparent,
transparent 4px,
rgba(0,255,120,0.04) 4px,
rgba(0,255,120,0.04) 5px
);
animation: cyberScan 3s linear infinite;
pointer-events: none;
border-radius: inherit;
z-index: 0;
}
.card-cyber::after {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 3px;
background: linear-gradient(90deg, transparent, rgba(0,255,120,0.6), transparent);
animation: scanLine 2.5s linear infinite;
pointer-events: none;
z-index: 0;
}
.card-cyber:hover {
border-color: rgba(0,255,120,0.5) !important;
box-shadow: 0 0 30px rgba(0,255,120,0.15), 0 12px 40px rgba(0,200,100,0.2) !important;
}
@keyframes cyberScan {
0% { background-position: 0 0; }
100% { background-position: 0 100px; }
}
@keyframes scanLine {
0% { top: -3px; opacity: 0; }
10% { opacity: 1; }
90% { opacity: 1; }
100% { top: calc(100% + 3px); opacity: 0; }
}
/* --- Card 3: VOID CAMELLIA — Dark Singularity Pulse --- */
.card-void::before {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 120px; height: 120px;
transform: translate(-50%, -50%);
background: radial-gradient(circle, rgba(120,0,255,0.3), rgba(80,0,180,0.1) 40%, transparent 70%);
animation: voidPulse 2s ease-in-out infinite;
pointer-events: none;
z-index: 0;
}
.card-void::after {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 200px; height: 200px;
transform: translate(-50%, -50%);
border: 1px solid rgba(120,0,255,0.15);
border-radius: 50%;
animation: voidRing 3s ease-in-out infinite;
pointer-events: none;
z-index: 0;
}
.card-void:hover::before {
background: radial-gradient(circle, rgba(140,0,255,0.5), rgba(80,0,180,0.2) 40%, transparent 70%);
}
.card-void:hover {
border-color: rgba(120,0,255,0.5) !important;
box-shadow: 0 0 30px rgba(120,0,255,0.2), 0 12px 40px rgba(80,0,180,0.2) !important;
}
@keyframes voidPulse {
0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}
@keyframes voidRing {
0%, 100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.3; border-width: 1px; }
50% { transform: translate(-50%, -50%) scale(1); opacity: 0; border-width: 0px; }
}
/* --- Card 4: AERO PEONY — Wind Streaks --- */
.card-aero::before {
content: '';
position: absolute;
top: 30%; left: -100%;
width: 200%; height: 2px;
background: linear-gradient(90deg, transparent, rgba(100,180,255,0.4), transparent);
animation: windStreak1 3s linear infinite;
pointer-events: none;
z-index: 0;
}
.card-aero::after {
content: '';
position: absolute;
top: 60%; left: -100%;
width: 200%; height: 1px;
background: linear-gradient(90deg, transparent, rgba(100,180,255,0.3), transparent);
animation: windStreak2 2.2s linear infinite 0.5s;
pointer-events: none;
z-index: 0;
}
.card-aero:hover {
border-color: rgba(100,180,255,0.5) !important;
box-shadow: 0 12px 40px rgba(100,180,255,0.2) !important;
}
@keyframes windStreak1 {
0% { left: -100%; opacity: 0; }
20% { opacity: 1; }
80% { opacity: 1; }
100% { left: 100%; opacity: 0; }
}
@keyframes windStreak2 {
0% { left: -100%; opacity: 0; }
20% { opacity: 1; }
80% { opacity: 1; }
100% { left: 100%; opacity: 0; }
}
/* --- Card 5: PRISM MUM — Rainbow Shimmer --- */
.card-prism::before {
content: '';
position: absolute;
top: 0; left: -50%;
width: 200%; height: 100%;
background: linear-gradient(
120deg,
transparent 20%,
rgba(255,100,150,0.08) 25%,
rgba(255,200,80,0.08) 30%,
rgba(100,255,150,0.08) 35%,
rgba(80,180,255,0.08) 40%,
rgba(180,100,255,0.08) 45%,
transparent 50%
);
animation: prismShift 4s linear infinite;
pointer-events: none;
border-radius: inherit;
z-index: 0;
}
.card-prism:hover::before {
background: linear-gradient(
120deg,
transparent 20%,
rgba(255,100,150,0.15) 25%,
rgba(255,200,80,0.15) 30%,
rgba(100,255,150,0.15) 35%,
rgba(80,180,255,0.15) 40%,
rgba(180,100,255,0.15) 45%,
transparent 50%
);
}
.card-prism:hover {
border-color: rgba(200,150,255,0.5) !important;
box-shadow: 0 12px 40px rgba(180,100,255,0.2) !important;
}
@keyframes prismShift {
0% { transform: translateX(0); }
100% { transform: translateX(50%); }
}
/* --- Card 6: GHOST ORCHID — Frost / Ice Mist --- */
.card-frost::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background:
radial-gradient(circle at 20% 80%, rgba(150,220,255,0.2), transparent 40%),
radial-gradient(circle at 80% 20%, rgba(180,230,255,0.15), transparent 40%),
radial-gradient(circle at 50% 50%, rgba(200,240,255,0.08), transparent 50%);
animation: frostBreath 4s ease-in-out infinite alternate;
pointer-events: none;
border-radius: inherit;
z-index: 0;
}
.card-frost::after {
content: '';
position: absolute;
bottom: 0; left: 0;
width: 100%; height: 30%;
background: linear-gradient(to top, rgba(200,235,255,0.2), transparent);
pointer-events: none;
border-radius: inherit;
z-index: 0;
}
.card-frost:hover {
border-color: rgba(150,220,255,0.6) !important;
box-shadow: 0 0 25px rgba(150,220,255,0.2), 0 12px 40px rgba(150,220,255,0.15) !important;
}
@keyframes frostBreath {
0% { opacity: 0.5; filter: blur(0px); }
100% { opacity: 1; filter: blur(2px); }
}
/* --- Card 7: GRAVITY FERN — Space-Time Distortion --- */
.card-gravity::before {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 0%; height: 0%;
background: radial-gradient(circle, rgba(0,0,0,0.8), transparent 70%);
transform: translate(-50%, -50%);
transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
filter: blur(20px);
z-index: 0;
pointer-events: none;
}
.card-gravity::after {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 150%; height: 150%;
border: 2px solid rgba(255,255,255,0.1);
border-radius: 50%;
transform: translate(-50%, -50%) scale(0.5);
transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
opacity: 0;
z-index: 0;
pointer-events: none;
}
.card-gravity:hover::before {
width: 150%; height: 150%;
opacity: 0.4;
}
.card-gravity:hover::after {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
border-color: rgba(255,255,255,0.4);
box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.card-gravity:hover {
background: rgba(0, 0, 0, 0.05);
backdrop-filter: contrast(1.4) blur(10px) brightness(0.8);
transform: scale(1.05) perspective(1000px) rotateX(5deg);
}
/* --- Card 8: NEURAL LILY — Organic Pulse --- */
.card-neural::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: conic-gradient(from 0deg, transparent, rgba(255,0,150,0.2), transparent 40%);
mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
-webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
animation: neuralRotate 5s linear infinite;
filter: url(#neuralJitter);
z-index: 0;
opacity: 0;
transition: opacity 0.4s ease;
}
.card-neural::after {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 100%; height: 100%;
transform: translate(-50%, -50%);
background: radial-gradient(circle, rgba(255,0,150,0.15), transparent 60%);
animation: neuralPulse 2s ease-in-out infinite;
z-index: 0;
opacity: 0;
transition: opacity 0.4s ease;
}
.card-neural:hover::before, .card-neural:hover::after {
opacity: 1;
}
.card-neural:hover {
border-color: rgba(255,0,150,0.4) !important;
box-shadow: 0 0 30px rgba(255,0,150,0.2) !important;
}
@keyframes neuralRotate {
from { transform: rotate(0deg) scale(1); }
to { transform: rotate(360deg) scale(1.2); }
}
@keyframes neuralPulse {
0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}
/* Make card content sit above pseudo-element effects */
.flower-card > * {
position: relative;
z-index: 1;
}
/* ========== DROPDOWN NAV ========== */
.nav-dropdown {
position: absolute;
top: 100%;
left: 0;
width: 100%;
max-height: 0;
overflow: hidden;
transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
opacity 0.4s ease;
opacity: 0;
z-index: 49;
}
.nav-dropdown.open {
max-height: 400px;
opacity: 1;
}
.nav-dropdown-inner {
background: rgba(255, 255, 255, 0.55);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.6);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
padding: 12px 24px;
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
justify-content: center;
}
.nav-item {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 18px;
border-radius: 999px;
border: 1px solid rgba(0, 0, 0, 0.06);
background: rgba(255, 255, 255, 0.45);
font-size: 10px;
letter-spacing: 0.25em;
text-transform: uppercase;
color: #9a9a9a;
cursor: default;
transition: all 0.3s ease;
user-select: none;
white-space: nowrap;
}
.nav-item.locked {
opacity: 0.55;
}
.nav-item.locked:hover {
background: rgba(200, 200, 200, 0.25);
border-color: rgba(0, 0, 0, 0.1);
}
.nav-item.active {
color: #4a4443;
border-color: rgba(180, 140, 255, 0.35);
background: rgba(255, 255, 255, 0.7);
cursor: pointer;
opacity: 1;
}
.nav-item.active:hover {
border-color: rgba(180, 140, 255, 0.6);
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 0 20px rgba(180, 140, 255, 0.12);
color: #2a2423;
transform: translateY(-1px);
}
.nav-item .lock-icon {
width: 10px;
height: 10px;
opacity: 0.4;
}
.nav-item .link-icon {
width: 10px;
height: 10px;
opacity: 0.6;
}
.nav-toggle {
width: 32px;
height: 32px;
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.08);
background: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(8px);
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
padding: 0;
transition: all 0.3s ease;
}
.nav-toggle:hover {
background: rgba(180, 140, 255, 0.12);
border-color: rgba(180, 140, 255, 0.4);
}
.nav-toggle span {
display: block;
width: 14px;
height: 1.5px;
background: #4a4443;
border-radius: 2px;
transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-toggle.open span:nth-child(1) {
transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
transform: translateY(-5.5px) rotate(-45deg);
}
</style>
</head>
<body class="h-[100dvh] w-screen relative selection:bg-hana-sakura selection:text-white">
<!-- WebGL Background -->
<div id="webgl-container"></div>
<!-- UI Overlay (No Scroll Grid) -->
<div class="relative z-10 h-full flex flex-col w-full max-w-7xl mx-auto">
<!-- Minimal Header -->
<header class="absolute top-0 left-0 w-full px-6 py-5 flex justify-between items-center z-50 bg-gradient-to-b from-hana-bg/80 to-transparent backdrop-blur-[2px]">
<div class="text-lg md:text-xl font-medium tracking-[0.2em] text-hana-text flex items-center gap-4">
<div class="w-10 h-10 rounded-full overflow-hidden border border-hana-sakura/30 shadow-sm bg-black">
<img src="icon.jpeg" class="w-full h-full object-cover scale-150" alt="Logo">
</div>
<div>
MATERIA
<span class="text-xs text-gray-400 font-light ml-2 uppercase tracking-widest hidden md:inline">SOLUTIONS</span>
</div>
</div>
<div class="flex items-center gap-4">
<button id="recipe-toggle-btn" class="recipe-toggle" onclick="openRecipeViewer()" aria-label="Open Recipe Card" style="margin-right: 8px;">
<span style="margin-right: 6px;">🍪</span>
<span class="recipe-btn-text">RECIPE</span>
</button>
<div class="text-xs tracking-widest text-gray-400 uppercase hidden md:block">
Advanced Flora Division
</div>
<button id="nav-toggle-btn" class="nav-toggle" onclick="toggleNav()" aria-label="Toggle Navigation">
<span></span>
<span></span>
<span></span>
</button>
</div>
<!-- Dropdown Navigation -->
<div id="nav-dropdown" class="nav-dropdown">
<div class="nav-dropdown-inner">
<div class="nav-item locked" title="Access Restricted">
<svg class="lock-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="5" y="11" width="14" height="10" rx="2" />
<path d="M8 11V7a4 4 0 018 0v4" />
</svg>
Specimens
</div>
<div class="nav-item locked" title="Access Restricted">
<svg class="lock-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="5" y="11" width="14" height="10" rx="2" />
<path d="M8 11V7a4 4 0 018 0v4" />
</svg>
Research
</div>
<a href="https://suno.com/song/69d8ce89-d0f6-4d3e-b5a7-1e76139ac9ac" target="_blank" rel="noopener noreferrer" class="nav-item active" style="text-decoration:none;">
<svg class="link-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M9 18V5l12-2v13" />
<circle cx="6" cy="18" r="3" />
<circle cx="18" cy="16" r="3" />
</svg>
Soundtrack
</a>
<div class="nav-item active" onclick="toggleNav(); openRecipeViewer();" style="cursor: pointer;">
<span style="font-size: 10px; margin-right: 4px;">🍪</span>
Recipe Card
</div>
<div class="nav-item locked" title="Access Restricted">
<svg class="lock-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="5" y="11" width="14" height="10" rx="2" />
<path d="M8 11V7a4 4 0 018 0v4" />
</svg>
Exports
</div>
<div class="nav-item locked" title="Access Restricted">
<svg class="lock-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="5" y="11" width="14" height="10" rx="2" />
<path d="M8 11V7a4 4 0 018 0v4" />
</svg>
Archives
</div>
</div>
</div>
</header>
<!-- Featured Hero Banner (Added) -->
<div class="px-6 py-2 mt-20 md:mt-24">
<div class="w-full h-40 md:h-56 rounded-[2rem] overflow-hidden relative glass-panel border-hana-sakura/30">
<img src="BANNER.jpg"
class="w-full h-full object-cover object-center scale-110 brightness-75 hover:scale-105 transition-transform duration-[2s]"
alt="Featured Specimen">
<div
class="absolute inset-0 bg-gradient-to-r from-black/80 via-black/20 to-transparent flex flex-col justify-center p-8 md:p-12">
<div
class="px-3 py-1 bg-hana-sakura/20 backdrop-blur-sm border border-hana-sakura/40 rounded-full w-fit mb-4">
<span class="text-[10px] text-white tracking-[0.3em] font-medium uppercase italic">Limited
Availability</span>
</div>
<h2 class="text-white text-3xl md:text-4xl font-light tracking-[0.2em] mb-2">NEON CRUNCH</h2>
<p class="text-white/60 text-xs md:text-sm tracking-[0.4em] uppercase font-light">VACUUM SEALED |
BATCH-01</p>
</div>
<!-- Interactive Glow -->
<div
class="absolute top-0 right-0 w-1/2 h-full bg-gradient-to-l from-hana-sakura/10 to-transparent pointer-events-none">
</div>
</div>
</div>
<!-- Fixed Main Grid -->
<main class="flex-1 flex items-center justify-center p-4 md:p-6 min-h-0">
<div class="grid grid-cols-2 md:grid-cols-4 gap-3 md:gap-5 w-full h-full max-h-[800px]">
<!-- Card 1: FIRE -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-fire group relative overflow-hidden"
onclick="showModal('Scarlet Spice')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
SCARLET</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">SPICE</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
BAKED ON MASS
</div>
</div>
<!-- Card 2: CYBER -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-cyber group relative overflow-hidden"
onclick="showModal('Cyber Mint')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
CYBER</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">MINT</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
VACUUM SEALED
</div>
</div>
<!-- Card 3: VOID -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-void group relative overflow-hidden"
onclick="showModal('Void Cocoa')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
VOID</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">COCOA</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
IN PRODUCTION
</div>
</div>
<!-- Card 4: AERO -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-aero group relative overflow-hidden"
onclick="showModal('Aero Lemon')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
AERO</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">LEMON</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
BATCH READY
</div>
</div>
<!-- Card 5: PRISM -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-prism group relative overflow-hidden"
onclick="showModal('Prism Sugar')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
PRISM</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">SUGAR</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
STYLING SOON
</div>
</div>
<!-- Card 6: FROST -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-frost group relative overflow-hidden"
onclick="showModal('Ghost Frost')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
GHOST</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">FROST</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
VACUUM SEALED
</div>
</div>
<!-- Card 7: GRAVITY -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-gravity group relative overflow-hidden"
onclick="showModal('Gravity Fudge')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
GRAVITY</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">FUDGE</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
VACUUM SEALED
</div>
</div>
<!-- Card 8: NEURAL -->
<div class="glass-panel rounded-3xl p-4 flex flex-col items-center justify-center flower-card card-neural group relative overflow-hidden"
onclick="showModal('Neural Berry')">
<div
class="text-4xl md:text-4xl text-hana-text mb-2 font-light opacity-80 group-hover:opacity-100 transition-opacity group-hover:scale-110 duration-500 uppercase tracking-tighter">
NEURAL</div>
<div class="text-xs md:text-sm tracking-widest text-gray-500 mb-4">BERRY</div>
<div
class="mt-auto px-4 py-1.5 rounded-full border border-gray-200 bg-white/50 text-[10px] md:text-xs tracking-widest text-gray-400">
FRESH BATCH
</div>
</div>
</div>
</main>
<!-- Status Footer -->
<footer class="w-full px-6 py-4 flex justify-center items-center z-50">
<div class="px-6 py-2 rounded-full glass-panel border-hana-sakura/20 text-[8px] md:text-[10px] tracking-[0.3em] text-gray-400 uppercase backdrop-blur-md">
Production Status: <span class="text-hana-sakura/60">Early Access</span> • Baked on Mass & Vacuum Sealed • More Styles Coming Soon • Exclusive Release
</div>
</footer>
</div>
<!-- Soft Modal -->
<!-- Old Modal Removed for Fluid System -->
<script>
// Unique SDF styles per specimen — matched to card elemental themes
const SPECIMEN_STYLES = {
'Scarlet Spice': { color: {r: 1.0, g: 0.3, b: 0.1}, blobType: 0, accent: '#ff5030' }, // Fire — smooth circles, hot orange
'Cyber Mint': { color: {r: 0.0, g: 1.0, b: 0.5}, blobType: 1, accent: '#00ff80' }, // Cyber — rounded boxes, neon green
'Void Cocoa': { color: {r: 0.5, g: 0.0, b: 1.0}, blobType: 4, accent: '#8000ff' }, // Void — rings, deep purple
'Aero Lemon': { color: {r: 0.4, g: 0.7, b: 1.0}, blobType: 3, accent: '#66b3ff' }, // Aero — organic pulse, sky blue
'Prism Sugar': { color: {r: 0.9, g: 0.4, b: 0.9}, blobType: 2, accent: '#e566e5' }, // Prism — stars, prismatic pink
'Ghost Frost': { color: {r: 0.6, g: 0.9, b: 1.0}, blobType: 0, accent: '#99e6ff' }, // Frost — circles, icy cyan
'Gravity Fudge': { color: {r: 0.2, g: 0.2, b: 0.3}, blobType: 4, accent: '#555577' }, // Gravity — rings, dark void
'Neural Berry': { color: {r: 1.0, g: 0.0, b: 0.6}, blobType: 3, accent: '#ff0099' }, // Neural — organic pulse, hot pink
};
function showModal(itemName) {
let color = null;
let type = 0;
let accent = '#ff3366';
// Check if we are in cookie mode first
if (window.MateriaAnimator && window.MateriaAnimator.isAlt()) {
const cookie = window.MateriaAnimator.getCookieData(itemName);
if (cookie) {
color = cookie.color;
type = cookie.blobType;
}
}
// Fall back to specimen-specific styles
if (!color) {
const style = SPECIMEN_STYLES[itemName];
if (style) {
color = style.color;
type = style.blobType;
accent = style.accent;
}
}
window.MateriaOverlay.show(
"BATCH INFORMATION",
`The <span style="color: ${accent}">${itemName}</span> cookies are currently being processed. <br><br>All Materia cookies are <b>baked on mass</b> and <b>vacuum sealed</b> to ensure peak freshness and structural integrity. <br><br>We are currently selling exclusively on this site. Please note that the store is not fully done yet, and more style options are coming soon.`,
color,
type
);
}
function closeModal() {
window.MateriaOverlay.hide();
}
function toggleNav() {
const dropdown = document.getElementById('nav-dropdown');
const btn = document.getElementById('nav-toggle-btn');
dropdown.classList.toggle('open');
btn.classList.toggle('open');
}
function openRecipeViewer() {
const viewer = document.getElementById('recipe-viewer');
const content = document.getElementById('recipe-content-box');
if (!viewer) return;
viewer.style.display = 'flex';
// Force reflow
viewer.offsetHeight;
viewer.style.opacity = '1';
if (content) {
content.style.transform = 'scale(1) translateY(0)';
}
}
function closeRecipeViewer() {
const viewer = document.getElementById('recipe-viewer');
const content = document.getElementById('recipe-content-box');
if (!viewer) return;
viewer.style.opacity = '0';
if (content) {
content.style.transform = 'scale(0.9) translateY(20px)';
}
setTimeout(() => {
viewer.style.display = 'none';
}, 500);
}
</script>
<!-- WebGL Shaders & Logic -->
<!-- SVG Filters for unique effects -->
<svg style="display: none;">
<filter id="neuralJitter">
<feTurbulence type="fractalNoise" baseFrequency="0.05" numOctaves="2">
<animate attributeName="baseFrequency" values="0.05;0.06;0.05" dur="0.2s" repeatCount="indefinite" />
</feTurbulence>
<feDisplacementMap in="SourceGraphic" scale="5" />
</filter>
</svg>
<script src="drip.js"></script>
<script src="buttons.js"></script>
<script src="omen.js"></script>
<script src="entity.js"></script>
<script src="switcher.js"></script>
<script src="narrator.js"></script>
<script src="materia.js"></script>
<script src="materia2.js"></script>
<script src="materia3.js"></script>
<script src="materia4.js"></script>
<script src="materia5.js"></script>
<script src="materia6.js"></script>
<script src="materia7.js"></script>
<script src="materia-dsp.js"></script>
<script src="materia8.js"></script>
<script src="materia9.js"></script>
<script src="materia10.js"></script>
<script src="overlay.js"></script>
<script src="animator.js"></script>
<script src="effects.js"></script>
<script src="devconsole.js"></script>
<!-- Unified Music Dropdown Controller -->
<script>
(function() {
'use strict';
const SONGS = [
{ id: 'materia10', name: 'Cybernetic Hive', desc: 'Industrial Ring-Mod Techno',icon: '💀', api: 'MateriaMusic10', color: 'rgba(255, 30, 100, 0.9)' },
{ id: 'materia9', name: 'Resonant Singularity', desc: 'Comb Resonator Ambient', icon: '🎻', api: 'MateriaMusic9', color: 'rgba(255, 180, 50, 0.9)' },
{ id: 'materia8', name: 'Supernova Fractal', desc: 'Glitch Wavefolder Hop', icon: '👾', api: 'MateriaMusic8', color: 'rgba(50, 255, 100, 0.9)' },
{ id: 'materia7', name: 'Nebula Solstice', desc: 'Ethereal Cinematic Synth',icon: '🌌', api: 'MateriaMusic7', color: 'rgba(0, 255, 230, 0.9)' },
{ id: 'materia6', name: 'Wicked Soundscape', desc: 'Dark Industrial Phrygian',icon: '🔥', api: 'MateriaMusic6', color: 'rgba(200, 80, 255, 0.9)' },
{ id: 'materia5', name: 'Wickeder Resonance', desc: 'Hyper-Aggressive Ind', icon: '💀', api: 'MateriaMusic5', color: 'rgba(255, 0, 0, 0.9)' },
{ id: 'materia4', name: 'Echoes of the Abyss', desc: 'Cinematic Orchestral', icon: '🎻', api: 'MateriaMusic4', color: 'rgba(255, 215, 0, 0.8)' },
{ id: 'materia', name: 'Materia Prime', desc: 'Ambient C Minor', icon: '♫', api: 'MateriaMusic', color: 'rgba(180, 140, 255, 0.8)' },
{ id: 'materia2', name: 'Dark Resonance', desc: 'Industrial Generative', icon: '🔊', api: 'MateriaMusic2', color: 'rgba(255, 60, 60, 0.8)' },
{ id: 'materia3', name: 'Luminous Drift', desc: 'Ethereal Ambient', icon: '✨', api: 'MateriaMusic3', color: 'rgba(100, 220, 255, 0.8)' },
];
let currentPlaying = null;
let isOpen = false;
function stopAll() {
SONGS.forEach(song => {
if (window[song.api] && window[song.api].stop) {
try { window[song.api].stop(); } catch(e) {}
}
});
currentPlaying = null;
}
function playSong(songId) {
const song = SONGS.find(s => s.id === songId);
if (!song) return;
if (currentPlaying === songId) {
// Toggle off
stopAll();
updateUI();
return;
}
stopAll();
if (window[song.api] && window[song.api].start) {
window[song.api].start();
currentPlaying = songId;
}
updateUI();
}
function updateUI() {
const toggleBtn = document.getElementById('music-toggle-btn');
const items = document.querySelectorAll('.music-item');
if (currentPlaying) {
const song = SONGS.find(s => s.id === currentPlaying);
toggleBtn.innerHTML = `<span style="margin-right:6px">⏸</span><span class="music-toggle-label">${song.name}</span>`;
toggleBtn.classList.add('playing');
} else {
toggleBtn.innerHTML = `<span style="margin-right:6px">♫</span><span class="music-toggle-label">Soundtrack</span>`;
toggleBtn.classList.remove('playing');
}
items.forEach(item => {
const songId = item.dataset.songId;
if (songId === currentPlaying) {
item.classList.add('active');
} else {
item.classList.remove('active');
}
});
}
function buildDropdown() {
// Inject styles
const style = document.createElement('style');
style.textContent = `
.music-dropdown-container {
position: relative;
z-index: 99999;
font-family: 'Noto Sans JP', sans-serif;
}
#music-toggle-btn {
display: flex;
align-items: center;
padding: 8px 18px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.15);
background: rgba(0, 0, 0, 0.30);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);