/* 福利视频分类页面样式 */

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

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

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

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

/* 筛选区域 */
.filter-section {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

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

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

.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);
}

.filter-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    min-width: 120px;
    transition: all 0.3s ease;
}

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

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.video-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.thumb-bg {
    width: 100%;
    height: 100%;
}

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

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

.variety-bg {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.anime-bg {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.documentary-bg {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #667eea;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.free-badge, .hd-badge, .hot-badge, .new-badge, .quality-badge, .recommend-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.free-badge {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

.hd-badge {
    background: linear-gradient(135deg, #5f27cd, #341f97);
}

.hot-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.new-badge {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

.quality-badge {
    background: linear-gradient(135deg, #5f27cd, #341f97);
}

.recommend-badge {
    background: linear-gradient(135deg, #ffa726, #ff7043);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rating {
    color: #ffd700;
    font-size: 14px;
}

.views {
    color: #999;
    font-size: 14px;
}

.watch-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

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

.page-btn.prev,
.page-btn.next {
    font-weight: 500;
}

/* 用户评论区域 */
.user-reviews {
    margin-top: 60px;
}

.user-reviews h3 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

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

.review-content h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.rating {
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 15px;
}

.review-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .category-header h2 {
        font-size: 32px;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .filter-options {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .filter-select {
        width: 200px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .page-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
}