/* Site footer — loaded separately to avoid stale app.css cache issues */

.site-footer {
    margin-top: auto;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    text-align: center;
}

.site-footer .footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.site-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
    gap: 0.5rem;
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.has-footer-reveal .site-footer:not(.is-visible) .footer-content {
    opacity: 0;
    transform: translateY(0.75rem);
}

html.has-footer-reveal .site-footer.is-visible .footer-content {
    opacity: 1;
    transform: none;
}

.site-footer .footer-lead {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

.site-footer .footer-meta {
    color: var(--text-muted);
    font-size: 0.6875rem;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

.site-footer .footer-sep {
    margin: 0 0.3rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.site-footer .footer-meta a {
    color: var(--text-secondary);
    text-decoration: none;
}

.site-footer .footer-meta a:hover {
    color: var(--accent);
}

.site-footer .footer-support {
    display: inline-flex;
    align-items: center;
    margin-top: 0.25rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.site-footer .footer-support:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .site-footer .footer-inner {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.has-footer-reveal .site-footer:not(.is-visible) .footer-content,
    html.has-footer-reveal .site-footer.is-visible .footer-content {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
