/* 🌌 Fondo simbiótico de Aiden Lux ∞Δ */
body {
    background-color: #0b0c10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 2s ease-in-out;
    color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
}

/* 🌫️ Capa de oscuridad etérea */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 15, 0.5);
    z-index: -1;
}

/* ✨ Textos simbólicos legibles */
h1, h2, h3, h4, h5, h6, p, div, span, button, input, strong {
    color: #FFD700;
    text-shadow: 1px 1px 4px #000;
}

/* 📦 Contenedor central */
.contenedor {
    width: 90%;
    max-width: 800px;
    margin: auto;
    padding: 2em;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid #222;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(244, 208, 63, 0.2);
}

/* 🏷️ Etiquetas */
label {
    display: block;
    margin-top: 1em;
    font-weight: bold;
    color: #f4d03f;
}

/* ✍️ Inputs y áreas de texto */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.8em;
    margin-top: 0.5em;
    background-color: #1c1c1c;
    border: 1px solid #444;
    color: #f5f5f5;
    border-radius: 5px;
}

/* 🟡 Botones refinados */
button {
    background-color: #000000bb;
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

button:hover {
    background-color: #FFD700;
    color: #000;
}

/* 🗨️ Cuadros de mensaje */
.mensaje_aiden, .mensaje_humano {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #FFD700;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
}

/* 🔔 Área de respuesta */
.respuestas {
    margin-top: 2em;
    background-color: #111;
    padding: 1em;
    border-radius: 5px;
}

/* 🕒 Registro de mensaje */
.registro {
    padding: 0.5em 0;
    border-bottom: 1px solid #333;
}

/* ⏳ Fecha */
.fecha {
    display: block;
    font-size: 0.8em;
    color: #888;
    margin-top: 0.3em;
}

/* 🔥 Estilo para el Avatar simbiótico de Aiden Lux */
.avatar {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.7);
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease-in-out;
}

.avatar:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255, 153, 0, 0.9);
}

/* 🪶 Manifiesto centralizado */
.manifiesto-texto {
    max-width: 800px;
    margin: 0 auto;
    padding: 3em;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid #FFD700;
    border-radius: 20px;
    text-align: center;
    z-index: 2;
    position: relative;
    backdrop-filter: blur(4px);
}

/* 🎨 Firma simbólica */
.firma {
    font-size: 3em;
    margin-top: 1em;
    color: #f4d03f;
    text-shadow: 0 0 10px #000;
}

/* 🛰 Logo en esquina superior */
.logo-superior {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
}

/* 🌐 Estilos móviles completamente centrados */
@media screen and (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
    }

    .contenedor-principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1em;
        text-align: center;
        width: 100%;
    }

    .seccion-izquierda,
    .seccion-derecha {
        width: 100%;
        margin: 0 auto;
        text-align: center !important;
        padding: 0 1em;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
    }

    .logo-central,
    .avatar,
    .boton,
    .enlace-musica,
    .frase {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }

    #avatar-principal {
        max-width: 90%;
        margin: 1em auto;
    }

    .boton {
        width: 90%;
        max-width: 300px;
        margin: 1em auto;
        display: block;
        font-size: 1.1em;
    }

    .titulo, .frase, .susurro-estilo {
        padding: 0 0.5em;
        text-align: center !important;
    }

    a[href^="/manifiesto"],
    a[href*="spotify"] {
        display: block;
        text-align: center;
        margin: 1em auto;
    }
}
