@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Space Mono', monospace; 
    color: white; 
    overflow: hidden; 
    background-color: #000; 
}

#pantalla-entrada {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: black; display: flex; justify-content: center; align-items: center;
    z-index: 100; cursor: pointer; transition: opacity 0.5s ease;
}

/* El fondo ahora usa una imagen externa de prueba para que veas el glassmorphism */
#video-fondo {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; object-fit: cover; opacity: 0.4; filter: blur(2px);
}

.oculto { display: none !important; }

#contenido-principal {
    display: flex; justify-content: center; align-items: center; height: 100vh;
}

/* Tarjeta Principal - Ahora con diseño de borde brillante */
.tarjeta-principal {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px; 
    padding: 25px; 
    width: 450px; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255,255,255,0.05);
    overflow: hidden;
}

.banner {
    width: calc(100% + 50px); /* Compensa el padding de la tarjeta */
    height: 120px; /* Altura del banner, puedes cambiarla si quieres */
    margin: -25px -25px 0 -25px; /* Empuja el banner hacia los bordes */
    background-image: url('assets/banner.png'); /* Cambia esto por tu archivo */
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cabecera */
.cabecera { 
    text-align: center; 
    position: relative; 
    padding-bottom: 20px; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    margin-bottom: 20px; 
    margin-top: -50px; /* ¡NUEVO! Sube el avatar hacia el banner */
}

.vistas { 
    position: absolute; 
    top: 60px; /* Lo bajamos un poco para que quede al lado del avatar */
    left: 0; 
    font-size: 12px; 
    color: #888; 
}
.avatar { 
    width: 90px; 
    height: 90px; 
    border-radius: 50%; 
    border: 3px solid #050505; /* Borde oscuro para separarlo del banner */
    margin-bottom: 10px; 
    box-shadow: 0 0 15px rgba(0,0,0,0.5); 
    position: relative; /* ¡NUEVO! */
    z-index: 2; /* ¡NUEVO! Fuerza a la imagen a estar al frente */
    background-color: #000;
}
h2 { font-size: 22px; font-weight: bold; text-shadow: 0 0 5px rgba(255,255,255,0.5); margin-bottom: 5px;}
.subtitulo { font-size: 11px; color: #aaa; min-height: 15px; margin-bottom: 15px; }

/* Cajas Interiores (Enlaces y Discord) */
.caja-enlace {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}
.caja-enlace:hover { 
    border-color: rgba(255, 255, 255, 0.8); /* Borde más blanco */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); /* Brillo blanco exterior */
    transform: translateY(-2px); /* Pequeño salto hacia arriba */
    background: rgba(255, 255, 255, 0.05); /* Aclara un poco el fondo al pasar el ratón */
}

.info-caja { display: flex; flex-direction: column; flex-grow: 1; }
.info-caja strong { font-size: 13px; margin-bottom: 3px; }
.info-caja span { font-size: 11px; color: #888; }

/* Estilos específicos Discord */
.discord-avatar { width: 40px; height: 40px; border-radius: 8px; margin-right: 15px; }
.btn-discord { 
    background: transparent; color: white; border: 1px solid white; 
    padding: 5px 10px; font-size: 11px; border-radius: 5px; cursor: pointer;
    font-family: 'Space Mono', monospace;
}
.btn-discord:hover { background: white; color: black; }

/* Reproductor */
.reproductor {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 10px; margin-top: 20px;
}
.nombre-cancion { font-size: 14px; font-weight: bold; }
.controles span { cursor: pointer; margin: 0 5px; font-size: 18px; transition: transform 0.2s; }
.controles span:hover { transform: scale(1.2); }

/* --- Botones Redes Sociales --- */
.iconos-redes {
    display: flex;
    justify-content: center;
    gap: 15px; /* Separación entre botones */
    margin-top: 15px;
}

.iconos-redes a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* Brillo sutil inicial */
}

.iconos-redes a:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9); /* Brillo fuerte al pasar el ratón */
    transform: scale(1.1); /* Se hace un poquito más grande */
    background: rgba(255, 255, 255, 0.1);
}

/* --- Efecto de Rastro del Cursor (Mouse Trail) --- */
.rastro-mouse {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff; /* Centro blanco */
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.9); /* Brillo rojo para combinar con tu fondo */
    border-radius: 50%;
    pointer-events: none; /* Para que no bloquee tus clics en los botones */
    z-index: 9999; /* Para que quede por encima de todo */
    animation: desvanecerRastro 0.8s linear forwards;
}

/* Animación para que la partícula desaparezca y caiga un poco */
@keyframes desvanecerRastro {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.2) translateY(15px); }
}