/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 123, 0, 0.03),
        rgba(4, 102, 200, 0.03));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    animation: logoReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 2;
}

.loading-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    border-top-color: rgb(255, 123, 0);
    border-radius: 50%;
    animation: loadingRotate 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

@keyframes loadingRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        border-top-color: rgb(255, 123, 0);
    }
    25% {
        border-top-color: rgb(255, 123, 0);
    }
    50% {
        border-top-color: rgb(4, 102, 200);
    }
    75% {
        border-top-color: rgb(4, 102, 200);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        border-top-color: rgb(255, 123, 0);
    }
}

@keyframes logoReveal {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hide content until loaded */
.content-wrapper {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.content-wrapper.loaded {
    opacity: 1;
}
