/* --- CONFIGURACIÓN GLOBAL --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    cursor: none !important; 
}

body {
    background-color: #000;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Evita scroll ya que no hay galería */
}

/* --- CURSOR CRUZ BLANCA --- */
#custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 30px; height: 30px;
    pointer-events: none;
    z-index: 20000;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out;
}

#custom-cursor::before, #custom-cursor::after {
    content: '';
    position: absolute;
    background-color: #ffffff;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

#custom-cursor::before { width: 2px; height: 100%; }
#custom-cursor::after { width: 100%; height: 2px; }

/* --- PANTALLA DE ENTRADA --- */
#entry-screen {
    position: fixed;
    width: 100%; height: 100%;
    background: rgba(133, 133, 133, 0.541);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#entry-screen.hidden { opacity: 0; visibility: hidden; }

#entry-screen h1, .name {
    color: #ffffff;
    font-weight: 200;
    letter-spacing: 12px;
    text-transform: uppercase;
    text-align: center;
}

#entry-screen h1 { font-size: 1.1rem; line-height: 2; }

/* --- HERO Y CONTENIDO CENTRADO --- */
.hero {
    height: 100vh; width: 100%;
    display: flex; justify-content: center; align-items: center;
    position: relative;
}

#bg-video {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -2; object-fit: cover;
}

.glass-overlay {
    position: absolute; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px) saturate(140%);
    z-index: -1;
}

.content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-circle {
    width: 150px; height: 150px;
    border-radius: 50%; overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.322);
}

.profile-circle img { width: 100%; height: 100%; object-fit: cover; }

.name { font-size: 2.8rem; margin: 0; }

.bio { 
    color: rgba(255,255,255,0.6); 
    margin-top: 5px; 
    letter-spacing: 4px; 
    text-transform: lowercase; 
    font-size: 0.9rem; 
}

/* --- LINKS Y SPOTIFY --- */
.links { margin: 25px 0; display: flex; gap: 25px; }
.links a { color: white; font-size: 1.2rem; opacity: 0.6; transition: 0.3s; }
.links a:hover { opacity: 1; transform: translateY(-3px); }

#spotify-container {
    width: 280px; padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: left;
    /* Animación suave */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    max-height: 0;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

#spotify-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 200px;
    margin-top: 20px;
}

/* --- PROGRESO DE SPOTIFY --- */
.spot-progress-bg { 
    height: 2px; 
    background: rgba(255, 255, 255, 0.1); 
    margin-top: 8px; 
    border-radius: 2px;
    overflow: hidden; /* Asegura que la barra no se salga */
}

#spot-bar { 
    height: 100%; 
    background: white; 
    width: 0%; 
    /* Esta transición permite que la barra se mueva suavemente en ambos sentidos */
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Esta clase anula la animación para saltos instantáneos */
.no-transition {
    transition: none !important;
}

/* --- ANIMACIÓN DE CAMBIO DE CANCIÓN --- */

/* Efecto Fade Out / Fade In para el contenido interno */
.spot-info-inner {
    display: flex;
    gap: 10px;
    align-items: center;
    transition: opacity 0.5s ease; /* Solo opacidad para el fade */
    opacity: 1;
}

.spot-info-inner.changing {
    opacity: 0; /* Desaparece en el lugar */
}

.spot-info-inner img { width: 40px; height: 40px; border-radius: 4px; }

/* --- VOLUMEN --- */
.volume-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }
.volume-glass { 
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 50px;
    width: 38px; height: 38px; transition: all 0.5s ease;
    overflow: hidden;
}
.volume-glass:hover { width: 160px; justify-content: flex-start; padding-left: 12px; }

.volume-icon { color: white !important; font-size: 14px; opacity: 0.8; flex-shrink: 0; }
.volume-glass:hover .volume-icon { margin-right: 12px; opacity: 1; }

#volume-slider { 
    appearance: none; -webkit-appearance: none; width: 100px; height: 2px; 
    background: rgba(255,255,255,0.3); outline: none; opacity: 0; transition: 0.3s;
}
.volume-glass:hover #volume-slider { opacity: 1; }
#volume-slider::-webkit-slider-thumb { appearance: none; width: 8px; height: 8px; background: white; border-radius: 50%; }