/**
 * Klasičan Gejming - Comments Section
 * Stilovi za komentare
 */

/* ===== Comments Section ===== */
.comments-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comments-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

/* ===== Comment Form ===== */
.comment-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-form .form-group {
    margin-bottom: 16px;
}

.comment-form .form-group:last-of-type {
    margin-bottom: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.15);
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-form button {
    margin-top: 16px;
}

/* ===== Comments List ===== */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

/* ===== Comment ===== */
.comment {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.comment.reply {
    margin-left: 40px;
    background: var(--bg-secondary);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.comment-meta {
    flex: 1;
}

.comment-author {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.comment-date {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.reply-btn:hover {
    color: var(--accent-pink);
}

/* ===== Reply Form ===== */
.reply-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.reply-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
}

.reply-form textarea {
    resize: vertical;
    min-height: 60px;
}

/* ===== Comment Replies ===== */
.comment-replies {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-replies .comment {
    padding: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment.reply {
        margin-left: 20px;
    }
}
