/* 福利视频用户评价页面样式 */

.comments-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.comments-header {
    text-align: center;
    margin-bottom: 50px;
}

.comments-header h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.comments-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

/* 统计区域 */
.stats-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.overall-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(255,255,255,0.95);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 14px;
    color: #666;
}

.stat-stars {
    color: #ffd700;
    font-size: 18px;
    margin-top: 5px;
}

/* 评分分布 */
.rating-breakdown {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.rating-breakdown h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-label {
    width: 30px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.rating-bar {
    flex: 1;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 5px;
    transition: width 0.8s ease;
}

.rating-percent {
    width: 40px;
    text-align: right;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 筛选区域 */
.filter-section {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    min-width: 150px;
}

.sort-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102,126,234,0.2);
}

/* 评论容器 */
.comments-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.comment-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.comment-card:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.comment-card.featured {
    border: 2px solid #667eea;
    background: rgba(102,126,234,0.05);
}

.comment-card.featured::before {
    content: "精选评价";
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    flex-shrink: 0;
}

.user-details h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.user-badge {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    margin-right: 8px;
}

.user-level {
    background: #764ba2;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
}

.comment-meta {
    text-align: right;
}

.rating {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 5px;
}

.comment-time {
    color: #999;
    font-size: 12px;
}

.comment-content h5 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.comment-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.comment-images {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.comment-img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
}

.screenshot-img {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.quality-img {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.comment-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.action-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

.action-btn:hover {
    background: #f8f9fa;
    color: #667eea;
}

.helpful-tag {
    background: linear-gradient(135deg, #ffa726, #ff7043);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* 写评价区域 */
.write-review-section {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 50px;
}

.write-review-section h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
}

.form-header span {
    color: #666;
    font-size: 16px;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-input span {
    font-weight: 500;
    color: #333;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.star:hover,
.star.active {
    color: #ffd700;
    transform: scale(1.1);
}

.review-title {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.review-title:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102,126,234,0.2);
}

.review-text {
    min-height: 150px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    resize: vertical;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    transition: border-color 0.3s ease;
}

.review-text:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102,126,234,0.2);
}

.form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: white;
    border-color: #667eea;
    color: #667eea;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0;
}

.page-btn {
    padding: 12px 18px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .comments-header h2 {
        font-size: 32px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .overall-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .comment-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .comment-meta {
        text-align: left;
    }
    
    .comment-actions {
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .page-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
}