.site-footer {
    background-color: var(--color-surface-1);
    padding: 0.5rem 2rem;
    border-top: 1px solid var(--color-glass-border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--color-text-muted);
    font-size: 1.4rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    border-radius: 6px;
    background: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.footer-social a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-social a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-social a:hover::after {
    width: 70%;
}

.footer-social a:hover {
    background: var(--color-surface-2);
    color: var(--color-accent);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.footer-actions {
    display: flex;
    justify-content: flex-end;
}

.footer-actions .back-to-top-footer {
    color: var(--color-text-muted);
    font-size: 1.6rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.footer-actions .back-to-top-footer:hover {
    color: var(--color-accent);
    background-color: var(--color-surface-2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 0.3rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-social {
        order: 1;
        gap: 0.5rem;
    }
    
    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        padding: 0.4rem;
    }

    .footer-actions {
        order: 3;
        justify-content: center;
    }

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