/* === MICROINTERACTIONS === */

/* Hover Lift */
.hover-lift {
    transition: transform var(--transition-bounce), box-shadow var(--transition-normal);
}
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Click Pulse */
.click-pulse:active {
    transform: scale(0.98);
}

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn var(--transition-normal) forwards;
}

/* Ripple Effect (CSS only approximation) */
.ripple {
    position: relative;
    overflow: hidden;
}
.ripple::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}
.ripple:active::after {
    transform: scale(0, 0);
    opacity: .2;
    transition: 0s;
}

/* Loading Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}
