Skip to content

Commit a660441

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

File tree

1 file changed

+37
-18
lines changed

1 file changed

+37
-18
lines changed

src/global.css

Lines changed: 37 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ main {
2222
padding-top: 8rem;
2323
}
2424

25-
/* ===== Utility Classes ===== */
25+
/* ===== Text Glow Utilities ===== */
2626
.text-glow {
2727
text-shadow: 0 0 10px rgba(255, 215, 0, 0.6),
2828
0 0 20px rgba(255, 215, 0, 0.4);
@@ -32,6 +32,7 @@ main {
3232
text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
3333
}
3434

35+
/* ===== Card Styling ===== */
3536
.card-border {
3637
border: 1px solid rgba(255, 215, 0, 0.2);
3738
border-radius: 10px;
@@ -45,10 +46,10 @@ main {
4546
box-shadow: 0 0 15px rgba(255, 215, 0, 0.25);
4647
}
4748

48-
/* ===== Fondo de estrellas ===== */
49+
/* ===== Background Stars ===== */
4950
.bg-stars {
5051
background: black url('/lovable-uploads/stars-bg.png') repeat;
51-
animation: moveStars 200s linear infinite;
52+
animation: moveStars 300s linear infinite;
5253
}
5354

5455
@keyframes moveStars {
@@ -62,7 +63,7 @@ main {
6263
opacity: 0.4;
6364
}
6465

65-
/* ===== Star Wars Crawl Effect ===== */
66+
/* ===== Star Wars Crawl ===== */
6667
.star-wars-crawl {
6768
perspective: 400px;
6869
height: 300px;
@@ -76,10 +77,13 @@ main {
7677
line-height: 1.6;
7778
max-width: 700px;
7879
margin: 0 auto;
79-
color: #32cd32; /* Alien green para textos secundarios */
80+
color: #32cd32; /* Alien green */
8081
text-shadow: 0 0 8px rgba(0,0,0,0.9);
82+
font-weight: 600;
83+
font-size: clamp(1rem, 1.8vw, 1.25rem);
8184
}
8285

86+
/* ===== Hero Title Glow ===== */
8387
.sw-title-glow {
8488
text-shadow: 0 0 20px rgba(255, 215, 0, 0.9),
8589
0 0 40px rgba(255, 215, 0, 0.6),
@@ -92,21 +96,36 @@ main {
9296
drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
9397
}
9498

95-
/* ===== Responsive Optimizations ===== */
99+
/* ===== Preloader (optional) ===== */
100+
#preloader {
101+
position: fixed;
102+
top: 0; left: 0;
103+
width: 100%; height: 100%;
104+
background: #0C0C1D;
105+
display: flex;
106+
align-items: center;
107+
justify-content: center;
108+
z-index: 9999;
109+
}
110+
111+
#preloader img {
112+
width: 120px;
113+
height: auto;
114+
animation: preloader-spin 2s linear infinite;
115+
}
116+
117+
@keyframes preloader-spin {
118+
0% { transform: rotate(0deg); }
119+
100% { transform: rotate(360deg); }
120+
}
121+
122+
/* ===== Responsive ===== */
96123
@media (max-width: 768px) {
97-
.star-wars-crawl {
98-
height: 200px;
99-
}
100-
.star-wars-content {
101-
font-size: 0.9rem;
102-
}
124+
.star-wars-crawl { height: 200px; }
125+
.star-wars-content { font-size: 0.9rem; }
103126
}
104127

105128
@media (max-width: 480px) {
106-
.star-wars-crawl {
107-
height: 160px;
108-
}
109-
.star-wars-content {
110-
font-size: 0.8rem;
111-
}
129+
.star-wars-crawl { height: 160px; }
130+
.star-wars-content { font-size: 0.8rem; }
112131
}

0 commit comments

Comments
 (0)