|
2 | 2 | @tailwind components; |
3 | 3 | @tailwind utilities; |
4 | 4 |
|
| 5 | +/* NASALIZATION FONT: Carga directa con múltiples formatos para compatibilidad */ |
5 | 6 | @font-face { |
6 | 7 | font-family: 'Nasalization'; |
7 | 8 | font-style: normal; |
|
13 | 14 | } |
14 | 15 |
|
15 | 16 | @layer base { |
| 17 | + :root { |
| 18 | + --background: 240 33% 5%; |
| 19 | + --foreground: 0 0% 98%; |
| 20 | + --card: 240 33% 8%; |
| 21 | + --card-foreground: 0 0% 98%; |
| 22 | + --popover: 240 33% 5%; |
| 23 | + --popover-foreground: 0 0% 98%; |
| 24 | + --primary: 48 83% 72%; |
| 25 | + --primary-foreground: 240 33% 10%; |
| 26 | + --secondary: 142 67% 45%; |
| 27 | + --secondary-foreground: 0 0% 98%; |
| 28 | + --muted: 240 20% 20%; |
| 29 | + --muted-foreground: 240 10% 80%; |
| 30 | + --accent: 48 83% 72%; |
| 31 | + --accent-foreground: 240 33% 10%; |
| 32 | + --destructive: 0 84.2% 60.2%; |
| 33 | + --destructive-foreground: 0 0% 98%; |
| 34 | + --border: 240 20% 16%; |
| 35 | + --input: 240 20% 16%; |
| 36 | + --ring: 48 83% 72%; |
| 37 | + --radius: 0.5rem; |
| 38 | + --sidebar-background: 240 33% 5%; |
| 39 | + --sidebar-foreground: 0 0% 98%; |
| 40 | + --sidebar-primary: 48 83% 72%; |
| 41 | + --sidebar-primary-foreground: 240 33% 10%; |
| 42 | + --sidebar-accent: 142 67% 45%; |
| 43 | + --sidebar-accent-foreground: 0 0% 98%; |
| 44 | + --sidebar-border: 240 20% 16%; |
| 45 | + --sidebar-ring: 48 83% 72%; |
| 46 | + } |
| 47 | + |
| 48 | + h1, h2, h3, h4, h5, h6, button { |
| 49 | + font-family: 'Nasalization', sans-serif; |
| 50 | + font-weight: 400; |
| 51 | + letter-spacing: 0.5px; |
| 52 | + } |
| 53 | + |
| 54 | + body, p, span, div, a, input, textarea, label { |
| 55 | + font-family: 'Exo', system-ui, sans-serif; |
| 56 | + } |
| 57 | + |
| 58 | + :where(*, *::before, *::after) { |
| 59 | + border-color: hsl(var(--border)); |
| 60 | + } |
| 61 | + |
16 | 62 | body { |
17 | 63 | @apply bg-transparent text-foreground overflow-x-hidden; |
18 | 64 | scroll-behavior: smooth; |
19 | 65 | } |
| 66 | + |
| 67 | + /* Custom Scrollbar */ |
| 68 | + ::-webkit-scrollbar { |
| 69 | + width: 8px; |
| 70 | + height: 8px; |
| 71 | + } |
| 72 | + ::-webkit-scrollbar-track { |
| 73 | + background: hsl(var(--sidebar-background)); |
| 74 | + } |
| 75 | + ::-webkit-scrollbar-thumb { |
| 76 | + background: linear-gradient(180deg, hsl(var(--sidebar-primary)), hsl(var(--sidebar-accent))); |
| 77 | + border-radius: 6px; |
| 78 | + border: 1px solid hsl(var(--sidebar-background)); |
| 79 | + } |
| 80 | + ::-webkit-scrollbar-thumb:hover { |
| 81 | + background: linear-gradient(180deg, hsl(var(--sidebar-accent)), hsl(var(--sidebar-primary))); |
| 82 | + } |
| 83 | + ::-webkit-scrollbar-corner { |
| 84 | + background: hsl(var(--sidebar-background)); |
| 85 | + } |
20 | 86 | } |
21 | 87 |
|
| 88 | +/* Estilos de texto y efectos de resplandor */ |
22 | 89 | .text-glow { |
23 | 90 | text-shadow: |
24 | 91 | 0 0 5px #ffcc00, |
|
27 | 94 | 0 0 40px #ffcc00, |
28 | 95 | 0 0 80px #ffcc00; |
29 | 96 | } |
| 97 | + |
| 98 | +.readable-glow { |
| 99 | + text-shadow: |
| 100 | + 0 2px 6px hsl(var(--background) / 0.85), |
| 101 | + 0 0 24px hsl(var(--background) / 0.65); |
| 102 | +} |
| 103 | + |
| 104 | +.green-glow { |
| 105 | + filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.6)) drop-shadow(0 0 20px rgba(34, 197, 94, 0.3)); |
| 106 | +} |
| 107 | + |
| 108 | +.gold-glow { |
| 109 | + filter: drop-shadow(0 0 10px rgba(240, 216, 130, 0.6)) drop-shadow(0 0 20px rgba(240, 216, 130, 0.3)); |
| 110 | +} |
| 111 | + |
| 112 | +.hero-title { |
| 113 | + text-shadow: |
| 114 | + 0 0 20px hsl(var(--primary) / 0.3), |
| 115 | + 0 0 40px hsl(var(--secondary) / 0.2), |
| 116 | + 0 2px 4px rgba(0, 0, 0, 0.1); |
| 117 | +} |
| 118 | + |
| 119 | +.logo-glow { |
| 120 | + filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) drop-shadow(0 0 12px hsl(var(--primary) / 0.2)); |
| 121 | +} |
| 122 | + |
| 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%); |
| 136 | +} |
| 137 | + |
| 138 | +.parallax { |
| 139 | + background-attachment: fixed; |
| 140 | + background-position: center; |
| 141 | + background-repeat: no-repeat; |
| 142 | + background-size: cover; |
| 143 | +} |
| 144 | + |
| 145 | +.cosmic-grid { |
| 146 | + position: relative; |
| 147 | +} |
| 148 | +.cosmic-grid::before { |
| 149 | + content: ""; |
| 150 | + position: absolute; |
| 151 | + top: 0; |
| 152 | + left: 0; |
| 153 | + right: 0; |
| 154 | + bottom: 0; |
| 155 | + background-image: |
| 156 | + linear-gradient(rgba(240, 216, 130, 0.04) 1px, transparent 1px), |
| 157 | + linear-gradient(90deg, rgba(240, 216, 130, 0.04) 1px, transparent 1px); |
| 158 | + background-size: 40px 40px; |
| 159 | + background-position: center center; |
| 160 | + pointer-events: none; |
| 161 | + z-index: -1; |
| 162 | +} |
| 163 | + |
| 164 | +.section-center { |
| 165 | + display: flex; |
| 166 | + flex-direction: column; |
| 167 | + align-items: center; |
| 168 | + justify-content: center; |
| 169 | + width: 100%; |
| 170 | + text-align: center; |
| 171 | +} |
| 172 | + |
| 173 | +/* Smooth transitions */ |
| 174 | +* { |
| 175 | + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; |
| 176 | + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
| 177 | + transition-duration: 200ms; |
| 178 | +} |
| 179 | + |
| 180 | +/* Accessibility */ |
| 181 | +:focus-visible { |
| 182 | + outline: 2px solid hsl(var(--sidebar-primary)); |
| 183 | + outline-offset: 2px; |
| 184 | +} |
| 185 | + |
| 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; |
| 197 | +} |
| 198 | + |
| 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%)); |
| 233 | +} |
0 commit comments