:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --heart-color: #ff0040;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Cinzel', serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- Fondo: Corazones que se apagan --- */
#hearts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.big-heart {
    position: absolute;
    color: var(--heart-color);
    opacity: 0;
    will-change: transform, opacity;
    animation: floatFade 9s linear forwards;
    filter: drop-shadow(0 0 5px rgba(255, 0, 64, 0.5));
}

@keyframes floatFade {
    0% { transform: translateY(110vh) scale(0.5); opacity: 0; color: #ff0000; }
    20% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; color: #000000; }
}

/* --- Jardín de Flores --- */
#garden-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.flower-svg {
    position: absolute;
    bottom: -150px;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.9));
}

/* --- Contenedor Principal (Nombre + Corazón 3D) --- */
.main-stage {
    position: relative;
    z-index: 10;
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 20px;
    perspective: 1000px; /* Para profundidad 3D */
}

.name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Subimos un poco todo el bloque para dar espacio al player grande */
    transform: translateY(-20px); 
}

.alondra-text {
    font-size: clamp(3rem, 10vw, 6rem);
    letter-spacing: 0.2em;
    font-weight: 700; /* Más grueso para ser premium */
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 5px rgba(255,255,255,0.8);
    animation: elegantPulse 4s infinite ease-in-out;
    z-index: 12;
}

/* --- El Canvas del Corazón 3D --- */
#heart3d {
    width: 300px;
    height: 300px;
    margin-top: -60px; /* Superposición ligera para unirlo visualmente */
    z-index: 11;
    filter: drop-shadow(0 0 15px rgba(255, 0, 60, 0.6));
}

@keyframes elegantPulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.02); opacity: 1; text-shadow: 0 0 40px rgba(255, 255, 255, 0.8); }
}

/* --- Spotify Overlay --- */
.spotify-container {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    /* Un degradado negro detrás para que se lea bien sobre las flores */
    background: radial-gradient(ellipse at bottom, rgba(0,0,0,0.9) 0%, transparent 70%);
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .main-stage {
        justify-content: flex-end; /* Empujar hacia abajo */
        padding-bottom: 40px;
    }
    .name-container {
        transform: translateY(0); /* Resetear posición */
    }
    .alondra-text {
        font-size: 14vw; /* Texto muy grande en móvil */
    }
    #heart3d {
        width: 250px;
        height: 250px;
        margin-top: -50px;
    }
    .spotify-container {
        padding-bottom: 80px; /* Espacio extra en móviles con barra inferior */
    }
}

@media (max-height: 750px) {
    /* Si el móvil es corto, escalamos el player para que quepa todo */
    .spotify-container iframe {
        height: 250px !important; /* Forzar altura menor en pantallas cortas */
    }
    .main-stage {
        padding-bottom: 10px;
    }
}