/* === FOOTER === */
.footer {
    background: var(--primary-black);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 0;
    position: relative;
    margin-top: auto;
    z-index: 1000; /* Одинаковый с header */
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--gradient-red) 0%,
        var(--gradient-yellow) 25%,
        var(--gradient-red) 50%,
        var(--gradient-yellow) 75%,
        var(--gradient-red) 100%
    );
    background-size: 200% 100%;
    animation: gradientMove 8s linear infinite;
    opacity: 0.35;
}

.footer-container {
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.footer-container .footer-copyright {
    flex-shrink: 0;
}

.footer-container .footer-social {
    flex-shrink: 0;
}

.footer-container .footer-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin-right: 1rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-link.discord { 
    background: rgba(88, 101, 242, 0.15); 
}
.footer-social-link.vk { 
    background: rgba(0, 119, 255, 0.15); 
}
.footer-social-link.telegram { 
    background: rgba(38, 165, 228, 0.15); 
}

.footer-social-link:hover {
    transform: scale(1.1);
}

.footer-social-link.discord:hover { 
    background: var(--discord-color);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}
.footer-social-link.vk:hover { 
    background: var(--vk-color);
    box-shadow: 0 5px 20px rgba(0, 119, 255, 0.4);
}
.footer-social-link.telegram:hover { 
    background: var(--telegram-color);
    box-shadow: 0 5px 20px rgba(38, 165, 228, 0.4);
}

.footer-social-link .social-icon {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
}

.footer-social-link:hover .social-icon {
    stroke: #fff;
}

/* === АДАПТИВНОСТЬ ФУТЕРА === */
@media (max-width: 768px) {
    .footer {
        padding: 0.75rem 0;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .footer-container .footer-links {
        position: static;
        transform: none;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-social {
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 0;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-social-link {
        width: 40px;
        height: 40px;
    }
}

