#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F2EFE9 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.turtle-container {
    width: 150px;
    height: 150px;
    animation: float 2s ease-in-out infinite;
}

.turtle-logo {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Simple approach - just prevent scrolling and make content invisible while loading */
body.loading {
    overflow: hidden;
}

body.loading > *:not(#preloader) {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

/* When loading is done, fade content back in */
body:not(.loading) > *:not(#preloader) {
    opacity: 1;
}