/* Loading Overlay - Matches Website Style */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.loading-spinner {
    position: relative;
    text-align: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.spinner-ring:nth-child(1) {
    border: 4px solid rgba(217, 238, 83, 0.1);
}

.spinner-ring:nth-child(2) {
    border: 4px solid transparent;
    border-top-color: #D9EE53;
    border-right-color: #D9EE53;
    animation: smoothSpin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring:nth-child(3) {
    border: 3px solid transparent;
    border-top-color: rgba(217, 238, 83, 0.5);
    animation: smoothSpin 1.5s linear infinite;
}

@keyframes smoothSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 120px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Prevent body scroll when loading */
body.loading-active {
    overflow: hidden;
}
