/* --- WING-BEAT LOADER --- */
#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000; /* Pure black background for the bird to pop */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.loader-bird {
    width: 300px; /* Adjust size of the bird */
    height: auto;
    animation: wingBeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.3)); /* Neon green glow */
}

/* This creates the 'flapping' motion by scaling the image up and down */
@keyframes wingBeat {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1) translateY(-10px); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

body {
    margin: 0;
    font-family: -apple-system, sans-serif;
    color: #ffffff;
    /* Deep forest gradient */
    background: linear-gradient(180deg, #050d05 0%, #0a1a0a 50%, #000000 100%);
    background-size: 100% 200%;
    animation: forestBreath 10s ease-in-out infinite;
}

@keyframes forestBreath {
    0% { background-position: 50% 0%; }
    50% { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }
}
