.donation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-tertiary, #FAFAFA) 0%, var(--bg-grouped, #F2F2F7) 100%);
}

.donation-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.donation-section .section-header h2 {
    font-size: var(--text-4xl, 2.5rem);
    font-weight: var(--font-bold, 700);
    background: linear-gradient(135deg, var(--ios-cyan), var(--ios-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    font-family: var(--font-primary);
}

.donation-section .section-header p {
    font-size: var(--text-lg, 1.15rem);
    color: var(--text-secondary, #48484A);
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-primary);
}

.donation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.donation-row--single {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.donation-widget--full {
    width: 100%;
}

.donation-widget {
    background: var(--bg-secondary, #FFFFFF);
    border-radius: var(--radius-2xl, 20px);
    box-shadow: 0 8px 40px rgba(85, 190, 240, 0.12);
    padding: 32px;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
}

.donation-widget__title {
    font-size: var(--text-2xl, 1.5rem);
    font-weight: var(--font-bold, 700);
    color: var(--text-primary, #1C1C1E);
    margin-bottom: 24px;
    font-family: var(--font-primary);
}

.donation-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--border-light, rgba(0, 0, 0, 0.08));
}

.donation-tabs__btn {
    flex: 1;
    padding: 14px 24px;
    background: none;
    border: none;
    font-size: var(--text-base, 1rem);
    font-weight: var(--font-semibold, 600);
    color: var(--text-tertiary, #8E8E93);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-family: var(--font-primary);
}

.donation-tabs__btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.donation-tabs__btn.active {
    color: var(--ios-cyan, #55BEF0);
}

.donation-tabs__btn.active::after {
    background: linear-gradient(90deg, var(--ios-cyan), var(--ios-teal));
}

.donation-tabs__btn:hover:not(.active) {
    color: var(--ios-cyan-light, #82D1F5);
}

.donation-content {
    display: none;
}

.donation-content.active {
    display: block;
}

.donation-group {
    margin-bottom: 24px;
}

.donation-group__label {
    display: block;
    font-size: var(--text-sm, 0.9rem);
    font-weight: var(--font-semibold, 600);
    color: var(--text-secondary, #48484A);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-primary);
}

.donation-radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.donation-radio {
    position: relative;
}

.donation-radio__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.donation-radio__label {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-grouped, #F2F2F7);
    border: 2px solid var(--border-light, rgba(0, 0, 0, 0.08));
    border-radius: var(--radius-full, 50px);
    font-size: var(--text-base, 0.95rem);
    font-weight: var(--font-medium, 500);
    color: var(--text-secondary, #48484A);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}

.donation-radio__input:checked + .donation-radio__label {
    background: linear-gradient(135deg, rgba(85, 190, 240, 0.15), rgba(100, 210, 255, 0.1));
    border-color: var(--ios-cyan, #55BEF0);
    color: var(--ios-cyan, #55BEF0);
    font-weight: var(--font-semibold, 600);
}

.donation-radio__label:hover {
    border-color: var(--ios-cyan-light, #82D1F5);
    background: var(--bg-tertiary, #FAFAFA);
}

.donation-amount-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.donation-amount {
    position: relative;
}

.donation-amount__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.donation-amount__label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--bg-grouped, #F2F2F7);
    border: 2px solid var(--border-light, rgba(0, 0, 0, 0.08));
    border-radius: var(--radius-lg, 12px);
    font-size: var(--text-lg, 1.1rem);
    font-weight: var(--font-semibold, 600);
    color: var(--text-secondary, #48484A);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}

.donation-amount__input:checked + .donation-amount__label {
    background: linear-gradient(135deg, var(--ios-cyan), var(--ios-teal));
    border-color: var(--ios-cyan, #55BEF0);
    color: white;
    box-shadow: 0 4px 16px rgba(85, 190, 240, 0.3);
}

.donation-amount__label:hover {
    border-color: var(--ios-cyan-light, #82D1F5);
    transform: translateY(-2px);
}

.donation-custom {
    margin-top: 20px;
}

.donation-custom__wrapper {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.donation-custom__input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.donation-custom__currency {
    position: absolute;
    left: 16px;
    font-size: var(--text-lg, 1.1rem);
    font-weight: var(--font-semibold, 600);
    color: var(--text-tertiary, #8E8E93);
    z-index: 1;
}

.donation-custom__input {
    width: 100%;
    padding: 16px 16px 16px 36px;
    border: 2px solid var(--border-light, rgba(0, 0, 0, 0.08));
    border-radius: var(--radius-lg, 12px);
    font-size: var(--text-lg, 1.1rem);
    font-weight: var(--font-medium, 500);
    color: var(--text-primary, #1C1C1E);
    outline: none;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}

.donation-custom__input:focus {
    border-color: var(--ios-cyan, #55BEF0);
    box-shadow: 0 0 0 4px rgba(85, 190, 240, 0.15);
}

.donation-custom__input::placeholder {
    color: var(--text-placeholder, #AEAEB2);
}

.donation-submit {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--ios-cyan), var(--ios-teal));
    color: white;
    border: none;
    border-radius: var(--radius-lg, 12px);
    font-size: var(--text-base, 1.05rem);
    font-weight: var(--font-semibold, 600);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    font-family: var(--font-primary);
}

.donation-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(85, 190, 240, 0.35);
}

.donation-submit:active {
    transform: translateY(0);
}

.donation-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.donation-submit .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: donate-spin 0.8s linear infinite;
}

.donation-submit.loading .spinner {
    display: inline-block;
    margin-right: 8px;
}

.donation-submit.loading .btn-text {
    display: none;
}

@keyframes donate-spin {
    to {
        transform: rotate(360deg);
    }
}

.donation-impact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(85, 190, 240, 0.08), rgba(100, 210, 255, 0.05));
    border-radius: var(--radius-2xl, 20px);
    border: 1px solid rgba(85, 190, 240, 0.15);
}

.donation-impact__image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-xl, 16px);
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.donation-impact__tip {
    background: var(--bg-secondary, #FFFFFF);
    padding: 24px;
    border-radius: var(--radius-xl, 16px);
    border-left: 4px solid var(--ios-cyan, #55BEF0);
    box-shadow: 0 4px 20px rgba(85, 190, 240, 0.1);
}

.donation-impact__tip p {
    font-size: var(--text-lg, 1.1rem);
    line-height: var(--leading-relaxed, 1.7);
    color: var(--text-secondary, #48484A);
    margin: 0;
    font-family: var(--font-primary);
}

.donation-impact__tip strong {
    color: var(--ios-cyan, #55BEF0);
}

.donation-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(85, 190, 240, 0.08);
    border-radius: var(--radius-lg, 12px);
    font-size: var(--text-sm, 0.9rem);
    color: var(--text-secondary, #48484A);
    text-align: center;
    font-family: var(--font-primary);
}

.donation-note a {
    color: var(--ios-cyan, #55BEF0);
    text-decoration: none;
    font-weight: var(--font-medium, 500);
}

.donation-note a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .donation-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .donation-impact {
        order: -1;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .donation-section {
        padding: 60px 0;
    }

    .donation-section .section-header h2 {
        font-size: var(--text-3xl, 2rem);
    }

    .donation-widget {
        padding: 24px;
    }

    .donation-amount-group {
        grid-template-columns: repeat(4, 1fr);
    }

    .donation-custom__wrapper {
        flex-direction: column;
    }

    .donation-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .donation-section .section-header h2 {
        font-size: 1.75rem;
    }

    .donation-radio-group {
        flex-direction: column;
    }

    .donation-radio__label {
        width: 100%;
        text-align: center;
    }

    .donation-amount-group {
        grid-template-columns: 1fr 1fr;
    }
}
