#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#pageLoader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#pageTransition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

#pageTransition.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

body.loading {
    overflow: hidden;
}

.loader-logo {
    max-width: 200px;
    height: auto;
    opacity: 0;
    animation: logoFadeIn 1.2s ease-in-out 0.4s forwards;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
