/* Background FX Container */
.background-fx {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Orb styles */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Heavy blur for soft glow */
    opacity: 0.15;
    animation: orbFloat 20s infinite ease-in-out;
}

.orb-1 {
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    /* Blue */
    animation-delay: 0s;
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
    /* Lighter Blue */
    animation-delay: -10s;
}

/* Floating Ghost Style - Fixed position follows scroll */
.ghost-float {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-image: url('../images/ghost-app-mascote.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    filter: blur(1px) drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
    z-index: 0;
    pointer-events: none;
    transition: transform 0.3s ease-out;
}

/* Animation Keyframes */
@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(30px, 30px) scale(1.1) rotate(10deg);
    }

    66% {
        transform: translate(-30px, 20px) scale(0.9) rotate(-5deg);
    }
}

@keyframes ghostFloat {

    /* Deprecated - kept for reference or generic usage */
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes ghostFly {
    0% {
        transform: translate(-10vw, 10vh) rotate(-5deg) scale(0.8);
    }

    25% {
        transform: translate(30vw, 60vh) rotate(5deg) scale(1.1);
    }

    50% {
        transform: translate(80vw, 20vh) rotate(15deg) scale(0.9);
    }

    75% {
        transform: translate(50vw, -10vh) rotate(5deg) scale(1.0);
    }

    100% {
        transform: translate(-10vw, 10vh) rotate(-5deg) scale(0.8);
    }
}