/* ===== ANIMAÇÕES GLOBAIS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== GLOW ANIMATIONS ===== */
@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 51, 51, 0.2);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 51, 51, 0.5), 0 0 80px rgba(255, 51, 51, 0.1);
    }
}

.glow-text {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* ===== FLOATING ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 4s ease-in-out infinite;
}

.float-delay-1 { animation-delay: 0.5s; }
.float-delay-2 { animation-delay: 1s; }
.float-delay-3 { animation-delay: 1.5s; }

/* ===== TYPING ===== */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--red-neon); }
}

.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--red-neon);
    animation: typing 2s steps(20) 1s forwards, blink 0.6s step-end infinite;
    max-width: 0;
}

/* ===== ORBITAL ROTATION ===== */
@keyframes orbit-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-ring {
    animation: orbit-rotate 20s linear infinite;
}

.orbit-ring:nth-child(2) {
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-ring:nth-child(3) {
    animation-duration: 40s;
}

/* ===== SCROLL INDICATOR ===== */
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== HOVER EFFECTS ===== */
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(179, 0, 0, 0.15);
}

/* ===== PARTICLE GLOW ===== */
.particle-glow {
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}