#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 13, 26, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(99, 102, 241, 0.2);
    border-top: 5px solid #06b6d4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

#buyBtn {
    position: relative;
    z-index: 999;
    pointer-events: auto !important;
    cursor: pointer;
}

#loader-overlay {
    pointer-events: none;
}

#loader-overlay[style*="display: flex"] {
    pointer-events: auto;
}