/* 撸撸社直播页面样式 */

.live-content {
    padding: 40px 0;
}

.live-nav {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

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

.live-tabs .tab.active,
.live-tabs .tab:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.live-filters {
    display: flex;
    gap: 12px;
}

.live-filters select {
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-size: 14px;
}

.live-filters select:focus {
    outline: none;
    border-color: #667eea;
}

.featured-stream {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.stream-player {
    position: relative;
}

.player-screen {
    position: relative;
    height: 350px;
    background: #000;
    overflow: hidden;
}

.stream-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.live-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.featured-stream .stream-info {
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

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

.stream-details {
    flex: 1;
}

.stream-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.stream-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.stream-meta .streamer-name {
    color: #667eea;
    font-weight: 600;
}

.stream-meta .rank {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
}

.stream-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.stream-tags .tag {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: #667eea;
}

.live-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

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

.stream-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stream-card.live {
    border-left: 4px solid #e74c3c;
}

.stream-card.offline {
    border-left: 4px solid #95a5a6;
    opacity: 0.8;
}

.stream-thumbnail {
    position: relative;
    height: 160px;
    background: #000;
    overflow: hidden;
}

.thumbnail-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.live-badge,
.offline-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.live-badge {
    background: rgba(231, 76, 60, 0.9);
}

.offline-badge {
    background: rgba(149, 165, 166, 0.9);
}

.viewer-count {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.last-stream {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
}

.stream-card .stream-info {
    padding: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.stream-card .streamer-avatar {
    width: 40px;
    height: 40px;
}

.stream-card .stream-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.stream-card .stream-meta {
    margin-bottom: 8px;
}

.live-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.streamer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.streamer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.streamer-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.streamer-item .streamer-avatar {
    width: 35px;
    height: 35px;
}

.streamer-info {
    flex: 1;
}

.streamer-item .streamer-name {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    margin-bottom: 2px;
}

.streamer-item .viewer-count {
    font-size: 11px;
    color: #e74c3c;
    margin-bottom: 2px;
    position: static;
    background: none;
    padding: 0;
    border-radius: 0;
}

.status {
    font-size: 11px;
    font-weight: 600;
}

.status.online {
    color: #e74c3c;
}

.status.offline {
    color: #95a5a6;
}

@media (max-width: 768px) {
    .live-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .live-tabs {
        justify-content: center;
    }
    
    .live-filters {
        justify-content: center;
    }
    
    .live-main {
        grid-template-columns: 1fr;
    }
    
    .streams-grid {
        grid-template-columns: 1fr;
    }
    
    .player-screen {
        height: 200px;
    }
}