/* 主播列表页面专用样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 主播列表区域 */
.anchors-list {
    padding: 4rem 0;
    background: #f8f9fa;
}

.anchors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 主播项目卡片 */
.anchor-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.anchor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 主播封面图 */
.anchor-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.anchor-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.anchor-item:hover .anchor-cover img {
    transform: scale(1.05);
}

/* 直播状态标签 */
.live-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.live-status.live {
    background: #ff6b6b;
}

.live-status.offline {
    background: #95a5a6;
}

/* 观众数量 */
.viewer-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.viewer-count i {
    margin-right: 5px;
}

/* 主播信息区域 */
.anchor-info {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.anchor-avatar {
    flex-shrink: 0;
}

.anchor-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
}

.anchor-details {
    flex: 1;
}

.anchor-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.anchor-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.anchor-stats {
    display: flex;
    gap: 1rem;
}

.anchor-stats span {
    color: #666;
    font-size: 0.9rem;
}

.anchor-stats i {
    margin-right: 3px;
    color: #ff6b6b;
}

.anchor-stats .fa-star {
    color: #ffd700;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.page-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.page-btn.next {
    background: #667eea;
    border-color: #667eea;
    color: white;
    padding: 10px 20px;
}

.page-btn.next:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .anchors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .anchor-info {
        padding: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .anchor-info {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .anchor-stats {
        justify-content: center;
    }
    
    .pagination {
        gap: 0.3rem;
    }
    
    .page-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anchor-item {
    animation: fadeInUp 0.6s ease forwards;
}

.anchor-item:nth-child(1) { animation-delay: 0.1s; }
.anchor-item:nth-child(2) { animation-delay: 0.2s; }
.anchor-item:nth-child(3) { animation-delay: 0.3s; }
.anchor-item:nth-child(4) { animation-delay: 0.4s; }
.anchor-item:nth-child(5) { animation-delay: 0.5s; }
.anchor-item:nth-child(6) { animation-delay: 0.6s; }