Spaces:
Runtime error
Runtime error
| <html lang="es"> | |
| <head> | |
| <!-- ========= META PRINCIPALES ========= --> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Lythron AI — Conversación Inteligente Futurista</title> | |
| <meta | |
| name="description" | |
| content="Lythron AI: el asistente de conversación avanzada que une precisión técnica y creatividad. Interfaz inmersiva, estilo neón futurista y tecnología de vanguardia." | |
| /> | |
| <meta name="theme-color" content="#66CCFF" /> | |
| <!-- ========= FUENTES ========= --> | |
| <link | |
| href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500;600&display=swap" | |
| rel="stylesheet" | |
| /> | |
| <!-- ========= ICONOS / FAVICON ========= --> | |
| <link rel="icon" type="image/png" href="/favicon.png" /> | |
| <!-- ========= ESTILO INICIAL ========= --> | |
| <style> | |
| :root { | |
| --neon-cyan: #66ccff; | |
| --neon-pink: #ff66cc; | |
| --neon-purple: #b266ff; | |
| --bg-dark: #0a0a0f; | |
| --bg-panel: rgba(20, 20, 30, 0.6); | |
| } | |
| body { | |
| margin: 0; | |
| font-family: 'Inter', sans-serif; | |
| background: radial-gradient(circle at top, #0f172a, #000); | |
| color: white; | |
| overflow: hidden; | |
| height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| /* ========== SPLASH DE CARGA ========== */ | |
| #splash { | |
| position: absolute; | |
| inset: 0; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| background: var(--bg-dark); | |
| z-index: 50; | |
| animation: fadeOut 1.2s ease-in-out 2.5s forwards; | |
| } | |
| .loader { | |
| width: 80px; | |
| height: 80px; | |
| border: 4px solid transparent; | |
| border-top: 4px solid var(--neon-cyan); | |
| border-right: 4px solid var(--neon-pink); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| box-shadow: 0 0 25px var(--neon-pink); | |
| } | |
| .logo-text { | |
| font-family: 'Poppins', sans-serif; | |
| font-size: 1.6rem; | |
| font-weight: 700; | |
| margin-top: 1.2rem; | |
| background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| letter-spacing: 2px; | |
| } | |
| @keyframes spin { | |
| to { | |
| transform: rotate(360deg); | |
| } | |
| } | |
| @keyframes fadeOut { | |
| to { | |
| opacity: 0; | |
| visibility: hidden; | |
| } | |
| } | |
| /* ========== FONDO ANIMADO FUTURISTA ========== */ | |
| .background-grid { | |
| position: absolute; | |
| inset: 0; | |
| background: repeating-linear-gradient( | |
| 90deg, | |
| rgba(255, 255, 255, 0.03) 0 1px, | |
| transparent 1px 100% | |
| ), | |
| repeating-linear-gradient( | |
| 0deg, | |
| rgba(255, 255, 255, 0.03) 0 1px, | |
| transparent 1px 100% | |
| ); | |
| background-size: 40px 40px; | |
| animation: moveGrid 12s linear infinite; | |
| z-index: 0; | |
| } | |
| @keyframes moveGrid { | |
| from { | |
| background-position: 0 0; | |
| } | |
| to { | |
| background-position: 40px 40px; | |
| } | |
| } | |
| /* ========== CHAT CONTAINER ========== */ | |
| #root { | |
| position: relative; | |
| z-index: 10; | |
| width: 100%; | |
| max-width: 900px; | |
| height: 90vh; | |
| background: var(--bg-panel); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 20px; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| box-shadow: 0 0 25px rgba(102, 204, 255, 0.3); | |
| } | |
| /* ========== TITULO SUPERIOR ========== */ | |
| .chat-header { | |
| text-align: center; | |
| padding: 1.2rem; | |
| font-family: 'Poppins', sans-serif; | |
| font-weight: 600; | |
| letter-spacing: 1px; | |
| background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink)); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Fondo dinámico --> | |
| <div class="background-grid"></div> | |
| <!-- Pantalla de carga --> | |
| <div id="splash"> | |
| <div class="loader"></div> | |
| <div class="logo-text">LYTHRON AI</div> | |
| </div> | |
| <!-- Contenedor de React --> | |
| <div id="root"> | |
| <div class="chat-header">Lythron AI — Conversación Inteligente</div> | |
| <!-- React reemplazará el contenido dentro del root --> | |
| </div> | |
| <!-- Si JS está deshabilitado --> | |
| <noscript> | |
| <div | |
| style="color:white;text-align:center;padding:2rem;background:#0a0a0f;font-family:'Inter',sans-serif;" | |
| > | |
| Lythron AI requiere JavaScript para funcionar. Activa JavaScript e intenta nuevamente. | |
| </div> | |
| </noscript> | |
| <!-- Archivo principal React --> | |
| <script type="module" src="/src/main.jsx"></script> | |
| </body> | |
| </html> | |