/* Fuente Poppins */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #ffe0f0;
    overflow-x: hidden;
    /* 🔹 evita scroll horizontal */
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    /* 🔹 centra contenido */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    position: relative;
    z-index: 10;
    margin: 0 auto;
    /* 🔹 centra en pantallas grandes */
    box-sizing: border-box;
}

.photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 4px solid #ffc0d0;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #c2185b;
}

.message {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: #c2185b;
}

/* Botón de música */
.music-player button {
    background: #ff80ab;
    color: white;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background 0.3s;
    max-width: 100%;
    /* 🔹 evita que se salga del contenedor */
}

.music-player button:hover {
    background: #ff4da6;
    transform: scale(1.05);
}

.music-player button:active {
    transform: scale(0.95);
}

/* Corazones flotando */
.heart-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 1.5rem;
    color: #ff4da6;
    animation: float 6s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}