

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0a0f1c);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    align-items: center;
}

.bar {
    display: inline-block;
    width: 3px;
    height: 20px;
    background-color: rgba(255, 255, 255, .5);
    border-radius: 10px;
    animation: scale-up4 1s linear infinite;
}

.bar:nth-child(2) {
    height: 35px;
    margin: 0 5px;
    animation-delay: .25s;
}

.bar:nth-child(3) {
    animation-delay: .5s;
}


.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo {
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.preloader-logo span {
    color: var(--accent-primary, #00cc99);
}

.preloader-text {
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}


@keyframes scale-up4 {
    20% {
        background-color: #ffffff;
        transform: scaleY(1.5);
    }
    
    40% {
        transform: scaleY(1);
    }
}


@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.preloader-logo {
    animation: pulse 2s infinite ease-in-out;
}


@media (max-width: 768px) {
    .preloader-logo {
        font-size: 20px;
    }
    
    .bar {
        width: 2px;
        height: 15px;
    }
    
    .bar:nth-child(2) {
        height: 28px;
    }
}
