/**
 * 社交分享功能样式
 * 适用于视频详情页和播放页
 */

/* 社交分享容器 */
.social-share-container {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* 分享按钮基础样式 */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.social-btn:active {
    transform: translateY(0) scale(0.95);
}

/* 各平台专用颜色 */
.facebook-btn {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #166fe5 0%, #1976d2 100%);
}

.instagram-btn {
    background: linear-gradient(135deg, #e4405f 0%, #ff6b6b 50%, #ffa726 100%);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #d63384 0%, #e91e63 50%, #ff9800 100%);
}

.twitter-btn {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.copy-btn {
    background: linear-gradient(135deg, #6c757d 0%, #9e9e9e 100%);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #5a6169 0%, #6c757d 100%);
}

/* 复制成功提示 */
.copy-success-msg {
    text-align: center;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-share-container {
        padding: 0.75rem 0;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .social-share-buttons {
        gap: 0.5rem;
    }
}

/* 适用于播放页的紧凑样式 */
.compact-social-share .social-share-container {
    padding: 0.5rem 0;
    border-top: none;
}

.compact-social-share .share-title {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.compact-social-share .social-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

.compact-social-share .social-share-buttons {
    gap: 0.5rem;
}

/* 浮动分享按钮样式 */
.floating-social-share {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 2rem;
    padding: 0.75rem 0.5rem;
    backdrop-filter: blur(10px);
}

.floating-social-share .social-share-buttons {
    flex-direction: column;
    gap: 0.5rem;
}

.floating-social-share .social-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.floating-social-share .share-title {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    font-size: 0.7rem;
    margin: 0 0 0.5rem 0;
    color: white;
}

@media (max-width: 768px) {
    .floating-social-share {
        right: 10px;
    }
    
    .floating-social-share .social-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
} 