
.global-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #030a05;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
               transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
               visibility 0.3s ease;
}

.global-preloader.hidden {
    opacity: 0;
    transform: scale(0.98);
    visibility: hidden;
    pointer-events: none;
}


.starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50px;
    top: -20vh;
    animation: star-fall linear infinite;
    will-change: transform;
    contain: strict;
}

@keyframes star-fall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(140vh);
    }
}


.rocket-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: rocket-vibrate 0.15s linear infinite alternate;
    will-change: transform;
}


.rocket-frame {
    position: absolute;
    width: 160px;
    height: 160px;
    object-fit: contain;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
    mix-blend-mode: screen;
}


.frame-rocket {
    opacity: 1;
    z-index: 2;
}


.frame-logo {
    opacity: 0;
    z-index: 1;
    transform: scale(0.9);
}


.global-preloader.loaded .frame-rocket {
    opacity: 0;
}

.global-preloader.loaded .frame-logo {
    opacity: 1;
    transform: scale(1);
}


.exhaust-particles {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 100px;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #6eff84;
    border-radius: 50%;
    opacity: 0;
    animation: particle-fire 0.6s infinite;
}

.particle:nth-child(1) {
    left: 40%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 60%;
    animation-delay: 0.1s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 0.2s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 0.3s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 0.4s;
}

.particle:nth-child(6) {
    left: 45%;
    animation-delay: 0.5s;
}


@keyframes rocket-vibrate {
    0% {
        transform: translate(0px, 0px);
    }

    20% {
        transform: translate(-1.5px, 1px);
    }

    40% {
        transform: translate(1px, -1.5px);
    }

    60% {
        transform: translate(-1px, -1px);
    }

    80% {
        transform: translate(1.5px, 0.5px);
    }

    100% {
        transform: translate(-0.5px, 1.5px);
    }
}

@keyframes particle-fire {
    0% {
        transform: translate(-50%, 0) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, 90px) scale(0.2);
        opacity: 0;
    }
}