/* Endless Scrolling Styles for Ticker Detail Pages */

.social-content-list {
    max-width: 100%;
    margin: 0 auto;
}

.content-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.content-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.content-item.tiktok-content {
    border-left-color: #ff0050;
}

.content-item.instagram-content {
    border-left-color: #e4405f;
}

.content-item.youtube-content {
    border-left-color: #ff0000;
}

.content-item.twitter-content {
    border-left-color: #1da1f2;
}

.content-item.reddit-content {
    border-left-color: #ff4500;
}

/* Comment Styles */
.comment-header, .video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-info i {
    font-size: 1.2rem;
}

.platform-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.comment-meta, .video-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.username, .creator {
    font-weight: 600;
    color: #333;
}

.verified-badge {
    color: #1da1f2;
    font-size: 0.9rem;
}

.timestamp {
    color: #8f9bb3;
}

/* Comment Content */
.comment-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.comment-engagement, .video-engagement {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.engagement-item i {
    font-size: 0.9rem;
}

.sentiment-indicator {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sentiment-indicator.positive {
    background-color: #d4edda;
    color: #155724;
}

.sentiment-indicator.neutral {
    background-color: #fff3cd;
    color: #856404;
}

.sentiment-indicator.negative {
    background-color: #f8d7da;
    color: #721c24;
}

/* Video Styles */
.video-content {
    margin-top: 1rem;
}

.video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0,0,0,0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Loading Indicator */
.endless-loading {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #6c757d;
    font-size: 1rem;
}

.loading-spinner i {
    font-size: 1.5rem;
    color: #4361ee;
}

/* End Message */
.endless-end-message {
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

.end-message-content i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.end-message-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.end-message-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.end-message-content .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.end-message-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .comment-header, .video-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .comment-meta, .video-meta {
        gap: 0.5rem;
    }
    
    .comment-engagement, .video-engagement {
        gap: 1rem;
    }
    
    .engagement-item {
        font-size: 0.8rem;
    }
    
    .video-thumbnail img {
        height: 160px;
    }
    
    .play-overlay {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.content-item {
    opacity: 1;
    transform: translateY(0);
}

.content-item.loading {
    opacity: 0;
    transform: translateY(20px);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

