/* WEBNova IA - ADVANCED LOADER STYLES */
#webnova-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020204;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s ease-in-out;
}

#webnova-loader video {
    position: relative;
    width: 350px;
    height: auto;
    max-width: 90vw;
    z-index: 50;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.4));
}

/* SHUTTERS */
.tech-shutter {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: #050505;
    z-index: 20;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tech-shutter.top {
    top: 0;
    border-bottom: 2px solid var(--neon-cyan, #00f3ff);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.2);
}

.tech-shutter.bottom {
    bottom: 0;
    border-top: 2px solid var(--neon-cyan, #00f3ff);
    box-shadow: 0 -5px 20px rgba(0, 243, 255, 0.2);
    justify-content: flex-start;
}

/* SCAN LINE (DYNAMO EFFECT) */
.scan-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--neon-cyan, #00f3ff);
    box-shadow: 0 0 20px var(--neon-cyan, #00f3ff);
    z-index: 30;
    opacity: 0.8;
}

/* ANIMATION STATES */
body.loaded #webnova-loader {
    pointer-events: none;
    background: transparent;
}

body.loaded .tech-shutter.top {
    transform: translateY(-100%);
}

body.loaded .tech-shutter.bottom {
    transform: translateY(100%);
}

body.loaded .scan-line {
    opacity: 0;
    transform: scaleX(0);
    transition: 0.5s;
}

body.loaded video {
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.5s ease-out;
}

/* PRELOADER GRID */
.tech-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 1;
}
