/* 主播列表页面样式 */
.anchors-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
    font-weight: bold;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    opacity: 0.8;
}

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

.anchor-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.anchor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

.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 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
}

.live-status.live {
    background: #dc3545;
    animation: pulse 2s infinite;
}

.live-status.offline {
    background: #6c757d;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.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.9rem;
}

.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%;
    border: 3px solid #28a745;
    object-fit: cover;
}

.anchor-details {
    flex: 1;
}

.anchor-details h3 {
    color: #28a745;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.anchor-tag {
    display: inline-block;
    background: #e9f7ef;
    color: #28a745;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.anchor-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.anchor-stats {
    display: flex;
    gap: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.anchor-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.watch-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.watch-btn.offline {
    background: #6c757d;
    cursor: not-allowed;
}

.watch-btn.offline:hover {
    transform: none;
    box-shadow: none;
}

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

.page-btn {
    padding: 10px 15px;
    border: 2px solid #28a745;
    background: white;
    color: #28a745;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.page-btn:hover {
    background: #28a745;
    color: white;
}

.page-btn.active {
    background: #28a745;
    color: white;
}

.page-btn.next {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .anchors-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .anchor-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .anchor-stats {
        justify-content: center;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}