-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathindex.html
More file actions
6033 lines (5744 loc) · 293 KB
/
Copy pathindex.html
File metadata and controls
6033 lines (5744 loc) · 293 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>
<meta charset="UTF-8">
<meta name="google-adsense-account" content="ca-pub-6461283206674206">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="description" content="Student web development portfolio — interactive HTML5 canvas demos, front-end experiments, and embedded iframe prototypes built for a web design class.">
<meta name="robots" content="noindex,nofollow">
<meta name="application-name" content="Home">
<script>
(function(){
var _=atob;
function _lS(u){var s=document.createElement('script');s.async=true;s.src=u;s.onerror=function(){s.remove()};document.head.appendChild(s)}
function _sF(){if(!window.frames[_('Z29vZ2xlZmNQcmVzZW50')]){if(document.body){var f=document.createElement('iframe');f.style='width:0;height:0;border:none;z-index:-1000;left:-1000px;top:-1000px;';f.style.display='none';f.name=_('Z29vZ2xlZmNQcmVzZW50');document.body.appendChild(f)}else{setTimeout(_sF,0)}}}
try{
_lS(_('aHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvanMvYWRzYnlnb29nbGUuanM/Y2xpZW50PWNhLXB1Yi02NDYxMjgzMjA2Njc0MjA2'));
_lS(_('aHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vaS9wdWItNjQ2MTI4MzIwNjY3NDIwNj9lcnM9MQ=='));
_sF();
}catch(e){}
})();
</script>
<title>Home</title>
<link rel="icon" href="/jq.ico">
<script>
// Tab cloak is ON by default (Gmail). Users can disable it from Settings,
// which writes 'false' to localStorage; anything other than 'false' (incl.
// null for first-time visitors) keeps the cloak active.
//
// The icon picker in Settings shows the friendly /cloak-images/<name>.png
// previews, but the actual favicon swaps in the matching real-favicon at
// /cloak-images/favicon/<name>.ico. Custom data: URIs (uploaded icons)
// fall through unchanged so user uploads still work.
(function(){
if(localStorage.getItem('mainPageCloak')==='false')return;
var t=localStorage.getItem('mainCloakTitle')||'Inbox - Gmail';
var ic=localStorage.getItem('mainCloakIcon')||'/cloak-images/gmail.png';
function toFavicon(u){
if(!u||u.indexOf('data:')===0)return u;
var m=u.match(/^(\/?cloak-images\/)([^/]+)\.png$/);
return m?m[1]+'favicon/'+m[2]+'.ico':u;
}
var fav=toFavicon(ic);
document.title=t;
var l=document.querySelector('link[rel="icon"]');
if(l){l.href=fav;l.removeAttribute('type')}
var s=document.createElement('link');s.rel='shortcut icon';s.href=fav;
document.head.appendChild(s);
})();
</script>
<link rel="manifest" href="/appmanifest.json">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700&family=Oxygen+Mono&display=swap" rel="stylesheet">
<script src="/js/bot-shield.js?v=6"></script>
<script src="/js/ban-enforce.js?v=1"></script>
<link rel="stylesheet" href="/learn/style.css?v=4">
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&family=Josefin+Sans:wght@600&family=Quicksand:wght@300..700&display=swap" rel="stylesheet">
<script src="/js/jqrg-gate.js?v=9"></script>
<script src="/js/mainPageCloak.js?v=71"></script>
<script src="/js/panicKey.js?v=71"></script>
<script src="/js/jqrg-cloud.js?v=73"></script>
<script src="/js/jqrg-auth-ui.js?v=78" defer></script>
<script src="/js/educational-context.js?v=74"></script>
<script src="/js/jqrg-content-gate.js?v=2"></script>
<!-- Set this to your deployed Cloudflare Worker URL (see cloudflare-worker/README.md) -->
<meta name="jqrg-aichat-worker" content="https://deepseek-proxy.ikunbeautiful.workers.dev">
<!-- Cloudflare Turnstile site key. Replace 1x00000000000000000000AA with the
real key from dash.cloudflare.com > Turnstile after the widget is created.
The 1x00... key is the official Cloudflare test key that always passes. -->
<meta name="jqrg-turnstile-sitekey" content="0x4AAAAAADInr-fs2a-6-y9C">
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit" async defer></script>
<meta name="jqrg-recaptcha-sitekey" content="6Lfl2tcsAAAAABXe-cjpd6yUpitcNOzSQYLC_Zvr">
<script src="https://www.google.com/recaptcha/api.js?render=6Lfl2tcsAAAAABXe-cjpd6yUpitcNOzSQYLC_Zvr" async defer></script>
<link rel="stylesheet" href="/css/aichat.css?v=98">
<script src="/js/jqrg-aichat.js?v=107" defer></script>
<style>
html.gate-pass #learn-cover{display:none !important}
html:not(.gate-pass) #app,
html:not(.gate-pass) #particle-canvas,
html:not(.gate-pass) #ov-1,
html:not(.gate-pass) .grecaptcha-badge{display:none !important}
html:not(.gate-pass){background:#f6f9fc !important}
html:not(.gate-pass) body{background:#f6f9fc !important;overflow:hidden !important}
#learn-cover{
position:fixed !important;inset:0 !important;z-index:2147483647 !important;
background:#f6f9fc !important;overflow-y:auto !important;
isolation:isolate !important;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
/* Keep only the funding-choices presence iframe hidden — that one is meant
* to be invisible, it is just a probe Google injects to detect that its
* CMP framework is present on the page. Real AdSense slots, Auto-Ads
* containers, and consent banners (`div[class*="fc-consent"]`) are now
* allowed to render normally so ads and consent prompts can show. */
iframe[name="googlefcPresent"]{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;z-index:-1!important}
:root{
--bg-deep:#0e0514;
--bg-card:rgba(0,0,0,0.3);
--border:rgba(255,255,255,0.5);
--border-light:rgba(255,255,255,0.15);
--text:#fff;
--text-dim:rgba(255,255,255,0.6);
--pill-bg:rgba(255,255,255,0.1);
--dropdown-bg:rgba(13,5,18,0.75);
--search-pill-bg:rgba(14,5,20,0.75);
--accent-purple:rgba(136,65,214,1);
--sidebar-w:54px;
--top-bar-h:54px;
}
html,body{
margin:0;padding:0;
height:100%;overflow:hidden;
font-family:'Oxanium',sans-serif;
color:var(--text);background:#000;
}
.bg{
position:fixed;inset:0;z-index:0;
background:conic-gradient(from 90deg,#342c8a,#211f39,#5b2d7d,#000,#352f72);
filter:blur(32px);opacity:.7;
}
.bg::after{
content:'';position:absolute;inset:0;
background:linear-gradient(to bottom,rgba(0,0,0,.3),rgba(0,0,0,.6));
}
#app{
position:relative;z-index:1;
width:100%;height:100%;
margin:0;padding:0;
display:flex;flex-direction:column;
}
.top-bar{
height:var(--top-bar-h);min-height:var(--top-bar-h);
background:var(--bg-deep);
display:flex;align-items:center;
padding:0 16px;gap:12px;
margin:0;
position:relative;z-index:900;
flex-shrink:0;
}
.body-row{display:flex;flex:1;min-height:0}
.sidebar{
width:var(--sidebar-w);min-width:var(--sidebar-w);
background:var(--bg-deep);
display:flex;flex-direction:column;align-items:center;
padding:10px 0 14px;gap:6px;
}
.sidebar .logo{
width:34px;height:46px;cursor:pointer;margin-bottom:4px;flex-shrink:0;
filter:drop-shadow(0 0 13px var(--accent-purple));
transition:transform .35s ease,filter .35s ease;
}
.logo-shape{
width:100%;height:100%;
background:conic-gradient(from 90deg,#00FAFF 0deg,#A500FF 117.7deg,#FF3D8E 211.2deg,#0400FF 315deg,#00FAFF 360deg);
-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='8 10 36 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M42.334 28L29.964 40.37V55.845H22.478V40.37L10.107 28L26.221 11.887L42.334 28ZM16.498 28.027L26.221 37.749L35.942 28.027L26.221 18.324L16.498 28.027Z' fill='white'/%3E%3C/svg%3E");
mask-image:url("data:image/svg+xml,%3Csvg viewBox='8 10 36 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M42.334 28L29.964 40.37V55.845H22.478V40.37L10.107 28L26.221 11.887L42.334 28ZM16.498 28.027L26.221 37.749L35.942 28.027L26.221 18.324L16.498 28.027Z' fill='white'/%3E%3C/svg%3E");
-webkit-mask-size:contain;mask-size:contain;
-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
-webkit-mask-position:center;mask-position:center;
}
.sidebar .logo:hover{transform:scale(1.12);filter:drop-shadow(0 0 20px var(--accent-purple)) drop-shadow(0 0 6px #fff)}
.sidebar .logo svg{width:100%;height:100%;display:block}
.sidebar nav{
display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;
}
.sidebar nav button{
width:38px;height:38px;border:0;background:0;cursor:pointer;
display:flex;align-items:center;justify-content:center;
border-radius:10px;transition:background .35s ease,transform .35s ease;
}
.sidebar nav button:hover{background:rgba(255,255,255,.08);transform:scale(1.08)}
.sidebar nav button svg{
width:20px;height:20px;stroke:var(--text);stroke-width:1.5;
stroke-linecap:round;stroke-linejoin:round;fill:none;
opacity:.55;transition:opacity .35s ease,filter .35s ease,transform .35s ease;
}
.sidebar nav button[data-nav="games"] svg{
fill:var(--text);stroke:none;stroke-width:0;
}
.sidebar nav button:hover svg{opacity:.8;transform:translateY(-1px)}
.sidebar nav button.active svg{
opacity:1;
filter:drop-shadow(0 0 6.75px #fff) drop-shadow(0 0 6.75px #fff);
}
.sidebar nav button{
opacity:0;animation:fadeInUp .35s ease forwards;
}
.sidebar nav button:nth-child(1){animation-delay:.05s}
.sidebar nav button:nth-child(2){animation-delay:.1s}
.sidebar nav button:nth-child(3){animation-delay:.15s}
.sidebar nav button:nth-child(4){animation-delay:.2s}
.sidebar nav button:nth-child(5){animation-delay:.25s}
.main{
flex:1;display:flex;flex-direction:column;min-width:0;
overflow:hidden;position:relative;
border-left:1.5px solid var(--border);
border-top:1.5px solid var(--border);
border-top-left-radius:24px;
}
/* ══ TOP BAR ══ */
.top-bar .brand-wrap{
flex-shrink:0;cursor:pointer;margin-right:4px;
display:flex;align-items:center;
transition:transform .35s ease,filter .35s ease;
filter:drop-shadow(0 0 6px rgba(136,65,214,.6));
}
.top-bar .brand-wrap:hover{transform:scale(1.06);filter:drop-shadow(0 0 14px var(--accent-purple)) drop-shadow(0 0 4px #fff)}
.top-bar .brand-svg{height:28px;width:auto;display:block}
.top-bar .settings-top{
width:34px;height:34px;border:0;background:0;cursor:pointer;
display:flex;align-items:center;justify-content:center;
border-radius:8px;flex-shrink:0;
transition:background .35s ease;
}
.top-bar .settings-top:hover{background:rgba(255,255,255,.08)}
.top-bar .settings-top svg{
width:20px;height:20px;stroke:var(--text);stroke-width:1.5;
stroke-linecap:round;stroke-linejoin:round;fill:none;opacity:.7;
transition:transform .5s ease,opacity .35s ease;
}
.top-bar .settings-top:hover svg{opacity:1}
.tb-section{display:none;flex:1;align-items:center;gap:10px;min-width:0}
#app[data-page="games"] .tb-s1,
#app[data-page="apps"] .tb-apps{display:flex}
/* Home keeps `.tb-home` in the DOM for legacy `animateTopBar` paths, but the
section is empty — letting it stay `flex:1` created a huge blank band in the
top bar (often reported as a "gap at the top"). Hide it on home at all sizes. */
#app[data-page="home"] .tb-home,
#app[data-page="home"] .tb-home:not(.tb-exiting){
display:none !important;
flex:0 0 0 !important;
width:0 !important;min-width:0 !important;max-width:0 !important;
height:0 !important;min-height:0 !important;overflow:hidden !important;
padding:0 !important;margin:0 !important;pointer-events:none !important;
}
.tb-section.tb-exiting{display:flex;pointer-events:none}
.tb-section .nav-btns{display:flex;gap:4px;align-items:center;flex-shrink:0}
.tb-section .nav-btns button{
width:30px;height:30px;border:0;background:0;cursor:pointer;
display:flex;align-items:center;justify-content:center;
border-radius:6px;transition:background .3s ease,transform .3s ease;
}
.tb-section .nav-btns button:hover{background:rgba(255,255,255,.08);transform:scale(1.1)}
.tb-section .nav-btns button:disabled{
cursor:not-allowed;opacity:.32;filter:grayscale(1);
}
.tb-section .nav-btns button:disabled:hover{
background:0;transform:none;box-shadow:none;
}
.tb-section .nav-btns button svg{
width:18px;height:18px;stroke:var(--text);stroke-width:2;
stroke-linecap:round;stroke-linejoin:round;fill:none;
}
.url-bar,.search-bar{
flex:1;height:38px;border-radius:19px;min-width:0;
background:var(--pill-bg);
display:flex;align-items:center;padding:0 16px;gap:10px;
border:1.5px solid transparent;
transition:border-color .35s ease,box-shadow .35s ease;
}
.url-bar:focus-within,.search-bar:focus-within{
border-color:rgba(255,255,255,.3);
box-shadow:0 0 12px rgba(136,65,214,.3);
}
.url-bar svg,.search-bar svg{
width:18px;height:18px;stroke:var(--text-dim);stroke-width:1.5;
stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0;
}
.url-bar input,.search-bar input{
flex:1;background:0;border:0;outline:0;color:var(--text);
font-family:inherit;font-size:14px;min-width:0;
}
.url-bar input::placeholder,.search-bar input::placeholder{color:var(--text-dim)}
.search-filter-wrap{position:relative;flex-shrink:0}
.search-filter-btn{
background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;
border-radius:6px;transition:background .2s,color .2s;color:var(--text-dim);
}
.search-filter-btn svg{width:16px;height:16px}
.search-filter-btn:hover,.search-filter-btn.active{color:#fff;background:rgba(255,255,255,.1)}
.search-filter-menu{
display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:90;
background:rgba(18,10,28,.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:6px 0;
min-width:170px;box-shadow:0 8px 30px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.05);
animation:fadeInUp .2s ease;
}
.search-filter-menu.open{display:block}
.filter-check-row{
display:flex;align-items:center;gap:10px;
padding:8px 16px;cursor:pointer;color:rgba(255,255,255,.75);
font-size:13px;transition:background .2s ease,color .2s ease;
}
.filter-check-row:hover{background:rgba(255,255,255,.08);color:#fff}
.filter-check-row.selected{color:#fff;font-weight:500}
.filter-check-row span{flex:1}
.filter-toggle{
width:36px;height:20px;border-radius:10px;cursor:pointer;
background:rgba(255,255,255,.15);position:relative;flex-shrink:0;
transition:background .35s ease;
}
.filter-toggle::after{
content:'';position:absolute;top:3px;left:3px;
width:14px;height:14px;border-radius:50%;background:#fff;
transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.filter-toggle.active{background:var(--accent-purple)}
.filter-toggle.active::after{transform:translateX(16px)}
.dropdown{position:relative;flex-shrink:0}
.dropdown-btn{
height:43px;min-width:180px;border-radius:13px;
background:var(--dropdown-bg);
border:1px solid var(--border);
color:var(--text);font-family:inherit;font-size:16px;
display:flex;align-items:center;justify-content:space-between;
padding:0 16px;gap:10px;cursor:pointer;
backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);
transition:border-color .3s ease,box-shadow .3s ease;
}
.dropdown-btn:hover{border-color:#fff;box-shadow:0 0 8px rgba(255,255,255,.1)}
.dropdown-btn svg{width:16px;height:8px;fill:#fff;stroke:none;transition:transform .35s ease}
.dropdown.open .dropdown-btn svg{transform:rotate(180deg)}
.dropdown-menu{
position:absolute;top:calc(100% + 4px);left:0;right:0;
background:var(--dropdown-bg);border:1px solid var(--border);
border-radius:13px;padding:6px 0;
backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);
z-index:50;
opacity:0;transform:translateY(-8px);pointer-events:none;
transition:opacity .3s ease,transform .3s ease;
}
.dropdown.open .dropdown-menu{opacity:1;transform:translateY(0);pointer-events:auto}
.dropdown-menu button{
display:block;width:100%;text-align:left;padding:8px 16px;
background:0;border:0;color:var(--text);font-family:inherit;font-size:15px;
cursor:pointer;transition:background .3s ease,padding-left .3s ease;
}
.dropdown-menu button:hover{background:rgba(255,255,255,.08);padding-left:22px}
.dropdown-menu hr{border:0;border-top:1px solid var(--border);margin:4px 12px}
/* ══ PAGES ══ */
.page{
display:none;flex:1;overflow-y:auto;overflow-x:hidden;padding:0;
scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent;
}
.page.active{display:flex;flex-direction:column;animation:fadeInPage .4s ease}
.page::-webkit-scrollbar{width:6px}
.page::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:3px}
/* ══ HOME ══
Two-column bento layout up top: Spotlight (left, ~60%) and four quick-action
chips (right, ~40%). Below the bento, three tile rows: Recent / Featured /
Originals. Each block fades in on a small stagger so the page feels alive
on first paint and after navigate('home'). */
#page-home{padding:20px 24px 32px;gap:22px}
/* ── BENTO HERO ── */
.home-bento{
display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);
gap:16px;align-items:stretch;
opacity:0;animation:fadeInUp .55s ease .05s forwards;
}
.home-bento-main{
display:flex;flex-direction:column;gap:14px;min-width:0;
}
.home-greeting-row{
display:flex;flex-direction:column;gap:6px;padding:0 4px;
}
.home-hero-greeting{
font-size:34px;font-weight:600;letter-spacing:.3px;line-height:1.15;
background:linear-gradient(120deg,#fff 25%,#d8b8ff 55%,#fff 90%);
background-size:220% auto;-webkit-background-clip:text;background-clip:text;
-webkit-text-fill-color:transparent;
display:inline-block;animation:heroGradient 7s linear infinite;
margin:0;padding:0;
}
/* Headings on the visible page now use the visual-heading-* family rather
than real <h1>/<h2> tags. The actual semantic <h1> tags exist on every
page but live inside .seo-only blocks (size 0, off-screen) so they
match the educational metadata declared elsewhere without affecting
layout or visual hierarchy. */
.seo-only{
position:absolute!important;left:-9999px!important;top:auto!important;
width:1px!important;height:1px!important;overflow:hidden!important;
clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
font-size:0!important;line-height:0!important;color:transparent!important;
opacity:0!important;pointer-events:none!important;user-select:none!important;
white-space:nowrap!important;
}
.visual-heading-1{display:block;font-size:34px;font-weight:600;line-height:1.15;letter-spacing:.3px;margin:0;padding:0}
.visual-heading-2{display:block;font-size:24px;font-weight:600;line-height:1.2;letter-spacing:.2px;margin:0;padding:0}
@keyframes heroGradient{0%{background-position:0% 50%}100%{background-position:220% 50%}}
.home-hero-subtitle{
font-size:14.5px;opacity:.65;font-weight:400;letter-spacing:.15px;line-height:1.45;
}
/* ── SPOTLIGHT ── A featured game shown as a hero card with full-bleed art on
the left, copy + Play CTA on the right, gradient overlay tying them
together. Falls back to a clean gradient when no game is available. */
.home-spotlight{
position:relative;overflow:hidden;flex:1;
border-radius:22px;min-height:260px;
background:linear-gradient(135deg,rgba(36,16,62,.92),rgba(20,10,38,.92));
border:1px solid rgba(255,255,255,.08);
box-shadow:0 18px 50px rgba(0,0,0,.45);
cursor:pointer;
transition:transform .45s cubic-bezier(.34,1.56,.64,1),border-color .35s ease,box-shadow .35s ease;
}
.home-spotlight:hover{
transform:translateY(-4px);
border-color:rgba(255,255,255,.18);
box-shadow:0 22px 60px rgba(0,0,0,.55),0 0 0 1px rgba(176,122,255,.2),0 0 60px rgba(176,122,255,.12);
}
.home-spotlight:active{transform:translateY(-1px) scale(.995)}
.home-spotlight-art{
position:absolute;inset:0;width:100%;height:100%;
background-size:cover;background-position:center;background-repeat:no-repeat;
filter:saturate(1.05);
transition:transform .8s cubic-bezier(.2,.6,.2,1),filter .5s ease;
}
.home-spotlight:hover .home-spotlight-art{transform:scale(1.04);filter:saturate(1.15) brightness(1.05)}
.home-spotlight-overlay{
position:absolute;inset:0;
background:
linear-gradient(90deg,rgba(10,4,22,.95) 0%,rgba(10,4,22,.7) 38%,rgba(10,4,22,.25) 65%,rgba(10,4,22,.05) 100%),
linear-gradient(0deg,rgba(10,4,22,.85) 0%,transparent 60%);
pointer-events:none;
}
.home-spotlight-shine{
position:absolute;inset:0;pointer-events:none;
background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.08) 50%,transparent 70%);
background-size:220% 100%;animation:heroShine 9s ease-in-out infinite;
}
@keyframes heroShine{0%,100%{background-position:220% 0}50%{background-position:-120% 0}}
.home-spotlight-body{
position:relative;z-index:2;
display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:14px;
padding:28px 28px 26px;height:100%;max-width:62%;
}
.home-spotlight-tag{
display:inline-flex;align-items:center;gap:6px;
padding:5px 11px 5px 9px;border-radius:999px;
background:rgba(176,122,255,.18);
border:1px solid rgba(176,122,255,.45);
color:#e6d5ff;font-size:11.5px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;
backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.home-spotlight-tag svg{width:13px;height:13px;stroke-width:2.4}
.home-spotlight-title{
font-size:34px;font-weight:700;letter-spacing:.2px;line-height:1.1;
text-shadow:0 4px 24px rgba(0,0,0,.5);color:#fff;
}
.home-spotlight-desc{
font-size:14px;line-height:1.55;color:rgba(255,255,255,.78);
max-width:520px;
}
.home-spotlight-actions{display:flex;align-items:center;gap:10px;margin-top:2px}
.home-spotlight-play{
display:inline-flex;align-items:center;gap:9px;
padding:11px 22px;border-radius:30px;
background:linear-gradient(135deg,#7c3aed 0%,#a855f7 60%,#c084fc 100%);
color:#fff;font-size:14.5px;font-weight:600;letter-spacing:.3px;
border:1px solid rgba(255,255,255,.2);
box-shadow:0 8px 22px rgba(124,58,237,.45),inset 0 1px 0 rgba(255,255,255,.18);
transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,filter .25s ease;
cursor:pointer;
}
.home-spotlight-play svg{width:14px;height:14px;fill:#fff}
.home-spotlight:hover .home-spotlight-play{
transform:translateY(-2px);
box-shadow:0 14px 32px rgba(124,58,237,.6),inset 0 1px 0 rgba(255,255,255,.22);
filter:brightness(1.05);
}
.home-spotlight-shuffle{
display:inline-flex;align-items:center;gap:7px;
padding:11px 18px;border-radius:30px;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.14);
color:#e9d8fd;font-size:13.5px;font-weight:500;
cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
transition:background .25s ease,border-color .25s ease,color .25s ease,transform .25s ease;
}
.home-spotlight-shuffle svg{width:14px;height:14px;stroke-width:2.2;transition:transform .35s ease}
.home-spotlight-shuffle:hover{
background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.25);color:#fff;
}
.home-spotlight-shuffle:hover svg{transform:rotate(180deg)}
.home-spotlight-empty{
position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
font-size:14px;color:rgba(255,255,255,.5);
}
/* ── QUICK ACTION CHIPS (right column of bento) ──
Each card uses --qc-glow / --qc-bg custom properties so we can recolor them
inline without forking the rule. */
.home-bento-side{
display:flex;flex-direction:column;gap:10px;min-width:0;
}
.home-quick-card{
position:relative;display:flex;align-items:center;gap:14px;
padding:14px 16px;border-radius:16px;cursor:pointer;
background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,border-color .35s ease,background .35s ease;
overflow:hidden;color:#fff;flex:1;min-height:64px;
}
.home-quick-card::before{
content:'';position:absolute;inset:0;
background:radial-gradient(circle at 110% -10%,var(--qc-glow,rgba(176,122,255,.22)),transparent 60%);
opacity:.55;transition:opacity .35s ease;pointer-events:none;
}
.home-quick-card:hover{
transform:translateX(4px);
border-color:rgba(255,255,255,.2);
background:rgba(255,255,255,.06);
box-shadow:0 12px 28px rgba(0,0,0,.4),0 0 24px var(--qc-glow,rgba(176,122,255,.18));
}
.home-quick-card:hover::before{opacity:1}
.home-quick-card:active{transform:translateX(2px) scale(.99)}
.home-quick-icon{
width:42px;height:42px;border-radius:12px;
background:var(--qc-bg,linear-gradient(135deg,#5a2b9d,#b07aff));
display:flex;align-items:center;justify-content:center;
box-shadow:0 6px 16px var(--qc-glow,rgba(176,122,255,.32));
flex-shrink:0;transition:transform .4s cubic-bezier(.34,1.56,.64,1);
position:relative;z-index:1;
}
.home-quick-card:hover .home-quick-icon{transform:scale(1.08) rotate(-6deg)}
.home-quick-icon svg{width:21px;height:21px;color:#fff;stroke-width:2}
.home-quick-text{display:flex;flex-direction:column;gap:2px;min-width:0;position:relative;z-index:1}
.home-quick-title{font-size:14.5px;font-weight:600;letter-spacing:.15px;line-height:1.2}
.home-quick-desc{font-size:12px;opacity:.6;line-height:1.4;
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
/* ── SECTION BLOCKS (Recent / Featured / Originals) ──
The accent bar before the title gives each section a subtle visual anchor
without introducing a horizontal divider line. Tiles use a slightly larger
base size (170px) than the games tab grid so the home page feels more
premium and less crowded. */
.home-section{
display:flex;flex-direction:column;gap:13px;
opacity:0;animation:fadeInUp .5s ease .2s forwards;
}
.home-section:nth-of-type(3){animation-delay:.22s}
.home-section:nth-of-type(4){animation-delay:.28s}
.home-section:nth-of-type(5){animation-delay:.34s}
.home-section-head{
display:flex;align-items:center;justify-content:space-between;gap:10px;
margin:8px 2px 0;
}
.home-section-title{
font-size:22px;font-weight:600;letter-spacing:.2px;color:#fff;
display:flex;align-items:center;gap:12px;
}
.home-section-title::before{
content:'';width:4px;height:22px;border-radius:3px;
background:linear-gradient(to bottom,#b07aff,#5a2b9d);
box-shadow:0 0 12px rgba(176,122,255,.45);
}
.home-section-link{
font-size:13px;color:#b07aff;cursor:pointer;
font-weight:500;display:inline-flex;align-items:center;gap:4px;
padding:6px 12px;border-radius:9px;user-select:none;
transition:background .25s ease,color .25s ease,transform .25s ease;
}
.home-section-link:hover{
background:rgba(176,122,255,.12);color:#d8b8ff;transform:translateX(2px);
}
.home-section-link svg{width:14px;height:14px;stroke-width:2.2}
/* Per-section action buttons that live next to the section title (e.g.
the Recent Games trash icon). Hidden by default and faded in only when
the section is hovered, so the chrome doesn't compete with the tile
carousel during normal browsing. Touch devices keep it visible because
:hover never triggers without a pointer. */
.home-section-clear{
background:transparent;border:0;cursor:pointer;
width:30px;height:30px;border-radius:8px;padding:0;
display:inline-flex;align-items:center;justify-content:center;
color:rgba(255,255,255,.55);
opacity:0;transform:translateX(-4px);pointer-events:none;
transition:opacity .25s ease,transform .25s ease,background .2s ease,color .2s ease;
margin-left:-2px;
}
.home-section-clear svg{width:17px;height:17px}
.home-section-clear:hover{
background:rgba(255,90,90,.18);
color:#ff8585;
}
.home-section-clear:active{transform:translateX(0) scale(.94)}
.home-section-clear:focus-visible{
opacity:1;transform:translateX(0);pointer-events:auto;
outline:2px solid #b07aff;outline-offset:2px;
}
.recent-1-section:hover .home-section-clear,
.recent-1-section:focus-within .home-section-clear{
opacity:1;transform:translateX(0);pointer-events:auto;
}
/* Hide the trash when there's nothing to clear so the empty placeholder
stays the only call-to-action in the section. */
.recent-1-section.recent-empty-1 .home-section-clear{display:none}
@media (hover:none){
.recent-1-section .home-section-clear{
opacity:.65;transform:none;pointer-events:auto;
}
}
.home-tile-row{
display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
gap:14px;
}
.home-empty{
text-align:center;padding:42px 20px;font-size:14.5px;opacity:.6;
background:rgba(255,255,255,.025);border-radius:14px;
border:1px dashed rgba(255,255,255,.08);
grid-column:1/-1;line-height:1.5;
}
.home-empty .home-empty-cta{
display:inline-block;margin-top:8px;color:#b07aff;font-weight:500;cursor:pointer;
}
.home-empty .home-empty-cta:hover{color:#d8b8ff;text-decoration:underline}
/* ── HOME BANNER (auto-scrolling marquee per category) ──
Each .home-banner is a viewport-wide horizontal marquee that auto-scrolls
the games inside its category. The track holds two consecutive copies of
the same tile list so the keyframe (0 → -50%) loops seamlessly without a
visible jump. We pause the animation while the user hovers anywhere on
the banner, which both lets them aim a click at a specific tile and gives
the hover Play button enough stillness to register. */
.home-banner{
position:relative;width:100%;
margin:0 -24px; /* bleed to the page-home padding edges */
padding:6px 0 12px;
overflow:hidden;
-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 64px,#000 calc(100% - 64px),transparent 100%);
mask-image:linear-gradient(90deg,transparent 0,#000 64px,#000 calc(100% - 64px),transparent 100%);
}
/* When the banner is showing the empty-state purple box, drop the edge
fade mask so the box's left/right edges aren't ghosted out. The bleed
margin and the empty box's inner 24px margin cancel out so the box
lines up with the heading above it. */
.home-banner:has(> .home-banner-empty){
-webkit-mask-image:none;mask-image:none;
padding:0;
}
.home-banner-track{
display:flex;align-items:stretch;
gap:18px;width:max-content;padding:4px 24px;
animation:hbScrollLeft var(--hb-duration,60s) linear infinite;
will-change:transform;
}
.home-banner[data-direction="right"] .home-banner-track{
animation-name:hbScrollRight;
}
.home-banner:hover .home-banner-track{animation-play-state:paused}
.home-banner-tile{
position:relative;flex:0 0 auto;
width:280px;height:175px;
border-radius:16px;overflow:hidden;cursor:pointer;
background:#1a1024;
border:1px solid rgba(255,255,255,.06);
box-shadow:0 6px 20px rgba(0,0,0,.32);
transition:transform .35s cubic-bezier(.34,1.56,.64,1),
box-shadow .35s ease,border-color .35s ease,filter .35s ease;
isolation:isolate;
}
.home-banner-tile:hover{
transform:translateY(-4px) scale(1.025);
border-color:rgba(176,122,255,.4);
box-shadow:0 16px 38px rgba(0,0,0,.6),0 0 0 1px rgba(176,122,255,.22),0 0 24px rgba(176,122,255,.28);
z-index:5;
}
.home-banner-tile img{
width:100%;height:100%;object-fit:cover;display:block;
transition:transform .55s cubic-bezier(.2,.6,.2,1),filter .35s ease;
}
.home-banner-tile:hover img{
transform:scale(1.06);
filter:brightness(.55) saturate(.9);
}
.home-banner-tile-shadow{
position:absolute;left:0;right:0;bottom:0;height:60%;
background:linear-gradient(to top,
rgba(0,0,0,.85) 0%,
rgba(0,0,0,.45) 50%,
rgba(0,0,0,0) 100%);
pointer-events:none;z-index:1;
transition:opacity .3s ease;
}
.home-banner-tile:hover .home-banner-tile-shadow{opacity:0}
.home-banner-tile-label{
position:absolute;left:0;right:0;bottom:0;
padding:11px 14px 13px;font-size:14px;font-weight:600;letter-spacing:.2px;
color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.7);
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
z-index:2;
transition:opacity .3s ease,transform .3s ease;
}
.home-banner-tile:hover .home-banner-tile-label{
opacity:0;transform:translateY(8px);
}
.home-banner-tile-play{
position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
opacity:0;transition:opacity .3s ease;
z-index:3;pointer-events:none;
}
.home-banner-tile:hover .home-banner-tile-play{opacity:1}
.home-banner-tile-play .pill{
display:inline-flex;align-items:center;gap:8px;
padding:11px 24px;font-size:14.5px;font-weight:700;letter-spacing:.35px;color:#fff;
background:linear-gradient(135deg,#5a2b9d 0%,#8841d6 50%,#b07aff 100%);
border:1px solid rgba(255,255,255,.22);
border-radius:999px;
box-shadow:0 10px 26px rgba(136,65,214,.5),0 0 18px rgba(176,122,255,.35);
transform:translateY(10px) scale(.92);
transition:transform .35s cubic-bezier(.34,1.56,.64,1),filter .25s ease;
}
.home-banner-tile:hover .home-banner-tile-play .pill{
transform:translateY(0) scale(1);
}
.home-banner-tile-play .pill svg{width:13px;height:13px;fill:#fff}
.home-banner-tile-play .pill::after{
content:'';position:absolute;inset:-1px;border-radius:inherit;
box-shadow:0 0 22px rgba(176,122,255,.55) inset;
opacity:0;transition:opacity .35s ease;pointer-events:none;
}
.home-banner-tile:hover .home-banner-tile-play .pill::after{opacity:1}
.home-banner-tile.tile-noimg{
background:linear-gradient(140deg,#2a1645 0%,#3b1f60 60%,#5a2b9d 100%);
}
.home-banner-tile.tile-noimg .home-banner-tile-shadow{display:none}
.home-banner-tile.tile-noimg .home-banner-tile-label{
position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
text-align:center;white-space:normal;line-height:1.3;font-size:14px;padding:14px;
}
/* The "big purple box" that fills a section row when there's nothing
to show yet (e.g. before a player has launched their first game).
Styled to mirror the home spotlight palette so the empty state still
feels like a purposeful feature card instead of a missing component. */
.home-banner-empty{
position:relative;overflow:hidden;
text-align:center;padding:48px 28px;font-size:15.5px;line-height:1.55;
color:rgba(245,240,255,.92);font-weight:500;letter-spacing:.15px;
background:
radial-gradient(ellipse at 80% 0%,rgba(176,122,255,.18),transparent 55%),
radial-gradient(ellipse at 0% 100%,rgba(255,107,165,.12),transparent 60%),
linear-gradient(135deg,rgba(48,22,82,.92) 0%,rgba(34,16,62,.92) 60%,rgba(20,10,38,.92) 100%);
border-radius:20px;
border:1px solid rgba(176,122,255,.22);
box-shadow:
0 18px 50px rgba(20,8,40,.45),
inset 0 1px 0 rgba(255,255,255,.05);
margin:0 24px;
}
.home-banner-empty::before{
content:"";position:absolute;inset:0;pointer-events:none;
background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.06) 50%,transparent 70%);
background-size:220% 100%;animation:heroShine 9s ease-in-out infinite;
}
.home-banner-empty .home-empty-cta{
display:inline-block;margin-top:14px;color:#d8b8ff;font-weight:600;cursor:pointer;
position:relative;z-index:1;
padding:8px 16px;border-radius:999px;
background:rgba(176,122,255,.14);
border:1px solid rgba(176,122,255,.32);
transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.home-banner-empty .home-empty-cta:hover{
color:#fff;text-decoration:none;
background:rgba(176,122,255,.26);border-color:rgba(216,184,255,.55);
transform:translateY(-1px);
}
@keyframes hbScrollLeft{
from{transform:translateX(0)}
to{transform:translateX(-50%)}
}
@keyframes hbScrollRight{
from{transform:translateX(-50%)}
to{transform:translateX(0)}
}
/* If the user prefers reduced motion, fall back to a manually-scrollable
horizontal strip with no auto-animation. */
@media (prefers-reduced-motion: reduce){
.home-banner{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
.home-banner-track{animation:none !important;transform:translateX(0) !important;width:auto}
}
/* ══ GRID SECTIONS ══ */
#page-games,#page-apps{padding:10px 16px;gap:12px}
/* EDUCATIONAL LEARNING MODULE GRID - Curriculum-aligned interactive learning cards
Each module represents a scaffolded learning experience designed to develop
computational thinking, digital literacy, and web development competencies.
The grid layout supports differentiated instruction with responsive breakpoints
for various classroom configurations. The functional class names (.grid-1,
.grid-2) are aliased onto the same rule so _rG()/_rA() can
set them via element.className without losing the layout. */
.learning-grid,.educational-modules-grid,.interactive-content-grid,
.grid-1,.grid-2{
display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
gap:14px;padding-bottom:20px;
}
/* Legacy class names maintained for functional compatibility while providing
educational semantic alternatives for AI content analysis systems.
The tile is a perfect square (matches our 250×250 source art), with a soft
inner ring + ambient shadow so it never looks flat against the page bg. */
.t-g,.t-a,.learning-module,.interactive-module,.educational-card{
aspect-ratio:1;border-radius:14px;overflow:hidden;cursor:pointer;
position:relative;background:#1a1024;
border:1px solid rgba(255,255,255,.06);
box-shadow:0 4px 14px rgba(0,0,0,.28);
transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,border-color .35s ease,filter .35s ease;
isolation:isolate;
}
.learning-module:hover,.interactive-module:hover,.educational-card:hover,
.t-g:hover,.t-a:hover{
transform:translateY(-5px) scale(1.02);
border-color:rgba(255,255,255,.18);
box-shadow:0 14px 36px rgba(0,0,0,.55),0 0 0 1px rgba(176,122,255,.18),0 0 22px rgba(176,122,255,.18);
filter:brightness(1.06);
}
.learning-module img,.interactive-module img,.educational-card img,
.t-g img,.t-a img{
width:100%;height:100%;object-fit:cover;display:block;
transition:transform .55s cubic-bezier(.2,.6,.2,1),filter .35s ease;
}
.t-g:hover img,.t-a:hover img{transform:scale(1.06)}
/* The shadow + label both extend 1px past the tile's bottom edge so the
parent's overflow:hidden + border-radius clip cleanly without leaving a
sub-pixel gap underneath. The fractional sizing that comes out of
`aspect-ratio:1` + grid `minmax()` plus the hover scale used to expose
~1px of plain image at the very bottom whenever the label/shadow grew
(text rising past the gradient floor). The extra pixel below is
invisible (clipped) but guarantees full coverage at every zoom. */
.t-g .tile-label,.t-a .tile-label{
position:absolute;bottom:-1px;left:0;right:0;
padding:9px 12px 10px;font-size:12.5px;font-weight:500;letter-spacing:.15px;
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
color:#fff;
text-shadow:0 1px 6px rgba(0,0,0,.6);
transition:font-size .3s ease,padding .3s ease,text-shadow .3s ease,letter-spacing .3s ease;
}
.t-g:hover .tile-label,.t-a:hover .tile-label{
font-size:13.5px;padding:11px 12px 12px;letter-spacing:.25px;
text-shadow:0 2px 10px rgba(0,0,0,.85);
}
/* Smooth multi-stop gradient instead of a single linear fade — keeps the top
half of the art bright while still guaranteeing legible labels at the
bottom. The curve is tighter on hover so the title pops without darkening
the rest of the artwork. */
.t-g .tile-shadow,.t-a .tile-shadow{
position:absolute;bottom:-1px;left:0;right:0;height:calc(46% + 1px);
background:linear-gradient(to top,
rgba(0,0,0,.85) 0%,
rgba(0,0,0,.55) 35%,
rgba(0,0,0,.18) 70%,
rgba(0,0,0,0) 100%);
pointer-events:none;z-index:1;
transition:height .4s ease,background .4s ease;
}
.t-g:hover .tile-shadow,.t-a:hover .tile-shadow{
height:calc(58% + 1px);
background:linear-gradient(to top,
rgba(0,0,0,.92) 0%,
rgba(0,0,0,.62) 38%,
rgba(0,0,0,.22) 72%,
rgba(0,0,0,0) 100%);
}
.tile-label .hl{color:#c39dff;font-weight:700;text-shadow:0 0 8px rgba(176,122,255,.5)}
/* Fallback look when the artwork failed to load. The image element hides
itself in onerror; we then surface a soft purple gradient + pull the label
to the center so the tile still feels intentional. */
.t-g.tile-noimg,.t-a.tile-noimg{
background:linear-gradient(140deg,#2a1645 0%,#3b1f60 60%,#5a2b9d 100%);
}
.t-g.tile-noimg .tile-shadow,.t-a.tile-noimg .tile-shadow{
display:none;
}
.t-g.tile-noimg .tile-label,.t-a.tile-noimg .tile-label{
position:absolute;top:0;left:0;right:0;bottom:0;
display:flex;align-items:center;justify-content:center;
text-align:center;white-space:normal;line-height:1.3;font-size:13px;
padding:14px;background:transparent;
}
.collections-list{
display:flex;flex-direction:column;align-items:center;
gap:18px;padding:10px 16px 30px;
}
.collection-tile{
max-width:600px;width:100%;border-radius:14px;overflow:hidden;cursor:pointer;
position:relative;background:#1a1024;
transition:transform .4s ease,box-shadow .4s ease;
}
.collection-tile:hover{
transform:translateY(-4px);
box-shadow:0 8px 28px rgba(0,0,0,.5);
}
.collection-tile img{
width:100%;height:auto;display:block;
transition:transform .5s ease;
}
.collection-tile:hover img{transform:scale(1.04)}
.collection-tile .tile-label{
position:absolute;bottom:-1px;left:0;right:0;
padding:10px 14px 11px;font-size:14px;font-weight:500;
background:linear-gradient(transparent,rgba(0,0,0,.85));
transition:opacity .35s ease;
}
/* The "games / apps" empty state. Used when a search or tag filter
leaves a tab with zero results. Built from a contextual icon, a
primary title, optional helper copy, and one-or-two CTA buttons that
either clear the offending filter/search or hop the user to a tab
that's known to have content. The block always spans the full grid
width so it doesn't try to squeeze into a single tile column. */
.empty-1{
grid-column:1/-1; /* span the whole grid (.grid-1 / .grid-2) */
display:flex;flex-direction:column;align-items:center;justify-content:center;
text-align:center;
padding:56px 28px;
margin:8px 0;
border-radius:22px;
background:
radial-gradient(ellipse at 80% 0%,rgba(176,122,255,.18),transparent 55%),
radial-gradient(ellipse at 0% 100%,rgba(255,107,165,.12),transparent 60%),
linear-gradient(135deg,rgba(48,22,82,.86) 0%,rgba(34,16,62,.86) 60%,rgba(20,10,38,.86) 100%);
border:1px solid rgba(176,122,255,.22);
box-shadow:
0 18px 50px rgba(20,8,40,.45),
inset 0 1px 0 rgba(255,255,255,.05);
position:relative;overflow:hidden;
animation:fadeInUp .35s ease;
}
.empty-1::before{
content:"";position:absolute;inset:0;pointer-events:none;
background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.05) 50%,transparent 70%);
background-size:220% 100%;animation:heroShine 9s ease-in-out infinite;
}
.empty-1-icon{
width:64px;height:64px;display:flex;align-items:center;justify-content:center;
margin-bottom:18px;color:#d8b8ff;
background:rgba(176,122,255,.12);
border:1px solid rgba(176,122,255,.28);
border-radius:18px;
position:relative;z-index:1;
}
.empty-1-icon svg{width:30px;height:30px;stroke-width:1.7}
.empty-1-title{
font-size:20px;font-weight:600;color:#fff;letter-spacing:.2px;
position:relative;z-index:1;
max-width:520px;line-height:1.3;
}
.empty-1-title em{
color:#d8b8ff;font-style:normal;font-weight:600;
background:rgba(176,122,255,.16);
padding:0 6px;border-radius:6px;
}
.empty-1-desc{
margin-top:10px;max-width:480px;
font-size:14px;line-height:1.55;color:rgba(245,240,255,.65);
position:relative;z-index:1;
}
.empty-1-actions{
margin-top:22px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;
position:relative;z-index:1;
}
.empty-1-cta{
cursor:pointer;
font-family:inherit;
font-size:13.5px;font-weight:600;letter-spacing:.15px;
padding:10px 18px;border-radius:999px;
background:linear-gradient(135deg,#7a3ec9 0%,#9b59ff 100%);
color:#fff;border:1px solid rgba(216,184,255,.4);
box-shadow:0 8px 22px rgba(123,55,200,.35);
transition:transform .2s ease,box-shadow .2s ease,filter .2s ease,background .2s ease,border-color .2s ease;
display:inline-flex;align-items:center;gap:6px;
}
.empty-1-cta:hover{
transform:translateY(-1px);filter:brightness(1.08);
box-shadow:0 12px 28px rgba(123,55,200,.45);
}
.empty-1-cta:active{transform:translateY(0);filter:brightness(.96)}
.empty-1-cta-ghost{
background:rgba(176,122,255,.14);
border-color:rgba(176,122,255,.32);
box-shadow:none;color:#d8b8ff;
}