body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
    text-align: center;
    position: relative;
}

.estrellas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.contenido {
    z-index: 10;
    position: relative;
}

h1 {
    color: #ffd700;
    font-size: 2.8em;
    margin-bottom: 30px;
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700;
    animation: brillar 2s ease-in-out infinite alternate;
    font-weight: 600;
    letter-spacing: 1px;
}

p {
    color: #e6e6fa;
    font-size: 1.4em;
    max-width: 600px;
    line-height: 1.8;
    text-shadow: 0 0 10px rgba(230, 230, 250, 0.5);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 40px;
    margin: 20px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    font-weight: 300;
    text-align: justify;
    animation: floatText 6s ease-in-out infinite;
}

.estrella {
    position: absolute;
    font-size: 20px;
    animation: flotar 10s linear infinite;
    pointer-events: none;
}

.estrella-estatica {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: parpadear 3s ease-in-out infinite;
    box-shadow: 0 0 10px white;
}

@keyframes flotar {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1.5) rotate(360deg);
        opacity: 0;
    }
}

@keyframes brillar {
    0% {
        text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700;
    }
    100% {
        text-shadow: 0 0 30px #ffd700, 0 0 60px #ffd700, 0 0 80px #ffd700;
    }
}

@keyframes parpadear {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes floatText {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Efecto de nebulosa */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
}