:root {
    --background: #07111f;
    --panel: #0d1e30;
    --panel-soft: rgba(255, 255, 255, 0.045);
    --white: #f5f8fb;
    --muted: #94a7b8;
    --line: rgba(255, 255, 255, 0.12);
    --gold: #f4b942;
    --gold-light: #ffd77d;
    --blue: #70c8ff;
    --green: #71e5a3;
    --max: 1060px;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 10%, rgba(64, 148, 204, 0.20), transparent 30%),
        radial-gradient(circle at 86% 85%, rgba(244, 185, 66, 0.10), transparent 28%),
        var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.donors-page {
    width: 100%;
    min-height: 100vh;
    padding: 42px 18px;
}

.donors-shell {
    width: min(100%, var(--max));
    margin: 0 auto;
}

.donors-header {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.logo-link {
    min-height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-link img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 240px);
    max-height: 78px;
    object-fit: contain;
}

.eyebrow,
.board-heading span {
    color: var(--gold);
    font-size: 0.70rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.donors-header .eyebrow {
    display: block;
    margin-top: 25px;
}

h1,
h2,
p {
    margin-top: 0;
}

.donors-header h1 {
    margin: 10px 0 16px;
    font-size: clamp(2.7rem, 7vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.donors-header p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
}

.donate-button {
    min-height: 50px;
    margin-top: 27px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
    background: var(--gold);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.donate-button:hover {
    background: var(--gold-light);
}

.donor-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.donor-board {
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.board-heading {
    min-height: 116px;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.board-heading h2 {
    margin: 5px 0 0;
    font-size: 1.4rem;
    letter-spacing: -0.025em;
}

.board-heading small {
    max-width: 170px;
    color: #7f93a5;
    text-align: right;
    line-height: 1.35;
}

.live-label {
    color: var(--green);
    font-size: 0.70rem;
    font-style: normal;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.live-label::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    display: inline-block;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(113, 229, 163, 0.10);
}

.donor-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.donor-list li {
    min-height: 80px;
    padding: 15px 24px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.donor-list li:last-child {
    border-bottom: 0;
}

.rank,
.avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: rgba(244, 185, 66, 0.07);
    border: 1px solid rgba(244, 185, 66, 0.36);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 900;
}

.avatar {
    color: var(--blue);
    background: rgba(112, 200, 255, 0.07);
    border-color: rgba(112, 200, 255, 0.30);
}

.donor-details {
    min-width: 0;
}

.donor-details strong {
    display: block;
    overflow: hidden;
    color: var(--white);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.donor-details small {
    color: #7f93a5;
}

.donor-list li > b {
    color: var(--gold-light);
    font-size: 0.92rem;
    text-align: right;
}

.empty-row {
    grid-template-columns: 42px 1fr !important;
}

.privacy-note {
    max-width: 760px;
    margin: 34px auto 0;
    padding: 23px 25px;
    color: #9badbc;
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: 20px;
    text-align: center;
}

.privacy-note h2 {
    margin-bottom: 7px;
    color: var(--white);
    font-size: 1.08rem;
}

.privacy-note p {
    margin-bottom: 0;
    font-size: 0.86rem;
}

.page-links {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px 20px;
}

.page-links a {
    color: #91a5b6;
    font-size: 0.78rem;
    text-decoration: none;
}

.page-links a:hover {
    color: var(--gold-light);
}

.copyright {
    margin: 17px 0 0;
    color: #6f8496;
    font-size: 0.70rem;
    text-align: center;
}

@media (max-width: 800px) {
    .donor-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .donors-page {
        padding: 24px 12px;
    }

    .donors-header {
        margin-bottom: 32px;
    }

    .donors-header h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .board-heading {
        min-height: 105px;
        padding: 20px 18px;
        align-items: flex-start;
    }

    .board-heading small {
        max-width: 125px;
    }

    .donor-list li {
        padding: 14px 16px;
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .donor-list li > b {
        grid-column: 2;
        margin-top: -8px;
        text-align: left;
    }
}
