/*
 * Halloween Game CSS
 * pcsystemcolombia_halloween_falling_effect()
 */
.halloween-item {
    position: fixed;
    top: -100px;
    z-index: 9999;
    cursor: pointer;
    user-select: none;
    animation: fall linear forwards;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.halloween-pop {
    transform: scale(1.8) rotate(20deg);
    opacity: 0;
}

.halloween-ghost {
    animation: ghostFlash 0.4s ease-in-out 2;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #aef, 0 0 30px #7ef;
}

.explosion {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    font-size: 2.5rem;
    animation: explode 0.5s ease forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0.8;
    }
}

@keyframes explode {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes ghostFlash {
    0%, 100% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(2.5);
        transform: scale(1.2) rotate(5deg);
    }
}