/* 社交媒体悬浮面板 */
.social-floating-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9998;
}

.social-icon-container {
    position: relative;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.email-icon {
    background-color: #D44638;
}

.email-icon:hover {
    background-color: #B23121;
}

.wechat-icon {
    background-color: #07C160;
}

.wechat-icon:hover {
    background-color: #06A452;
}

.tiktok-icon {
    background-color: #000000;
}

.tiktok-icon:hover {
    background-color: #333333;
}

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

/* 提示框样式 */
.tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10000;
}

.social-icon-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.email-tooltip {
    min-width: 200px;
    text-align: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    display: block;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.back-to-top i {
    font-size: 20px;
}
.tiktok-tooltip  {  width: 150px; height: 150px;
}
.wechat-tooltip  {  width: 150px; height: 150px;
}
/* 响应式调整 */
@media (max-width: 768px) {
    .social-floating-panel {
        bottom: 80px;
        right: 20px;
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 16px;
    }
    
    .tooltip {
        right: 50px;
    }
    
    .social-icon-container:hover .tooltip {
        right: 60px;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
}