
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #ffffff;
    --text: #171717;
    --secondary: #777777;
    --border: #eaeaea;
    --accent: #202020;
    --radius: 13px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    opacity: 0;
    animation: pageOpen 0.45s ease forwards;
}

@keyframes pageOpen {
    to {
        opacity: 1;
    }
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.donate-container {
    max-width: 1100px;
    width: 90%;
    margin: auto;
}

.donate-navbar {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.logo {
    color: var(--text);
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #999;
    font-weight: 400;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language-button {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.back-link,
.return-link {
    color: #555;
    text-decoration: none;
    font-size: 13px;
}

.back-link:hover,
.return-link:hover {
    color: #000;
}

.donate-content {
    max-width: 560px;
    margin: 75px auto 85px;
}

.donate-heading {
    text-align: center;
    margin-bottom: 32px;
}

.eyebrow {
    display: inline-block;
    color: #888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

.donate-heading h1 {
    font-size: clamp(28px, 5vw, 38px);
    letter-spacing: -1.5px;
    margin-bottom: 13px;
}

.donate-heading p {
    color: var(--secondary);
    font-size: 14px;
    line-height: 1.7;
}

.donate-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.donate-card h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

.card-description {
    color: var(--secondary);
    font-size: 12px;
    margin-bottom: 22px;
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.amount-option {
    min-height: 48px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.amount-option:hover {
    border-color: #999;
}

.amount-option.active {
    color: #fff;
    background: #202020;
    border-color: #202020;
}

.custom-amount {
    margin-top: 22px;
}

.custom-amount label,
.name-container label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 9px;
}

.amount-input-wrap {
    display: flex;
    align-items: center;
    height: 49px;
    border: 1px solid #dedede;
    border-radius: 8px;
    padding: 0 14px;
}

.amount-input-wrap span {
    color: #777;
    margin-right: 9px;
}

.amount-input-wrap input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 14px;
}

.donor-details {
    border-top: 1px solid var(--border);
    margin-top: 29px;
    padding-top: 25px;
}

.donor-details h2 {
    margin-bottom: 17px;
}

.visibility-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
}

.visibility-option input {
    margin-top: 2px;
    accent-color: #202020;
}

.name-container {
    margin-top: 17px;
}

.name-container input {
    width: 100%;
    height: 46px;
    border: 1px solid #dedede;
    border-radius: 8px;
    outline: none;
    padding: 0 13px;
    font-size: 13px;
}

.name-container input:focus {
    border-color: #777;
}

.anonymous-note {
    color: #999;
    font-size: 11px;
    margin-top: 12px;
    line-height: 1.5;
}

.donation-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    margin-top: 27px;
    padding-top: 22px;
}

.donation-summary span {
    color: var(--secondary);
    font-size: 13px;
}

.donation-summary strong {
    font-size: 22px;
    letter-spacing: -0.5px;
}

.donate-submit {
    width: 100%;
    height: 49px;
    margin-top: 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.donate-submit:hover {
    background: #414141;
}

.payment-notice {
    color: #999;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
    margin-top: 14px;
}

.return-link {
    display: block;
    text-align: center;
    margin-top: 25px;
}

.donate-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: #999;
    font-size: 11px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    .donate-container {
        width: 92%;
    }

    .donate-navbar {
        height: 70px;
    }

    .donate-content {
        margin: 55px auto 65px;
    }

    .donate-card {
        padding: 22px;
    }

    .amount-options {
        gap: 7px;
    }

    .amount-option {
        font-size: 12px;
    }

    .nav-actions {
        gap: 10px;
    }
}
