/* Donate Page Specific Styles */
:root {
    --donate-primary: #ffc107;
    --donate-secondary: #ff9800;
    --donate-accent: #ff5722;
    --donate-success: #4caf50;
    --donate-gradient: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 50%,
        #f093fb 100%
    );
}

.donate-hero-section {
    min-height: 90vh;
    position: relative;
    background: var(--donate-gradient);
}

.donate-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #32327f 0%, #051c83 50%, #27132c 100%);
    z-index: 0;
}

.donate-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.7; /* More transparent container */
    filter: blur(0px); /* Remove any blur */
}

#donate-particles-canvas {
    width: 100%;
    height: 100%;
    /* Improve rendering */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
}

.donate-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.1),
        rgba(255, 152, 0, 0.1)
    );
    z-index: 2;
}

.donate-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.donate-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    animation: float 8s ease-in-out infinite;
}

.donate-shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.donate-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.donate-shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.donate-shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

.donate-shape-5 {
    width: 90px;
    height: 90px;
    bottom: 40%;
    left: 50%;
    animation-delay: 3s;
}

.donate-shape-6 {
    width: 110px;
    height: 110px;
    top: 20%;
    right: 50%;
    animation-delay: 5s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.donate-hero-content {
    position: relative;
    z-index: 3;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #ffc107, #ff9800, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donate-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.donate-stat-item {
    text-align: center;
}

.donate-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--donate-primary);
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.donate-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.donate-hero-subtitle,
.text-light-emphasis,
.badge-modern {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-donate-primary {
    background: linear-gradient(
        135deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    border: none;
    color: #1a1a2e;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-donate-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5);
    background: linear-gradient(
        135deg,
        var(--donate-secondary),
        var(--donate-primary)
    );
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    }

    50% {
        box-shadow: 0 6px 30px rgba(255, 193, 7, 0.6);
    }
}

/* Visual Container */
.donate-visual-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-main-icon {
    position: relative;
    z-index: 10;
    animation: iconFloat 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-main-icon:hover {
    transform: scale(1.1) translateY(-10px);
    animation: none;
}

.donate-main-icon:hover::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 193, 7, 0.4) 0%,
        transparent 70%
    );
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes iconClickEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.donate-main-icon.icon-click-effect {
    animation: iconClickEffect 0.6s ease;
}

.donate-main-icon.icon-click-effect .donate-icon-circle {
    animation: iconClickEffect 0.6s ease;
}

.donate-main-icon.icon-click-effect .donate-icon-circle i {
    animation: iconClickEffect 0.6s ease;
}

.donate-main-icon.icon-click-effect::after {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 50%;
    background-image: radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.8) 2px,
            transparent 2px
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(255, 255, 255, 0.8) 2px,
            transparent 2px
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1px
        );
    background-size: 100% 100%;
    animation: sparkle 0.6s ease-out;
    z-index: -2;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.donate-main-icon:active {
    transform: scale(0.95) translateY(-5px);
}

.donate-icon-circle {
    width: 200px;
    height: 200px;
    background: linear-gradient(
        135deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
}

.donate-main-icon:hover .donate-icon-circle {
    box-shadow: 0 15px 50px rgba(255, 193, 7, 0.6);
    transform: scale(1.05);
}

.donate-main-icon:active .donate-icon-circle {
    transform: scale(0.98);
}

.donate-icon-circle i {
    font-size: 5rem;
    color: #1a1a2e;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.donate-main-icon:hover .donate-icon-circle i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.donate-main-icon:active .donate-icon-circle i {
    transform: scale(0.95);
}

.donate-icon-pulse,
.donate-icon-pulse-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--donate-primary);
    animation: pulse-ring 2s ease-out infinite;
    transition: all 0.3s ease;
}

.donate-main-icon:hover .donate-icon-pulse,
.donate-main-icon:hover .donate-icon-pulse-2 {
    border-color: #ff5722;
    animation-duration: 1s;
}

.donate-main-icon:active .donate-icon-pulse,
.donate-main-icon:active .donate-icon-pulse-2 {
    animation-duration: 3s;
}

.donate-icon-pulse-2 {
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes iconFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.donate-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.donate-element {
    position: absolute;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    animation: floatElement 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.donate-element:hover {
    border-color: var(--donate-primary);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.donate-element i {
    font-size: 1.5rem;
    color: var(--donate-primary);
}

.donate-element span {
    font-size: 0.9rem;
    font-weight: 500;
}

.donate-element-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.donate-element-2 {
    top: 10%;
    right: 5%;
    animation-delay: 1s;
}

.donate-element-3 {
    bottom: 10%;
    left: 5%;
    animation-delay: 2s;
}

.donate-element-4 {
    bottom: 10%;
    right: 5%;
    animation-delay: 3s;
}

/* Reduced rotation animation */
@keyframes floatElement {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(10deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-10deg);
    }
}

/* Reason Cards - Enhanced with better dark mode support and effects */
.donate-reason-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.donate-reason-card:hover {
    transform: translateY(-10px);
    border-color: var(--donate-primary);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.2);
}

.donate-reason-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    border-radius: 16px 16px 0 0;
}

.donate-reason-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.donate-reason-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.donate-reason-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Dark mode adjustments for reason cards */
[data-bs-theme="dark"] .donate-reason-card {
    background: linear-gradient(135deg, #1e1e2e 0%, #16162e 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .donate-reason-card:hover {
    border-color: var(--donate-primary);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.3);
}

[data-bs-theme="dark"] .donate-reason-title {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .donate-reason-text {
    color: #adb5bd;
}

/* Method Cards - Enhanced with better dark mode support and effects */
.donate-method-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    padding-top: 3.5rem; /* Increased top padding to accommodate badge */
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid #e9ecef;
    position: relative;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.donate-method-card:hover {
    transform: translateY(-10px);
    border-color: var(--donate-primary);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.25);
}

.donate-method-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    border-radius: 20px 20px 0 0;
}

.donate-method-featured {
    border-color: var(--donate-primary);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px; /* Adjusted position to prevent cutting */
    right: 20px;
    background: linear-gradient(
        135deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    color: #1a1a2e;
    padding: 0.5rem 1.2rem; /* Increased padding for better visibility */
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
    z-index: 10; /* Ensure badge is above other elements */
}

.donate-method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.1),
        rgba(255, 152, 0, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--donate-primary);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.donate-method-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.donate-method-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.donate-method-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-tag {
    background: rgba(255, 193, 7, 0.1);
    color: var(--donate-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-tag i {
    font-size: 0.8rem;
}

.mb-way-number,
.bank-detail-item {
    margin-top: 1rem;
}

.phone-number,
.detail-value {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-family: monospace;
    font-size: 1.1rem;
}

/* Dark mode adjustments for method cards */
[data-bs-theme="dark"] .donate-method-card {
    background: linear-gradient(135deg, #1e1e2e 0%, #16162e 100%);
    border-color: #2d2d40;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .donate-method-card:hover {
    border-color: var(--donate-primary);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.3);
}

[data-bs-theme="dark"] .donate-method-title {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .donate-method-description {
    color: #adb5bd;
}

[data-bs-theme="dark"] .phone-number,
[data-bs-theme="dark"] .detail-value {
    background: #2d2d40;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .feature-tag {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

/* Custom Amount Card */
.donate-custom-amount-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.amount-btn {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--donate-primary);
    border-color: var(--donate-primary);
    color: #1a1a2e;
    transform: scale(1.05);
}

/* Impact Stats - Enhanced to match method cards */
.donate-impact-stat {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid #e9ecef;
    position: relative;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.donate-impact-stat:hover {
    transform: translateY(-10px);
    border-color: var(--donate-primary);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.donate-impact-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    border-radius: 20px 20px 0 0;
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
    text-shadow: 0 2px 10px rgba(255, 193, 7, 0.2);
}

.impact-label {
    color: #6c757d;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .donate-impact-stat {
    background: #1e1e2e;
    border-color: #2d2d40;
}

[data-bs-theme="dark"] .donate-impact-stat:hover {
    border-color: var(--donate-primary);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
}

[data-bs-theme="dark"] .impact-label {
    color: #adb5bd;
}

/* Thanks Card */
.donate-thanks-card {
    background: linear-gradient(
        135deg,
        var(--donate-primary),
        var(--donate-secondary)
    );
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: #1a1a2e;
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }

    20%,
    40% {
        transform: scale(1);
    }
}

.thanks-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.thanks-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.thanks-signature {
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Theme compatible background - replaces bg-light with subtle effects and gradients */
.bg-theme-compatible {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.bg-theme-compatible::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 10% 20%,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0) 20%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0) 20%
        );
    pointer-events: none;
}

[data-bs-theme="dark"] .bg-theme-compatible {
    background: linear-gradient(135deg, #08083f 0%, #230a2f 100%);
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .bg-theme-compatible::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 10% 20%,
            rgba(255, 193, 7, 0.05) 0%,
            rgba(255, 193, 7, 0) 20%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 152, 0, 0.05) 0%,
            rgba(255, 152, 0, 0) 20%
        );
    pointer-events: none;
}

/* Enhanced Accordion Styles for Donate Page */
.donate-accordion {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.donate-accordion-item {
    border: none;
    margin-bottom: 0;
    background: transparent;
}

.donate-accordion-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.donate-accordion-button {
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: #1a1a2e;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0 !important;
    box-shadow: none;
    transition: all 0.3s ease;
}

.donate-accordion-button:not(.collapsed) {
    color: #1a1a2e;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.1) 0%,
        rgba(255, 152, 0, 0.1) 100%
    );
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.donate-accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.donate-accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a2e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.donate-accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a2e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.donate-accordion-body {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #495057;
    line-height: 1.7;
}

/* Dark mode accordion styles */
[data-bs-theme="dark"] .donate-accordion {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .donate-accordion-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .donate-accordion-button {
    color: #f8f9fa;
    background: linear-gradient(135deg, #1e1e2e 0%, #16162e 100%);
}

[data-bs-theme="dark"] .donate-accordion-button:not(.collapsed) {
    color: #f8f9fa;
    background: linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.15) 0%,
        rgba(255, 152, 0, 0.15) 100%
    );
}

[data-bs-theme="dark"] .donate-accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .donate-accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .donate-accordion-body {
    background: linear-gradient(135deg, #1e1e2e 0%, #16162e 100%);
    color: #adb5bd;
}

/* Hover effects */
.donate-accordion-button:hover {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
}

[data-bs-theme="dark"] .donate-accordion-button:hover {
    background: linear-gradient(135deg, #2a2a3e 0%, #22223e 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .donate-accordion-button {
        padding: 1.25rem 1.5rem;
    }

    .donate-accordion-body {
        padding: 1.25rem 1.5rem;
    }
}

@keyframes iconClickEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.donate-main-icon.icon-click-effect {
    animation: iconClickEffect 0.6s ease;
}

.donate-main-icon.icon-click-effect .donate-icon-circle {
    animation: iconClickEffect 0.6s ease;
}

.donate-main-icon.icon-click-effect .donate-icon-circle i {
    animation: iconClickEffect 0.6s ease;
}

.donate-main-icon.icon-click-effect::after {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 50%;
    background-image: radial-gradient(
            circle at 30% 30%,
            rgba(255, 255, 255, 0.8) 2px,
            transparent 2px
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(255, 255, 255, 0.8) 2px,
            transparent 2px
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1px
        );
    background-size: 100% 100%;
    animation: sparkle 0.6s ease-out;
    z-index: -2;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Flying Hearts Animation - Enhanced with various icons and colors */
.flying-heart {
    position: absolute;
    font-size: 1.5rem;
    color: #ff5252;
    pointer-events: none;
    z-index: 100;
    animation: flyOut 2s ease-out forwards;
    text-shadow: 0 0 8px rgba(255, 82, 82, 0.8);
    transform-origin: center;
    -webkit-text-fill-color: currentColor;
    text-fill-color: currentColor;
}

@keyframes flyOut {
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
        opacity: 1;
    }
    30% {
        opacity: 0.9;
    }
    100% {
        transform: translate(
                calc(120px * var(--tx, 1)),
                calc(120px * var(--ty, 1))
            )
            scale(1.8) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
}

.donate-success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: successPulse 2s infinite;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.donate-success-icon i {
    font-size: 4rem;
    color: white;
    animation: successBounce 1s ease-in-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(76, 175, 80, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    }
}

@keyframes successBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.donate-success-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.donate-success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
}

[data-bs-theme="dark"] .donate-success-card {
    background: #1e1e2e;
}

[data-bs-theme="dark"] .donate-success-message {
    background: rgba(255, 255, 255, 0.1) !important;
}

.donate-cancel-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f44336, #d32f2f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: cancelShake 8s infinite;
    box-shadow: 0 10px 30px rgba(244, 67, 54, 0.3);
}

.donate-cancel-icon i {
    font-size: 4rem;
    color: white;
    animation: cancelBounce 4s ease-in-out;
}

@keyframes cancelShake {
    0%,
    10%,
    40%,
    50%,
    80%,
    90%,
    100% {
        transform: translateX(0);
    }
    5%,
    45%,
    85% {
        transform: translateX(-5px);
    }
    15%,
    35%,
    55%,
    75% {
        transform: translateX(5px);
    }
    20%,
    30%,
    60%,
    70% {
        transform: translateX(-3px);
    }
    25%,
    65% {
        transform: translateX(3px);
    }
}

@keyframes cancelBounce {
    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        transform: translateY(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateY(-10px);
    }
}

.donate-cancel-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.donate-cancel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
}

[data-bs-theme="dark"] .donate-cancel-card {
    background: #1e1e2e;
}

[data-bs-theme="dark"] .donate-cancel-message {
    background: rgba(255, 255, 255, 0.1) !important;
}
