.site-footer {
    margin-top: auto;
    padding: 44px 20px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
}

.site-footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) minmax(220px, 280px);
    gap: 32px 40px;
    align-items: start;
}

.site-footer-logo-wrap {
    width: 200px;
    height: 200px;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(104, 128, 255, 0.08);
    border: 1px solid rgba(104, 128, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
}

.site-footer-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer-logo--svg {
    object-fit: contain;
    padding: 28px;
    box-sizing: border-box;
}

.site-footer-about {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.site-footer-title {
    display: inline-block;
    margin: 0;
    color: #eef2ff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.1;
    cursor: default;
}

.site-footer-lead {
    margin: 0;
    max-width: 680px;
    color: #dce4ff;
    line-height: 1.65;
    font-size: 15px;
    font-weight: 600;
}

.site-footer-text {
    margin: 0;
    max-width: 680px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.site-footer-text strong {
    color: #c8d4ff;
    font-weight: 700;
}

.site-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.site-footer-tags li {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(104, 128, 255, 0.24);
    background: rgba(104, 128, 255, 0.1);
    color: #dce4ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #eef2ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.site-footer-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.site-footer-btn:hover::after {
    transform: translateX(120%);
}

.site-footer-btn:hover {
    background: rgba(104, 128, 255, 0.14);
    border-color: rgba(104, 128, 255, 0.28);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(54, 85, 212, 0.2);
}

.site-footer-btn--accent {
    background: linear-gradient(135deg, rgba(104, 128, 255, 0.92), rgba(76, 98, 230, 0.92));
    border-color: rgba(140, 160, 255, 0.45);
    color: #fff;
}

.site-footer-btn--accent:hover {
    background: linear-gradient(135deg, rgba(124, 148, 255, 0.98), rgba(88, 110, 240, 0.98));
}

.info-page {
    width: min(920px, 100%);
}

.info-page h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 2.6rem);
}

.info-page-lead {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.65;
}

.sources-grid {
    display: grid;
    gap: 16px;
}

.source-card {
    padding: 22px 24px;
}

.source-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 10px;
}

.source-card-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.source-card-host {
    color: var(--muted);
    font-size: 13px;
}

.source-card-note {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.6;
}

.source-card-meta {
    margin: 0;
    display: grid;
    gap: 12px;
}

.source-card-meta div {
    display: grid;
    gap: 4px;
}

.source-card-meta dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.source-card-meta dd {
    margin: 0;
    font-size: 14px;
}

.source-card-meta code {
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.source-card-meta a {
    color: #b8c8ff;
}

.donate-page {
    width: min(640px, 100%);
}

.donate-card {
    padding: 24px;
}

.donate-progress-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.donate-progress-head span {
    color: var(--muted);
    font-size: 13px;
}

.donate-progress-head strong {
    font-size: 1.2rem;
}

.donate-progress-track {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.donate-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(104, 128, 255, 0.95), rgba(140, 210, 255, 0.95));
    box-shadow: 0 0 18px rgba(104, 128, 255, 0.35);
    transition: width 0.4s ease;
}

.donate-progress-caption {
    margin: 8px 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.donate-text {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--muted);
    line-height: 1.65;
}

.donate-text p {
    margin: 0;
}

.donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(104, 128, 255, 0.95), rgba(76, 98, 230, 0.95));
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(76, 98, 230, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(76, 98, 230, 0.34);
}

.donate-feed-card {
    margin-top: 20px;
    padding: 22px 24px;
}

.donate-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.donate-feed-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.donate-feed-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(104, 128, 255, 0.14);
    border: 1px solid rgba(104, 128, 255, 0.28);
    color: #dce4ff;
    font-size: 12px;
    font-weight: 800;
}

.donate-feed-empty {
    margin: 0;
    padding: 18px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.donate-feed-empty code {
    color: #c8d4ff;
    font-size: 13px;
}

.donate-feed-scroll {
    display: grid;
    gap: 10px;
    max-height: min(360px, 52vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(104, 128, 255, 0.45) rgba(255, 255, 255, 0.06);
}

.donate-feed-scroll::-webkit-scrollbar {
    width: 8px;
}

.donate-feed-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.donate-feed-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(104, 128, 255, 0.45);
}

.donate-feed-item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.donate-feed-item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.donate-feed-nick {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    word-break: break-word;
}

.donate-feed-nick--glow {
    color: var(--donate-nick-glow, #76b308);
    text-shadow:
        0 0 8px var(--donate-nick-glow, #76b308),
        0 0 18px rgba(118, 179, 8, 0.55);
}

.donate-feed-amount {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 800;
    color: #b8c8ff;
}

.donate-feed-message {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.donate-feed-date {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    opacity: 0.85;
}

.feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.feedback-modal[hidden] {
    display: none;
}

.feedback-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 22, 0.72);
    backdrop-filter: blur(4px);
}

.feedback-modal-dialog {
    position: relative;
    width: min(420px, 100%);
    padding: 24px 24px 22px;
    border-radius: 18px;
    background: rgba(15, 20, 38, 0.98);
    border: 1px solid rgba(104, 128, 255, 0.28);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.feedback-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #eef2ff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.feedback-modal-close:hover {
    background: rgba(104, 128, 255, 0.18);
}

.feedback-modal-dialog h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #eef2ff;
}

.feedback-modal-text {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.feedback-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.feedback-modal-list li {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feedback-modal-list span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.feedback-modal-list a {
    color: #dce4ff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.feedback-modal-list a:hover {
    color: #fff;
}

@media (max-width: 860px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .site-footer-nav {
        width: 100%;
    }
}
