/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: gradient 8s ease infinite;
}

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

/* Newsletter Section */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.newsletter-desc {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

.newsletter-form {
    flex-shrink: 0;
    max-width: 400px;
    width: 100%;
}

.newsletter-input {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4ecdc4;
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
    color: #ffffff;
}

.newsletter-btn {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border: none;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

/* Main Footer Content */
.footer-main {
    padding: 60px 0 40px;
}

.footer-brand {
    margin-bottom: 30px;
}

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

.footer-logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 25px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    transform: translateY(-3px);
    color: #ffffff;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
    border-radius: 2px;
}

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

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

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: #4ecdc4;
    transform: translateX(5px);
}

.contact-info {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.contact-item i {
    color: #4ecdc4;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
    background: #ffffff;
    padding: 5px;
}

.qrcode-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    margin-bottom: 0;
}

/* Payment Methods Section */
.footer-payment {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.payment-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    color: #ffffff;
}

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

.payment-methods i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    color: #4ecdc4;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
}

.copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.site-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.site-link:hover {
    color: #45b7d1;
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4ecdc4;
}

.beian-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.beian-link:hover {
    color: #4ecdc4;
    background-color: rgba(78, 205, 196, 0.1);
    text-decoration: none;
}

.statistics {
    opacity: 0.7;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .payment-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-newsletter {
        padding: 30px 0;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .newsletter-input {
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .newsletter-btn {
        border-radius: 50px;
        width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
}