/* ===========================================
 * ENGAGEMENT SECTION STYLES
 * ===========================================
 * Like/Dislike buttons and view counters
 * for articles and machinations models
 */

/* Article stats in hero */
.article-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.article-stats .stat-item i {
    color: #58a6ff;
}

/* Model stats */
.model-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #8b949e;
}

.model-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(88, 166, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(88, 166, 255, 0.2);
}

.model-stats .stat-item i {
    color: #58a6ff;
}

/* Engagement Section */
.engagement-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #21262d 0%, #161b22 100%);
    border-radius: 16px;
    border: 1px solid #30363d;
    text-align: center;
}

.engagement-prompt {
    color: #c9d1d9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.engagement-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.engagement-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #30363d;
    border-radius: 30px;
    background: transparent;
    color: #8b949e;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.engagement-btn:hover {
    transform: translateY(-2px);
}

.engagement-btn i {
    font-size: 1.2rem;
}

.engagement-btn .count {
    font-weight: 700;
}

/* Like button states */
.like-btn:hover {
    border-color: #7ee787;
    color: #7ee787;
    background: rgba(126, 231, 135, 0.1);
}

.like-btn.active {
    border-color: #7ee787;
    color: #7ee787;
    background: rgba(126, 231, 135, 0.2);
    box-shadow: 0 0 20px rgba(126, 231, 135, 0.3);
}

.like-btn.active i {
    animation: pulse 0.3s ease;
}

/* Dislike button states */
.dislike-btn:hover {
    border-color: #f85149;
    color: #f85149;
    background: rgba(248, 81, 73, 0.1);
}

.dislike-btn.active {
    border-color: #f85149;
    color: #f85149;
    background: rgba(248, 81, 73, 0.2);
    box-shadow: 0 0 20px rgba(248, 81, 73, 0.3);
}

.dislike-btn.active i {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 480px) {
    .engagement-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .engagement-btn {
        justify-content: center;
    }
    
    .article-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}
