/* ======================================
   DONATION PAGE
====================================== */

.donate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 72px;
    padding: 12px 6%;

    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
}

.donate-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--text-color);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
}

.donate-brand img {
    width: 42px;
    height: 42px;
}

#theme-toggle {
    min-width: 44px;
    min-height: 44px;

    border: 1px solid var(--border-color);
    border-radius: 10px;

    color: var(--text-color);
    background: var(--card-background);

    cursor: pointer;
}

.donate-container {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0;
}

.donate-hero {
    margin-bottom: 32px;
    text-align: center;
}

.donate-label {
    margin-bottom: 10px;

    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.donate-hero h1 {
    margin: 0 0 16px;

    color: var(--text-color);
    font-size: clamp(2.2rem, 7vw, 4rem);
    line-height: 1.05;
}

.donate-hero > p:last-child {
    max-width: 650px;
    margin: 0 auto;

    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.donate-card {
    margin-bottom: 20px;
    padding: 30px;

    color: var(--text-color);
    background: var(--card-background);

    border: 1px solid var(--border-color);
    border-radius: 18px;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.donate-card h2 {
    margin: 0 0 12px;
    font-size: 1.45rem;
}

.donate-card p {
    margin: 0 0 20px;

    color: var(--muted-text);
    line-height: 1.65;
}

.donate-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;
    padding: 12px 22px;

    color: #ffffff;
    background: #2563eb;

    border-radius: 12px;

    text-decoration: none;
    text-align: center;
    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.donate-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.payment-note {
    margin: 16px 0 0 !important;

    font-size: 0.82rem;
    text-align: center;
}

.back-link {
    display: block;
    width: fit-content;
    margin: 32px auto 0;

    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.back-link:hover {
    text-decoration: underline;
}

html[data-theme="dark"] .donate-card {
    box-shadow: none;
}

@media (max-width: 600px) {
    .donate-header {
        padding: 10px 16px;
    }

    .donate-container {
        width: calc(100% - 28px);
        padding: 40px 0;
    }

    .donate-hero {
        margin-bottom: 24px;
    }

    .donate-hero h1 {
        font-size: 2.5rem;
    }

    .donate-card {
        padding: 22px 18px;
        border-radius: 14px;
    }
}



.donate-button.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}