.footer {
    background: #050505;
    border-top: 1px solid #222;
    padding: 3rem 0;
    /* More padding */
    margin-top: 40px;
    /* Space above footer */
    position: relative;
    z-index: 10;

    /* Break out of container */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Логотип и описание */
.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

/* Социальные сети */
.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

/* Заголовки разделов */
.footer-title {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Ссылки */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.2rem 0;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Контакты */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #999;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

/* Рассылка */
.newsletter h4 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

/* Нижняя часть футера */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.payment-methods span {
    color: #666;
    font-size: 0.8rem;
}

.payment-icons {
    display: flex;
    gap: 0.8rem;
}

.payment-icons i {
    color: #999;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: #00ff00;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

/* Адаптивность */
/* Адаптивность */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }

    .payment-icons {
        gap: 0.5rem;
    }

    .payment-icons i {
        font-size: 1.3rem;
    }
}