  /* 社交媒体二维码样式 */
.social-media-qrcode {
    position: relative;
    z-index: 9999;
}

.social-icons {
    position: relative; /* 确保二维码相对于这个容器定位 */
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icon {
    position: relative; /* 为图标创建定位上下文 */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/*.social-icon.wechat { background: #FFFFFF; }*/
/*.social-icon.weibo { background: #FFFFFF; }*/
/*.social-icon.douyin { background: #FFFFFF; }*/
/*.social-icon.video-channel { background: #FFFFFF; }*/
/*.social-icon.xiaohongshu { background: #FFFFFF; }*/

/*!* 图标字体 *!*/
/*.icon-wechat:before { content: "微"; font-size: 14px; }*/
/*.icon-weibo:before { content: "微"; font-size: 14px; }*/
/*.icon-douyin:before { content: "音"; font-size: 14px; }*/
/*.icon-video:before { content: "视"; font-size: 14px; }*/
/*.icon-redbook:before { content: "红"; font-size: 14px; }*/

/* 二维码弹出层样式 */
.qrcode-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    margin-bottom: 15px;
    min-width: 200px;
    text-align: center;
    animation: fadeInUp 0.3s ease;
}

.qrcode-popup.social-active {
    display: block;
}

.qrcode-popup img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
}

.qrcode-popup p {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

/* 箭头样式 */
.qrcode-popup .social-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

/*!* 动画效果 *!*/
/*@keyframes showDig {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateX(-50%) translateY(10px);*/
/*    }*/
/*    to {*/
/*        opacity: 1;*/
/*        transform: translateX(-50%) translateY(0);*/
/*    }*/
/*}*/

/* 确保二维码弹出层在图标上方 */
.social-icon {
    z-index: 100;
}

/*!* 为当前激活的图标添加样式 *!*/
.social-icon .active {
    z-index: 1001;
    position: relative;
}