.footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    background: rgba(15, 19, 25, 0.85);
    padding: 1.75rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
}

.footer-brand strong {
    color: var(--text);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.35rem;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.88rem;
}

.footer .footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer .footer-links a i {
    font-size: 0.8rem;
    opacity: 0.92;
}

.footer .footer-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
}

.footer .footer-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-sep {
    color: var(--border);
    user-select: none;
    font-size: 0.75rem;
    opacity: 0.65;
    padding: 0 0.1rem;
}

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .footer-links {
        justify-content: flex-start;
    }
}
