body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 主内容区 */
.main-content {
    margin: 30px 0;
    background-color: #f5f7fa;
}

/* 页面标题 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h2 {
    font-size: 24px;
    color: #1e5799;
}

.league-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);
}

.league-selector select {
    border: none;
    background: transparent;
    padding: 5px;
    font-size: 14px;
    outline: none;
}

/* 四格布局容器 */
.rankings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* 排行榜卡片 */
.ranking-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 卡片头部 */
.card-header {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
    color: white;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.card-header h3 i {
    margin-right: 10px;
    font-size: 20px;
}

.period-selector {
    display: flex;
    gap: 5px;
}

.period-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.period-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.period-btn.active {
    background-color: white;
    color: #1e5799;
}

/* 卡片内容 */
.card-content {
    padding: 0;
}

/* 排行榜表格 */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th {
    background-color: #f9f9f9;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #eee;
}

.ranking-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

.ranking-table tr:hover {
    background-color: #f9f9ff;
}

/* 排名样式 */
.rank {
    font-weight: bold;
    width: 40px;
    text-align: center;
}

.rank-1, .rank-2, .rank-3 {
    color: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rank-1 {
    background-color: #ffc107;
}

.rank-2 {
    background-color: #6c757d;
}

.rank-3 {
    background-color: #cd7f32;
}

/* 球队信息 */
.team-info {
    display: flex;
    align-items: center;
}

.team-logo {
    width: 30px;
    height: 30px;
    background-color: #e6e6e6;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}

/* 数值样式 */
.value {
    font-weight: 600;
    color: #1e5799;
}

/* 趋势箭头 */
.trend {
    display: inline-block;
    margin-left: 5px;
}

.trend.up {
    color: #4CAF50;
}

.trend.down {
    color: #f44336;
}

/* 查看全部链接 */
.view-all {
    display: block;
    text-align: center;
    padding: 15px;
    color: #1e5799;
    text-decoration: none;
    font-weight: 500;
    border-top: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.view-all:hover {
    background-color: #f9f9ff;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745!important
}