/* Video Interaction Styles */
.video-interaction-bar {
    background: #1a1a1a;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.interaction-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.interaction-btn {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.interaction-btn:hover {
    background: #3a3a3a;
    border-color: #666;
    transform: translateY(-2px);
}

.interaction-btn.active {
    background: #e50914;
    border-color: #e50914;
}

.interaction-btn i {
    font-size: 16px;
}

.interaction-count {
    font-weight: bold;
    margin-left: 5px;
}

/* Comment Section */
.comments-wrapper {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.comments-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.comment-composer {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e50914;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    flex-shrink: 0;
}

.comment-input-wrapper {
    flex: 1;
}

.comment-textarea {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.comment-textarea:focus {
    outline: none;
    border-color: #e50914;
}

.comment-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.btn-cancel {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-post {
    background: #e50914;
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-post:hover {
    background: #f40612;
}

/* Comment Item */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-card {
    display: flex;
    gap: 15px;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: bold;
    color: #e50914;
}

.comment-timestamp {
    color: #888;
    font-size: 12px;
}

.comment-text {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-interaction {
    display: flex;
    gap: 15px;
    align-items: center;
}

.comment-action {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s;
}

.comment-action:hover {
    background: #2a2a2a;
    color: #fff;
}

.comment-action.liked {
    color: #e50914;
}

.comment-replies {
    margin-left: 55px;
    margin-top: 15px;
    padding-left: 15px;
    border-left: 2px solid #333;
}

/* Share Modal */
.share-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.share-modal-content {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.share-modal-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.share-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
}

.share-close:hover {
    color: #fff;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.share-item {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.share-item:hover {
    background: #3a3a3a;
    border-color: #666;
    transform: translateY(-3px);
}

.share-item i {
    font-size: 32px;
    margin-bottom: 10px;
}

.share-item-label {
    color: #ddd;
    font-size: 13px;
}

.share-link-section {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 10px;
}

.share-link-input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #444;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.btn-copy-link {
    background: #e50914;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-copy-link:hover {
    background: #f40612;
}

/* Responsive */
@media (max-width: 768px) {
    .video-interaction-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .interaction-group {
        justify-content: center;
    }
    
    .share-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comment-replies {
        margin-left: 20px;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #444;
    border-top-color: #e50914;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2a2a2a;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-left: 4px solid #28a745;
}

.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-info {
    border-left: 4px solid #17a2b8;
}
