:root {
    --primary: #ff416c;
    --secondary: #ff4b2b;
    --dark: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.03);
}

body {
    margin: 0;
    padding: 0;
    background: var(--dark);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    text-align: center;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #2d0a11 0%, var(--dark) 100%);
    z-index: -2;
}

.fecha-ajustada {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 10px;
}

.heart-glow-container {
    margin: 20px auto;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 65, 108, 0.35) 0%, rgba(255, 65, 108, 0) 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.heart-main {
    font-size: 70px;
    filter: drop-shadow(0 0 15px var(--primary));
    animation: beat 1.2s infinite alternate ease-in-out;
}

@keyframes beat {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.container {
    z-index: 10;
    padding: 40px 30px;
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 35px;
    border: 1px solid rgba(255, 65, 108, 0.3);
    width: 80%;
    max-width: 400px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    background: linear-gradient(to right, #fff, var(--primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.localidades {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
}

.loc {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.7rem;
}

.linea {
    height: 1px;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 12px;
    position: relative;
}

.avion {
    position: absolute;
    top: -11px;
    font-size: 1rem;
    animation: fly 4s infinite ease-in-out;
}

@keyframes fly {
    0% {
        left: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 85%;
        opacity: 0;
    }
}

.btn {
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
}

/* BOTÓN ABRAZO */
.btn-abrazo {
    margin-top: 20px;
    background: rgba(255, 65, 108, 0.1);
    border: 1px solid var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    width: 100%;
    outline: none;
}

.btn-abrazo:active {
    transform: scale(0.95);
    background: var(--primary);
}

.scroll-texto {
    max-height: 350px;
    overflow-y: auto;
    text-align: left;
}

.scroll-texto::-webkit-scrollbar {
    width: 4px;
}

.scroll-texto::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.control-volumen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#slider-vol {
    -webkit-appearance: none;
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}

#slider-vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.star {
    position: fixed;
    background: #fff;
    border-radius: 50%;
    z-index: -1;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.9;
    }
}

.floating-heart {
    position: fixed;
    bottom: -50px;
    font-size: 22px;
    z-index: -1;
    animation: floatUp var(--duration) linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-110vh) translateX(var(--lateral)) rotate(360deg);
        opacity: 0;
    }
}

.hidden {
    display: none !important;
}

@media (max-width: 480px) {
    .container {
        width: 80%;
        padding: 30px 25px;
    }

    h1 {
        font-size: 2rem;
    }

    .scroll-texto {
        max-height: 280px;
    }
}