#preloader {
    background: linear-gradient(160deg, var(--imtel-black) 0%, var(--imtel-blue-dark) 100%);
}

.imtel-preloader-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.imtel-preloader-inner {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.imtel-preloader-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 64px;
}

.imtel-preloader-bar {
    width: 7px;
    height: 18px;
    border-radius: 2px;
    animation: imtelPreloaderPulse 0.7s ease-in-out infinite alternate;
}

.imtel-preloader-bar:nth-child(1) {
    background: var(--imtel-blue);
    box-shadow: 0 0 12px var(--imtel-glow-blue);
    animation-delay: 0s;
}

.imtel-preloader-bar:nth-child(2) {
    background: #4A5FAE;
    box-shadow: 0 0 12px rgba(74, 95, 174, 0.5);
    animation-delay: 0.1s;
}

.imtel-preloader-bar:nth-child(3) {
    background: #8A4A8E;
    box-shadow: 0 0 12px rgba(138, 74, 142, 0.5);
    animation-delay: 0.2s;
}

.imtel-preloader-bar:nth-child(4) {
    background: #B93368;
    box-shadow: 0 0 12px rgba(185, 51, 104, 0.5);
    animation-delay: 0.3s;
}

.imtel-preloader-bar:nth-child(5) {
    background: var(--imtel-red);
    box-shadow: 0 0 12px var(--imtel-glow-red);
    animation-delay: 0.4s;
}

@keyframes imtelPreloaderPulse {
    0% {
        height: 14px;
    }
    100% {
        height: 64px;
    }
}

.imtel-preloader-word {
    color: #ffffff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 5px;
}

.imtel-preloader-progress {
    width: 140px;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.imtel-preloader-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--imtel-blue), var(--imtel-red));
    animation: imtelPreloaderFill 1.6s ease-in-out infinite;
}

@keyframes imtelPreloaderFill {
    0% {
        width: 0%;
    }
    70% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .imtel-preloader-bar,
    .imtel-preloader-progress-fill {
        animation: none;
    }

    .imtel-preloader-bar {
        height: 40px;
    }

    .imtel-preloader-progress-fill {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .imtel-preloader-bars {
        height: 52px;
    }

    .imtel-preloader-word {
        font-size: 17px;
        letter-spacing: 4px;
    }
}
