-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathlibrary.html
More file actions
1276 lines (1152 loc) · 71.6 KB
/
library.html
File metadata and controls
1276 lines (1152 loc) · 71.6 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">
<!-- Primary Meta Tags -->
<title>Hydra Library | Links for Hydra Launcher</title>
<meta name="title" content="Hydra Library | Links for Hydra Launcher">
<meta name="description" content="Hydra Library is a largest library with the source links for the Hydra Launcher. Find reliable, always up-to-date, and safe sources for the Hydra Launcher.">
<meta property="og:site_name" content="Links for Hydra Launcher" />
<meta property="og:title" content="Hydra Library | Links for Hydra Launcher" />
<!-- Keywords -->
<meta name="keywords" content="game library, source management, game repositories, safe gaming sources, game downloads, trusted sources, hydra links, hydralinks, hydra sources, hydra launcher sources, hydra launcher links, hydra launcher, hydra launcher github, hydrasources, hydralibrary, hydra library, moyase github, hydra launcher discord">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://library.hydra.wiki/library">
<meta property="og:title" content="Hydra Library | Links for Hydra Launcher">
<meta property="og:description" content="Hydra Library is a largest library with the source links for the Hydra Launcher. Find reliable, always up-to-date, and safe sources for the Hydra Launcher.">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://library.hydra.wiki/library">
<meta property="twitter:title" content="Hydra Library | Links for Hydra Launcher">
<meta property="twitter:description" content="Hydra Library is a largest library with the source links for the Hydra Launcher. Find reliable, always up-to-date, and safe sources for the Hydra Launcher.">
<!-- Additional SEO Meta Tags -->
<meta name="author" content="Moyase">
<meta name="application-name" content="Hydra Library">
<meta name="rating" content="general">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Hydra Library">
<!-- Canonical URL -->
<link rel="canonical" href="https://library.hydra.wiki/library">
<!-- Robots -->
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<!-- Your existing tags -->
<style>
/* Custom styles for dropdown borders */
.filter-section button[aria-expanded="false"] {
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 0.75rem; /* p-3 equivalent */
margin-bottom: 0; /* Remove mb-4 when collapsed */
}
.filter-section button[aria-expanded="true"] {
border: 1px solid transparent;
padding: 0; /* Remove padding when expanded */
margin-bottom: 1rem; /* Add mb-4 when expanded */
}
/* Hide navbar buttons on mobile and tablet except language switcher */
@media (max-width: 1023px) {
.navbar-hide-mobile {
display: none !important;
}
/* Override for language switcher to make it visible on mobile and tablet */
.language-switcher-keep-visible {
display: flex !important;
}
}
/* Mobile and tablet only elements (show on mobile/tablet, hide on desktop) */
.navbar-mobile-only {
display: flex !important;
}
@media (min-width: 1024px) {
.navbar-mobile-only {
display: none !important;
}
}
/* Small mobile screens width adjustment for cards */
@media (max-width: 430px) {
/* Override grid layout completely for mobile */
#sources-container {
display: flex !important;
flex-direction: column !important;
align-items: end !important;
grid-template-columns: none !important;
width: 100% !important;
box-sizing: border-box !important;
max-width: 100% !important;
padding-left: 20px !important;
}
/* Set width for cards to fit within screen */
#sources-container > div,
.source-card {
width: 89% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
box-sizing: border-box !important;
overflow: hidden !important;
}
/* Ensure the card content stays within bounds */
.group.relative {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
overflow: hidden !important;
margin-left: 0 !important;
margin-right: 0 !important;
transform: translateX(0) !important;
}
/* Ensure text content doesn't overflow */
h3, p {
max-width: 100% !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
/* Adjust status badges to prevent overflow */
.status-badge {
font-size: 10px !important;
padding: 2px 6px !important;
}
/* Fix any potential transform issues */
.animate-fade-in {
transform: translateX(0) !important;
}
}
/* Small mobile screens width adjustment for cards */
@media (max-width: 390px) {
/* Override grid layout completely for mobile */
#sources-container {
display: flex !important;
flex-direction: column !important;
align-items: end !important;
grid-template-columns: none !important;
width: 100% !important;
box-sizing: border-box !important;
max-width: 100% !important;
padding-left: 40px !important;
}
/* Set width for cards to fit within screen */
#sources-container > div,
.source-card {
width: 83% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
box-sizing: border-box !important;
overflow: hidden !important;
}
/* Ensure the card content stays within bounds */
.group.relative {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
overflow: hidden !important;
margin-left: 0 !important;
margin-right: 0 !important;
transform: translateX(0) !important;
}
/* Ensure text content doesn't overflow */
h3, p {
max-width: 100% !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
/* Adjust status badges to prevent overflow */
.status-badge {
font-size: 10px !important;
padding: 2px 6px !important;
}
/* Fix any potential transform issues */
.animate-fade-in {
transform: translateX(0) !important;
}
}
/* Small mobile screens width adjustment for cards */
@media (max-width: 360px) {
/* Override grid layout completely for mobile */
#sources-container {
display: flex !important;
flex-direction: column !important;
align-items: end !important;
grid-template-columns: none !important;
width: 100% !important;
box-sizing: border-box !important;
max-width: 100% !important;
padding-left: 40px !important;
}
/* Set width for cards to fit within screen */
#sources-container > div,
.source-card {
width: 76% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
box-sizing: border-box !important;
overflow: hidden !important;
}
/* Ensure the card content stays within bounds */
.group.relative {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box !important;
overflow: hidden !important;
margin-left: 0 !important;
margin-right: 0 !important;
transform: translateX(0) !important;
}
/* Ensure text content doesn't overflow */
h3, p {
max-width: 100% !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
/* Adjust status badges to prevent overflow */
.status-badge {
font-size: 10px !important;
padding: 2px 6px !important;
}
/* Fix any potential transform issues */
.animate-fade-in {
transform: translateX(0) !important;
}
}
</style>
<link rel="stylesheet" href="./css/styles.css?v=1.0.6">
<script>
// Clear cache and force reload on first visit
if (!localStorage.getItem('cacheCleared')) {
// Clear all caches
if ('caches' in window) {
caches.keys().then(function(names) {
for (let name of names) caches.delete(name);
});
}
// Set a flag to prevent clearing on every page load
localStorage.setItem('cacheCleared', 'true');
// Force reload the page to ensure fresh content
window.location.reload(true);
}
</script>
<!-- Favicon -->
<link rel="icon" href="/favicon_48x48.png" type="image/png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon_32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon_16x16.png">
<link rel="shortcut icon" href="/favicon/favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/favicon.png">
<meta name="msapplication-TileImage" content="/favicon/favicon.png">
<meta name="msapplication-TileColor" content="#10b981">
<meta name="theme-color" content="#10b981">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<meta name="google-site-verification" content="IfxfsGr1vBDzJvp2_bhiKfrV6BN_kxRM56eMbKQ-r-4" />
<!-- Google tag (gtag.js) -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TMMPJ1FL95"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TMMPJ1FL95');
</script>
</head>
<body class="bg-gradient-to-br from-gray-900 to-black min-h-screen flex flex-col text-gray-100">
<!-- Preloader -->
<div id="preloader" class="fixed inset-0 z-[9999] bg-[#0A0A0A] transition-all duration-700 ease-in-out">
<!-- Particle Canvas -->
<canvas id="particleCanvas" class="absolute inset-0 w-full h-full"></canvas>
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2" style="width: 400px;">
<!-- Content container -->
<div class="relative bg-black/40 backdrop-blur-md border border-white/5 rounded-2xl p-6 transition-all duration-700 ease-in-out">
<div class="flex items-center gap-6">
<!-- Text and Progress -->
<div class="flex-1">
<!-- Loading text -->
<div class="mb-4">
<div class="loading-text-container">
<div class="loading-text-slider">
<h2 class="text-xl font-medium text-white">Carregando...</h2>
<h2 class="text-xl font-medium text-white">Loading...</h2>
<h2 class="text-xl font-medium text-white">Загрузка...</h2>
</div>
</div>
</div>
<!-- Progress bar -->
<div class="relative">
<div class="flex items-center justify-between mb-2">
<span class="text-white/50 text-sm">Progress</span>
<span class="loading-percentage text-sm font-medium text-emerald-400">0%</span>
</div>
<div class="h-1 w-full bg-white/5 rounded-full overflow-hidden">
<div class="loading-progress h-full w-0 bg-gradient-to-r from-emerald-500 via-emerald-400 to-emerald-500 rounded-full transition-all duration-300 ease-out"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
@keyframes fade-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideText {
0%, 25% {
transform: translateY(0);
}
33%, 58% {
transform: translateY(-40px);
}
66%, 91% {
transform: translateY(-80px);
}
100% {
transform: translateY(0);
}
}
/* Add animation classes */
.animate-fade-in {
animation: fade-in 0.5s ease-out forwards;
}
/* Add preloader specific styles */
.preloading {
overflow: hidden;
}
#preloader {
opacity: 1;
visibility: visible;
transform: scale(1);
transition: all 0.7s ease-in-out;
}
#preloader.hiding {
opacity: 0;
transform: scale(1.1);
}
.loading-progress {
transition: width 0.3s ease-out;
}
.loading-text-container {
height: 40px;
overflow: hidden;
position: relative;
}
.loading-text-slider {
position: absolute;
width: 100%;
animation: slideText 6s infinite ease-in-out;
}
.loading-text-slider h2 {
height: 40px;
line-height: 40px;
margin: 0;
padding: 0;
}
#particleCanvas {
pointer-events: none;
}
</style>
<!-- Cookie Consent -->
<div id="cookie-consent"
class="fixed bottom-0 left-0 right-0 bg-black/95 border-t border-white/5
transform translate-y-full transition-transform duration-300 z-50 hidden">
<div class="max-w-7xl mx-auto px-4 py-4 hidden">
<div class="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4">
<p class="text-white/70 text-sm" data-i18n="cookies.message">
We use cookies to track source usage and improve your experience.
</p>
<div class="flex items-center gap-3">
<button id="reject-cookies"
class="px-4 py-2 text-sm text-white/50 hover:text-white/70
transition-colors duration-200"
data-i18n="cookies.reject">
Reject All
</button>
<button id="accept-cookies"
class="px-4 py-2 rounded-lg bg-emerald-500/10 border border-emerald-500/20
text-emerald-400 hover:bg-emerald-500/20 transition-all duration-200
text-sm"
data-i18n="cookies.accept">
Accept All
</button>
</div>
</div>
</div>
</div>
<!-- Header -->
<header class="border-b border-white/5 backdrop-blur-sm bg-black/30 sticky top-0 z-50">
<div class="max-w-[1920px] w-full mx-auto px-4 py-3">
<nav class="flex items-center justify-between">
<div class="flex items-center gap-4">
<a href="./" class="flex items-center gap-2 hover:opacity-80 transition-opacity">
<i class="fas fa-book text-emerald-500 text-2xl"></i>
<h1 class="hidden sm:block text-lg md:text-xl font-medium" data-i18n="header.title">Hydra Library</h1>
</a>
<a href="./search.html" class="navbar-hide-mobile flex items-center gap-2 px-3 py-1.5 rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200">
<i class="fas fa-search text-sm"></i>
<span class="lg:inline text-sm">Search Games</span>
</a>
<a href="https://hydralibrary.featurebase.app/changelog" class="navbar-hide-mobile flex items-center gap-2 px-3 py-1.5 rounded-lg bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 hover:bg-emerald-500/20 transition-all duration-200 relative">
<i class="fas fa-clock-rotate-left text-sm"></i>
<span class="hidden lg:inline text-sm">Changelog</span>
</a>
</div>
<div class="flex items-center gap-2 md:gap-4 justify-end flex-1 max-w-[800px] ml-4">
<!-- Language Switcher -->
<div class="relative shrink-0 navbar-hide-mobile language-switcher-keep-visible">
<button id="language-switcher"
type="button"
class="w-[42px] lg:w-auto px-3 py-2 rounded-lg bg-white/5 border border-white/10
text-white/70 hover:bg-white/10 transition-all duration-200
flex items-center gap-1.5 text-sm">
<i class="fas fa-globe"></i>
<span class="hidden lg:inline">English</span>
</button>
<div id="language-dropdown"
class="absolute top-full mt-1 z-[100] hidden
bg-[#111]/90 backdrop-blur-sm border border-white/5
rounded-lg overflow-hidden w-[120px] sm:w-[100px]
shadow-lg shadow-black/50">
<button type="button"
class="w-full px-3 py-2 text-sm text-white/70 hover:bg-white/10
transition-all duration-200 text-left"
data-lang="en">
<span class="flex items-center gap-2">
<i class="fas fa-globe text-xs"></i>
<span>English</span>
</span>
</button>
<button type="button"
class="w-full px-3 py-2 text-sm text-white/70 hover:bg-white/10
transition-all duration-200 text-left"
data-lang="ru">
<span class="flex items-center gap-2">
<i class="fas fa-globe text-xs"></i>
<span>Русский</span>
</span>
</button>
<button type="button"
class="w-full px-4 py-2 text-sm text-white/70 hover:bg-white/10
transition-all duration-200 text-left"
data-lang="pt-br">
<span class="flex items-center gap-2">
<i class="fas fa-globe text-xs"></i>
<span>Português</span>
</span>
</button>
</div>
</div>
<div class="relative w-full min-w-[200px] max-w-[280px] lg:max-w-[320px] md:max-w-[400px] xl:max-w-[500px] flex-1">
<input type="text"
id="search"
placeholder="Search"
class="w-full bg-black/20 border border-white/5 rounded-lg
px-3 lg:px-4 py-1.5 lg:py-2
text-sm lg:text-base text-white/70 placeholder-white/40
focus:outline-none focus:border-emerald-500/20
focus:bg-black/30 transition-colors"
data-i18n-placeholder="header.searchMobile"
data-i18n-placeholder-desktop="header.search">
<i class="fas fa-search absolute right-4 top-1/2 -translate-y-1/2
text-white/40 pointer-events-none text-sm"></i>
</div>
<div class="flex items-center gap-2 shrink-0 ml-2 whitespace-nowrap">
<!-- Mobile Menu Button (moved to right side, hidden on desktop) -->
<button id="mobile-menu-btn" class="flex items-center justify-center w-10 h-10 rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200 navbar-mobile-only">
<i class="fas fa-bars"></i>
</button>
<a href="./about.html"
class="navbar-hide-mobile px-3 py-2 lg:px-4 rounded-lg bg-white/5 border border-white/10
text-white/70 hover:bg-white/10 transition-all duration-200
flex items-center justify-center lg:justify-start gap-1.5 text-sm shrink-0">
<i class="fas fa-info-circle"></i>
<span class="hidden lg:inline" data-i18n="header.about">About</span>
</a>
</button>
<button id="suggest-btn"
class="navbar-hide-mobile w-8 h-8 lg:w-auto lg:h-auto lg:px-4 lg:py-2 rounded-lg
bg-emerald-500/10 border border-emerald-500/20
text-emerald-400 hover:bg-emerald-500/20
transition-all duration-200
flex items-center justify-center lg:gap-2 text-xs lg:text-sm whitespace-nowrap">
<i class="fas fa-plus"></i>
<span class="hidden lg:inline" data-i18n="header.suggest">Suggest Source</span>
</button>
</div>
</div>
</nav>
</div>
</header>
<!-- Mobile Menu -->
<div id="mobile-menu" class="fixed inset-0 bg-black/90 backdrop-blur-sm z-50 hidden">
<div class="h-full flex flex-col">
<!-- Mobile Menu Header -->
<div class="border-b border-white/5 py-3 px-4">
<div class="flex items-center justify-between">
<div class="flex items-center gap-2">
<i class="fas fa-book text-emerald-500 text-2xl"></i>
<h1 class="text-lg font-medium text-white" data-i18n="header.title">Hydra Library</h1>
</div>
<button id="close-mobile-menu" class="w-10 h-10 flex items-center justify-center rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<!-- Mobile Menu Content -->
<div class="flex-1 overflow-y-auto py-6 px-4">
<div class="space-y-4">
<a href="./search.html" class="flex items-center gap-3 px-4 py-3 rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200">
<i class="fas fa-search"></i>
<span data-i18n="header.search">Search</span>
</a>
<a href="./about.html" class="flex items-center gap-3 px-4 py-3 rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200">
<i class="fas fa-info-circle"></i>
<span data-i18n="header.about">About</span>
</a>
<button id="mobile-suggest-btn" class="w-full flex items-center gap-3 px-4 py-3 rounded-lg bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 hover:bg-emerald-500/20 transition-all duration-200">
<i class="fas fa-plus"></i>
<span data-i18n="header.suggest">Suggest Source</span>
</button>
<a href="https://hydralibrary.featurebase.app/changelog" class="flex items-center gap-3 px-4 py-3 rounded-lg bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 hover:bg-emerald-500/20 transition-all duration-200">
<i class="fas fa-clock-rotate-left"></i>
<span>Changelog</span>
</a>
<a href="https://t.me/hydracommunityru" class="flex items-center gap-3 px-4 py-3 rounded-lg bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 hover:bg-emerald-500/20 transition-all duration-200">
<i class="fab fa-telegram"></i>
<span>Telegram(RU)</span>
</a>
<!-- Source Status Dropdown in Mobile Menu -->
<div class="mt-4 pt-4 border-t border-white/5">
<h2 class="text-l font-semibold mb-3 text-white/90">Sorting</h2>
<div class="w-full px-4 py-3 rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200">
<div class="flex items-center justify-between cursor-pointer" id="mobile-status-toggle">
<div class="flex items-center gap-3">
<i class="fas fa-shield"></i>
<span data-i18n="filters.status.title">Source Status</span>
</div>
<i class="fas fa-chevron-down transition-transform duration-200" id="mobile-status-chevron"></i>
</div>
<div class="mt-3 space-y-2 hidden" id="mobile-status-dropdown">
<button class="status-filter-btn w-full" data-status="Trusted">
<div class="flex items-center gap-3 p-2.5 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<div class="w-8 h-8 rounded-lg bg-emerald-500/10 border border-emerald-500/20 flex items-center justify-center">
<i class="fas fa-shield text-emerald-500 text-sm"></i>
</div>
<div class="flex items-center justify-between flex-1">
<span class="text-white/70 text-sm" data-i18n="filters.status.trusted">Trusted</span>
<span class="text-white/40">22</span>
</div>
</div>
</button>
<button class="status-filter-btn w-full" data-status="Safe For Use">
<div class="flex items-center gap-3 p-2.5 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<div class="w-8 h-8 rounded-lg bg-blue-500/10 border border-blue-500/20 flex items-center justify-center">
<i class="fas fa-check-circle text-blue-500 text-sm"></i>
</div>
<div class="flex items-center justify-between flex-1">
<span class="text-white/70 text-sm" data-i18n="filters.status.safeForUse">Safe For Use</span>
<span class="text-white/40">4</span>
</div>
</div>
</button>
<button class="status-filter-btn w-full" data-status="Use At Your Own Risk">
<div class="flex items-center gap-3 p-2.5 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<div class="w-8 h-8 rounded-lg bg-red-500/10 border border-red-500/20 flex items-center justify-center">
<i class="fas fa-exclamation-triangle text-red-500 text-sm"></i>
</div>
<div class="flex items-center justify-between flex-1">
<span class="text-white/70 text-sm" data-i18n="filters.status.useAtOwnRisk">Use At Your Own Risk</span>
<span class="text-white/40">2</span>
</div>
</div>
</button>
</div>
</div>
</div>
<!-- Sort Sources Dropdown in Mobile Menu -->
<div class="mt-2">
<div class="w-full px-4 py-3 rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200">
<div class="flex items-center justify-between cursor-pointer" id="mobile-sorting-toggle">
<div class="flex items-center gap-3">
<i class="fas fa-sort"></i>
<span data-i18n="filters.sort.title">Sort Sources</span>
</div>
<i class="fas fa-chevron-down transition-transform duration-200" id="mobile-sorting-chevron"></i>
</div>
<div class="mt-3 space-y-2 hidden" id="mobile-sorting-dropdown">
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="hot">
<i class="fas fa-fire text-[10px] text-red-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.hot">Hot (24h)</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="new">
<i class="fas fa-star text-[10px] text-amber-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.new">New</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="most-copies">
<i class="fas fa-copy text-[10px] text-emerald-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.mostCopies">Most Copies</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="most-installs">
<i class="fas fa-download text-[10px] text-emerald-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.mostInstalls">Most Installs</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="top-rated">
<i class="fas fa-star text-[10px] text-amber-400"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.topRated">Top Rated</span>
</button>
</div>
</div>
</div>
<!-- Games Count Dropdown in Mobile Menu -->
<div class="mt-2">
<div class="w-full px-4 py-3 rounded-lg bg-white/5 border border-white/10 text-white/70 hover:bg-white/10 transition-all duration-200">
<div class="flex items-center justify-between cursor-pointer" id="mobile-games-count-toggle">
<div class="flex items-center gap-3">
<i class="fas fa-gamepad"></i>
<span data-i18n="filters.gamesCount.title">Games Count</span>
</div>
<i class="fas fa-chevron-down transition-transform duration-200" id="mobile-games-count-chevron"></i>
</div>
<div class="mt-3 space-y-2 hidden" id="mobile-games-count-dropdown">
<button class="games-filter-btn w-full" data-min="0" data-max="999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range1">0-999</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">0</span>
</div>
</button>
<button class="games-filter-btn w-full" data-min="1000" data-max="4999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range2">1000-4999</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">4</span>
</div>
</button>
<button class="games-filter-btn w-full" data-min="5000" data-max="9999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range3">5000-9999</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">5</span>
</div>
</button>
<button class="games-filter-btn w-full" data-min="10000" data-max="999999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range4">10000+</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">0</span>
</div>
</button>
</div>
</div>
</div>
<!-- Language switcher removed from mobile menu - now using navbar language switcher -->
</div>
</div>
</div>
</div>
<!-- Suggest Modal -->
<div id="suggest-modal" class="fixed inset-0 bg-black/70 backdrop-blur-sm flex items-center justify-center z-50 hidden">
<div class="bg-[#111]/90 border border-white/5 rounded-xl p-6 max-w-2xl mx-4 animate-fade-in">
<div class="flex items-start justify-between gap-4 mb-6">
<div class="flex items-center gap-3">
<i class="fas fa-plus text-emerald-500 text-2xl"></i>
<h2 class="text-xl font-medium text-white" data-i18n="suggest.title">Suggest a Source</h2>
</div>
<button id="close-suggest" class="text-white/40 hover:text-white/70 transition-colors duration-200">
<i class="fas fa-times"></i>
</button>
</div>
<div class="space-y-4 text-white/70 text-sm leading-relaxed">
<p data-i18n="suggest.description">
Want to add a new source to Hydra Library? You can suggest it by creating an issue on our GitHub repository.
</p>
<div class="bg-red-500/10 border border-red-500/20 rounded-lg p-4 mb-4">
<h3 class="text-red-400 font-medium mb-2" data-i18n="suggest.requirements.title">Important Requirements:</h3>
<ul class="list-disc list-inside space-y-1">
<li data-i18n="suggest.requirements.jsonOnly">Only .json file links are accepted (e.g., repack-games.com/source.json)</li>
<li data-i18n="suggest.requirements.noWebsites">Website links are not accepted (e.g., repack-games.com)</li>
</ul>
</div>
<div class="bg-black/20 rounded-lg p-4 border border-white/5">
<h3 class="text-white font-medium mb-3" data-i18n="suggest.steps.title">How to Suggest a Source:</h3>
<ol class="list-decimal list-inside space-y-2">
<li data-i18n="suggest.steps.visit">Visit our GitHub repository issue page</li>
<li data-i18n="suggest.steps.newIssue">Click on "New Issue"</li>
<li data-i18n="suggest.steps.template">Select "Source Suggestion" template</li>
<li>
<span data-i18n="suggest.steps.fillInfo">Fill in the required information:</span>
<ul class="list-disc list-inside ml-4 mt-2 space-y-1 text-white/50">
<li data-i18n="suggest.steps.sourceUrl">Source URL (.json file)</li>
<li data-i18n="suggest.steps.sourceName">Source Name</li>
<li data-i18n="suggest.steps.description">Description</li>
<li data-i18n="suggest.steps.gamesCount">Approximate number of games</li>
</ul>
</li>
<li data-i18n="suggest.steps.submit">Submit the issue</li>
</ol>
</div>
<div class="flex justify-center mt-6">
<a href="https://github.com/Moyasee/HydraLibrary/issues/new?template=source-suggestion.md"
target="_blank" rel="noopener noreferrer"
class="bg-emerald-500/20 hover:bg-emerald-500/30 border border-emerald-500/30
text-emerald-400 font-medium rounded-lg px-6 py-3 text-sm transition-all duration-200
flex items-center justify-center gap-2">
<i class="fab fa-github"></i>
<span data-i18n="suggest.createIssue">Create Source Suggestion</span>
</a>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<main class="flex-1 px-4 py-3">
<div class="max-w-[1920px] mx-auto w-full min-h-[calc(100vh-12rem)] flex flex-col">
<div class="flex flex-row-reverse gap-6 flex-1">
<!-- Status Filters -->
<div id="filters-sidebar" class="w-[280px] shrink-0">
<div class="sticky top-20">
<!-- VPN Banner (Russian only)
<div id="vpn-banner" class="mb-2 cursor-pointer transition-all duration-300 hidden" onclick="window.open('https://t.me/vpnhydrabot', '_blank')">
<img src="favicon/hydravpn_button.jpg" alt="VPN Banner" class="w-full h-auto rounded-lg hover:opacity-80 transition-opacity duration-300" />
</div>
-->
<!-- Tutorial Section -->
<div id="tutorial-banner" class="mb-2 bg-[#111]/40 backdrop-blur-sm rounded-lg border border-white/5 p-5">
<div class="flex flex-col items-start gap-3">
<div class="flex items-center justify-between w-full">
<h3 class="text-sm font-medium text-white" data-i18n="tutorial.title">New here?</h3>
<button id="close-tutorial" class="text-white/40 hover:text-white/70 transition-colors duration-200">
<i class="fas fa-times"></i>
</button>
</div>
<p class="text-white/70 text-sm" data-i18n="tutorial.description">Check out a guide for the sources</p>
<a href="#"
onclick="event.preventDefault();
const currentLang = localStorage.getItem('locale') || 'en';
console.log('Current language detected:', currentLang);
let url = 'https://galinhaman.github.io/Hydra-Guide/';
if (currentLang === 'pt-br') {
url += 'download-sources.html';
console.log('Using Portuguese URL:', url);
} else if (currentLang === 'ru') {
url += 'ru/download-sources.html';
console.log('Using Russian URL:', url);
} else {
url += 'en/download-sources.html';
console.log('Using English URL:', url);
}
window.open(url, '_blank');"
class="w-full px-4 py-2 bg-emerald-500/10 hover:bg-emerald-500/20 border border-emerald-500/20 rounded-lg text-sm text-emerald-400 transition-all duration-200 text-center"
data-i18n="tutorial.button">Visit Guide</a>
</div>
</div>
<div class="bg-[#111]/40 backdrop-blur-sm rounded-lg border border-white/5 p-5">
<div class="pr-2">
<div class="flex flex-col gap-3">
<!-- Source Status section -->
<div class="filter-section">
<button class="flex items-center justify-between w-full mb-4 focus:outline-none group border border-white/10 rounded-lg p-3 transition-all duration-200 aria-expanded:border-transparent" data-section="status" aria-expanded="false">
<h3 class="text-sm font-medium text-white" data-i18n="filters.status.title">Source Status</h3>
<i class="fas fa-chevron-down text-white/50 text-xs transition-transform duration-200 transform group-data-\[expanded=true\]:rotate-180"></i>
</button>
<div class="filter-content flex flex-col gap-2 transition-all duration-300 ease-in-out overflow-hidden max-h-0">
<button class="status-filter-btn" data-status="Trusted">
<div class="flex items-center gap-3 p-2.5 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<div class="w-8 h-8 rounded-lg bg-emerald-500/10 border border-emerald-500/20 flex items-center justify-center">
<i class="fas fa-shield text-emerald-500 text-sm"></i>
</div>
<div class="flex items-center justify-between flex-1">
<span class="text-white/70 text-sm" data-i18n="filters.status.trusted">Trusted</span>
<span class="text-white/40">22</span>
</div>
</div>
</button>
<button class="status-filter-btn" data-status="Safe For Use">
<div class="flex items-center gap-3 p-2.5 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<div class="w-8 h-8 rounded-lg bg-blue-500/10 border border-blue-500/20 flex items-center justify-center">
<i class="fas fa-check-circle text-blue-500 text-sm"></i>
</div>
<div class="flex items-center justify-between flex-1">
<span class="text-white/70 text-sm" data-i18n="filters.status.safeForUse">Safe For Use</span>
<span class="text-white/40">4</span>
</div>
</div>
</button>
<button class="status-filter-btn" data-status="Use At Your Own Risk">
<div class="flex items-center gap-3 p-2.5 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<div class="w-8 h-8 rounded-lg bg-red-500/10 border border-red-500/20 flex items-center justify-center">
<i class="fas fa-exclamation-triangle text-red-500 text-sm"></i>
</div>
<div class="flex items-center justify-between flex-1">
<span class="text-white/70 text-sm" data-i18n="filters.status.useAtOwnRisk">Use At Your Own Risk</span>
<span class="text-white/40">2</span>
</div>
</div>
</button>
</div>
</div>
<!-- Sort Options -->
<div class="filter-section">
<button class="flex items-center justify-between w-full mb-4 focus:outline-none group border border-white/10 rounded-lg p-3 transition-all duration-200 aria-expanded:border-transparent" data-section="sort" aria-expanded="false">
<h3 class="text-sm font-medium text-white" data-i18n="filters.sort.title">Sort Sources</h3>
<i class="fas fa-chevron-down text-white/50 text-xs transition-transform duration-200 transform group-data-\[expanded=true\]:rotate-180"></i>
</button>
<div class="filter-content flex flex-col gap-2 transition-all duration-300 ease-in-out overflow-hidden max-h-0">
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="hot">
<i class="fas fa-fire text-[10px] text-red-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.hot">Hot (24h)</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="new">
<i class="fas fa-star text-[10px] text-amber-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.new">New</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="most-copies">
<i class="fas fa-copy text-[10px] text-emerald-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.mostCopies">Most Copies</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="most-installs">
<i class="fas fa-download text-[10px] text-emerald-500"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.mostInstalls">Most Installs</span>
</button>
<button class="sort-option w-full px-4 py-2 text-left text-xs text-white/70 hover:bg-white/10 transition-colors duration-200 flex items-center gap-2 rounded-lg border border-white/5 bg-black/20" data-sort="top-rated">
<i class="fas fa-star text-[10px] text-amber-400"></i>
<span class="text-white/70 text-sm" data-i18n="filters.sort.topRated">Top Rated</span>
</button>
</div>
</div>
<!-- Games Count section -->
<div class="filter-section">
<button class="flex items-center justify-between w-full mb-4 focus:outline-none group border border-white/10 rounded-lg p-3 transition-all duration-200 aria-expanded:border-transparent" data-section="games-count" aria-expanded="false">
<h3 class="text-sm font-medium text-white" data-i18n="filters.gamesCount.title">Games Count</h3>
<i class="fas fa-chevron-down text-white/50 text-xs transition-transform duration-200 transform group-data-\[expanded=true\]:rotate-180"></i>
</button>
<div class="filter-content flex flex-col gap-2 transition-all duration-300 ease-in-out overflow-hidden max-h-0">
<button class="games-filter-btn" data-min="0" data-max="999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range1">0-999</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">0</span>
</div>
</button>
<button class="games-filter-btn" data-min="1000" data-max="4999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range2">1000-4999</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">4</span>
</div>
</button>
<button class="games-filter-btn" data-min="5000" data-max="9999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range3">5000-9999</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">5</span>
</div>
</button>
<button class="games-filter-btn" data-min="10000" data-max="999999">
<div class="flex items-center gap-2 p-2 rounded-lg border border-white/5 bg-black/20 hover:bg-black/40 transition-all duration-200">
<span class="text-white/90 text-sm" data-i18n="filters.gamesCount.range4">10000+</span>
<div class="flex-1 h-1 bg-white/5 rounded-full overflow-hidden">
<div class="h-full w-0 bg-emerald-500/50 rounded-full"></div>
</div>
<span class="text-white/40 text-xs">0</span>
</div>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Sources Grid -->
<div class="flex-1">
<!-- Mobile/Tablet Filter Button -->
<div class="hidden">
<button id="mobile-filters-btn"
class="w-full bg-[#111]/40 backdrop-blur-sm rounded-lg text-sm text-white/70 hover:bg-[#111]/60 transition-all duration-200 flex items-center justify-between cursor-pointer">
</button>
</div>
<div id="sources-container"
class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 min-h-[200px]">
</div>
<!-- Pagination -->
<div class="mt-4 flex justify-center">
<div id="pagination" class="inline-flex items-center gap-1 bg-[#111]/40 backdrop-blur-sm border border-white/5 rounded-lg p-1">
<!-- Pagination content -->
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Mobile Filters Modal -->
<script>
// Tutorial banner handling
document.addEventListener('DOMContentLoaded', function() {
const tutorialBanner = document.getElementById('tutorial-banner');
const closeTutorialBtn = document.getElementById('close-tutorial');
// Check if the tutorial has been closed before
if (localStorage.getItem('tutorialClosed')) {
tutorialBanner.style.display = 'none';
}
// Handle tutorial close button
closeTutorialBtn.addEventListener('click', function() {
tutorialBanner.style.display = 'none';
localStorage.setItem('tutorialClosed', 'true');