/* 评论系统样式 - 适配狮王对战平台深色主题 */
.comment-system {
    max-width: 100%;
    width: 100%;
    margin: 30px auto 0;
    padding: 25px;
    font-family: 'Inter', sans-serif;
    color: #F5F6FA; /* 浅色文本，与平台一致 */
    background-color: #1E272E; /* 平台深色背景 */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(108, 92, 231, 0.1); /* 紫色边框，增强融入感 */
}

.comment-system h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
}

.comment-system h3::before {
    content: "\f086";
    font-family: "FontAwesome";
    margin-right: 10px;
    color: #6C5CE7; /* 主色调紫色 */
}

.comment-input {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-avatar, .comment-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #6C5CE7; /* 紫色边框，与平台主色调呼应 */
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
}

.input-area {
    flex-grow: 1;
}

.user-info {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.user-info input {
    padding: 10px 14px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 6px;
    flex-grow: 1;
    font-size: 14px;
    transition: all 0.2s;
    background-color: #121A24; /* 更深色背景 */
    color: #F5F6FA;
}

.user-info input::placeholder {
    color: rgba(245, 246, 250, 0.5);
}

.user-info input:focus {
    outline: none;
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

#comment-content {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 8px;
    min-height: 110px;
    resize: vertical;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.2s;
    background-color: #121A24;
    color: #F5F6FA;
}

#comment-content::placeholder {
    color: rgba(245, 246, 250, 0.5);
}

#comment-content:focus {
    outline: none;
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

#submit-comment {
    background-color: #6C5CE7; /* 平台主色调紫色 */
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

#submit-comment:hover {
    background-color: #5a49d1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

#submit-comment:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.3);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: 8px;
    background-color: #121A24; /* 更深色背景，形成层次 */
    transition: all 0.2s;
    border: 1px solid rgba(108, 92, 231, 0.05);
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(108, 92, 231, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-name {
    font-weight: 600;
    color: #6C5CE7; /* 用主色调突出显示用户名 */
    font-size: 15px;
    font-family: 'Rajdhani', sans-serif;
}

.comment-time {
    color: rgba(245, 246, 250, 0.5);
    font-size: 13px;
}

.comment-text {
    margin: 0 0 12px 0;
    line-height: 1.65;
    font-size: 15px;
    color: rgba(245, 246, 250, 0.9);
}

.comment-actions {
    display: flex;
    gap: 18px;
}

.like-btn, .dislike-btn {
    background: none;
    border: none;
    color: #FC5C65; /* 平台强调色红色 */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: all 0.2s;
    padding: 4px 6px;
    border-radius: 4px;
}

.dislike-btn {
    color: rgba(245, 246, 250, 0.6);
}

.like-btn:hover, .dislike-btn:hover {
    background-color: rgba(108, 92, 231, 0.1);
    transform: translateY(-1px);
}

.like-animation {
    animation: pulse 0.5s ease-in-out;
}

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

.loading, .no-comments, .error {
    text-align: center;
    padding: 25px;
    font-size: 15px;
    background-color: #121A24;
    border-radius: 8px;
    border: 1px solid rgba(108, 92, 231, 0.05);
}

.loading {
    color: #6C5CE7;
}

.no-comments {
    color: rgba(245, 246, 250, 0.6);
}

.error {
    color: #FC5C65; /* 平台强调色红色 */
    background-color: rgba(252, 92, 101, 0.05);
    border-color: rgba(252, 92, 101, 0.2);
}
