/* Modern Footer Design */

.modern-footer {
    background: #ffffff;
    color: #1a1a1a;
    padding-top: 60px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e5e5e5;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ed174f, #ff4d7d, #ed174f);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Footer Brand Section */
.footer-brand {
    padding-right: 20px;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.social-icon:hover {
    background: #ed174f;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(237, 23, 79, 0.3);
    border-color: #ed174f;
}

.social-icon i {
    font-size: 18px;
}

/* Footer Columns */
.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ed174f;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #ed174f;
}

.footer-links a:hover {
    color: #ed174f;
    padding-left: 20px;
}

.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}

/* Contact Info */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #666666;
    font-size: 14px;
}

.footer-contact-item i {
    color: #ed174f;
    margin-right: 12px;
    margin-top: 3px;
    font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding: 25px 0;
    margin-top: 40px;
}

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

.footer-copyright {
    color: #666666;
    font-size: 14px;
}

.footer-copyright a {
    color: #ed174f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-copyright a:hover {
    color: #d01545;
}

.footer-payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-icon {
    width: 45px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666666;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: #ed174f;
    color: #ffffff;
    border-color: #ed174f;
}

/* DMCA Badge */
.footer-dmca {
    text-align: center;
    padding: 20px 0;
    background: #f9f9f9;
    border-top: 1px solid #e5e5e5;
}

.footer-dmca img {
    max-width: 150px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-dmca img:hover {
    opacity: 1;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ed174f;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(237, 23, 79, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background: #d01545;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(237, 23, 79, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-footer {
        padding-top: 40px;
        margin-top: 60px;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-payment-methods {
        justify-content: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
