/* Custom button animations */
.md-button--primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 0.4em 1em;
    font-size: 0.85rem;
}

.md-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.md-button--primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Ripple effect on click */
.md-button--primary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.md-button--primary:active::after {
    width: 200px;
    height: 200px;
}

/* Icon animation on hover */
.md-button--primary .twemoji {
    transition: transform 0.3s ease;
}

.md-button--primary:hover .twemoji {
    transform: scale(1.2);
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(33, 150, 243, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
    }
}

.md-button--primary {
    animation: pulse 2.5s infinite;
}

.md-button--primary:hover {
    animation: none;
}
