
.main-content {
    flex: 1;
    padding: 2rem;
}
.footer {

    background-color: #063a1c;
    padding: 40px 5% 20px;
    border-top: 1px solid #064408;
    width: 100%;
    text-align: center;
}
.footer,footer a,footer a:hover,footer a:visited,footer a:active {
    color: #c2c2c2;

}
 
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px auto;
}
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}
.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e6e6e6;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffffff;
}
.footer-right {
    text-align: right;
}
.footer-right .logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    background-color: #4caf50;
  padding-left: 10px;
  border-radius: 3px;
}
.social-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.icon-wrapper {
    background-color: #e0e0e0; /* 更浅的灰色 */
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.social-icon:hover .icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    background-color: #d5d5d5;
}
.qrcode {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 150px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
.qrcode::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}
.qrcode img {
    width: 100%;
    border-radius: 4px;
}
.qrcode p {
    margin: 8px 0 0 0;
    font-size: 12px;
    text-align: center;
    color: #333;
}
.social-icon:hover .qrcode {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}
/* 微信图标样式 */
.wechat-icon {
    width: 24px;
    height: 24px;
}
.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}
.social-icon {
    width: 24px;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info {
    margin-top: 15px;
}
footer .contact-info p ,footer .contact-info a {
    font-size: 13px;
    color: #e0e0e0;
    margin-bottom: 5px;
}
footer .contact-info a {
    font-size: 13px;
    color: #e0e0e0;
    margin-bottom: 5px;
}
.friend-links {
    border-top: 1px solid #064408;
    padding-top: 20px;
    margin: 30px auto 0;
}
.friend-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e6e6e6;
}
.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.links-container a {
    color: #808080;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}
.links-container a:hover {
    color: #ffffff;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #064408;
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}
.footer-container ,.friend-links{
    max-width: 1200px;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-right {
        text-align: left;
    }
    .social-icons {
        justify-content: flex-start;
    }
}
/* 浮动工具侧边栏样式 */
.tools-section {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    transition: all 0.4s ease;
}
.tools-section.top {
    top: 30px;
    transform: translateY(0);
}
.tool-icon {
    width: 50px;
    height: 50px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}
.tool-icon:hover {
    background: #26a69a;
    color: white;
    transform: translateX(-5px);
}
.tool-icon.down-arrow {
    background: #4caf50;
    color: white;
}
.tool-icon.down-arrow:hover {
    background: #2c3e50;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .tools-section {
        right: 15px;
    }
    .tool-icon {
        width: 45px;
        height: 45px;
        font-size: 13px;
    }
    .friend-links{
        display: none;
    }
}
@media (max-width: 480px) {
    .tools-section {
        flex-direction: row;
        bottom: 20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
    }
    .tools-section.top {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
    .tool-icon {
        width: 80px;
    }
    .friend-links{
        display: none;
    }
}

 /* QQ弹窗容器样式 */
 .qq-popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/*QQ弹窗内容样式 */
.qq-popup-content {
    width: 500px;
    height: 400px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* 绿色主题样式 */
.qq-popup-header {
    color: #4caf50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.qq-popup-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 70px);
}

.qq-popup-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

/* QQ按钮样式 */
.qq-popup-button {
    display: inline-block;
    background: linear-gradient(to right, #4caf50, #2e7d32);
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    margin: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-align: center;
}

.qq-popup-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
}

.qq-popup-button:active {
    transform: translateY(1px);
}

/* QQ图标样式 */
.qq-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
}

.qq-icon:before {
    content: "QQ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 复制区域样式 */
.qq-popup-copy {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.qq-popup-copy-text {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.qq-popup-copy-input {
    width: 60%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 1rem;
}

.qq-popup-copy-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.qq-popup-copy-btn:hover {
    background: #3e8e41;
}

.qq-popup-success {
    color: #4caf50;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

/* 关闭按钮样式 */
.qq-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.qq-popup-close:hover {
    background: #e0e0e0;
}

.qq-popup-close:before {
    content: "×";
    font-size: 1.5rem;
    color: #777;
}

/* 客服按钮样式 */
.qq-service-button {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 9998;
}

.qq-service-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.qq-service-button img {
    width: 40px;
    height: 40px;
}

