-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
815 lines (710 loc) · 19.4 KB
/
Copy pathstyle.css
File metadata and controls
815 lines (710 loc) · 19.4 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
/* style.css */
/* Define default (dark) theme variables */
:root {
--primary-color: #50b8e7; /* Azul suave tipo ola */
--secondary-color: #8bd5f7; /* Un tono más claro del primary para hover/animaciones */
--background-color: #0f0f0f;
--header-bg: rgba(20, 42, 56, 0.9);
--card-bg: #142a38; /* Fondo de las tarjetas y secciones */
--text-color: #ffffff;
--text-light-subtle: #c0c0c0; /* Para texto secundario como taglines */
--footer-bg: #0a0a0a;
--legal-border: #333;
--section-bg: #142a38; /* General section background */
--light-section-bg: #0f0f0f; /* For legal sections */
/* Variables para los botones secundarios (Solo "Support Server" ahora: .btn) */
--btn-bg-color: #5865f2; /* Azul Discord */
--btn-text-color: white;
--btn-hover-bg-color: #7289da; /* Azul Discord más claro al hover */
--btn-shadow-color: rgba(0, 0, 0, 0.4); /* Sombra para los botones .btn */
--font-main: 'Rubik', sans-serif;
--font-accent: 'Orbitron', sans-serif;
/* RGB values for dynamic shadows - essential for theme-aware shadows */
--primary-color-rgb-values: 80, 184, 231; /* RGB of #50b8e7 */
--card-bg-rgb-values: 20, 42, 56; /* RGB of #142a38 */
/* Variables for the switch colors (Dark Mode defaults) */
--switch-background-unchecked: #28096b; /* Dark purple */
--switch-background-checked: #522ba7; /* Lighter purple when checked */
--switch-sun-moon-color: #fff000; /* Yellow for sun/moon */
}
/* Light theme variables */
body.light-mode {
--primary-color: #007bff; /* A different blue for light mode */
--secondary-color: #3399ff; /* A lighter primary for hover/animations */
--background-color: #f5f5f5;
--header-bg: rgba(245, 245, 245, 0.9);
--card-bg: #e0e0e0;
--text-color: #000000;
--text-light-subtle: #444444;
--footer-bg: #ccc;
--legal-border: #bbb;
--section-bg: #f0f0f0;
--light-section-bg: #f5f5f5;
/* Variables para los botones secundarios (Solo "Support Server" ahora: .btn) en Light Mode */
--btn-bg-color: #5865f2; /* Azul Discord en light mode */
--btn-text-color: white;
--btn-hover-bg-color: #7289da;
--btn-shadow-color: rgba(0, 0, 0, 0.1); /* Sombra más clara en modo claro */
/* RGB values for dynamic shadows in light mode */
--primary-color-rgb-values: 0, 123, 255; /* RGB of #007bff */
--card-bg-rgb-values: 224, 224, 224; /* RGB of #e0e0e0 */
/* Variables for the switch colors (Light Mode defaults) */
--switch-background-unchecked: #A0A0A0; /* Gray for unchecked in light mode */
--switch-background-checked: #4CAF50; /* Green when checked in light mode */
--switch-sun-moon-color: #FFD700; /* Gold for sun/moon in light mode */
}
body {
margin: 0;
font-family: var(--font-main);
background-color: var(--background-color);
color: var(--text-color);
scroll-behavior: smooth;
transition: background-color 0.3s ease, color 0.3s ease;
line-height: 1.6;
}
header {
background-color: var(--header-bg);
padding: 20px 40px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
h1, h2, h3, h4 {
font-family: var(--font-accent);
color: var(--text-color);
margin-bottom: 20px;
text-align: center;
}
h1 span {
color: var(--primary-color);
}
a {
color: var(--primary-color);
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: var(--secondary-color);
}
.logo {
font-family: var(--font-accent);
font-size: 1.8rem;
color: var(--primary-color);
text-transform: uppercase;
animation: logoFadeIn 2s ease;
}
nav {
flex-grow: 1;
text-align: center;
}
nav a {
margin: 0 15px;
font-weight: 500;
font-size: 1.1em;
position: relative;
color: var(--text-color);
}
nav a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: var(--primary-color);
transition: width 0.3s ease-out;
}
nav a:hover::after,
nav a.active-link::after {
width: 100%;
}
.state p {
display: flex;
align-items: center;
justify-content: center;
}
.state .icon {
position: absolute;
left: 0;
top: 0;
bottom: 0;
margin: auto;
transform: scale(1.25);
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary); /* Color del icono */
}
.state .icon svg {
overflow: visible;
}
/* Outline */
.outline {
position: absolute;
border-radius: inherit;
overflow: hidden;
z-index: 1;
inset: 0;
opacity: 0;
pointer-events: none;
}
.outline::before {
content: "";
position: absolute;
inset: -100%;
background: conic-gradient(
from 180deg,
transparent 60%,
white 80%,
transparent 100%
);
animation: spin 2s linear infinite;
animation-play-state: paused;
}
.button:hover .outline {
opacity: 1;
}
.button:hover .outline::before {
animation-play-state: running;
}
/* Letters */
.state p span {
display: block;
opacity: 0;
animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
color: black; /* Color del texto del botón por defecto */
}
.button:hover p span {
opacity: 1;
animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.button:focus p span,
.button:active p span { /* Usar :active también */
opacity: 1;
animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes slideDown {
0% {
opacity: 0;
transform: translateY(-20px) translateX(5px) rotate(-90deg);
color: var(--primary);
filter: blur(5px);
}
30% {
opacity: 1;
transform: translateY(4px) translateX(0) rotate(0);
filter: blur(0);
}
50% {
opacity: 1;
transform: translateY(-3px) translateX(0) rotate(0);
}
100% {
opacity: 1;
transform: translateY(0) translateX(0) rotate(0);
}
}
/* Plane (Icon) */
.state--default .icon svg {
animation: land 0.6s ease forwards;
}
.button:hover .state--default .icon {
transform: rotate(45deg) scale(1.25);
}
.button:focus .state--default svg,
.button:active .state--default svg { /* Usar :active también */
animation: takeOff 0.8s linear forwards;
}
.button:focus .state--default .icon,
.button:active .state--default .icon { /* Usar :active también */
transform: rotate(0) scale(1.25);
}
/* Contrail */
.state--default .icon:before {
content: "";
position: absolute;
top: 50%;
height: 2px;
width: 0;
left: -5px;
background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.button:focus .state--default .icon:before,
.button:active .state--default .icon:before { /* Usar :active también */
animation: contrail 0.8s linear forwards;
}
/* States */
.state {
padding-left: 29px;
z-index: 2;
display: flex;
position: relative;
width: 100%; /* Asegurarse de que el estado ocupe todo el ancho del botón */
height: 100%; /* Asegurarse de que el estado ocupe toda la altura del botón */
align-items: center;
justify-content: center;
}
.state--default span:nth-child(4) {
margin-right: 5px;
}
.state--sent {
display: none; /* Estado oculto por defecto */
}
.state--sent svg {
transform: scale(1.25);
margin-right: 8px;
color: var(--primary); /* Color del checkmark */
}
.button:focus .state--default,
.button:active .state--default { /* Usar :active también */
position: absolute;
opacity: 0; /* Ocultar el estado default al hacer click/focus */
transform: scale(0.8); /* Pequeña escala para la transición */
transition: opacity 0.3s ease, transform 0.3s ease;
}
.button:focus .state--sent,
.button:active .state--sent { /* Usar :active también */
display: flex; /* Mostrar el estado sent al hacer click/focus */
opacity: 1; /* Asegurar que se vea */
transform: scale(1); /* Volver a la escala normal */
transition: opacity 0.3s ease, transform 0.3s ease;
}
.button:focus .state--sent span,
.button:active .state--sent span { /* Usar :active también */
opacity: 0;
animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
color: black; /* Color del texto del estado sent */
}
.button:focus .state--sent .icon svg,
.button:active .state--sent .icon svg { /* Usar :active también */
opacity: 0;
animation: appear 1.2s ease forwards 0.8s;
}
.rainbow-hover {
font-size: 16px;
font-weight: 700;
color: #ff7576; /* Color del texto base (aunque será cubierto por el gradiente) */
background-color: #2B3044; /* Fondo del botón */
border: none;
outline: none;
cursor: pointer;
padding: 12px 24px;
position: relative;
line-height: 24px;
border-radius: 9px;
box-shadow: 0px 1px 2px #2B3044,
0px 4px 16px #2B3044;
transform-style: preserve-3d;
transform: scale(var(--s, 1)) perspective(600px)
rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
perspective: 600px;
transition: transform 0.1s;
/* Añadir margen para centrar si es necesario, similar a .button anterior */
margin: 40px auto 20px auto;
display: block; /* Para que ocupe su propia línea y se pueda centrar con margin: auto */
width: fit-content; /* Para que el ancho se ajuste al contenido */
text-decoration: none; /* Asegurar que no tenga subrayado como un enlace */
}
.sp {
background: linear-gradient(
90deg,
#866ee7, /* Morado */
#ea60da, /* Rosa */
#ed8f57, /* Naranja */
#fbd41d, /* Amarillo */
#2cca91 /* Verde */
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
display: block;
text-fill-color: transparent;
}
.rainbow-hover:active {
transition: 0.3s;
transform: scale(0.93);
}
/* --- ESTILO PARA BOTONES SECUNDARIOS (Soporte Server: .btn) --- */
.btn {
position: relative;
font-size: 17px;
text-transform: uppercase;
text-decoration: none;
padding: 1em 2.5em;
display: inline-block;
cursor: pointer;
border-radius: 6em; /* Redondeado como en tu original */
transition: all 0.2s;
border: none;
font-family: inherit;
font-weight: 500;
color: var(--btn-text-color);
background-color: var(--btn-bg-color);
margin-top: 30px; /* Para separar de otros elementos */
margin-right: 15px; /* Espacio entre botones */
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px var(--btn-shadow-color);
background-color: var(--btn-hover-bg-color); /* Fondo en hover */
}
.btn:active {
transform: translateY(-1px);
box-shadow: 0 5px 10px var(--btn-shadow-color);
}
.btn::after {
content: "";
display: inline-block;
height: 100%;
width: 100%;
border-radius: 100px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
transition: all 0.4s;
background-color: var(--btn-bg-color); /* Fondo del ::after igual al principal */
}
.btn:hover::after {
transform: scaleX(1.4) scaleY(1.6);
opacity: 0;
}
/* Theme Toggle Switch */
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 28px;
margin-left: 20px; /* Margen a la izquierda del switch */
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--switch-background-unchecked);
transition: .4s;
border-radius: 28px;
}
.slider:before {
position: absolute;
content: "";
height: 20px;
width: 20px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
box-shadow: inset 8px -4px 0px 0px var(--switch-sun-moon-color); /* Para el efecto sol/luna */
background: var(--switch-background-unchecked); /* Mismo que el slider para el inicio */
}
input:checked + .slider {
background-color: var(--switch-background-checked);
}
input:focus + .slider {
box-shadow: 0 0 1px var(--primary-color);
}
input:checked + .slider:before {
transform: translateX(22px);
box-shadow: inset 15px -4px 0px 15px var(--switch-sun-moon-color); /* Efecto luna */
background-color: var(--switch-background-checked); /* Asegura que el círculo coincida */
}
/* Sections */
.hero, .about, .features, .cta, .legal, .reviews {
padding: 60px 20px;
text-align: center;
margin-bottom: 40px;
border-radius: 18px; /* Valor fijo para consistencia */
background-color: var(--card-bg); /* Volviendo a card-bg para los fondos de sección */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.tagline {
font-size: 1.2em;
color: var(--text-light-subtle);
margin-bottom: 40px;
}
.intro-features {
margin-top: 50px;
padding: 2.5rem; /* Mantener padding original */
background-color: var(--card-bg); /* Usar card-bg para el fondo de intro-features */
border-radius: 18px;
box-shadow: 0 5px 20px rgba(0,0,0,0.4);
max-width: 950px;
margin-left: auto;
margin-right: auto;
}
.intro-features h3 {
font-family: var(--font-accent);
color: var(--primary-color);
font-size: 2rem;
margin-bottom: 1rem;
}
.intro-features p {
font-size: 1.1em;
margin-bottom: 2rem;
max-width: none;
}
.intro-feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Mantener min-width de 280px */
gap: 30px; /* Mantener el gap original */
margin-top: 30px;
}
.intro-card {
background-color: var(--background-color); /* Fondo del card */
padding: 25px;
border-radius: 15px; /* Mantener redondeo */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Sombra */
border: 1px solid var(--text-light-subtle); /* Borde sutil */
text-align: left; /* Alineación del texto */
color: var(--text-color);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.intro-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(var(--primary-color-rgb-values), 0.5);
}
.intro-card h4 {
color: var(--primary-color);
margin-bottom: 10px;
}
.intro-card p {
font-size: 1em;
line-height: 1.5;
max-width: none;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 30px;
}
.card {
background-color: var(--card-bg); /* Fondo de la tarjeta de Features */
padding: 30px;
border-radius: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Sombra más fuerte */
text-align: left;
border: 1px solid var(--text-light-subtle); /* Borde sutil */
color: var(--text-color);
transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
}
.card:hover {
transform: translateY(-15px) scale(1.02);
box-shadow: 0 10px 30px rgba(var(--primary-color-rgb-values), 0.8);
background-color: color-mix(in srgb, var(--card-bg) 90%, var(--primary-color));
}
.card h3 {
color: var(--primary-color);
margin-bottom: 15px;
}
/* Legal sections */
.legal-content {
text-align: left;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: var(--background-color);
border-radius: 18px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.legal-content h3 {
color: var(--primary-color);
margin-top: 30px;
margin-bottom: 10px;
text-align: left;
}
.legal-content ul {
list-style-type: disc;
margin-left: 25px;
margin-bottom: 20px;
}
.legal-content li {
margin-bottom: 10px;
}
.legal-content p {
margin-bottom: 15px;
}
.legal-content .last-updated {
font-style: italic;
text-align: right;
color: var(--text-light-subtle);
margin-top: 30px;
}
/* Reviews Section */
.reviews {
padding: 60px 20px;
text-align: center;
margin-bottom: 40px;
border-radius: 18px;
background-color: var(--card-bg);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.review-placeholder {
margin-top: 30px;
padding: 20px;
background-color: var(--background-color);
border-radius: 18px;
border: 1px dashed var(--text-light-subtle);
color: var(--text-light-subtle);
}
/* Footer */
footer {
background-color: var(--footer-bg);
padding: 20px;
text-align: center;
color: var(--text-light-subtle);
border-top: 1px solid var(--text-light-subtle);
margin-top: 40px;
}
footer a {
color: var(--text-light-subtle);
margin: 0 10px;
}
footer a:hover {
color: var(--primary-color);
}
/* Responsive adjustments */
@media (max-width: 768px) {
header {
flex-direction: column;
padding: 15px 20px;
}
.logo {
margin-bottom: 15px;
}
nav {
margin-bottom: 15px;
}
nav a {
margin: 0 10px;
font-size: 1em;
}
.hero, .about, .features, .cta, .legal, .reviews {
padding: 40px 15px;
}
.intro-feature-grid, .feature-grid {
grid-template-columns: 1fr;
}
.button {
width: 100%; /* Make button full width on smaller screens */
}
.btn {
display: block; /* Convertir a bloque para que ocupen su propia línea */
width: calc(100% - 30px); /* Ajustar ancho para padding */
margin: 15px auto; /* Centrar y añadir margen */
}
}
@media (max-width: 480px) {
.logo {
font-size: 1.5em;
}
nav a {
margin: 0 5px;
font-size: 0.9em;
}
h1 {
font-size: 2em;
}
}
/* Animaciones */
@keyframes logoFadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
nav a {
color: var(--text-color);
margin-left: 1.5rem;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
}
nav a:hover {
color: var(--primary-color);
}
/* Base style for sections - hidden by default */
section {
display: none; /* Hide all sections by default */
padding: 4rem 2rem;
opacity: 0; /* For fade-in animation */
transform: translateY(20px); /* For slide-up animation */
transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Smooth transition */
background-color: var(--section-bg); /* Default section background */
color: var(--text-color);
}
/* Specific section backgrounds and alignment */
.hero {
background: linear-gradient(to bottom, var(--background-color), var(--section-bg));
text-align: center;
}
.about, .cta, .legal {
background-color: var(--light-section-bg);
text-align: center; /* Centrado para H2 y párrafos principales */
}
.features {
background-color: var(--section-bg);
text-align: center; /* Centrado para H2 */
}
.legal .legal-content { /* Contenedor para el texto legal para mantener el ancho */
max-width: 900px;
margin: 2rem auto;
text-align: left; /* Alineación del texto dentro del contenido legal */
line-height: 1.8; /* Mayor espacio entre líneas para legibilidad */
font-size: 0.95rem;
}
.legal .legal-content h3 {
color: var(--primary-color);
margin-top: 2rem;
margin-bottom: 0.8rem;
font-size: 1.5rem;
text-align: left; /* Títulos de subsección alineados a la izquierda */
}
.legal .legal-content ul {
list-style-type: disc;
margin-left: 20px;
margin-bottom: 1rem;
text-align: left;
}
.legal .legal-content ul li {
margin-bottom: 0.5rem;
}
.legal .legal-content p.last-updated {
font-style: italic;
font-size: 0.85rem;
text-align: right;
margin-top: 2rem;
color: var(--text-light-subtle);
}
/* Active section styling */
section.active-section {
display: block; /* Show the active section */
opacity: 1;
transform: translateY(0);
}
.hero h1 span {
color: var(--primary-color);
font-family: var(--font-accent);
animation: fadeInColor 3s ease infinite alternate;
}
@keyframes fadeInColor {
from { opacity: 0.7; }
to { opacity: 1; color: var(--secondary-color); }
}
.tagline {
font-size: 1.3em;
margin-bottom: 2rem;
color: var(--text-light-subtle);
}