/* 麻豆直播 - 用户评价页面专用样式 */

/* 基础设置复用 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #ff8e53;
    --accent-color: #ff9f40;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8e53 50%, #ff9f40 100%);
    --shadow-soft: 0 8px 30px rgba(255, 107, 53, 0.15);
    --shadow-hover: 0 15px 40px rgba(255, 107, 53, 0.25);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    overflow-x: hidden;
}

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    font-size: 28px;
    font-weight: 700;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
}

.slogan {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 12px;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-gradient);
    color: white;
    transform: translateY(-2px);
}

.nav-item.cta-btn {
    background: var(--bg-gradient);
    color: white;
    font-weight: 600;
}

.main-content {
    flex: 1;
    padding-top: 80px;
}

/* 页面标题区域 */
.page-hero {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.9;
    position: relative;
}

/* 满意度概览 */
.satisfaction-overview {
    padding: 60px 0;
    background: var(--bg-primary);
}

.satisfaction-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    color: var(--text-primary);
    font-weight: 600;
}

.stat-note {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: var(--text-secondary);
}

.rating-breakdown {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.breakdown-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.rating-label {
    min-width: 40px;
    font-weight: 600;
    color: var(--text-primary);
}

.bar-container {
    flex: 1;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--bg-gradient);
    border-radius: 6px;
    transition: width 2s ease;
    width: 0%;
}

.rating-percentage {
    min-width: 50px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
}

/* 精选评价区域 */
.featured-reviews {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.reviews-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--bg-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.review-card.featured {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, #fff5f2, #ffffff);
}

.review-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.review-badge.featured {
    background: #e74c3c;
}

.review-badge.new {
    background: #27ae60;
}

.review-badge.fan {
    background: #e91e63;
}

.review-badge.vip {
    background: #8e44ad;
}

.review-badge.mobile {
    background: #3498db;
}

.review-badge.long-term {
    background: #95a5a6;
}

.user-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.user-level {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 3px;
}

.user-duration {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.review-date {
    font-size: 11px;
    color: var(--text-secondary);
}

.review-rating-detailed {
    margin-bottom: 15px;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.rating-name {
    font-size: 13px;
    color: var(--text-secondary);
}

.stars {
    font-size: 12px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-stats-detailed {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.stat-item {
    background: var(--bg-secondary);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.review-helpful {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.helpful-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.helpful-btn {
    background: var(--bg-gradient);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition);
}

.helpful-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.load-more-section {
    text-align: center;
}

.load-more-btn {
    background: var(--bg-gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.reviews-count {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 底部样式 */
.main-footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .primary-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .satisfaction-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}