.site-footer {
    --footer-bg: rgba(12, 12, 18, 0.97);
    --footer-border: rgba(148, 163, 184, 0.12);
    margin-top: 6rem;
    padding: 2.25rem 0;
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(24px);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.5) 30%, rgba(236, 72, 153, 0.5) 70%, transparent 100%);
    opacity: 0.8;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-logo-link:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-copyright {
    color: var(--text-muted, rgba(148, 163, 184, 0.85));
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
    font-weight: 400;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal-link {
    color: var(--text-muted, rgba(148, 163, 184, 0.85));
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.footer-legal-link:hover {
    color: var(--text-primary, #f1f5f9);
    background: rgba(148, 163, 184, 0.08);
}

.footer-sep {
    color: var(--text-muted, rgba(148, 163, 184, 0.5));
    font-size: 0.625rem;
    user-select: none;
    line-height: 1;
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 4rem;
        padding: 1.75rem 0;
    }

    .footer-wrap {
        padding: 0 1.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-left {
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-legal-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }
}
