/*
    EVE Target Intel - Animation Definitions
    
    Copyright (C) 2025 moregh (https://github.com/moregh/)
    Licensed under AGPL License.
*/

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 212, 255, 0.03) 0.9px, transparent 0.9px), linear-gradient(90deg, rgba(0, 212, 255, 0.03) 0.9px, transparent 0.9px);
    background-size: 45px 45px;
    animation: gridMove 18s linear infinite
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), transparent);
    filter: blur(36px);
    opacity: 0.1;
    animation: float 18s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden
}

.orb-1 {
    width: 270px;
    height: 270px;
    top: 9%;
    right: 18%;
    animation-delay: 0s
}

.orb-2 {
    width: 180px;
    height: 180px;
    bottom: 18%;
    left: 9%;
    animation-delay: 7.2s;
    background: radial-gradient(circle, var(--secondary-color), transparent)
}

.orb-3 {
    width: 135px;
    height: 135px;
    top: 54%;
    right: 54%;
    animation-delay: 13.5s;
    background: radial-gradient(circle, var(--danger-color), transparent)
}

@keyframes gridMove {
    0% {
        transform: translate3d(0, 0, 0)
    }

    100% {
        transform: translate3d(45px, 45px, 0)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1)
    }

    25% {
        transform: translate3d(27px, -27px, 0) scale(1.1)
    }

    50% {
        transform: translate3d(-18px, 18px, 0) scale(0.9)
    }

    75% {
        transform: translate3d(18px, 27px, 0) scale(1.05)
    }
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3))
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.6))
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1
    }

    100% {
        transform: scale(1.4);
        opacity: 0
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes warningGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.3))
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.6))
    }
}

.animate-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important
}

.result-item:nth-child(1),
.summary-item:nth-child(1) {
    animation-delay: 0.09s
}

.result-item:nth-child(2),
.summary-item:nth-child(2) {
    animation-delay: 0.135s
}

.result-item:nth-child(3),
.summary-item:nth-child(3) {
    animation-delay: 0.18s
}

.result-item:nth-child(4),
.summary-item:nth-child(4) {
    animation-delay: 0.225s
}

.result-item:nth-child(5),
.summary-item:nth-child(5) {
    animation-delay: 0.27s
}

.result-item:nth-child(n+6) {
    animation-delay: 0.315s
}

.summary-item:nth-child(4) {
    animation-delay: 0.36s
}

.summary-item:nth-child(5) {
    animation-delay: 0.45s
}