-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1129 lines (1014 loc) · 65.8 KB
/
index.html
File metadata and controls
1129 lines (1014 loc) · 65.8 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="viewport" content="width=device-width, initial-scale=1.0">
<title>Jimpeccable's Patreon Projects Dashboard</title>
<!-- External Dependencies -->
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@700&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.cells.min.js"></script>
<style>
:root {
--apple-blue: #0A84FF;
--apple-green: #30D158;
--soft-gold: #FFD60A;
--patreon-red: #FF424D;
--glass-surface: rgba(26, 26, 26, 0.6);
--glass-border: rgba(255, 255, 255, 0.12);
--color-red: #FF453A;
}
body {
background-color: #000000;
color: #E5E5E5;
font-family: 'Inter', -apple-system, sans-serif;
margin: 0;
overflow-x: hidden;
}
#vanta-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.3;
}
.header-glass {
background: rgba(15, 15, 15, 0.8);
backdrop-filter: blur(40px) saturate(180%);
border-bottom: 1px solid var(--glass-border);
}
.glass-card {
background: var(--glass-surface);
backdrop-filter: blur(40px) saturate(180%);
border: 1px solid var(--glass-border);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card-heavy {
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(60px) saturate(120%);
border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-title {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 700;
letter-spacing: -0.04em;
color: #FFFFFF;
}
.project-card {
transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover {
transform: translateY(-8px);
border-color: rgba(255, 255, 255, 0.25);
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}
.card-image-wrapper {
aspect-ratio: 16 / 9;
overflow: hidden;
position: relative;
}
.card-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .card-image {
transform: scale(1.05);
}
/* LOCK SYSTEM CSS */
.locked-content-wrapper {
position: relative;
min-height: 400px;
}
.lock-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
border-radius: 1.5rem;
}
.lock-overlay.hidden {
opacity: 0;
pointer-events: none;
}
.input-premium {
background: rgba(15, 15, 15, 0.8);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
padding: 1rem;
color: white;
text-align: center;
width: 100%;
outline: none;
transition: border-color 0.2s;
}
.input-premium:focus { border-color: var(--apple-blue); }
.btn-premium {
background: var(--apple-blue);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 12px;
font-weight: 600;
transition: all 0.2s;
border: none;
cursor: pointer;
}
.btn-premium:hover { filter: brightness(1.1); transform: scale(1.02); }
/* Patreon/Patron buttons - Red with glow (only for join/support buttons, not post links) */
.btn-premium[href*="patreon.com/Jimpeccable"],
.btn-premium[href*="patreon.com/Jimpeccable"],
a.btn-premium[href*="patreon.com/Jimpeccable"],
a.btn-premium[href*="Patreon.com/Jimpeccable"],
button.btn-premium#unlockButton {
background: var(--patreon-red) !important;
box-shadow: 0 4px 16px rgba(255, 66, 77, 0.4), 0 0 20px rgba(255, 66, 77, 0.2);
}
.btn-premium[href*="patreon.com/Jimpeccable"]:hover,
.btn-premium[href*="Patreon.com/Jimpeccable"]:hover,
a.btn-premium[href*="patreon.com/Jimpeccable"]:hover,
a.btn-premium[href*="Patreon.com/Jimpeccable"]:hover,
button.btn-premium#unlockButton:hover {
background: var(--patreon-red) !important;
box-shadow: 0 6px 24px rgba(255, 66, 77, 0.5), 0 0 30px rgba(255, 66, 77, 0.3);
filter: brightness(1.15);
}
.code-display {
font-family: 'SF Mono', 'Consolas', monospace;
font-size: 2.5rem;
font-weight: 700;
color: var(--soft-gold);
letter-spacing: 0.2em;
}
.shake { animation: shake-anim 0.5s both; }
@keyframes shake-anim {
10%, 90% { transform: translate3d(-1px, 0, 0); }
20%, 80% { transform: translate3d(2px, 0, 0); }
30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
40%, 60% { transform: translate3d(4px, 0, 0); }
}
.badge-gold {
background: rgba(255, 214, 10, 0.1);
color: var(--soft-gold);
border: 1px solid rgba(255, 214, 10, 0.2);
padding: 2px 8px;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 700;
}
.unlock-error {
color: var(--color-red);
margin-top: 10px;
font-size: 0.875rem;
height: 1.5em;
opacity: 0;
transition: opacity 0.3s ease;
}
.unlock-error.show {
opacity: 1;
}
.member-perks-banner {
width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.project-card-media {
width: 100%;
height: 150px;
overflow: hidden;
border-radius: 8px 8px 0 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #111;
}
.project-card-media img,
.project-card-media iframe {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.project-card .tracking-pixel {
position: absolute;
visibility: hidden;
height: 0;
width: 0;
}
/* Share buttons */
.share-buttons {
display: flex;
gap: 8px;
margin-top: 12px;
}
.share-btn {
width: 36px;
height: 36px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #E5E5E5;
transition: all 200ms ease;
cursor: pointer;
}
.share-btn:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.share-btn.twitter:hover { color: #1DA1F2; border-color: #1DA1F2; }
.share-btn.facebook:hover { color: #1877F2; border-color: #1877F2; }
.share-btn.reddit:hover { color: #FF4500; border-color: #FF4500; }
.share-btn.copy:hover { color: var(--apple-blue); border-color: var(--apple-blue); }
/* Search/Filter */
.search-container {
position: relative;
}
.search-input {
width: 100%;
padding: 12px 16px 12px 44px;
background: rgba(15, 15, 15, 0.8);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
color: white;
font-size: 0.875rem;
outline: none;
transition: all 200ms ease;
}
.search-input:focus {
border-color: var(--apple-blue);
box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.15);
}
.search-icon {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
color: rgba(255, 255, 255, 0.4);
}
/* Mobile CTA */
.mobile-cta {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 1000;
width: 56px;
height: 56px;
border-radius: 50%;
background: var(--patreon-red);
color: white;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 24px rgba(255, 66, 77, 0.4), 0 0 20px rgba(255, 66, 77, 0.3);
transition: all 300ms ease;
cursor: pointer;
}
.mobile-cta:hover {
transform: scale(1.1);
box-shadow: 0 12px 32px rgba(255, 66, 77, 0.5), 0 0 30px rgba(255, 66, 77, 0.4);
}
@media (min-width: 768px) {
.mobile-cta {
display: none;
}
}
/* Testimonials */
.testimonial-card {
position: relative;
padding: 24px;
}
.testimonial-stars {
color: var(--soft-gold);
margin-bottom: 12px;
font-size: 0.875rem;
}
</style>
</head>
<body class="antialiased">
<div id="vanta-canvas"></div>
<!-- Header -->
<header class="header-glass sticky top-0 z-[1000] px-6 py-4">
<div class="max-w-[1920px] mx-auto flex items-center justify-between">
<div class="flex items-center gap-4">
<i class="fa-solid fa-dice-d20 text-white text-2xl"></i>
<h1 class="text-xl font-bold text-white tracking-tight">JIMPECCABLE VAULT</h1>
</div>
<nav class="hidden md:flex items-center gap-8 text-sm text-gray-400 font-medium">
<a href="#premium-resources" class="hover:text-white transition-colors">Premium Content</a>
<a href="#free-resources" class="hover:text-white transition-colors">Free Resources</a>
<a href="#member-perks" class="hover:text-white transition-colors">Member Perks</a>
</nav>
<a href="https://patreon.com/Jimpeccable" target="_blank" class="btn-premium py-2 text-sm">Join Patreon</a>
</div>
</header>
<main class="max-w-[1920px] mx-auto px-6 lg:px-20 py-16">
<!-- Hero -->
<section class="mb-24">
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-blue-500/10 border border-blue-500/20 text-blue-500 text-xs font-bold uppercase tracking-widest mb-6">
<span class="w-2 h-2 rounded-full bg-blue-500 animate-pulse"></span> Encrypted Repository
</div>
<h1 class="hero-title mb-6">Master your table with <span class="text-blue-500">Premium Automation.</span></h1>
<p class="text-gray-400 text-lg max-w-2xl leading-relaxed">A specialized collection of VTT macros, templates, and high-fidelity assets designed for the modern Game Master.</p>
</section>
<div class="grid grid-cols-1 lg:grid-cols-4 gap-12">
<!-- Sidebar -->
<aside class="lg:col-span-1">
<div class="glass-card rounded-2xl p-6 sticky top-28">
<h2 class="text-xs font-bold text-blue-500 uppercase tracking-widest mb-6">Adventures</h2>
<ul class="space-y-4 mb-8">
<li><a href="https://www.patreon.com/collection/1555475?view=expanded" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-mountain"></i> Icewind Dale</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
<li><a href="https://www.patreon.com/collection/1555484?view=expanded" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-skull"></i> Curse of Strahd</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
<li><a href="https://www.patreon.com/collection/1930951" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-dragon"></i> Phandelver</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
</ul>
<p class="text-xs text-gray-500 italic mb-6">...more to come</p>
<h2 class="text-xs font-bold text-blue-500 uppercase tracking-widest mb-6 mt-8">Patreon Collections</h2>
<ul class="space-y-4">
<li><a href="https://www.patreon.com/collection/1600298?view=expanded" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-tools"></i> D&D Tools</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
<li><a href="https://www.patreon.com/collection/1560641?view=expanded" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-palette"></i> Tokens & Art</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
<li><a href="https://www.patreon.com/collection/1842560?view=expanded" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-cube"></i> Miniatures</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
<li><a href="https://www.patreon.com/collection/1555473?view=expanded" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-feather"></i> Owlbear Rodeo</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
<li><a href="https://www.patreon.com/collection/1555472?view=expanded" target="_blank" class="flex items-center justify-between text-gray-400 hover:text-white transition-colors"><span class="flex items-center gap-3"><i class="fa-solid fa-dice-d20"></i> Foundry VTT</span><i class="fa-solid fa-chevron-right text-[10px]"></i></a></li>
</ul>
<div class="mt-10 pt-10 border-t border-white/10 flex justify-center gap-6">
<a href="https://www.tiktok.com/@rollnat20" target="_blank" class="text-gray-500 hover:text-white text-xl"><i class="fa-brands fa-tiktok"></i></a>
<a href="https://patreon.com/Jimpeccable" target="_blank" class="text-gray-500 hover:text-white text-xl"><i class="fa-brands fa-patreon"></i></a>
</div>
</div>
</aside>
<!-- Main Content -->
<div class="lg:col-span-3">
<!-- Gated Premium Section (8 CARDS) -->
<section id="premium-resources" class="mb-24">
<div class="flex items-center justify-between mb-10">
<h2 class="text-3xl font-bold text-white flex items-center gap-3"><i class="fa-solid fa-shield-halved text-blue-500"></i> Patron Vault</h2>
<span class="badge-gold">LEVEL 1 +</span>
</div>
<div class="locked-content-wrapper" id="lockedContentContainer">
<!-- VALUE PROPOSITION BANNER -->
<div class="glass-card rounded-2xl p-6 mb-8 border-2 border-blue-500/30 bg-gradient-to-r from-blue-500/5 to-transparent">
<div class="flex flex-col md:flex-row items-center justify-between gap-4">
<div class="flex-1">
<h3 class="text-xl font-bold text-white mb-3 flex items-center gap-2">
<i class="fa-solid fa-crown text-blue-500"></i>
What You Get as a Patron
</h3>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 text-sm text-gray-300">
<div class="flex items-center gap-2">
<i class="fa-solid fa-check text-green-500"></i>
<span>Exclusive monthly codes</span>
</div>
<div class="flex items-center gap-2">
<i class="fa-solid fa-check text-green-500"></i>
<span>Early access to new content</span>
</div>
<div class="flex items-center gap-2">
<i class="fa-solid fa-check text-green-500"></i>
<span>Premium tools & resources</span>
</div>
</div>
</div>
<a href="https://patreon.com/Jimpeccable" target="_blank" class="btn-premium whitespace-nowrap">
Become a Patron
</a>
</div>
</div>
<!-- LOCK OVERLAY -->
<div id="lockOverlay" class="lock-overlay glass-card-heavy">
<div class="max-w-md w-full p-10 text-center">
<div class="w-20 h-20 bg-white/10 border border-white/20 rounded-full flex items-center justify-center mx-auto mb-8 animate-pulse">
<i class="fa-solid fa-lock text-white text-3xl"></i>
</div>
<h3 class="text-3xl font-bold text-white mb-4">Vault Encrypted</h3>
<p class="text-gray-400 mb-6">Unlock this month's resources using the secret code from Patreon.</p>
<!-- Show what's inside -->
<div class="bg-white/5 rounded-lg p-4 mb-6 text-left">
<p class="text-xs text-gray-400 mb-2 uppercase tracking-widest">Inside this vault:</p>
<ul class="text-sm text-gray-300 space-y-2">
<li class="flex items-center gap-2">
<i class="fa-solid fa-check text-green-500 text-xs"></i>
<span>Premium Resources</span>
</li>
<li class="flex items-center gap-2">
<i class="fa-solid fa-check text-green-500 text-xs"></i>
<span>Maps & Scenes Collections</span>
</li>
<li class="flex items-center gap-2">
<i class="fa-solid fa-check text-green-500 text-xs"></i>
<span>Monthly Exclusive Code</span>
</li>
</ul>
</div>
<input type="password" id="unlockCodeInput" placeholder="ENTER ACCESS CODE" class="input-premium mb-4">
<button id="unlockButton" class="btn-premium w-full mb-6">INITIALIZE DECRYPT</button>
<p id="unlockError" class="unlock-error">Incorrect code. Please try again.</p>
<a href="https://www.patreon.com/Jimpeccable" target="_blank" class="text-blue-500 text-sm underline underline-offset-4 mt-4 inline-block hover:text-blue-400 transition-colors">
<i class="fa-brands fa-patreon mr-2"></i>Get Code on Patreon
</a>
</div>
</div>
<!-- MONTHLY CODE -->
<div class="glass-card rounded-3xl p-10 mb-12 text-center relative overflow-hidden">
<h3 class="text-[10px] font-bold text-gray-500 uppercase tracking-widest mb-4">This Month's Exclusive Code</h3>
<p class="text-gray-400 text-sm mb-6">As a valued patron, use this code to unlock premium features and content across my projects. This code refreshes automatically at the start of each month.</p>
<div id="monthlyCodeDisplay" class="code-display mb-6">Loading Code...</div>
<button onclick="copyCode()" class="px-6 py-2 bg-white/5 border border-white/10 rounded-full text-xs font-bold text-white hover:bg-white/10 transition-all">
<i class="fa-solid fa-copy mr-2"></i> <span id="copyText">COPY CODE</span>
</button>
</div>
<!-- MAPS & SCENES HIGHLIGHT SECTIONS -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-12">
<!-- Maps Section -->
<a href="https://www.patreon.com/collection/1797802?view=expanded" target="_blank" class="group glass-card rounded-2xl p-8 border-2 border-blue-500/50 hover:border-blue-500 transition-all hover:scale-105 relative overflow-hidden">
<div class="absolute inset-0 bg-gradient-to-br from-blue-500/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"></div>
<div class="relative z-10">
<div class="flex items-center justify-between mb-4">
<i class="fa-solid fa-map text-blue-500 text-4xl"></i>
<i class="fa-solid fa-arrow-right text-blue-500 text-xl group-hover:translate-x-2 transition-transform"></i>
</div>
<h3 class="text-2xl font-bold text-white mb-2">Maps Collection</h3>
<p class="text-gray-400 text-sm">Explore our extensive library of battle maps and location maps for your campaigns.</p>
<div class="mt-4 inline-flex items-center gap-2 text-blue-500 text-sm font-semibold">
<span>View Collection</span>
<i class="fa-solid fa-chevron-right"></i>
</div>
</div>
</a>
<!-- Scenes Section -->
<a href="https://www.patreon.com/collection/1897119?view=expanded" target="_blank" class="group glass-card rounded-2xl p-8 border-2 border-purple-500/50 hover:border-purple-500 transition-all hover:scale-105 relative overflow-hidden">
<div class="absolute inset-0 bg-gradient-to-br from-purple-500/10 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"></div>
<div class="relative z-10">
<div class="flex items-center justify-between mb-4">
<i class="fa-solid fa-theater-masks text-purple-500 text-4xl"></i>
<i class="fa-solid fa-arrow-right text-purple-500 text-xl group-hover:translate-x-2 transition-transform"></i>
</div>
<h3 class="text-2xl font-bold text-white mb-2">Scenes Collection</h3>
<p class="text-gray-400 text-sm">Immersive scene assets and atmospheric pieces to set the perfect mood.</p>
<div class="mt-4 inline-flex items-center gap-2 text-purple-500 text-sm font-semibold">
<span>View Collection</span>
<i class="fa-solid fa-chevron-right"></i>
</div>
</div>
</a>
</div>
<!-- SEARCH/FILTER -->
<div class="mb-8">
<div class="glass-card rounded-xl p-4 search-container">
<i class="fa-solid fa-search search-icon"></i>
<input type="text" id="resourceSearch" placeholder="Search resources..." class="search-input">
</div>
</div>
<!-- PREMIUM ASSET GRID (8 CARDS) -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-8" id="premiumAssetGrid">
<!-- Card 1 -->
<div class="project-card glass-card rounded-2xl overflow-hidden" data-resource-title="Wilderness Encounter Tokens & Art" data-resource-url="https://www.patreon.com/posts/new-wilderness-131695695">
<div class="card-image-wrapper"><img src="https://images2.imgbox.com/42/1f/FyeReyst_o.png" alt="Wilderness Encounter Tokens & Art" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">Wilderness Encounter Tokens & Art</h3>
<p class="text-sm text-gray-400 mb-6">Enhanced encounter assets to bring your wilderness encounters to life.</p>
<a href="https://www.patreon.com/posts/new-wilderness-131695695" target="_blank" class="btn-premium block text-center py-2 text-sm mb-3">View Project</a>
<div class="share-buttons">
<button class="share-btn twitter" onclick="shareResource('twitter', this)" title="Share on Twitter">
<i class="fa-brands fa-twitter"></i>
</button>
<button class="share-btn facebook" onclick="shareResource('facebook', this)" title="Share on Facebook">
<i class="fa-brands fa-facebook"></i>
</button>
<button class="share-btn reddit" onclick="shareResource('reddit', this)" title="Share on Reddit">
<i class="fa-brands fa-reddit"></i>
</button>
<button class="share-btn copy" onclick="shareResource('copy', this)" title="Copy link">
<i class="fa-solid fa-link"></i>
</button>
</div>
</div>
</div>
<!-- Card 2 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/07/8b/kWy01Bt9_t.png" alt="Icewind Dale One-shot - The Fear, Silence & Snow" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">Icewind Dale One-shot: The Fear, Silence & Snow</h3>
<p class="text-sm text-gray-400 mb-6">A complete one-shot adventure, with VTT maps for Roll20 & FoundryVTT coming soon!</p>
<a href="https://www.patreon.com/posts/fear-silence-one-132347412" target="_blank" class="btn-premium block text-center py-2 text-sm">View Project</a>
</div>
</div>
<!-- Card 3 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/86/ad/lV3VdZiR_t.png" alt="D&D Command Centre" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">D&D Command Centre</h3>
<p class="text-sm text-gray-400 mb-6">Powerful D&D tools for automating your prep both in-person and online.</p>
<a href="https://www.patreon.com/posts/exclusive-access-133747915" target="_blank" class="btn-premium block text-center py-2 text-sm">View Project</a>
</div>
</div>
<!-- Card 4 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/6b/23/oWVRVq8M_t.png" alt="D&D Initiative Tracker with API" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">D&D Initiative Tracker with API</h3>
<p class="text-sm text-gray-400 mb-6">Effortless combatant management, intuitive initiative tracking, HP & conditions, and a built-in dice roller.</p>
<a href="https://dndtracker.nat20.live/" target="_blank" class="btn-premium block text-center py-2 text-sm">Launch App</a>
</div>
</div>
<!-- Card 5 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/41/11/uDBpdeqa_t.png" alt="Owlbear Rodeo NPC Realm Generator (Extension)" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">Owlbear Rodeo NPC Realm Generator (Extension)</h3>
<p class="text-sm text-gray-400 mb-6">Generate NPCs on the fly for your Owlbear Rodeo sessions.</p>
<button onclick="copyManifestUrl('https://raw.githubusercontent.com/Jimpeccable/NPC-Generator-OBR/refs/heads/NPC-Generator-OBR-1.0.2/manifest.json', this)" class="btn-premium w-full text-sm">Copy Manifest URL</button>
</div>
</div>
<!-- Card 6 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/75/23/YpFlfgV4_t.png" alt="Icewind Dale Premium Macros" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">Icewind Dale Premium Macros</h3>
<p class="text-sm text-gray-400 mb-6">More comprehensive macros for blizzards, tracking and navigation as well as emergency situations.</p>
<a href="https://drive.google.com/drive/folders/1dC2tjK7JfehdmYfCeX01PF6ZXwxsfdDD?usp=sharing" target="_blank" class="btn-premium block text-center py-2 text-sm">Access Drive</a>
</div>
</div>
<!-- Card 7 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/4b/f9/yw27Ezbq_t.png" alt="Time Keeper" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">Time Keeper</h3>
<p class="text-sm text-gray-400 mb-6">Effortlessly track the passage of time in-game with dynamic visuals, weather effects, and event management.</p>
<a href="http://timekeeper.nat20.live/" target="_blank" class="btn-premium block text-center py-2 text-sm">Launch App</a>
</div>
</div>
<!-- Card 8 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/6b/42/8CSCSQRw_t.png" alt="DM Toolkit" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">DM Toolkit</h3>
<p class="text-sm text-gray-400 mb-6">The DM Toolkit can handle encounters for the party, NPCs, weather forecasts, shops, and much more.</p>
<a href="https://dm-toolkit.nat20.live/" target="_blank" class="btn-premium block text-center py-2 text-sm">Launch App</a>
</div>
</div>
<!-- Card 9 -->
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://images2.imgbox.com/aa/b4/NRMEQgBy_o.png" alt="FORGE OS PRO: 5e.Tools Homebrew Assistant" class="card-image"></div>
<div class="p-6">
<h3 class="text-xl font-bold text-white mb-2">FORGE OS PRO: 5e.Tools Homebrew Assistant</h3>
<p class="text-sm text-gray-400 mb-6">Bridge D&D Beyond and 5e.tools with live character syncing, instant party exports, and homebrew JSON conversion.</p>
<a href="https://5e-homebrew.nat20.live/" target="_blank" class="btn-premium block text-center py-2 text-sm">Launch App</a>
</div>
</div>
</div>
</div>
</section>
<!-- Free Community Section (11 CARDS) -->
<section id="free-resources" class="mb-24">
<h2 class="text-3xl font-bold text-white mb-10 flex items-center gap-3"><i class="fa-solid fa-gift text-green-500"></i> Free Resources</h2>
<div class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-8">
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/80/8a/qHgODKBt_t.png" alt="Icewind Dale Posters" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Icewind Dale Posters</h3><p class="text-xs text-gray-400 mb-4">Atmospheric posters to enhance your campaign. Print them out or use them digitally!</p><a href="https://www.patreon.com/posts/new-drop-posters-131587088" target="_blank" class="text-blue-500 text-xs font-bold">View Project</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/f2/0e/Yv1yLfZh_t.png" alt="Bryn Shander Newspaper" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Bryn Shander Newspaper</h3><p class="text-xs text-gray-400 mb-4">Add some local flavor to your sessions with this immersive newspaper handout.</p><a href="https://www.patreon.com/posts/enhance-your-131539068" target="_blank" class="text-blue-500 text-xs font-bold">View Project</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/d6/61/JVK89aZw_t.png" alt="Bryn Shander Speakers Podium (3D Printable)" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Bryn Shander Speakers Podium (3D Printable)</h3><p class="text-xs text-gray-400 mb-4">A free 3D printable .OBJ file to bring your tabletop to life.</p><a href="https://www.patreon.com/posts/free-3d-asset-133582409" target="_blank" class="text-blue-500 text-xs font-bold">Download Asset</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/c8/61/jQGyvuYc_t.png" alt="Black Cabin Art / Isometric" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Black Cabin Art / Isometric</h3><p class="text-xs text-gray-400 mb-4">Stunning art pieces to set the scene for your Black Cabin encounters.</p><div class="flex flex-col gap-2"><a href="https://drive.google.com/file/d/1TSOXa9zK3p3pKIpkGZMKkEbkaiG74IKN/view?usp=drive_link" target="_blank" class="text-blue-500 text-xs font-bold">View Art 1</a><a href="https://drive.google.com/file/d/1sD7b33rvN8lr5vKQKVAx0uJOtiPbP6gr/view?usp=drive_link" target="_blank" class="text-blue-500 text-xs font-bold">View Art 2</a></div></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/9e/01/XMi3D1g6_t.png" alt="Black Cabin Player Handout" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Black Cabin Player Handout</h3><p class="text-xs text-gray-400 mb-4">A chilling handout for players who meet an untimely demise in the Black Cabin.</p><a href="https://drive.google.com/file/d/1TSOXa9zK3p3pKIpkGZMKkEbkaiG74IKN/view?usp=drive_link" target="_blank" class="text-blue-500 text-xs font-bold">View Handout</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://images2.imgbox.com/75/23/YpFlfgV4_o.png" alt="Foundry VTT GM Macros" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Foundry VTT GM Macros</h3><p class="text-xs text-gray-400 mb-4">Macros for light control, dice rolls, token teleporting, and streamlining travel for your Foundry VTT campaigns.</p><button onclick="copyManifestUrl('http://tiny.cc/o8ym001', this)" class="text-blue-500 text-xs font-bold">Copy Manifest URL</button></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/5d/35/DUMiUWIg_t.png" alt="Curse of Strahd DM Cheat Sheet (Web)" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Curse of Strahd DM Cheat Sheet (Web)</h3><p class="text-xs text-gray-400 mb-4">Quick reference for running CoS with nightmare mechanics, despair, and gaslighting techniques.</p><a href="http://cos-cheatsheet.nat20.live/" target="_blank" class="text-blue-500 text-xs font-bold">Launch Cheat Sheet</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/89/77/3zldASVo_t.png" alt="Art Dumping Ground" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Art & AI Content Dumping Ground</h3><p class="text-xs text-gray-400 mb-4">A collection of art and AI-generated content used in my campaigns, free for your use!</p><a href="https://drive.google.com/drive/folders/10MmCN3tf_rx6kELNKjxJXnlPXQndq37d?usp=sharing" target="_blank" class="text-blue-500 text-xs font-bold">Access Drive</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://images2.imgbox.com/4b/f9/yw27Ezbq_o.png" alt="Time Keeper" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Time Keeper</h3><p class="text-xs text-gray-400 mb-4">Effortlessly track the passage of time in-game with dynamic visuals, weather effects, and event management.</p><a href="http://timekeeper.nat20.live/" target="_blank" class="text-blue-500 text-xs font-bold">Launch App</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/58/51/bUEZ8yUj_t.png" alt="Tarokka Reading" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Tarokka Reading</h3><p class="text-xs text-gray-400 mb-4">Experience mystical Tarokka card readings with interactive features, DM controls, and atmospheric visuals.</p><a href="http://tarokka.nat20.live/" target="_blank" class="text-blue-500 text-xs font-bold">Launch App</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://images2.imgbox.com/6b/42/8CSCSQRw_o.png" alt="DM Toolkit" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">DM Toolkit</h3><p class="text-xs text-gray-400 mb-4">The DM Toolkit can handle encounters for the party, NPCs, weather forecasts, shops, and much more.</p><a href="https://dm-toolkit.nat20.live/" target="_blank" class="text-blue-500 text-xs font-bold">Launch App</a></div>
</div>
<div class="project-card glass-card rounded-2xl overflow-hidden">
<div class="card-image-wrapper"><img src="https://thumbs2.imgbox.com/cb/7b/h2eRImBZ_t.png" alt="Avrae+: Play-by-Post Support" class="card-image"></div>
<div class="p-6"><h3 class="font-bold text-white mb-2">Avrae+: Play-by-Post Support</h3><p class="text-xs text-gray-400 mb-4">A streamlined web-app that acts as your Command Matrix for Avrae. Build commands with clicks instead of wrestling with syntax—more roleplay, less debugging.</p><a href="https://avrae.nat20.live/" target="_blank" class="text-blue-500 text-xs font-bold">Launch App</a></div>
</div>
</div>
</section>
<!-- Perks (2 CARDS) -->
<section id="member-perks" class="mb-24">
<h2 class="text-3xl font-bold text-white mb-10 flex items-center gap-3"><i class="fa-solid fa-star text-yellow-500"></i> Member Perks</h2>
<img src="https://thumbs2.imgbox.com/74/49/1gpqFNkP_t.png" alt="Member Perks Banner" class="member-perks-banner">
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mt-8">
<div class="glass-card rounded-2xl p-8 border-yellow-500/30">
<img src="https://www.monumentstudios.net/images/stream-tile-image.png" class="w-full h-32 object-contain mb-6">
<h3 class="text-xl font-bold text-white mb-4">Monument Studios: Fantasy+</h3>
<p class="text-sm text-gray-400 mb-4">Unlock powerful TTRPG audio to immerse your players in epic adventures. 3 Free Months courtesy of Monument Studios</p>
<div class="code-display text-base mb-4" style="font-size: 1.2em; letter-spacing: 1px;">Code: ROLLNAT20</div>
<a href="https://www.monumentstudios.net/pages/fantasy+" target="_blank" class="text-yellow-500 font-bold uppercase tracking-widest text-xs">Visit Site</a>
</div>
<div class="glass-card rounded-2xl p-8 border-blue-500/30">
<a rel="sponsored" href="https://worldanvil.pxf.io/c/6381096/1601963/10846" target="_top">
<img src="https://i0.wp.com/blog.worldanvil.com/wp-content/uploads/2018/06/header.png?resize=1024%2C512" border="0" alt="World Anvil" class="w-full h-32 object-contain mb-6"/>
</a>
<img height="0" width="0" src="https://imp.pxf.io/i/6381096/1601963/10846" style="position:absolute;visibility:hidden;" border="0" class="tracking-pixel" />
<h3 class="text-xl font-bold text-white mb-4">World Anvil</h3>
<p class="text-sm text-gray-400 mb-6">Build your worlds, manage your campaigns, and bring your stories to life with powerful tools.</p>
<a href="https://worldanvil.pxf.io/c/6381096/1601963/10846" target="_blank" class="text-blue-500 font-bold uppercase tracking-widest text-xs">Visit Site</a>
</div>
</div>
</section>
</div>
</div>
</main>
<!-- Testimonials Section -->
<section class="mb-24 py-16">
<div class="max-w-[1920px] mx-auto px-6 lg:px-20">
<h2 class="text-3xl font-bold text-white mb-12 text-center">What Patrons Are Saying</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="glass-card rounded-2xl testimonial-card">
<div class="testimonial-stars">
<i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i>
</div>
<p class="text-gray-300 text-sm mb-4 italic">"These tools have completely transformed how I run my sessions. Worth every penny!"</p>
<p class="text-xs text-gray-500">- David</p>
</div>
<div class="glass-card rounded-2xl testimonial-card">
<div class="testimonial-stars">
<i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i>
</div>
<p class="text-gray-300 text-sm mb-4 italic">"The maps and scenes are absolutely stunning. My players are blown away every session."</p>
<p class="text-xs text-gray-500">- Alissa</p>
</div>
<div class="glass-card rounded-2xl testimonial-card">
<div class="testimonial-stars">
<i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i>
</div>
<p class="text-gray-300 text-sm mb-4 italic">"Best investment for my D&D campaigns. The automation tools save me hours of prep time."</p>
<p class="text-xs text-gray-500">- Anonymous Patron</p>
</div>
</div>
</div>
</section>
<footer class="py-20 border-t border-white/10 text-center">
<div class="max-w-[1920px] mx-auto px-6 lg:px-20">
<p class="text-gray-400 mb-6">If you find these resources helpful and wish to support my work, consider becoming a patron! Your support helps me create more amazing content for the D&D community.</p>
<a href="https://patreon.com/Jimpeccable" target="_blank" class="btn-premium inline-block mb-8">Support Me on Patreon</a>
<p class="text-xs text-gray-600 font-bold uppercase tracking-[0.2em] mb-4">Jimpeccable's Patreon Dashboard</p>
<div class="flex justify-center gap-8 mb-8">
<a href="https://patreon.com/Jimpeccable" class="text-gray-400 hover:text-white"><i class="fa-brands fa-patreon"></i></a>
<a href="https://www.tiktok.com/@rollnat20" class="text-gray-400 hover:text-white"><i class="fa-brands fa-tiktok"></i></a>
</div>
<p class="text-[10px] text-gray-700">© 2026 Jimpeccable. All rights reserved.</p>
</div>
</footer>
<!-- Mobile CTA -->
<a href="https://patreon.com/Jimpeccable" target="_blank" class="mobile-cta" aria-label="Join Patreon">
<i class="fa-brands fa-patreon text-2xl"></i>
</a>
<!-- SACRED AUTHENTICATION LOGIC - DO NOT MODIFY -->
<script>
// Initialize Vanta.js background
VANTA.CELLS({
el: "#vanta-canvas",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
color1: 0x1A1A1A,
color2: 0x303030
});
// Simple SHA-256 implementation for GitHub Pages compatibility
// CRITICAL: This function MUST remain unchanged
function sha256(str) {
function rightRotate(value, amount) {
return (value >>> amount) | (value << (32 - amount));
}
function sha256Hash(ascii) {
const mathPow = Math.pow;
const maxWord = mathPow(2, 32);
const lengthProperty = 'length';
let i, j;
let result = '';
const words = [];
const asciiBitLength = ascii[lengthProperty] * 8;
let hash = sha256Hash.h = sha256Hash.h || [];
const k = sha256Hash.k = sha256Hash.k || [];
let primeCounter = k[lengthProperty];
const isComposite = {};
for (let candidate = 2; primeCounter < 64; candidate++) {
if (!isComposite[candidate]) {
for (i = 0; i < 313; i += candidate) {
isComposite[i] = candidate;
}
hash[primeCounter] = (mathPow(candidate, .5) * maxWord) | 0;
k[primeCounter++] = (mathPow(candidate, 1 / 3) * maxWord) | 0;
}
}
ascii += '\x80';
while (ascii[lengthProperty] % 64 - 56) ascii += '\x00';
for (i = 0; i < ascii[lengthProperty]; i++) {
j = ascii.charCodeAt(i);
if (j >> 8) return;
words[i >> 2] |= j << ((3 - i) % 4) * 8;
}
words[words[lengthProperty]] = ((asciiBitLength / maxWord) | 0);
words[words[lengthProperty]] = (asciiBitLength);
for (j = 0; j < words[lengthProperty];) {
const w = words.slice(j, j += 16);
const oldHash = hash;
hash = hash.slice(0, 8);
for (i = 0; i < 64; i++) {
const i2 = i + j;
const w15 = w[i - 15], w2 = w[i - 2];
const a = hash[0], e = hash[4];
const temp1 = hash[7]
+ (rightRotate(e, 6) ^ rightRotate(e, 11) ^ rightRotate(e, 25))
+ ((e & hash[5]) ^ ((~e) & hash[6]))
+ k[i]
+ (w[i] = (i < 16) ? w[i] : (
w[i - 16]
+ (rightRotate(w15, 7) ^ rightRotate(w15, 18) ^ (w15 >>> 3))
+ w[i - 7]
+ (rightRotate(w2, 17) ^ rightRotate(w2, 19) ^ (w2 >>> 10))
) | 0
);
const temp2 = (rightRotate(a, 2) ^ rightRotate(a, 13) ^ rightRotate(a, 22))
+ ((a & hash[1]) ^ (a & hash[2]) ^ (hash[1] & hash[2]));
hash = [(temp1 + temp2) | 0].concat(hash);
hash[4] = (hash[4] + temp1) | 0;
}
for (i = 0; i < 8; i++) {
hash[i] = (hash[i] + oldHash[i]) | 0;
}
}
for (i = 0; i < 8; i++) {
for (j = 3; j + 1; j--) {
const b = (hash[i] >> (j * 8)) & 255;
result += ((b < 16) ? 0 : '') + b.toString(16);
}
}
return result;
}
return sha256Hash(str);
}
// Monthly Code Generation (Existing Logic)
// CRITICAL: These constants MUST remain unchanged
const MONTHLY_CODE_SECRET = "D&DTrackerSecretKey2025!";
const UNLOCK_SECRET_PHRASE = "JIMPECCABLEUNLOCKSECRET!";
const CODE_LENGTH = 8;
// CRITICAL: This function MUST remain unchanged
function generateMonthlyCode(date) {
const year = date.getFullYear();
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const inputString = `${MONTHLY_CODE_SECRET}-${year}-${month}`;
const hexHash = sha256(inputString);
const alphanumericHash = hexHash.replace(/[^a-zA-Z0-9]/g, '');
return alphanumericHash.substring(0, CODE_LENGTH).toUpperCase();
}
// CRITICAL: This function MUST remain unchanged
function generateUnlockCode(date) {
const year = date.getFullYear();
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const inputString = `${UNLOCK_SECRET_PHRASE}-${year}-${month}`;
const hexHash = sha256(inputString);
const alphanumericHash = hexHash.replace(/[^a-zA-Z0-9]/g, '');
return alphanumericHash.substring(0, CODE_LENGTH).toUpperCase();
}
// CRITICAL: This function MUST remain unchanged
function updateMonthlyCodeDisplay() {
const codeDisplayElement = document.getElementById('monthlyCodeDisplay');
if (codeDisplayElement) {
codeDisplayElement.textContent = generateMonthlyCode(new Date());
}
}
// CRITICAL: This function MUST remain unchanged
function copyCode() {
const codeDisplayElement = document.getElementById('monthlyCodeDisplay');
if (!codeDisplayElement) return;
const code = codeDisplayElement.textContent;
const copyText = document.getElementById('copyText');
const tempInput = document.createElement('textarea');
tempInput.value = code;
document.body.appendChild(tempInput);
tempInput.select();
document.execCommand('copy');
document.body.removeChild(tempInput);
const originalText = copyText.textContent;
copyText.textContent = 'COPIED!';
setTimeout(() => {
copyText.textContent = originalText;
}, 1500);
}
// CRITICAL: This function MUST remain unchanged
function copyManifestUrl(url, buttonElement) {
const tempInput = document.createElement('textarea');
tempInput.value = url;
document.body.appendChild(tempInput);
tempInput.select();
document.execCommand('copy');
document.body.removeChild(tempInput);
const originalText = buttonElement.innerHTML;
buttonElement.innerHTML = '<i class="fas fa-check"></i> COPIED!';
setTimeout(() => {
buttonElement.innerHTML = originalText;
}, 1500);
}
// CRITICAL: This function MUST remain unchanged
function applyLockState() {
const lockOverlay = document.getElementById('lockOverlay');
if (!lockOverlay) {
console.error('lockOverlay element not found!');
return;
}
const currentDate = new Date();
const currentMonthUTC = currentDate.getUTCMonth();
const currentYearUTC = currentDate.getUTCFullYear();
const lastUnlockedMonthUTC = localStorage.getItem('jimpeccableUnlockedMonthUTC');
const lastUnlockedYearUTC = localStorage.getItem('jimpeccableUnlockedYearUTC');
const isUnlockedForCurrentMonth = (
localStorage.getItem('jimpeccableUnlocked') === 'true' &&
currentMonthUTC.toString() === lastUnlockedMonthUTC &&
currentYearUTC.toString() === lastUnlockedYearUTC
);
if (isUnlockedForCurrentMonth) {
lockOverlay.classList.add('hidden');
updateMonthlyCodeDisplay();
} else {
lockOverlay.classList.remove('hidden');
localStorage.removeItem('jimpeccableUnlocked');
localStorage.removeItem('jimpeccableUnlockedMonthUTC');
localStorage.removeItem('jimpeccableUnlockedYearUTC');
}
}
document.addEventListener('DOMContentLoaded', () => {
const lockOverlay = document.getElementById('lockOverlay');
const unlockCodeInput = document.getElementById('unlockCodeInput');
const unlockButton = document.getElementById('unlockButton');
const unlockError = document.getElementById('unlockError');
// Apply initial lock state based on current date and stored state
applyLockState();
if (unlockButton) {
unlockButton.addEventListener('click', () => {
const enteredCode = unlockCodeInput.value.trim().toUpperCase();
const currentDate = new Date();
const expectedCode = generateUnlockCode(currentDate);
if (enteredCode === expectedCode) {
lockOverlay.classList.add('hidden');
localStorage.setItem('jimpeccableUnlocked', 'true');
localStorage.setItem('jimpeccableUnlockedMonthUTC', currentDate.getUTCMonth().toString());
localStorage.setItem('jimpeccableUnlockedYearUTC', currentDate.getUTCFullYear().toString());
unlockError.classList.remove('show');
updateMonthlyCodeDisplay();
} else {
unlockError.textContent = 'Incorrect code. Please try again.';
unlockError.classList.add('show');