/* === YEBY Intro Animation - Easily removable === */
.yeby-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #0a0d25 0%, #150c40 50%, #0c0820 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease-out;
    overflow: hidden;
}

.yeby-intro.fade-exit {
    opacity: 0;
    pointer-events: none;
}

.yeby-intro__scene {
    position: relative;
    width: 400px;
    height: 400px;
}

/* Partículas flotantes */
.yeby-intro__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(56, 189, 248, 0.6);
    border-radius: 50%;
    animation: float-particle 3s ease-in-out infinite;
}

.yeby-intro__particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 2.5s;
}

.yeby-intro__particle:nth-child(2) {
    right: 15%;
    top: 35%;
    animation-delay: 0.5s;
    animation-duration: 3s;
}

.yeby-intro__particle:nth-child(3) {
    left: 25%;
    bottom: 30%;
    animation-delay: 1s;
    animation-duration: 2.8s;
}

.yeby-intro__particle:nth-child(4) {
    right: 20%;
    bottom: 25%;
    animation-delay: 1.5s;
    animation-duration: 3.2s;
}

.yeby-intro__particle:nth-child(5) {
    left: 50%;
    top: 10%;
    animation-delay: 0.8s;
    animation-duration: 2.6s;
}

/* Logo central con efectos */
.yeby-intro__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-glow 2s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
}

/* Anillos orbitales */
.yeby-intro__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: rotate-ring linear infinite;
}

.yeby-intro__ring-1 {
    width: 250px;
    height: 250px;
    border-color: rgba(56, 189, 248, 0.3);
    animation-duration: 8s;
}

.yeby-intro__ring-2 {
    width: 320px;
    height: 320px;
    border-color: rgba(99, 102, 241, 0.25);
    animation-duration: 12s;
    animation-direction: reverse;
}

.yeby-intro__ring-3 {
    width: 390px;
    height: 390px;
    border-color: rgba(168, 85, 247, 0.2);
    animation-duration: 16s;
}

/* Texto descriptivo */
.yeby-intro__text {
    margin-top: 480px;
    font-size: 1.2rem;
    color: rgba(226, 232, 240, 0.8);
    animation: fade-in-up 1s ease-out 0.5s both;
}

/* Botón Skip */
.yeby-intro__skip {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fade-in 1s ease-out 1s both;
}

.yeby-intro__skip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Animaciones */
@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: brightness(1);
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        filter: brightness(1.2);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes rotate-ring {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .yeby-intro__scene {
        width: 280px;
        height: 280px;
    }

    .yeby-intro__logo {
        font-size: 3.5rem;
    }

    .yeby-intro__ring-1 {
        width: 160px;
        height: 160px;
    }

    .yeby-intro__ring-2 {
        width: 210px;
        height: 210px;
    }

    .yeby-intro__ring-3 {
        width: 260px;
        height: 260px;
    }

    .yeby-intro__text {
        margin-top: 340px;
        font-size: 0.95rem;
        padding: 0 20px;
        text-align: center;
    }

    .yeby-intro__skip {
        bottom: 20px;
        right: 20px;
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .yeby-intro__scene {
        width: 240px;
        height: 240px;
    }

    .yeby-intro__logo {
        font-size: 2.8rem;
    }

    .yeby-intro__ring-1 {
        width: 140px;
        height: 140px;
    }

    .yeby-intro__ring-2 {
        width: 180px;
        height: 180px;
    }

    .yeby-intro__ring-3 {
        width: 220px;
        height: 220px;
    }

    .yeby-intro__text {
        margin-top: 300px;
        font-size: 0.9rem;
    }

    .yeby-intro__skip {
        bottom: 15px;
        right: 15px;
    }
}