/* Animations and Transitions */
@keyframes scan {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(79, 70, 229, 0.3),
            0 0 40px rgba(79, 70, 229, 0.2),
            0 0 60px rgba(79, 70, 229, 0.1);
    }
    50% {
        box-shadow:
            0 0 30px rgba(79, 70, 229, 0.5),
            0 0 60px rgba(79, 70, 229, 0.3),
            0 0 80px rgba(79, 70, 229, 0.2);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Calculator Entrance Animation */
.calculator-container {
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Press Animation */
@keyframes buttonPress {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* Ripple Effect */
@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}