/* intro-animation.css - Animación de entrada temática de limpieza */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: fadeOutOverlay 0.5s ease-out 2.2s forwards;
}

.intro-content {
    position: relative;
    z-index: 10001;
    text-align: center;
    opacity: 0;
    animation: logoReveal 1s ease-out 0.2s forwards;
}

.intro-logo-text {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #cf9f2e, #f3d779);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(207, 159, 46, 0.7);
    letter-spacing: 3px;
    transform: scale(0.8);
    animation: logoPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
}

.intro-tagline {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 0.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
}

/* Canvas para partículas (spray) */
#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

/* Efecto de barrido (trapo limpiador) */
.cleaning-swipe {
    position: absolute;
    top: 0;
    left: -100%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(207, 159, 46, 0.2) 30%, 
        rgba(243, 215, 121, 0.4) 50%,
        rgba(207, 159, 46, 0.2) 70%,
        transparent 100%);
    z-index: 10002;
    filter: blur(10px);
    animation: swipeAcross 1.2s cubic-bezier(0.77, 0, 0.175, 1) 1.2s forwards;
    pointer-events: none;
}

/* Animaciones */
@keyframes fadeOutOverlay {
    0% { opacity: 1; visibility: visible; }
    99% { opacity: 0; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes logoReveal {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes logoPop {
    0% { transform: scale(0.8); text-shadow: 0 0 0 rgba(207, 159, 46, 0); }
    50% { transform: scale(1.1); text-shadow: 0 0 50px rgba(207, 159, 46, 0.8); }
    100% { transform: scale(1); text-shadow: 0 0 30px rgba(207, 159, 46, 0.7); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes swipeAcross {
    0% { left: -100%; }
    80% { left: 50%; }
    100% { left: 150%; }
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .intro-logo-text {
        font-size: 2.5rem;
    }
    .intro-tagline {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}