/* Footer Section Styles */
.footer-section {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left {
    width: 250px;
    margin-right: 40px;
}

.footer-heading {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    /* 优化在各种浏览器上的显示效果 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.register-button {
    text-align: center;
    margin-bottom: 30px;
}

.register-button a {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    /* 优化在各种浏览器上的显示效果 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.register-button a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.register-button a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.community-list h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.language-selector select {
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23ffffff"%3E%3Cpath d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.language-selector select option {
    background-color: #000000;
    color: #ffffff;
}

.footer-right {
    flex: 1;
    min-width: 600px;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-column {
    min-width: 150px;
    margin-bottom: 30px;
}

.nav-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-column ul li {
    margin-bottom: 10px;
}

.nav-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-column ul li a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
        display: flex;
        justify-content: space-between;
        max-width: 600px;
    }
    
    .qr-code {
        margin-bottom: 0;
    }
    
    .community-list {
        margin-left: 40px;
    }
    
    .footer-right {
        min-width: 100%;
    }
    
    .nav-column {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 40px 15px;
    }
    
    .footer-left {
        flex-direction: column;
        max-width: 100%;
    }
    
    .community-list {
        margin-left: 0;
        margin-top: 30px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .nav-column {
        min-width: 100px;
    }
    
    .nav-column h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .nav-column ul li a {
        font-size: 13px;
    }
    
    .footer-heading {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 10px;
    }
    
    .register-button a {
        font-size: 14px;
        padding: 10px 25px;
    }
    
    .footer-heading {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .community-list h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    .nav-column {
        width: 100%;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .nav-column ul li {
        margin-bottom: 8px;
    }
}

/* Browser Compatibility */
.language-selector select::-ms-expand {
    display: none;
}

.social-icons a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.nav-column ul li a {
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}