/**
 * Donation CTA Banner - Modern Design
 * Emotionally engaging banner with impact-focused messaging
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ========================================
   Donation Banner
   ======================================== */

.donation-banner {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        #0EA5E9 0%,
        #0891B2 50%,
        #06B6D4 100%
    );
    overflow: hidden;
}

/* Animated background pattern */
.donation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) scale(1.05);
        opacity: 0.8;
    }
}

/* Decorative paw prints */
.donation-banner::after {
    content: '🐾';
    position: absolute;
    font-size: 120px;
    opacity: 0.05;
    top: 50%;
    right: 5%;
    transform: translateY(-50%) rotate(-15deg);
    pointer-events: none;
    animation: pawPulse 4s ease-in-out infinite;
}

@keyframes pawPulse {
    0%, 100% {
        transform: translateY(-50%) rotate(-15deg) scale(1);
        opacity: 0.05;
    }
    50% {
        transform: translateY(-50%) rotate(-15deg) scale(1.1);
        opacity: 0.08;
    }
}

/* ========================================
   Content Container
   ======================================== */

.donation-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Typography
   ======================================== */

.donation-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin: 0 0 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.donation-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}

.donation-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto 2.5rem;
    max-width: 700px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

/* ========================================
   Impact Stats
   ======================================== */

.donation-impact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.impact-item {
    text-align: center;
    position: relative;
}

.impact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-item:hover .impact-icon {
    transform: translateY(-8px) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.impact-icon svg {
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.impact-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* ========================================
   CTA Button
   ======================================== */

.btn-donate-large {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.375rem 3rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    color: #0EA5E9;
    background: white;
    border-radius: 16px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.2),
        0 0 0 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.btn-donate-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-donate-large:hover::before {
    opacity: 1;
}

.btn-donate-large:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 0 8px rgba(255, 255, 255, 0.2);
}

.btn-donate-large:active {
    transform: translateY(-2px) scale(1.02);
    transition-duration: 0.1s;
}

.btn-donate-large svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-donate-large:hover svg {
    transform: translateX(6px);
}

/* ========================================
   Trust Indicators
   ======================================== */

.donation-note {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.donation-note span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.donation-note svg {
    flex-shrink: 0;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .donation-banner {
        padding: 5rem 0;
    }

    .donation-title {
        font-size: 2.75rem;
    }

    .donation-impact {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .donation-banner {
        padding: 4rem 0;
    }

    .donation-title {
        font-size: 2.25rem;
    }

    .donation-text {
        font-size: 1.125rem;
    }

    .donation-impact {
        flex-direction: row;
        gap: 1rem;
        margin: 2.5rem 0;
        flex-wrap: wrap;
    }

    .impact-item {
        flex: 1;
        min-width: 100px;
    }

    .impact-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 0.75rem;
    }

    .impact-label {
        font-size: 0.8125rem;
    }

    .btn-donate-large {
        padding: 1.25rem 2.5rem;
        font-size: 1.0625rem;
    }

    .donation-note {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .donation-banner {
        padding: 3.5rem 0;
    }

    .donation-title {
        font-size: 1.875rem;
    }

    .donation-subtitle {
        font-size: 0.875rem;
    }

    .donation-text {
        font-size: 1rem;
    }

    .btn-donate-large {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .donation-banner::before,
    .donation-banner::after,
    .donation-content,
    .donation-title,
    .donation-subtitle,
    .donation-text,
    .donation-impact,
    .btn-donate-large {
        animation: none;
    }

    .impact-icon,
    .btn-donate-large,
    .btn-donate-large svg {
        transition: none;
    }
}
