Skip to content

Commit 21ac708

Browse files
authored
Update global.css
Signed-off-by: Aitor Alien <[email protected]>
1 parent c075c62 commit 21ac708

File tree

1 file changed

+79
-5
lines changed

1 file changed

+79
-5
lines changed

src/global.css

Lines changed: 79 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
/* ===== Reset & Base ===== */
12
html, body {
23
margin: 0;
34
padding: 0;
45
min-height: 100vh;
56
width: 100%;
6-
background-color: transparent; /* Fondo transparente para mostrar imagen de fondo */
7-
color: #F0D882; /* Dorado claro para texto principal */
7+
background-color: transparent;
8+
color: #F0D882; /* Dorado claro */
89
overflow-x: hidden;
10+
font-family: 'Exo', sans-serif;
911
}
1012

1113
#root {
@@ -20,19 +22,91 @@ main {
2022
padding-top: 8rem;
2123
}
2224

25+
/* ===== Utility Classes ===== */
2326
.text-glow {
24-
text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
27+
text-shadow: 0 0 10px rgba(255, 215, 0, 0.6),
28+
0 0 20px rgba(255, 215, 0, 0.4);
29+
}
30+
31+
.readable-glow {
32+
text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
2533
}
2634

2735
.card-border {
2836
border: 1px solid rgba(255, 215, 0, 0.2);
2937
border-radius: 10px;
30-
background-color: rgba(17, 17, 25, 0.6);
38+
background-color: rgba(17, 17, 25, 0.65);
3139
transition: all 0.3s ease;
3240
position: relative;
3341
z-index: 1;
3442
}
3543
.card-border:hover {
3644
border-color: rgba(255, 215, 0, 0.4);
37-
box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
45+
box-shadow: 0 0 15px rgba(255, 215, 0, 0.25);
46+
}
47+
48+
/* ===== Fondo de estrellas ===== */
49+
.bg-stars {
50+
background: black url('/lovable-uploads/stars-bg.png') repeat;
51+
animation: moveStars 200s linear infinite;
52+
}
53+
54+
@keyframes moveStars {
55+
from { background-position: 0 0; }
56+
to { background-position: -10000px 5000px; }
57+
}
58+
59+
/* ===== Radial Glow Overlay ===== */
60+
.bg-glow-radial {
61+
background: radial-gradient(circle at center, rgba(255,255,255,0.12) 0%, transparent 70%);
62+
opacity: 0.4;
63+
}
64+
65+
/* ===== Star Wars Crawl Effect ===== */
66+
.star-wars-crawl {
67+
perspective: 400px;
68+
height: 300px;
69+
overflow: hidden;
70+
position: relative;
71+
}
72+
73+
.star-wars-content {
74+
transform-origin: 50% 100%;
75+
transform: rotateX(20deg);
76+
line-height: 1.6;
77+
max-width: 700px;
78+
margin: 0 auto;
79+
color: #32cd32; /* Alien green para textos secundarios */
80+
text-shadow: 0 0 8px rgba(0,0,0,0.9);
81+
}
82+
83+
.sw-title-glow {
84+
text-shadow: 0 0 20px rgba(255, 215, 0, 0.9),
85+
0 0 40px rgba(255, 215, 0, 0.6),
86+
0 0 60px rgba(255, 215, 0, 0.4);
87+
}
88+
89+
/* ===== Logo Glow ===== */
90+
.gold-glow {
91+
filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8))
92+
drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
93+
}
94+
95+
/* ===== Responsive Optimizations ===== */
96+
@media (max-width: 768px) {
97+
.star-wars-crawl {
98+
height: 200px;
99+
}
100+
.star-wars-content {
101+
font-size: 0.9rem;
102+
}
103+
}
104+
105+
@media (max-width: 480px) {
106+
.star-wars-crawl {
107+
height: 160px;
108+
}
109+
.star-wars-content {
110+
font-size: 0.8rem;
111+
}
38112
}

0 commit comments

Comments
 (0)