.wechat-wrapper {
    position: relative;
    display: inline-block;
}

.wechat-qrcode {
    position: absolute;
    bottom: 40px;          /* 调整到图标上方 */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 140px;
}

.wechat-qrcode img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
}

.wechat-qrcode p {
    margin: 8px 0 0;
    font-size: 12px;
    color: #333;
}

.wechat-wrapper:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
}

/* 调整箭头指向（可选） */
.wechat-qrcode::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: white transparent transparent;
}