
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;

    background: url('/IMG/75398-coraz-el_dia_de_san_valentin-rojo-amor-ilustracion-x750.jpg') no-repeat center center fixed;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    text-align: center;
    color: rgb(197, 22, 22);
}

/* ===== CONTENEDOR CENTRAL ===== */

.container {
    padding: 20px;
    width: 90%;
    max-width: 500px;
}


.foto {
    width: 60%;
    max-width: 230px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 6px solid white;
    object-fit: cover;
    animation: latido 1.5s infinite;
}

/* Animación latido */
@keyframes latido {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ===== MENSAJE PRINCIPAL ===== */

.mensaje {
    margin-top: 20px;
    font-size: clamp(20px, 5vw, 26px);
    animation: aparecer 3s ease-in-out;
}

@keyframes aparecer {
    from { opacity: 0; }
    to { opacity: 1; }
}


button {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    background: white;
    color: #aa2652;
    font-size: clamp(14px, 4vw, 16px);
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

button:hover {
    background: #ffe6f0;
}

/* ===== MENSAJE EXTRA ===== */

#mensajeExtra {
    color: #ff4d88;
    font-size: clamp(16px, 4.5vw, 22px);
    text-shadow: 
        0 0 5px #e71d82,
        0 0 10px #f554a5,
        0 0 20px #ff3385;
    margin-top: 20px;
}


.hearts::before {
    content: "💖 💕 💘 💗";
    font-size: 40px;
    position: absolute;
    width: 100%;
    animation: flotar 10s linear infinite;
}

@keyframes flotar {
    0% { transform: translateY(100vh); }
    100% { transform: translateY(-100vh); }
}


.youtube-music {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ===== RESPONSIVE EXTRA PARA CELULARES PEQUEÑOS ===== */

@media (max-width: 480px) {
    .foto {
        width: 70%;
    }

    .hearts::before {
        font-size: 30px;
    }
}
