.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: #fafafa;
}
[data-theme="dark"] .site-footer { background: #0c0c0c; border-color: rgba(255, 255, 255, .07); }

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 26px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .footer-top { border-color: rgba(255, 255, 255, .07); }

.footer-brand { min-width: 0; max-width: 340px; }
.footer-logo { display: block; margin-bottom: 14px; }
.footer-tagline {
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--muted);
}
.footer-news-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.footer-news-row {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 320px;
}
.footer-news-input {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 13.5px;
    transition: border-color .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] .footer-news-input { background: #161616; border-color: rgba(255, 255, 255, .1); }
.footer-news-input::placeholder { color: var(--muted); }
.footer-news-input:focus-visible {
    outline: none;
    border-color: #e01f1f;
    box-shadow: 0 0 0 3px rgba(224, 31, 31, .1);
}
.footer-news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 0;
    border-radius: 10px;
    background: #e01f1f;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1);
}
.footer-news-btn:hover { background: #c41a1a; transform: translateX(2px); }
.footer-news-btn:active { transform: scale(.94); }

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
}
.footer-col-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 3px;
}
.footer-col a {
    font-size: 13.5px;
    color: var(--muted);
    text-decoration: none;
    width: fit-content;
    transition: color .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1);
}
.footer-col a:hover { color: #e01f1f; transform: translateX(2px); }
[data-theme="dark"] .footer-col a:hover { color: #ff7a7a; }

.footer-social { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 4px; }
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    text-decoration: none;
    transition: transform .2s cubic-bezier(.16, 1, .3, 1), border-color .2s ease, color .2s ease, background .2s ease;
}
[data-theme="dark"] .footer-social-btn { background: #161616; border-color: rgba(255, 255, 255, .1); }
.footer-social-btn:hover {
    transform: translateY(-2px);
    color: #e01f1f;
    border-color: rgba(224, 31, 31, .4);
}
[data-theme="dark"] .footer-social-btn:hover { color: #ff7a7a; border-color: rgba(255, 94, 94, .4); }

.footer-col a.footer-social-discord {
    width: 40px;
    color: #5865f2;
    border-color: rgba(88, 101, 242, .3);
}
[data-theme="dark"] .footer-col a.footer-social-discord { color: #818cf8; border-color: rgba(129, 140, 248, .32); }
.footer-col a.footer-social-discord:hover {
    color: #5865f2;
    border-color: rgba(88, 101, 242, .55);
    background: rgba(88, 101, 242, .1);
    transform: translateY(-2px);
}
[data-theme="dark"] .footer-col a.footer-social-discord:hover { color: #818cf8; border-color: rgba(129, 140, 248, .5); background: rgba(129, 140, 248, .12); }

.footer-col a.footer-social-instagram {
    width: 40px;
    color: #e1306c;
    border-color: rgba(225, 48, 108, .3);
}
[data-theme="dark"] .footer-col a.footer-social-instagram { color: #f56aa0; border-color: rgba(225, 48, 108, .34); }
.footer-col a.footer-social-instagram:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, .55);
    background: rgba(225, 48, 108, .1);
    transform: translateY(-2px);
}
[data-theme="dark"] .footer-col a.footer-social-instagram:hover { color: #f56aa0; border-color: rgba(225, 48, 108, .55); background: rgba(225, 48, 108, .16); }

.footer-col a.footer-social-youtube {
    width: 40px;
    color: #ff0000;
    border-color: rgba(255, 0, 0, .28);
}
[data-theme="dark"] .footer-col a.footer-social-youtube { color: #ff4d4d; border-color: rgba(255, 0, 0, .32); }
.footer-col a.footer-social-youtube:hover {
    color: #ff0000;
    border-color: rgba(255, 0, 0, .5);
    background: rgba(255, 0, 0, .09);
    transform: translateY(-2px);
}
[data-theme="dark"] .footer-col a.footer-social-youtube:hover { color: #ff4d4d; border-color: rgba(255, 0, 0, .5); background: rgba(255, 0, 0, .14); }

.footer-pay { display: flex; flex-direction: column; gap: 7px; }
.footer-pay-label { font-size: 11.5px; color: var(--muted); }
.footer-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: #32bcad;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .3px;
}
[data-theme="dark"] .footer-pay-badge { background: #161616; border-color: rgba(255, 255, 255, .1); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 22px;
}
.footer-copy { font-size: 12.5px; color: var(--muted); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
    font-size: 12.5px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}
.footer-legal a:hover { color: var(--text); }

@media (max-width: 860px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
    .footer-brand { grid-column: 1 / -1; max-width: none; }
    .footer-news-row { max-width: 360px; }
}
@media (max-width: 520px) {
    .site-footer-inner { padding: 36px 18px 22px; }
    .footer-top { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
