/* Animations */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 15px var(--primary-color);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-color);
    }
}

@keyframes ring-scan {
    0% {
        transform: rotate(0deg);
        border-top-color: var(--primary-color);
        border-right-color: transparent;
        border-bottom-color: var(--secondary-color);
        border-left-color: transparent;
    }
    25% {
        border-top-color: transparent;
        border-right-color: var(--primary-color);
        border-bottom-color: transparent;
        border-left-color: var(--secondary-color);
    }
    50% {
        transform: rotate(180deg);
        border-top-color: var(--secondary-color);
        border-right-color: transparent;
        border-bottom-color: var(--primary-color);
        border-left-color: transparent;
    }
    75% {
        border-top-color: transparent;
        border-right-color: var(--secondary-color);
        border-bottom-color: transparent;
        border-left-color: var(--primary-color);
    }
    100% {
        transform: rotate(360deg);
        border-top-color: var(--primary-color);
        border-right-color: transparent;
        border-bottom-color: var(--secondary-color);
        border-left-color: transparent;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes beam {
    0% {
        opacity: 0.3;
        height: 100px;
    }
    50% {
        opacity: 1;
        height: 150px;
    }
    100% {
        opacity: 0.3;
        height: 100px;
    }
}

@keyframes slot-spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes grid-flow {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

@keyframes casino-lights {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.flicker {
    animation: flicker 2s infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.scanline {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 194, 255, 0.5);
    box-shadow: 0 0 10px var(--secondary-color);
    animation: scanline 3s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.casino-light {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    animation: casino-lights 2s infinite;
}