/* ==========================================
   Affili Link Manager — CTA Buttons
   v1.0.0
   ========================================== */

.alm-cta-wrapper {
    text-align: center;
    margin: 28px 0;
    padding: 0;
}

.alm-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00a651 0%, #007d40 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    text-align: center;
    padding: 16px 40px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0, 166, 81, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    line-height: 1.3;
    max-width: 100%;
    box-sizing: border-box;
}

.alm-cta-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 24px rgba(0, 166, 81, 0.45);
    color: #fff !important;
    text-decoration: none !important;
}

.alm-cta-btn:active {
    transform: scale(0.98);
}

/* Subtle pulse animation */
.alm-cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: almCtaPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes almCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 166, 81, 0.3); }
    50%      { box-shadow: 0 0 0 8px rgba(0, 166, 81, 0); }
}

/* Arrow after text */
.alm-cta-btn::before {
    content: ' →';
    margin-left: 8px;
    font-weight: 400;
    transition: margin-left 0.2s;
}

.alm-cta-btn:hover::before {
    margin-left: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .alm-cta-wrapper {
        margin: 20px 0;
    }

    .alm-cta-btn {
        display: block;
        width: 100%;
        font-size: 15px;
        padding: 14px 24px;
        border-radius: 10px;
    }
}
