* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.containers {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 主内容区样式 */
.main-contents {
    display: flex;
    margin: 30px 0;
}

/* 侧边栏样式 */
.sidebar {
    width: 250px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-right: 30px;
}

.sidebar h2 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #1e5799;
}

.league-list {
    list-style: none;
}

.league-list li {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.league-list li:hover {
    background-color: #f0f5ff;
}

.league-list li.active {
    background-color: #e6f0ff;
    color: #1e5799;
    font-weight: bold;
}

/* 内容区样式 */
.content {
    flex: 1;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.content-header h2 {
    font-size: 22px;
    color: #1e5799;
}

.season-selector {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 5px;
    padding: 5px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.season-selector select {
    border: none;
    background: transparent;
    padding: 5px;
    font-size: 14px;
    outline: none;
}

/* 视图切换 */
.view-toggle {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.view-option {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.view-option.active {
    background-color: #1e5799;
    color: white;
}

.view-option.active a{
    color: white;
}

/* 比赛导航 */
.match-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.match-nav h3 {
    font-size: 18px;
    color: #1e5799;
}

.date-nav {
    display: flex;
    align-items: center;
}

.date-nav button {
    background-color: #f0f5ff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.date-nav button:hover {
    background-color: #e6f0ff;
}

.date-range {
    margin: 0 15px;
    font-weight: 500;
}

/* 比赛表格样式 */
.match-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.match-date {
    background-color: #f0f5ff;
    padding: 12px 20px;
    font-weight: bold;
    color: #1e5799;
    border-bottom: 1px solid #e6e6e6;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #555;
}

.team-name {
    font-weight: 500;
}

.score {
    font-weight: bold;
    color: #1e5799;
    text-align: center;
}

.recommend-btn {
    background-color: #1e5799;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.recommend-btn:hover {
    background-color: #16457a;
}

/* 积分榜样式 */
.standings-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.standings-header {
    background-color: #f0f5ff;
    padding: 12px 20px;
    font-weight: bold;
    color: #1e5799;
    border-bottom: 1px solid #e6e6e6;
}

.standings-table th {
    text-align: center;
}

.standings-table td {
    text-align: center;
}

.standings-table td:first-child,
.standings-table th:first-child {
    text-align: left;
}

.team-logo {
    width: 24px;
    height: 24px;
    background-color: #e6e6e6;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.highlight-row {
    background-color: #f9f9ff;
}

/* 隐藏/显示内容 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .league-list {
        display: flex;
        flex-wrap: wrap;
    }

    .league-list li {
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .nav-container {
        flex-direction: column;
    }

    .main-nav, .secondary-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .match-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .date-nav {
        margin-top: 10px;
    }

    table {
        display: block;
        overflow-x: auto;
    }
}