/* pulse, flash, beam, ripple  */
.pulse {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.flash {
    animation: flash 0.4s ease-in-out;
}

@keyframes flash {
    0% {
        background-color: #cc3333;
    }

    50% {
        background-color: #ff6666;
    }

    100% {
        background-color: transparent;
    }
}

.flash {
    animation: flash 0.4s ease-in-out;
}

@keyframes flash {
    0% {
        background-color: #cc3333;
    }

    50% {
        background-color: #ff6666;
    }

    100% {
        background-color: transparent;
    }
}

.beam::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: beam-sweep 2.5s infinite linear;
    pointer-events: none;
}

@keyframes beam-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple-effect 0.6s ease-out;
}

@keyframes ripple-effect {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.fade-in {
    animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
