body, html {
    background-color: #000000 !important;
}

#cyber-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030303;
    color: #fff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Lexend Zetta', sans-serif;
    overflow: hidden;
}

#cyber-preloader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.15), rgba(0,0,0,0.15) 1px, transparent 1px, transparent 2px);
    pointer-events: none;
    z-index: 1;
}

.terminal-loader {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 320px;
    z-index: 2;
}

.sys-text {
    font-size: 24px;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.loading-bar-container {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    transition: width 0.08s linear;
}

.status-text {
    font-size: 10px;
    letter-spacing: 2px;
    color: #888;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.glitch-text {
    animation: glitchEffect 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.8);
}

#cyber-preloader.loaded {
    animation: crtOff 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    pointer-events: none;
}

@keyframes glitchEffect {
    0% { transform: translate(0); text-shadow: none; }
    20% { transform: translate(-2px, 1px); text-shadow: 2px 0 #ff003c, -2px 0 #00f0ff; }
    40% { transform: translate(-1px, -1px); text-shadow: -2px 0 #ff003c, 2px 0 #00f0ff; }
    60% { transform: translate(2px, 1px); text-shadow: 2px 0 #ff003c, -2px 0 #00f0ff; }
    80% { transform: translate(1px, -1px); text-shadow: -2px 0 #ff003c, 2px 0 #00f0ff; }
    100% { transform: translate(0); text-shadow: none; }
}

@keyframes crtOff {
    0% { transform: scale(1, 1); opacity: 1; filter: contrast(1); }
    30% { transform: scale(1, 0.005); opacity: 1; filter: contrast(3) brightness(3); background: #ffffff; }
    60% { transform: scale(1, 0.005); opacity: 1; }
    100% { transform: scale(0, 0.005); opacity: 0; }
}

.scroll-container {
    background-color: transparent !important;
    background: transparent !important;
    position: relative;
    z-index: 10;
}

.slider-wrapper {
    z-index: 10 !important;
}
