@charset "utf-8";

/* Footer Custom Styles */
.footer-new-container {
    background-color: #262626; /* Dark gray background */
    color: #b5b5b5;
    padding: 50px 0;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
    min-width: 320px;
}

.footer-new-container * {
    box-sizing: border-box;
}

.footer-new-content {    
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 130px;
}

/* Left Section */
.footer-left {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
}

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

.footer-logo img {
    max-height: 60px;
    display: block;
    max-width: 100%;
    height: auto;
}

.footer-hotline {
    margin-bottom: 20px;
}

.footer-hotline p {
    margin: 0;
    font-size: 16px;
    color: #ccc;
}

.footer-hotline h3 {
    margin: 10px 0 0;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    font-family: Arial, sans-serif;
}

.footer-disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: auto; /* Push to bottom if height allows, or just margin top */
    padding-top: 10px;
}

/* Center Section */
.footer-center {
    flex: 1.8;
    min-width: 300px;
    padding: 0 40px;
    border-left: 1px solid #444;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid #444;
}

.footer-center h4 {
    font-size: 20px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: normal;
}

.footer-center p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #fff;
}

.footer-icp {
    margin-top: 20px !important;
    color: #888;
}

/* Right Section - QR Codes */
.footer-right {
    flex: 1.5;
    min-width: 300px;
    padding-left: 40px;
    display: grid;
    grid-template-columns: repeat(2, 120px);
    grid-auto-rows: auto;
    gap: 20px 50px;
    justify-content: start;
}

.qr-item {
    text-align: center;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-item img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    display: block;
    margin: 0 auto 8px;
    box-sizing: content-box;
}

.qr-item p {
    margin: 0;
    font-size: 12px;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .footer-new-content {
        flex-direction: column;
        align-items: center;
        padding: 0 16px;
    }

    .footer-left, .footer-center, .footer-right {
        width: 100%;
        padding: 0;
        border: none;
        margin-bottom: 24px;
        text-align: center;
        align-items: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }
    
    .footer-right {
        grid-template-columns: repeat(2, minmax(90px, 1fr));
        gap: 12px 12px;
        justify-content: center;
    }
    
    .footer-disclaimer {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .footer-hotline h3 {
        font-size: 22px;
    }
    
    .footer-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 10px;
    }
    
    .qr-item img {
        width: 88px;
        height: 88px;
    }
}
