/* 社交媒体图标样式 */
.custom-social-box {
    margin: 20px 0;
    text-align: center;
}

.custom-social-box p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.social-icons-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.social-icon:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* 二维码弹出层样式 */
.qr-popup {
    position: absolute;
    display: none;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 120px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.qr-popup.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.qr-popup::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.qr-popup img {
    width: 120px;
    height: 120px;
    display: block;
}

.has-qr {
    position: relative;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-icons-group {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon img {
        width: 20px;
        height: 20px;
    }
    
    .qr-popup img {
        width: 100px;
        height: 100px;
    }
}