/* Custom Styles for Prominent Donation Button */

/* Desktop Header Donate Button */
.header-donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #efc940 0%, #e9ba13 100%);
    color: #282a43 !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(239, 201, 64, 0.3);
    margin-left: 15px;
    margin-right: 25px;
    flex-shrink: 0;
    min-width: 120px;
}

.header-donate-btn:hover {
    background: linear-gradient(135deg, #e9ba13 0%, #d8a80c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 201, 64, 0.5);
    color: #282a43 !important;
}

.header-donate-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(239, 201, 64, 0.4);
}

/* Homepage Donate CTA Section Button */
.homepage-donate-btn {
    display: inline-block;
    background: linear-gradient(135deg, #efc940 0%, #e9ba13 100%);
    color: #282a43 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 45px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(239, 201, 64, 0.35);
    position: relative;
    overflow: hidden;
}

.homepage-donate-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    opacity: 0;
}

.homepage-donate-btn:hover::after {
    left: 125%;
    opacity: 1;
}

.homepage-donate-btn:hover {
    background: linear-gradient(135deg, #e9ba13 0%, #d8a80c 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(239, 201, 64, 0.55);
    color: #282a43 !important;
}

.homepage-donate-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 201, 64, 0.4);
}

/* Donate Page Form Submit Button */
.donate-page__form .btn-donate {
    background: linear-gradient(135deg, #efc940 0%, #e9ba13 100%);
    color: #282a43 !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 40px;
    border-radius: 6px;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(239, 201, 64, 0.3);
    width: 100%;
}

.donate-page__form .btn-donate:hover {
    background: linear-gradient(135deg, #e9ba13 0%, #d8a80c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 201, 64, 0.5);
    color: #282a43 !important;
}

.donate-page__form .btn-donate:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(239, 201, 64, 0.4);
}

/* Pulse animation to draw subtle attention to the header button (micro-animation) */
@keyframes soft-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 201, 64, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(239, 201, 64, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 201, 64, 0);
    }
}

.header-donate-btn {
    animation: soft-pulse 2.5s infinite;
}

/* Adjust header spacing on desktop */
@media only screen and (min-width: 576px) {
    header.header .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .header .row {
        align-items: center;
    }
}
