/* 赛事中心页面专属样式 */

.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #2d2d44 100%);
    color: #fff;
    padding: 30px 0;
    margin-bottom: 24px;
    border-radius: var(--radius);
}

.page-header h1 {
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header h1 i {
    color: var(--primary);
}

.breadcrumb {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.7;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    margin: 0 8px;
}

/* 运动类型筛选 */
.sport-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
}

/* 实时比赛网格 */
.live-matches-section {
    margin-bottom: 30px;
}

.live-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.live-match-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.live-match-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.live-match-card .match-league {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-badge {
    background: var(--live);
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

.live-match-card .match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.live-match-card .team {
    text-align: center;
    flex: 1;
}

.live-match-card .team img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 6px;
}

.live-match-card .team span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.live-match-card .match-score {
    text-align: center;
    padding: 0 16px;
}

.live-match-card .score {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.live-match-card .match-time {
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
}

.match-odds {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.match-odds span {
    text-align: center;
}

.match-odds .odds-label {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
}

.match-odds .odds-value {
    font-weight: 700;
    color: var(--primary);
}

/* 赛程表 */
.schedule-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.date-filter {
    display: flex;
    gap: 8px;
}

.date-item {
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text-light);
}

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

.schedule-table {
    margin-top: 16px;
}

.schedule-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 120px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.schedule-row:hover {
    background: var(--bg);
}

.schedule-row .time {
    font-size: 14px;
    color: var(--text-light);
}

.schedule-row .teams {
    display: flex;
    align-items: center;
    gap: 16px;
}

.schedule-row .team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.schedule-row .team-info img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.schedule-row .vs {
    color: var(--text-muted);
    font-size: 12px;
}

.schedule-row .league {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

.schedule-row .status {
    text-align: center;
}

/* 完整积分榜 */
.standings-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.league-select {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.standings-full table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.standings-full th,
.standings-full td {
    padding: 14px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.standings-full th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-light);
    font-size: 13px;
}

.standings-full .team-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.standings-full .team-cell img {
    width: 28px;
    height: 28px;
}

.standings-full .points {
    font-weight: 900;
    color: var(--primary);
    font-size: 16px;
}

.form-indicator {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.form-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.form-dot.w { background: #00d4aa; }
.form-dot.d { background: #999; }
.form-dot.l { background: var(--primary); }
