|
1 | | - |
2 | 1 | @tailwind base; |
3 | 2 | @tailwind components; |
4 | 3 | @tailwind utilities; |
|
46 | 45 | --sidebar-ring: 48 83% 72%; |
47 | 46 | } |
48 | 47 |
|
49 | | - /* TIPOGRAFÍA: Nasalization solo para títulos y botones */ |
50 | 48 | h1, h2, h3, h4, h5, h6, button { |
51 | 49 | font-family: 'Nasalization', sans-serif; |
52 | 50 | font-weight: 400; |
53 | 51 | letter-spacing: 0.5px; |
54 | 52 | } |
55 | 53 |
|
56 | | - /* Exo para texto general y formularios */ |
57 | 54 | body, p, span, div, a, input, textarea, label { |
58 | 55 | font-family: 'Exo', system-ui, sans-serif; |
59 | 56 | } |
60 | 57 |
|
61 | | - /* Helper para forzar Nasalization donde quieras */ |
62 | | - .font-nasalization { |
63 | | - font-family: 'Nasalization', sans-serif; |
64 | | - font-weight: 400; |
65 | | - letter-spacing: 0.5px; |
66 | | - } |
67 | | - |
68 | | - /* Borde global sin usar @apply en el selector universal */ |
69 | 58 | :where(*, *::before, *::after) { |
70 | 59 | border-color: hsl(var(--border)); |
71 | 60 | } |
|
75 | 64 | scroll-behavior: smooth; |
76 | 65 | } |
77 | 66 |
|
78 | | - /* Custom Scrollbar - Mejorado */ |
| 67 | + /* Custom Scrollbar */ |
79 | 68 | ::-webkit-scrollbar { |
80 | 69 | width: 8px; |
81 | 70 | height: 8px; |
|
96 | 85 | } |
97 | 86 | } |
98 | 87 |
|
99 | | -/* === Helpers y utilidades mejoradas === */ |
| 88 | +/* Estilo de texto "Star Wars" */ |
100 | 89 | .text-glow { |
101 | | - text-shadow: |
102 | | - 0 0 8px rgba(240, 216, 130, 0.8), |
103 | | - 0 0 16px rgba(240, 216, 130, 0.4), |
104 | | - 0 0 24px rgba(240, 216, 130, 0.2); |
| 90 | + text-shadow: |
| 91 | + 0 0 5px #ffcc00, |
| 92 | + 0 0 10px #ffcc00, |
| 93 | + 0 0 20px #ffcc00, |
| 94 | + 0 0 40px #ffcc00, |
| 95 | + 0 0 80px #ffcc00; |
105 | 96 | } |
106 | 97 |
|
107 | | -/* Mejora de legibilidad para párrafos sobre fondos complejos */ |
108 | 98 | .readable-glow { |
109 | 99 | text-shadow: |
110 | 100 | 0 2px 6px hsl(var(--background) / 0.85), |
|
119 | 109 | filter: drop-shadow(0 0 10px rgba(240, 216, 130, 0.6)) drop-shadow(0 0 20px rgba(240, 216, 130, 0.3)); |
120 | 110 | } |
121 | 111 |
|
122 | | -/* Star Wars title improved glow */ |
123 | | -.sw-title-glow { |
124 | | - text-shadow: |
125 | | - 0 0 10px hsl(var(--sidebar-primary) / 0.9), |
126 | | - 0 0 24px hsl(var(--sidebar-accent) / 0.5), |
127 | | - 0 2px 28px hsl(var(--background) / 0.95); |
128 | | -} |
129 | | - |
130 | | -/* Readability panel for paragraphs over images */ |
131 | | -.readable-panel { |
132 | | - background: linear-gradient(180deg, hsl(var(--background) / 0.45), hsl(var(--background) / 0.25)); |
133 | | - backdrop-filter: blur(6px); |
134 | | - border: 1px solid hsl(var(--border)); |
135 | | - border-radius: 0.75rem; |
136 | | - padding: 0.75rem 1rem; |
137 | | -} |
138 | | - |
139 | | -/* Improved card-border with better effects */ |
140 | | -.card-border { |
141 | | - position: relative; |
142 | | - border-radius: var(--radius); |
143 | | - background: rgba(17, 17, 25, 0.7); |
144 | | - backdrop-filter: blur(12px); |
145 | | - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
146 | | -} |
147 | | -.card-border::before { |
148 | | - content: ''; |
149 | | - position: absolute; |
150 | | - top: 0; |
151 | | - left: 0; |
152 | | - right: 0; |
153 | | - bottom: 0; |
154 | | - border-radius: inherit; |
155 | | - padding: 1.5px; |
156 | | - background: linear-gradient(145deg, hsl(var(--sidebar-primary)), hsl(var(--sidebar-accent))); |
157 | | - -webkit-mask: |
158 | | - linear-gradient(#fff 0 0) content-box, |
159 | | - linear-gradient(#fff 0 0); |
160 | | - -webkit-mask-composite: xor; |
161 | | - mask-composite: exclude; |
162 | | - pointer-events: none; |
163 | | - transition: opacity 0.3s ease; |
164 | | -} |
165 | | -.card-border:hover::before { |
166 | | - background: linear-gradient(145deg, hsl(var(--sidebar-accent)), hsl(var(--sidebar-primary))); |
167 | | -} |
168 | | - |
169 | | -/* Professional Star Wars text styling - Subtle and harmonious */ |
170 | | -.starwars-text { |
171 | | - color: hsl(var(--primary)); |
172 | | - text-shadow: |
173 | | - 0 1px 3px rgba(0, 0, 0, 0.3), |
174 | | - 0 0 8px hsl(var(--primary) / 0.2); |
175 | | - font-family: 'Nasalization', sans-serif; |
176 | | - font-weight: bold; |
177 | | - letter-spacing: 1px; |
178 | | -} |
179 | | - |
180 | | -/* Clean Star Wars crawl - No background box, subtle animation */ |
181 | | -.star-wars-crawl { |
182 | | - perspective: 400px; |
183 | | - height: auto; |
184 | | - overflow: visible; |
185 | | - margin: 2rem 0; |
186 | | - display: flex; |
187 | | - justify-content: center; |
188 | | - align-items: center; |
189 | | -} |
190 | | - |
191 | | -.star-wars-content { |
192 | | - transform: rotateX(12deg); |
193 | | - transform-origin: center top; |
194 | | - max-width: 700px; |
195 | | - margin: 0 auto; |
196 | | - padding: 1.5rem; |
197 | | - font-size: 1rem; |
198 | | - line-height: 1.7; |
199 | | - text-align: center; |
200 | | - color: hsl(var(--foreground) / 0.9); |
201 | | - text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); |
202 | | - animation: subtle-float 4s ease-in-out infinite; |
203 | | -} |
204 | | - |
205 | | -@keyframes subtle-float { |
206 | | - 0%, 100% { |
207 | | - transform: rotateX(12deg) translateY(0px); |
208 | | - } |
209 | | - 50% { |
210 | | - transform: rotateX(12deg) translateY(-3px); |
211 | | - } |
212 | | -} |
213 | | - |
214 | | -/* Professional title glow - Subtle and elegant */ |
215 | 112 | .hero-title { |
216 | | - text-shadow: |
| 113 | + text-shadow: |
217 | 114 | 0 0 20px hsl(var(--primary) / 0.3), |
218 | 115 | 0 0 40px hsl(var(--secondary) / 0.2), |
219 | 116 | 0 2px 4px rgba(0, 0, 0, 0.1); |
220 | 117 | } |
221 | 118 |
|
222 | | -/* Refined logo glow */ |
223 | 119 | .logo-glow { |
224 | | - filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) |
225 | | - drop-shadow(0 0 12px hsl(var(--primary) / 0.2)); |
| 120 | + filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) drop-shadow(0 0 12px hsl(var(--primary) / 0.2)); |
226 | 121 | } |
227 | 122 |
|
228 | | -/* Responsive improvements */ |
229 | | -@media (max-width: 768px) { |
230 | | - .star-wars-content { |
231 | | - transform: rotateX(10deg); |
232 | | - } |
233 | | - @keyframes star-wars-float-compact { |
234 | | - 0% { |
235 | | - transform: rotateX(10deg) translateY(20px); |
236 | | - opacity: 0; |
237 | | - } |
238 | | - 20% { |
239 | | - opacity: 1; |
240 | | - } |
241 | | - 100% { |
242 | | - transform: rotateX(10deg) translateY(0); |
243 | | - opacity: 1; |
244 | | - } |
245 | | - } |
| 123 | +/* Background & Stars */ |
| 124 | +.bg-stars { |
| 125 | + background: black url('/lovable-uploads/stars-bg.png') repeat; |
| 126 | + animation: moveStars 200s linear infinite; |
| 127 | +} |
| 128 | + |
| 129 | +@keyframes moveStars { |
| 130 | + from { background-position: 0 0; } |
| 131 | + to { background-position: -10000px 5000px; } |
| 132 | +} |
| 133 | + |
| 134 | +.bg-glow-radial { |
| 135 | + background: radial-gradient(circle at center, rgba(34, 197, 94, 0.08) 0%, rgba(0, 0, 0, 0) 70%); |
246 | 136 | } |
247 | 137 |
|
248 | 138 | .parallax { |
|
252 | 142 | background-size: cover; |
253 | 143 | } |
254 | 144 |
|
255 | | -.bg-glow-radial { |
256 | | - background: radial-gradient(circle at center, rgba(34, 197, 94, 0.08) 0%, rgba(0, 0, 0, 0) 70%); |
257 | | -} |
258 | | - |
259 | 145 | .cosmic-grid { |
260 | 146 | position: relative; |
261 | 147 | } |
|
275 | 161 | z-index: -1; |
276 | 162 | } |
277 | 163 |
|
278 | | -@keyframes ticker-scroll { |
279 | | - 0% { |
280 | | - transform: translateX(0); |
281 | | - } |
282 | | - 100% { |
283 | | - transform: translateX(-100%); |
284 | | - } |
285 | | -} |
286 | | - |
287 | | -/* Additional responsive utilities */ |
288 | 164 | .section-center { |
289 | 165 | display: flex; |
290 | 166 | flex-direction: column; |
|
294 | 170 | text-align: center; |
295 | 171 | } |
296 | 172 |
|
297 | | -/* Smooth transitions for better UX */ |
| 173 | +/* Smooth transitions */ |
298 | 174 | * { |
299 | 175 | transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; |
300 | 176 | transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
301 | 177 | transition-duration: 200ms; |
302 | 178 | } |
303 | 179 |
|
304 | | -/* Focus styles for accessibility */ |
| 180 | +/* Accessibility */ |
305 | 181 | :focus-visible { |
306 | 182 | outline: 2px solid hsl(var(--sidebar-primary)); |
307 | 183 | outline-offset: 2px; |
308 | 184 | } |
309 | 185 |
|
310 | | -/* === REFUERZO UNIVERSAL NASALIZATION === */ |
311 | | -.font-nasalization, .font-nasalization * { |
312 | | - font-family: 'Nasalization', sans-serif !important; |
313 | | - font-weight: 400; |
314 | | - letter-spacing: 0.5px; |
| 186 | +/* Estilos de la versión anterior que se han mantenido */ |
| 187 | +html, body { |
| 188 | + margin: 0; |
| 189 | + padding: 0; |
| 190 | + min-height: 100vh; |
| 191 | + width: 100%; |
| 192 | + background-color: transparent; |
| 193 | + color: #F0D882; |
| 194 | + overflow-x: hidden; |
| 195 | + font-family: 'Exo', sans-serif; |
| 196 | + scroll-behavior: smooth; |
315 | 197 | } |
316 | 198 |
|
317 | | -/* Mobile optimizations */ |
318 | | -@media (max-width: 640px) { |
319 | | - .container { |
320 | | - padding-left: 1rem; |
321 | | - padding-right: 1rem; |
322 | | - } |
| 199 | +#root { |
| 200 | + min-height: 100vh; |
| 201 | + display: flex; |
| 202 | + flex-direction: column; |
| 203 | +} |
| 204 | + |
| 205 | +main { |
| 206 | + flex: 1; |
| 207 | + position: relative; |
| 208 | + padding-top: 8rem; |
| 209 | +} |
| 210 | + |
| 211 | +.card-border { |
| 212 | + position: relative; |
| 213 | + border-radius: 0.5rem; |
| 214 | + background: rgba(17, 17, 25, 0.7); |
| 215 | + backdrop-filter: blur(12px); |
| 216 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 217 | +} |
| 218 | +.card-border::before { |
| 219 | + content: ''; |
| 220 | + position: absolute; |
| 221 | + inset: 0; |
| 222 | + border-radius: inherit; |
| 223 | + padding: 1.5px; |
| 224 | + background: linear-gradient(145deg, hsl(48, 83%, 72%), hsl(142, 67%, 45%)); |
| 225 | + -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); |
| 226 | + -webkit-mask-composite: xor; |
| 227 | + mask-composite: exclude; |
| 228 | + pointer-events: none; |
| 229 | + transition: opacity 0.3s ease; |
| 230 | +} |
| 231 | +.card-border:hover::before { |
| 232 | + background: linear-gradient(145deg, hsl(142, 67%, 45%), hsl(48, 83%, 72%)); |
323 | 233 | } |
0 commit comments