/* Comments Modal */
#comments-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#comments-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.comments-content {
    width: 600px;
    height: 80vh;
    background: #1a1a1a;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.comments-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    border-radius: 20px 20px 0 0;
}

.comments-header h2 { margin: 0; font-size: 1.2rem; color: #fff; }

.close-btn {
    background: none; border: none; color: #aaa; font-size: 2rem; cursor: pointer;
}
.close-btn:hover { color: #fff; }

.comments-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #151515;
}

#comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.comment-nick { color: var(--primary-color); font-weight: bold; font-size: 0.9rem; }
.comment-stars { color: #ffd700; }

.comment-msg { color: #ddd; font-size: 0.95rem; margin-bottom: 8px; line-height: 1.4; }

.comment-info {
    font-size: 0.75rem;
    color: #555;
    text-align: right;
    font-family: monospace;
}

.comments-form {
    padding: 20px;
    background: #222;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 0 0 20px 20px;
}

.form-row { display: flex; gap: 10px; margin-bottom: 10px; }

#c-nickname {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
}

.rating-input {
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
}

.star {
    font-size: 1.5rem;
    color: #444;
    transition: color 0.2s;
}

.star.active { color: #ffd700; }

#c-message {
    width: 100%;
    height: 60px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
    resize: none;
    margin-bottom: 10px;
}

#c-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

