/* 视频分享功能样式 */
.video-share-container {
    position: relative;
    display: inline-block;
}

.video-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.video-container:hover .video-share-btn {
    opacity: 1;
}

.video-share-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-share-modal.active {
    opacity: 1;
    visibility: visible;
}

.share-modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.video-share-modal.active .share-modal-content {
    transform: translateY(0);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.share-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.share-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.share-close-btn:hover {
    color: #333;
}

.share-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.share-platform {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.share-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.share-platform i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.share-platform.youtube i { color: #ff0000; }
.share-platform.facebook i { color: #1877f2; }
.share-platform.twitter i { color: #1da1f2; }
.share-platform.linkedin i { color: #0077b5; }
.share-platform.whatsapp i { color: #25d366; }
.share-platform.telegram i { color: #0088cc; }

.share-platform label {
    display: block;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.copy-url-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.copy-url-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.copy-url-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.copy-url-btn:hover {
    background: #0056b3;
}

.copy-url-btn.copied {
    background: #28a745;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .share-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .share-platforms {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .share-platform {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .share-platforms {
        grid-template-columns: 1fr;
    }
}