/* ============================================
   足球赛事情报网 - 页面专用样式
   ============================================ */

/* 页面通用样式 */
.page-content {
    min-height: calc(100vh - 500px);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0;
}

.filter-bar .filter-btn,
.filter-bar .status-btn,
.filter-bar .type-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 15px;
}

.filter-bar .filter-btn:hover,
.filter-bar .filter-btn.active,
.filter-bar .status-btn:hover,
.filter-bar .status-btn.active,
.filter-bar .type-btn:hover,
.filter-bar .type-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 直播指示器 */
.live-indicator {
    display: inline-block;
    color: var(--accent-color);
    animation: pulse 2s infinite;
    margin-right: 5px;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    padding: 40px 0;
}

.btn-load-more {
    padding: 15px 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-load-more:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 联赛选择器 */
.selector-group {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    padding: 30px 0;
}

.selector-group label {
    font-weight: 500;
    font-size: 16px;
}

.league-select {
    padding: 12px 25px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-white);
    cursor: pointer;
    min-width: 200px;
}

/* 表格信息 */
.table-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
}

.update-time {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 球队卡片网格 */
.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-card-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.team-card-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.team-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.team-card-stat {
    background: var(--bg-light);
    padding: 10px;
    border-radius: 8px;
}

.team-card-stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.team-card-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 预测信息卡片 */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 新闻列表页专用 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    display: flex;
    gap: 25px;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.news-item-image {
    width: 280px;
    min-height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.news-item-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.news-item-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.news-item-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

/* 比赛详情页专用 */
.matches-detail-section {
    padding: 40px 0;
}

.match-detail-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.match-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.match-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.match-detail-league {
    font-size: 14px;
    color: var(--text-secondary);
}

.match-detail-venue {
    font-size: 14px;
    color: var(--text-secondary);
}

.match-detail-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.match-detail-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.match-detail-team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.match-detail-team-name {
    font-weight: 600;
    font-size: 16px;
}

.match-detail-score {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    padding: 0 30px;
}

.match-detail-status {
    text-align: center;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.match-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.match-detail-stat {
    text-align: center;
}

.match-detail-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.match-detail-stat-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
}

/* 预测详情页专用 */
.prediction-detail-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.prediction-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.prediction-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.prediction-detail-type {
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.prediction-detail-confidence {
    display: flex;
    align-items: center;
    gap: 10px;
}

.confidence-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.prediction-detail-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.prediction-detail-teams {
    font-size: 20px;
    font-weight: bold;
}

.prediction-detail-result {
    margin-bottom: 20px;
}

.prediction-detail-result-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.prediction-detail-result-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.prediction-detail-analysis {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.prediction-detail-analysis-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.prediction-detail-analysis-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item-image {
        width: 100%;
        height: 200px;
    }
    
    .match-detail-teams {
        flex-direction: column;
        gap: 20px;
    }
    
    .match-detail-score {
        padding: 20px 0;
    }
    
    .match-detail-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}
