/* =========================================================
   LEVEL UP LEADERSHIP — GLOBAL STYLES
   ========================================================= */

/* 🩶 Base general */
body {
    background-color: #0a0a0a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

::selection {
    background-color: #00e0ff;
    color: #0a0a0a;
}

/* 🌈 Cursor parpadeante */
.cursor {
    display: inline-block;
    margin-left: 3px;
    width: 2px;
    background: #ffffff;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* 🌌 Partículas */
#particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    /* 🔒 evita que salgan del viewport */
    pointer-events: none;
    /* no bloquea clics */
    z-index: 0;
    /* se mantiene detrás de todo */
}

.particles span {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #00e0ff, #ff00aa);
    border-radius: 50%;
    opacity: 0.5;
    animation: move 15s linear infinite;
}

@keyframes move {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) translateX(10vw);
        /* 🔹 movimiento lateral suave */
        opacity: 0;
    }
}


/* 💫 Animación pulso de brillo (botones) */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px #00E0FF44, 0 0 30px #FF00AA33;
    }

    50% {
        box-shadow: 0 0 25px #00E0FFAA, 0 0 45px #FF00AAAA;
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2.8s infinite ease-in-out;
}

/* ✨ Glow de texto lateral */
@keyframes glowText {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(255, 0, 170, 0.2), 0 0 30px rgba(0, 224, 255, 0.15);
        opacity: 0.25;
    }

    50% {
        text-shadow: 0 0 35px rgba(255, 0, 170, 0.5), 0 0 60px rgba(0, 224, 255, 0.4);
        opacity: 0.35;
    }
}

.animate-glowText {
    animation: glowText 6s ease-in-out infinite;
}

/* 🚀 Texto en movimiento (marquee) */
@keyframes marquee-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

.animate-marquee-left {
    display: inline-flex;
    animation: marquee-left 22s linear infinite;
}

@keyframes marquee-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.animate-marquee-reverse {
    display: inline-flex;
    animation: marquee-reverse 22s linear infinite reverse;
}

/* 🔮 Join Steps - Imagen transición */
#joinImage {
    transition: all 0.7s ease-out;
}


/* 🌠 Efecto de desaparición del cursor después del typing */
@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* 🌈 Barra inferior glow footer */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 170, 0.08), transparent 60%);
    opacity: 0.6;
}

/* ✴ Sombras suaves para cards */
.card-glow {
    transition: all 0.5s ease;
}

.card-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 0, 170, 0.3), 0 0 40px rgba(0, 224, 255, 0.25);
}

/* 🪶 Fondo neon light */
#neon-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 170, 0.15), rgba(0, 224, 255, 0.1), transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    transition: transform 0.2s linear;
}

/* 🎥 Video Modal (animación suave) */
#videoBox {
    transition: all 0.5s ease;
    transform: scale(0.95);
    opacity: 0;
}

#videoModal:not(.hidden) #videoBox {
    transform: scale(1);
    opacity: 1;
}

/* 🔧 FIX VISUAL RESPONSIVE — evitar ancho cambiante */

#navbar {
    transition: background 0.7s ease-in-out, backdrop-filter 0.7s ease-in-out;
}

html {
    overflow-y: scroll;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}



/* 🌌 Glow de fondo en secciones */
.section-glow {
    background: radial-gradient(circle at 30% 120%, #7700FF22 0%, transparent 60%);
    opacity: 0.6;
}

/* 💫 Efecto hover general */
.hover-lift {
    transition: all 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.25);
}

/* ✨ Efecto blur fondo */
.backdrop-glow {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 🌀 Animación de luz infinita (footer glow) */
@keyframes footerPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.animate-footerPulse {
    animation: footerPulse 6s infinite ease-in-out;
}

/* ✨ Efecto de pulso neón */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 170, 0.4),
            0 0 40px rgba(0, 224, 255, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 0, 170, 0.6),
            0 0 60px rgba(0, 224, 255, 0.6);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 0, 170, 0.4),
            0 0 40px rgba(0, 224, 255, 0.4);
        transform: scale(1);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 2s infinite ease-in-out;
}

/* ✨ Suaviza el desplazamiento */
html {
    scroll-behavior: smooth;
}

/* ✨ Animación de aparición */
#scrollTopBtn {
    opacity: 0;
    transform: translateY(30px);
}

#scrollTopBtn.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}


/* ✨ Animación de aparición del logo */
@keyframes logoPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-logoPop {
    animation: logoPop 1.2s ease-out forwards;
}

/* 🔄 Transición suave al desaparecer */
.fade-out {
    opacity: 0;
    transition: opacity 2s ease-out;
}