/* ── Platform donate popup ───────────────────────────────────────────────── */

#platform-donate-popup-card {
    max-width: 480px;
}

@media (max-width: 800px) {
    #platform-donate-popup-card {
        top: calc(16px + env(safe-area-inset-top, 0px));
    }
}

.platform-donate-hero {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.platform-donate-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    display: block;
}

.platform-donate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.45) 100%);
}

.platform-donate-body {
    padding: 22px 28px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#platformDonateBrand {
    font-family: var(--brevitiveFont);
    font-size: 2.2rem;
    color: #1a1a1a;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.platform-donate-message {
    font-family: var(--mainFont);
    font-size: 0.88rem;
    line-height: 1.65;
    color: #666;
    margin: 0 0 20px;
}

.platform-donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    margin-bottom: 18px;
}

.donate-amount-btn {
    font-family: var(--mainFont);
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c2c2c;
    background: #f2f2f2;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.donate-amount-btn:hover {
    background: #e8e8e8;
}

.donate-amount-btn.active {
    border-color: #2c2c2c;
    background: white;
}

.donate-custom-amount {
    font-family: var(--mainFont);
    font-size: 0.9rem;
    width: 90px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    text-align: center;
}

.donate-custom-amount:focus {
    outline: none;
    border-color: #2c2c2c;
}

#paypal-donate-button-container {
    width: 100%;
    min-height: 45px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.paypal-donate-button-wrapper {
    width: 100%;
    height: 45px;
}

apple-pay-button {
    display: block;
    width: 100%;
    height: 45px;
    --apple-pay-button-width: 100%;
    --apple-pay-button-height: 45px;
    --apple-pay-button-border-radius: 22px;
}

.donate-status-message {
    font-family: var(--mainFont);
    font-size: 0.85rem;
    color: #666;
    margin: 14px 0 0;
}

.donate-thankyou {
    flex-direction: column;
    align-items: center;
    padding: 6px 0 4px;
}

.donate-thankyou-icon {
    font-size: 2.4rem;
    color: #e0245e;
    font-variation-settings: 'FILL' 1;
    margin-bottom: 10px;
}

.donate-thankyou-title {
    font-family: var(--brevitiveFont);
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.donate-thankyou-highlight {
    color: #1a1a1a;
    font-weight: 700;
}

.donate-thankyou-message {
    font-family: var(--mainFont);
    font-size: 0.88rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.donate-thankyou-continue {
    margin-top: 20px;
    background: #2c2c2c;
    color: white;
    font-family: var(--mainFont);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 11px 44px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.2s;
}

.donate-thankyou-continue:hover {
    background: #484848;
}
