.preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #0E1B31;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 400ms ease-in-out;
    z-index: 3000;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.preloader .preloader-text {
    color: #A1B1C9;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    animation: fadeIn 1.5s ease-in-out infinite;
}

.preloader .loader-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.preloader .loader {
    box-sizing: border-box;
    position: absolute;
    width: 100px;
    height: 100px;
    border: 8px solid transparent;
    border-top-color: #14A76C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.preloader .loader:before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 6px solid transparent;
    border-top-color: #3E8ED0;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.preloader .loader:after {
    content: "";
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    bottom: 24px;
    border: 4px solid transparent;
    border-top-color: #F1C40F;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.preloader .market-analysis {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.market-bar {
    width: 12px;
    height: 50px;
    background: #14A76C;
    animation: marketRise 1s ease-in-out infinite alternate;
}

.market-bar:nth-child(2) {
    animation-delay: 200ms;
    background: #3E8ED0;
}

.market-bar:nth-child(3) {
    animation-delay: 400ms;
    background: #F1C40F;
}

@keyframes marketRise {
    0% {
        height: 30px;
    }
    100% {
        height: 70px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}
