-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
762 lines (670 loc) · 17.5 KB
/
Copy pathstyles.css
File metadata and controls
762 lines (670 loc) · 17.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
/* styles.css */
/* Variables de color - Mantenemos la base */
:root {
--color-primary: #0b2545; /* Azul muy oscuro (texto / principal) */
--color-accent: #ff6b6b; /* Coral suave (acentos) */
--color-highlight: #06b6d4; /* Turquesa para detalles secundarios */
--color-secondary: #7c3aed; /* Morado secundario (usado en decoraciones) */
--color-text: #0f1724;
--color-text-light: #6b7280;
--color-background: #f6f8fb;
--color-card-background: #ffffff;
--color-nav-background: rgba(255, 255, 255, 0.82);
--color-shadow: rgba(11, 37, 69, 0.06);
--color-deep-shadow: rgba(11, 37, 69, 0.18);
--glass: rgba(255,255,255,0.6);
}
/* Estilos Generales y Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
perspective: 1000px; /* Habilitar perspectiva 3D a nivel de página */
}
body {
font-family: 'Poppins', sans-serif;
line-height: 1.6;
color: var(--color-text);
background-color: var(--color-background);
overflow-x: hidden; /* Evitar desplazamiento horizontal por efectos 3D */
}
/* Tipografía */
h1, h2, h3 {
font-weight: 800;
margin-bottom: 0.5em;
color: var(--color-primary);
}
h2 {
font-size: 3rem; /* Más grande */
text-align: center;
margin-bottom: 3rem; /* Más espacio */
position: relative;
text-transform: uppercase;
letter-spacing: 2px;
}
h2::after {
content: '';
display: block;
width: 80px;
height: 6px;
background-color: var(--color-secondary);
margin: 0.5rem auto 0;
border-radius: 3px;
box-shadow: 0 2px 5px var(--color-deep-shadow);
}
a {
text-decoration: none;
color: var(--color-primary);
transition: color 0.3s ease;
}
a:hover {
color: var(--color-secondary);
}
.container {
max-width: 1280px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* --- Animación de entrada para secciones --- */
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.card-section {
padding: 6rem 1.5rem;
margin-top: -1px;
transform-style: preserve-3d;
opacity: 0;
transform: translateY(50px);
transition: opacity 0.6s cubic-bezier(.2,.9,.3,1), transform 0.6s cubic-bezier(.2,.9,.3,1);
scroll-margin-top: 110px; /* Offset para la barra de navegación sticky */
}
/* Añadido: evitar que el sticky nav tape las secciones al hacer jump */
.card-section {
/* ...existing styles... */
scroll-margin-top: 110px; /* Offset para la barra de navegación sticky */
}
.card-section.visible {
opacity: 1;
transform: translateY(0);
/* Animación de entrada
animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
*/
}
/* --- NAV (Barra de Navegación) --- */
nav {
position: sticky;
top: 0;
z-index: 1000;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
background-color: var(--color-nav-background);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.brand {
font-size: 1.75rem;
font-weight: 900;
}
.nav-links {
transition: transform 0.3s ease;
}
.nav-links a {
margin-left: 1rem;
font-weight: 700;
color: var(--color-text);
padding: 0.5rem 0.9rem;
border-radius: 10px;
transition: transform 220ms ease, background 300ms ease, color 300ms ease;
}
/* Nav: estado activo */
.nav-links a.active {
background: linear-gradient(90deg, var(--color-accent), var(--color-highlight));
color: white;
box-shadow: 0 8px 30px rgba(11, 37, 69, 0.12);
transform: translateY(-6px);
}
.nav-links a:hover,
.nav-links a:focus {
background: linear-gradient(90deg, rgba(124,58,237,0.12), rgba(6,182,212,0.06));
color: var(--color-primary);
transform: translateY(-3px) scale(1.02);
}
.nav-toggle {
display: none;
}
/* --- BOTÓN REUTILIZABLE (btn-primary) --- */
.btn-primary {
display: inline-block;
background-color: var(--color-accent);
color: white;
padding: 0.75rem 2rem;
border-radius: 50px;
font-weight: 700;
letter-spacing: 0.5px;
font-size: 1.05rem;
transition: all 0.32s cubic-bezier(.2,.9,.3,1);
box-shadow: 0 8px 30px rgba(11,37,69,0.08);
border: 2px solid rgba(255,255,255,0.14);
}
.btn-primary:hover {
background: linear-gradient(90deg, var(--color-highlight), var(--color-accent));
transform: translateY(-4px) scale(1.02);
color: white;
}
/* --- HEADER (Hero) - Profundidad Visual --- */
.header-wrap {
position: relative;
height: 90vh;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
margin-bottom: 2rem;
padding-top: 5rem;
clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%); /* Efecto de corte diagonal */
}
.header-media img {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
z-index: 1;
transform: scale(1.05); /* Ligeramente más grande para efecto Parallax/3D */
transition: transform 0.5s ease;
}
.header-wrap:hover .header-media img {
transform: scale(1.03) rotateZ(0.5deg);
}
.header-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(11,37,69,0.75) 0%, rgba(255,107,107,0.65) 100%);
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
}
.header-content {
color: white;
z-index: 3;
padding: 1rem;
max-width: 800px;
transform-style: preserve-3d;
transform: translateZ(50px); /* Darle profundidad 3D al contenido */
}
.header-content h1 {
font-size: 5rem;
color: white;
text-shadow: 0 5px 15px var(--color-deep-shadow);
}
.header-content p {
font-size: 1.5rem;
margin-bottom: 2rem;
font-weight: 300;
}
/* Estilo para el subtítulo animado */
.header-subtitle {
border-right: 4px solid white; /* Cursor parpadeante */
padding-right: 4px;
animation: blink-cursor 0.75s step-end infinite;
display: inline-block; /* Para que el borde se vea bien */
}
@keyframes blink-cursor {
from, to { border-color: transparent }
50% { border-color: white; }
}
.header-content a.btn-primary {
border: 3px solid white;
}
.header-content a.btn-primary:hover {
transform: scale(1.05) rotateX(5deg); /* Sobreescribe el hover genérico */
}
/* --- CARD SECTIONS y GRID (Neumorfismo Suave) --- */
.card-section {
padding: 6rem 1.5rem;
margin-top: -1px;
transform-style: preserve-3d;
opacity: 0;
transform: translateY(50px);
transition: opacity 0.6s cubic-bezier(.2,.9,.3,1), transform 0.6s cubic-bezier(.2,.9,.3,1);
scroll-margin-top: 110px; /* Offset para la barra de navegación sticky */
}
.card {
background-color: var(--color-card-background);
padding: 1.5rem;
border-radius: 20px;
/* Estilo Neumórfico suave */
box-shadow:
6px 6px 12px rgba(174, 174, 192, 0.4), /* Sombra más suave */
-6px -6px 12px rgba(255, 255, 255, 0.8),
inset 0 0 5px rgba(0, 0, 0, 0.05);
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
transform: translateZ(0);
overflow: hidden;
}
.card:hover {
transform: translateZ(10px) translateY(-5px);
/* Sombra de hover más sutil */
box-shadow:
10px 10px 20px var(--color-shadow),
-10px -10px 20px rgba(255, 255, 255, 1),
0 0 0 5px var(--color-secondary) inset;
}
.grid {
display: grid;
gap: 2rem;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* --- SECCIÓN TIENDA / MERCH (Con Likes) --- */
.store-page h2 {
margin-top: 0;
padding-top: 3rem;
}
.merch-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.merch-card img {
width: 100%;
max-height: 300px; /* Aumento la altura para imágenes de ropa */
object-fit: contain; /* Para que la imagen se ajuste sin deformarse */
margin-bottom: 1rem;
border-radius: 8px;
/* Borde sutil para separar la imagen del fondo blanco de la tarjeta */
border: 1px solid #eee;
padding: 10px;
}
.merch-card .buy-btn {
/* Estilo específico para el botón de comprar, diferente al btn-primary */
background-color: var(--color-primary);
color: white;
border: none;
padding: 0.5rem 1.5rem;
border-radius: 50px;
cursor: pointer;
font-weight: 600;
margin-top: 1rem;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(90, 24, 154, 0.4);
width: 100%; /* Ocupa todo el ancho */
}
.merch-card .buy-btn:hover {
background-color: #7B2CBF;
transform: translateY(-3px) scale(1.02);
}
.like-dislike-wrap {
display: flex;
justify-content: space-between; /* Distribuye espacio entre like y dislike */
width: 100%;
margin-top: 1rem;
padding: 0 1rem;
}
/* Estilo Base para Like/Dislike */
.like-btn, .dislike-btn {
font-size: 1.1rem; /* Tamaño más sutil */
cursor: pointer;
transition: all 0.3s ease, transform 0.2s ease;
display: flex;
align-items: center;
gap: 8px;
font-weight: 600;
padding: 0.5rem 1rem;
border-radius: 50px;
background-color: var(--color-background); /* Fondo suave */
box-shadow: 2px 2px 5px var(--color-shadow);
border: none; /* Asegurar que es un botón sin borde */
}
.like-btn:hover, .dislike-btn:hover {
transform: translateY(-2px);
box-shadow: 4px 4px 8px var(--color-shadow);
}
.like-btn span, .dislike-btn span {
font-size: 1rem;
color: var(--color-primary); /* Color de texto del número */
font-weight: 800;
}
/* Estado Activo (Like) */
.like-btn.active {
background-color: #ff000030; /* Fondo rojo claro */
color: #ff0000;
animation: pulse 0.5s 1;
}
.like-btn.active span {
color: #ff0000;
}
/* Estilo y Estado Activo (Dislike) */
.dislike-btn {
color: var(--color-text-light); /* Gris suave por defecto */
}
.dislike-btn.active {
background-color: #007bff30; /* Fondo azul claro (para un contraste) */
color: #007bff;
animation: pulse 0.5s 1;
}
.dislike-btn.active span {
color: #007bff;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
/* --- SECCIÓN ANUNCIOS Y RECUERDOS (Media Galleries) --- */
.gallery .card {
padding: 0;
box-shadow: none;
background-color: transparent;
transform: none;
}
.gallery .card:hover {
transform: none;
box-shadow: none;
}
.gallery img, .gallery video {
width: 100%;
height: 100%;
display: block;
border-radius: 12px;
object-fit: cover;
box-shadow: 0 4px 15px var(--color-shadow); /* Sombra suave a la media */
transition: transform 0.3s ease;
}
.gallery img:hover, .gallery video:hover {
transform: scale(1.02);
}
/* CAROUSEL - Estilo para el funcionamiento con JS */
.carousel {
position: relative;
overflow: hidden;
max-width: 800px;
margin: 0 auto;
}
.carousel-inner {
display: flex;
flex-wrap: nowrap;
transition: transform 0.5s ease-in-out;
}
.carousel-inner .card {
min-width: 100%;
flex-shrink: 0;
margin: 0;
box-shadow: none;
background-color: transparent;
border-radius: 0;
}
.carousel-inner .card img, .carousel-inner .card video {
max-height: 400px;
width: 100%;
border-radius: 12px;
box-shadow: 0 8px 20px var(--color-shadow);
}
.carousel-control {
all: unset; /* Resetear todos los estilos por defecto del botón */
display: block;
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(255, 255, 255, 0.8);
color: var(--color-primary);
padding: 1rem 0.5rem;
cursor: pointer;
z-index: 10;
font-size: 2rem;
border-radius: 5px;
transition: all 0.3s ease;
width: 40px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
line-height: 1; /* Para centrar correctamente el texto/símbolo */
}
.carousel-control:hover {
background-color: var(--color-secondary);
color: white;
}
.carousel-control.prev {
left: 10px;
}
.carousel-control.next {
right: 10px;
}
/* --- SECCIÓN CONTADORES (Flipping Effect) --- */
.counter-wrap {
display: flex;
justify-content: space-around;
gap: 2rem;
padding: 2rem 0;
}
.counter-box {
text-align: center;
flex-basis: 30%;
background-color: var(--color-card-background);
padding: 2rem;
border-radius: 15px;
box-shadow: 0 10px 30px var(--color-shadow);
transform-style: preserve-3d;
transition: transform 0.5s ease;
}
.counter-box:hover {
transform: rotateX(5deg) scale(1.05); /* Microinteracción 3D */
}
.counter-icon {
font-size: 2.5rem;
display: block;
margin-bottom: 0.5rem;
color: var(--color-primary);
text-shadow: 0 0 5px var(--color-secondary);
}
.counter {
font-size: 4rem;
font-weight: 800;
color: var(--color-secondary);
display: block;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
/* --- FOOTER y Scroll Top --- */
footer {
background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
color: white;
padding: 2.5rem 1rem;
text-align: center;
font-size: 0.95rem;
}
footer a { color: rgba(255,255,255,0.9); }
footer a:hover { color: #fff; text-decoration: underline; }
#scrollTop {
position: fixed;
bottom: 20px;
right: 20px;
background: var(--color-accent);
color: white;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 1.5rem;
font-weight: 700;
cursor: pointer;
box-shadow: 0 6px 22px rgba(12,23,56,0.18);
opacity: 0;
visibility: hidden;
transform: scale(0);
transition: all 0.3s ease;
z-index: 999;
}
#scrollTop.show {
opacity: 1;
visibility: visible;
transform: scale(1);
}
/* --- Media Queries (Responsividad) --- */
@media (max-width: 992px) {
/* NAV Móvil */
.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background-color: var(--color-nav-background);
box-shadow: 0 5px 5px var(--color-shadow);
padding: 1rem 0;
border-top: 1px solid #eee;
}
.nav-links a {
margin: 0.5rem 2rem;
padding: 0.75rem 0;
text-align: center;
}
.nav-links.open {
display: flex;
}
.nav-toggle {
display: block;
font-size: 2rem;
cursor: pointer;
color: var(--color-primary);
}
.header-content h1 {
font-size: 4rem;
}
.grid {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
h2 {
font-size: 2.5rem;
}
}
@media (max-width: 768px) {
.carousel-control {
/* Los oculto para que no estorben en pantallas muy pequeñas, ya que se puede deslizar en JS */
display: none;
}
.header-wrap {
clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
}
.counter-wrap {
flex-direction: column;
align-items: center;
}
.counter-box {
width: 100%;
max-width: 350px;
}
.counter {
font-size: 3rem;
}
.merch-card img {
max-height: 250px;
}
.like-dislike-wrap {
padding: 0 0.5rem;
}
}
@media (max-width: 480px) {
.header-content h1 {
font-size: 2.5rem;
}
.header-content p {
font-size: 1rem;
}
h2 {
font-size: 2rem;
margin-bottom: 2rem;
}
.like-btn, .dislike-btn {
font-size: 1rem;
padding: 0.5rem;
gap: 4px; /* Reducir gap en móvil */
}
.like-btn span, .dislike-btn span {
font-size: 0.9rem;
}
.btn-primary {
font-size: 1rem;
padding: 0.6rem 1.5rem;
}
}
/* Ajustes móviles para scroll-margin-top */
@media (max-width: 768px) {
.card-section { scroll-margin-top: 80px; }
}
/* AUTO-MODAL DE AUTORES */
.authors-modal {
position: fixed;
inset: 0;
display: grid;
place-items: center;
background: linear-gradient(180deg, rgba(7,12,25,0.55), rgba(7,12,25,0.8));
z-index: 2000;
padding: 2rem;
opacity: 0;
pointer-events: none;
transition: opacity 360ms ease;
}
.authors-modal.open {
opacity: 1;
pointer-events: auto;
}
.authors-card {
width: min(960px, 96%);
background: linear-gradient(180deg, rgba(255,255,255,0.98), var(--glass));
border-radius: 18px;
padding: 1.75rem;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
box-shadow: 0 20px 60px rgba(11,37,69,0.28);
transform: translateY(20px) scale(.98);
transition: transform 420ms cubic-bezier(.2,.9,.3,1);
}
.authors-modal.open .authors-card { transform: translateY(0) scale(1); }
.author {
display: flex;
gap: 1rem;
align-items: center;
}
.author img {
width: 88px;
height: 88px;
border-radius: 12px;
object-fit: cover;
box-shadow: 0 6px 20px rgba(11,37,69,0.12);
}
.author h4 { margin-bottom: 0.25rem; color: var(--color-primary); }
.author p { color: var(--color-text-light); font-size: 0.95rem; }
/* Cerrar modal */
.authors-close {
justify-self: end;
background: transparent;
border: none;
color: var(--color-text);
font-size: 1.25rem;
cursor: pointer;
}
/* Micro-animaciones y refinamientos */
.card:hover { transform: translateZ(12px) translateY(-6px); }
.header-content h1 { text-shadow: 0 10px 30px rgba(11,37,69,0.18); }