/* 直播详情页样式 */
.match-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.match-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.match-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.match-time {
    color: #666;
    font-size: 15px;
}

.match-score {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.match-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    background: var(--primary-color);
}

.live-player {
    width: 100%;
    margin: 20px 0;
    min-height: 50px;
}

.live-player ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0;
    list-style: none;
}

.live-player li {
    margin: 0;
    padding: 0;
}

.live-player a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    background: #f5f5f5;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.live-player a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.live-player a:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.live-player a:hover:before {
    animation: shine 1.5s infinite;
}

.live-player a .text {
    position: relative;
}



@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 高清信号闪烁动画 */
.live-player a[style*="color:red"] {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.7), 0 0 30px rgba(255, 0, 0, 0.4);
    }
}

/* 选项卡样式 */
.match-tabs {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #eaeaea;
    background: #f9f9f9;
}

.tab-item {
    padding: 12px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-item:hover {
    background: #f0f0f0;
}

.tab-item.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background: #fff;
}

.tabs-content {
    padding: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 比赛信息样式 */
.match-info-detail {
    color: #333;
    line-height: 1.6;
}

.info-label {
    font-weight: bold;
    color: #666;
}

.match-desc {
    margin: 15px 0;
    line-height: 1.8;
    color: #666;
}

.team-intel {
    margin: 20px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.intel-title {
    padding: 10px 15px;
    font-size: 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.intel-content {
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.intel-good h4, .intel-bad h4 {
    margin-bottom: 10px;
    font-size: 15px;
}

.intel-good h4 {
    color: #28a745;
}

.intel-bad h4 {
    color: #dc3545;
}

.match-tags {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.tags-label {
    font-weight: bold;
    margin-right: 10px;
}

.tag-item {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 5px 5px 0;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    transition: all 0.3s;
    text-decoration: none;
}

.tag-item:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 历史战绩样式 */
.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1fr 1.5fr;
    background: #f5f5f5;
    padding: 12px 15px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.history-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1fr 1.5fr;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.history-row:last-child {
    border-bottom: none;
}

.history-row:hover {
    background: #f9f9f9;
}

/* 赛前预测样式 */
.prediction-compare {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 0;
}

.team-prediction {
    text-align: center;
    width: 40%;
}

.team-ratio {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-name {
    font-size: 16px;
    color: #666;
}

.vs-prediction {
    font-size: 22px;
    font-weight: bold;
    color: #999;
}

/* 集锦录像样式 */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.video-item:last-child {
    border-bottom: none;
}

.video-item:hover {
    background: #f9f9f9;
}

.video-link {
    display: block;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
}

.video-link:hover {
    color: var(--primary-color);
}

.no-data {
    padding: 30px;
    text-align: center;
    color: #999;
    font-style: italic;
}

/* 网友评论区域样式 */
.fan-comments-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.fan-comments-list {
    max-height: 500px;
    overflow-y: auto;
}

.comment-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eaeaea;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: bold;
    color: #444;
    margin-right: 10px;
}

.comment-team {
    font-size: 12px;
    color: #fff;
    background-color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
}

.comment-content {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.no-comments {
    text-align: center;
    color: #999;
    padding: 30px 0;
    font-style: italic;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .match-title {
        font-size: 20px;
    }
    
    .match-detail {
        gap: 15px;
    }
    
    .match-score {
        font-size: 24px;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .intel-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .history-header, .history-row {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        font-size: 12px;
        padding: 10px;
    }
    
    .prediction-compare {
        flex-direction: column;
        gap: 20px;
    }
    
    .team-prediction {
        width: 100%;
    }
    
    .vs-prediction {
        margin: 10px 0;
    }
    
    .fan-comments-list {
        max-height: 400px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-author {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .match-title {
        font-size: 18px;
    }
    
    .match-detail {
        flex-direction: column;
        gap: 10px;
    }
    
    .match-score {
        font-size: 22px;
    }
    
    .tab-item {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .tabs-content {
        padding: 15px;
    }
    
    .history-header, .history-row {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }
    
    .history-date, .history-game, .history-team, .history-score {
        padding: 5px 0;
    }
    
    .history-header div:nth-child(4), .history-header div:nth-child(5),
    .history-row div:nth-child(4), .history-row div:nth-child(5) {
        grid-column: span 1;
    }
    
    .history-header div:nth-child(1), .history-header div:nth-child(2),
    .history-row div:nth-child(1), .history-row div:nth-child(2) {
        grid-column: span 1;
    }
    
    .history-header div:nth-child(3),
    .history-row div:nth-child(3) {
        grid-column: span 2;
    }
    
    .fan-comments-section {
        padding: 15px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .comment-content {
        font-size: 13px;
    }
} 