@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,500;1,900&display=swap');
*{
    font-family: 'Poppins',cursive;
}
body{
    color: azure;
    width: 100%;
    height: 82vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
    /* padding-top: -30; */
}

/* ===== Pantalla temporal de introducción ===== */
.intro{
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vw;
    opacity: 1;
    transition: opacity 1.2s ease-in-out;
}
.intro.hide{
    opacity: 0;
    pointer-events: none;
}
.intro__text{
    position: absolute;
    max-width: 900px;
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* desplazamiento lento y continuo (flotante) */
    animation: introFloat 6s ease-in-out infinite alternate;
}
.intro__text.is-visible{
    opacity: 1;
}
@keyframes introFloat{
    from{
        transform: translateY(12px);
    }
    to{
        transform: translateY(-12px);
    }
}
/* ===== Corazones brillantes ===== */
.hearts-layer{
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.heart{
    position: absolute;
    bottom: -20%;
    left: var(--x);
    font-size: var(--s);
    color: #ff7fb9;
    opacity: 0;
    will-change: transform, opacity;
    filter: drop-shadow(0 0 4px rgba(255, 127, 185, 0.5))
            drop-shadow(0 0 16px rgba(255, 127, 185, 0.35))
            drop-shadow(0 0 40px rgba(255, 127, 185, 0.2));
    animation: heartRise var(--dur) var(--delay) ease-in infinite;
    user-select: none;
}

@keyframes heartRise{
    0%{
        transform: translateY(0) scale(0.8) rotate(var(--r));
        opacity: 0;
    }
    8%{
        opacity: var(--o);
    }
    50%{
        transform: translateY(-70vh) scale(1.08) rotate(calc(var(--r) * 0.5));
        opacity: var(--o);
    }
    100%{
        transform: translateY(-140vh) scale(0.85) rotate(calc(var(--r) * -0.4));
        opacity: 0;
    }
}

/* ===== Texto lateral "Lunita Wonitaa Agonia" ===== */
.side-text{
    position: absolute;
    top: 50%;
    color: #ffffff;
    font-size: clamp(0.75rem, 2vw, 1.15rem);
    letter-spacing: 0.5em;
    white-space: nowrap;
    opacity: 0.98;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7),
                 0 0 30px rgba(255, 180, 220, 0.55),
                 0 0 80px rgba(255, 200, 235, 0.4);
    z-index: 25;
    user-select: none;
    pointer-events: none;
    transform-origin: center;
}

.side-text--left{
    left: clamp(8px, 1.8vw, 36px);
    transform: translateY(-50%) rotate(-35deg);
    animation: sideFloatLeft 6.8s ease-in-out infinite alternate;
}

.side-text--right{
    right: clamp(8px, 1.8vw, 36px);
    transform: translateY(-50%) rotate(35deg);
    animation: sideFloatRight 6.8s ease-in-out infinite alternate;
}

@keyframes sideFloatLeft{
    from{
        transform: translateY(-54%) rotate(-35deg);
    }
    to{
        transform: translateY(-46%) rotate(-35deg);
    }
}

@keyframes sideFloatRight{
    from{
        transform: translateY(-54%) rotate(35deg);
    }
    to{
        transform: translateY(-46%) rotate(35deg);
    }
}

@media screen and (max-width: 574px){
    .intro__text{
        font-size: 1.15rem;
        line-height: 1.6;
        padding: 0 6vw;
    }

    .side-text{
        font-size: 0.65rem;
        letter-spacing: 0.35em;
    }

    .side-text--left{
        left: clamp(4px, 2vw, 12px);
        transform: translateY(-50%) rotate(-40deg);
    }

    .side-text--right{
        right: clamp(4px, 2vw, 12px);
        transform: translateY(-50%) rotate(40deg);
    }

    @keyframes sideFloatLeft{
        from{
            transform: translateY(-56%) rotate(-40deg);
        }
        to{
            transform: translateY(-44%) rotate(-40deg);
        }
    }

    @keyframes sideFloatRight{
        from{
            transform: translateY(-56%) rotate(40deg);
        }
        to{
            transform: translateY(-44%) rotate(40deg);
        }
    }
}

.botones{
    padding: 9px;
    border-radius: 80px;
    background-color: transparent;
    border: none;
}

.botones a{
    background-color: #0a2be9;
    padding: 9px;
    border-radius: 80px;
    -webkit-border-radius: 80px;
    -moz-border-radius: 80px;
    -ms-border-radius: 80px;
    -o-border-radius: 80px;

}

.botones a:focus{
    background-color: rgb(50, 194, 194);
}

.greetings{
    font-size: 7rem;
    font-weight: 900;
}
.greetings > span{
    animation: glow 2.5s ease-in-out infinite;
}
@keyframes glow{
    0%, 100%{
        color: #fff;
        text-shadow: 0 0 12px #39c6d6, 0 0 50px #39c6d6, 0 0 100px #39c6d6;
    }
    10%, 90%{
        color: #111;
        text-shadow: none;
    }
}
.greetings > span:nth-child(2){
    animation-delay: .2s ;
}
.greetings > span:nth-child(3){
    animation-delay: .4s ;
}
.greetings > span:nth-child(4){
    animation-delay: .6s;
}
.greetings > span:nth-child(5){
    animation-delay: .8s;
}
.greetings > span:nth-child(6){
    animation-delay: 1s;
}

.description{
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.button a{
    text-decoration: none;
    font-size: 1rem;
    color: #111;
}

@media screen and (max-width:574px){
    .greetings{
        display: block;
        font-size: 4rem;
        font-weight: 800;
        text-align: center;
    }
    .description{
        font-size: 2rem;
    }
    
    .button a{
        font-size: 1rem;
    }
}