/* 右上角社交媒体链接样式 */
.social-links-top {
    position: fixed;
    top: 20px;
    right: 240px; /* 初始位置，会被JavaScript动态调整 */
    display: flex !important; /* 强制显示 */
    gap: 12px;
    align-items: center;
    z-index: 1000;
    visibility: visible !important; /* 确保可见 */
    opacity: 1 !important; /* 确保不透明 */
}

.social-link-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.social-link-top:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
}

.social-icon-top {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.social-link-top:hover .social-icon-top {
    filter: brightness(1);
}

/* 移动端样式 */
@media (max-width: 768px) {
    .social-links-top {
        top: 15px;
        right: 120px; /* 移动端位置 */
        gap: 8px;
    }

    .social-link-top {
        width: 36px;
        height: 36px;
        border-radius: 18px;
    }

    .social-icon-top {
        width: 16px;
        height: 16px;
    }
}