/* LOADER - Matrix Animation */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-in-out;
    overflow: hidden;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    filter: blur(0.3px);
}

.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.loader-logo {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 8px;
    background: linear-gradient(45deg, #FF6F00, #FF9500, #FF6F00);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: matrixLogoGlow 2s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 111, 0, 0.5);
    position: relative;
}

.loader-logo::before {
    content: 'ZETA TENS';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: none;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(255, 111, 0, 0.3);
    animation: matrixLogoPulse 2s ease-in-out infinite;
}

@keyframes matrixLogoGlow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%;
        filter: brightness(1.3) drop-shadow(0 0 30px rgba(255, 111, 0, 0.8));
    }
}

@keyframes matrixLogoPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.6;
    }
}

.loader-progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 111, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #FF6F00, transparent);
    animation: matrixProgress 5s linear;
}

@keyframes matrixProgress {
    0% { left: -100%; }
    100% { left: 100%; }
}