/* 组件容器样式 */
.social-wrapper {
    margin-top: 50px;
}

/* 通用标题样式 - 限定在.page-content作用域内 */
.page-content h1,
.page-content h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.page-content h1::after,
.page-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #fff, transparent);
}

/* 社交媒体组件样式 */
.social-media {
    margin-left: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 2px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 覆盖社交媒体标题的特殊样式 */
.social-media h2 {
    text-align: center;
}

.social-media h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-btn {
    padding: 10px 25px;
    background: rgba(126, 185, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
    cursor: pointer;
}

.social-btn:hover {
    background: rgba(126, 185, 255, 0.2);
    transform: translateY(-2px);
}

.social-btn--active {
    background: rgba(126, 185, 255, 0.3);
    border-color: #7eb9ff;
}

.qrcode-container {
    margin-top: 30px;
    min-height: 0;
    transition: min-height 0.3s ease;
}

.qrcode-box {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto 0;
    animation: fadeIn 0.3s ease;
    width: fit-content;
}

.qrcode-box img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

.qrcode-box p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .social-links {
        gap: 10px;
    }
    
    .social-btn {
        padding: 8px 20px;
    }
    
    .qrcode-box img {
        max-width: 150px;
    }
    
    .qrcode-box {
        padding: 15px;
    }
}