/* 分享按钮区域核心样式  */
.share-container {
    margin-top: 40px;
    padding-top: 30px;
    /* border-top: 2px dashed #e2e8f0; */
}

.share-container>div {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-container>div>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.share-btn-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.share-btn-list a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.share-btn-list a:active {
    transform: translateY(0) scale(0.95);
}

.share-btn-list a::after {
    content: attr(data-platform);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.share-btn-list a:hover::after {
    opacity: 1;
}

/* 各平台颜色 */
.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #1da1f2;
}

.share-linkedin {
    background: #0a66c2;
}

.share-whatsapp {
    background: #25d366;
}

.share-pinterest {
    background: #e60023;
}

.share-email {
    background: #ea4335;
}

.share-copy {
    background: #6b7280;
}

.share-telegram {
    background: #0088cc;
}

.share-reddit {
    background: #ff4500;
}

/* SVG 图标 */
.share-btn-list svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #48bb78;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s;
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* 计数显示 */
.share-count {
    display: inline-block;
    background: #edf2f7;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 5px;
    font-weight: 600;
}

@media (max-width: 600px) {
    section {
        padding: 25px 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .share-btn-list {
        gap: 8px;
    }

    .share-btn-list a {
        width: 38px;
        height: 38px;
    }
}