/* --- VARIABLES ORIGINALES --- */
:root { 
    --neon-purple: #bc13fe; 
    --neon-blue: #00f3ff; 
    --neon-core: #ffffff; 
    --dark-bg: #050505;
}

body {
    background-color: var(--dark-bg);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
}

/* --- ESTILOS DEL ASTILLERO (NAV/HERO) --- */
nav {
    display: flex; justify-content: space-between; padding: 20px 50px;
    background: rgba(0,0,0,0.9); border-bottom: 1px solid #333;
}
.logo { font-family: 'Orbitron'; font-weight: 900; font-size: 24px; }
.logo span { color: #D4AF37; }
.nav-links { display: flex; gap: 20px; }
.nav-item { color: white; text-decoration: none; font-weight: bold; }

.hero { text-align: center; padding: 100px 20px; }
.hero h1 { font-family: 'Orbitron'; font-size: 3rem; margin: 0; }

/* --- CONTENEDOR LUMEN (WIDGET FLOTANTE) --- */
#nexus-container { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 99999; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 260px !important; /* ANCHO FORZADO PEQUEÑO */
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* --- FIX DEL GIGANTISMO (LA IMAGEN) --- */
#lumen-visual-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

#rostro-lumen {
    width: 90px !important;    /* OBLIGATORIO */
    height: 90px !important;   /* OBLIGATORIO */
    max-width: 90px;
    border-radius: 50%;
    border: 2px solid var(--neon-purple); 
    box-shadow: 0 0 15px var(--neon-purple);
    object-fit: cover;
    transition: transform 0.1s;
}

/* --- INTERFAZ DE TEXTO Y INPUT --- */
#lumen-text {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--neon-purple);
    text-align: center;
    margin-bottom: 8px;
    min-height: 20px;
    width: 100%;
}

.input-zone {
    display: flex; gap: 5px; width: 100%; border-top: 1px solid #333; padding-top: 8px;
}

#lumen-chat-input {
    flex-grow: 1;
    background: black;
    border: 1px solid #444;
    color: white;
    padding: 5px;
    font-size: 11px;
    border-radius: 4px;
}

#btn-mic {
    background: transparent;
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

/* ESTADO ESCUCHANDO */
#nexus-container.escuchando {
    border-color: var(--neon-blue);
}
/* --- BOTÓN DE ACCIÓN (ENLACE MÁGICO) --- */
.lumen-action-btn {
    display: block;
    margin-top: 10px;
    background: linear-gradient(90deg, #bc13fe, #000);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #bc13fe;
    animation: fadeIn 0.5s ease;
    cursor: pointer;
}
.lumen-action-btn:hover {
    background: #bc13fe;
    box-shadow: 0 0 15px #bc13fe;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
