.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: linear-gradient(135deg, #1890ff 0%, #0050b3 100%);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.league-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.league-header1 {
    padding: 20px;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 130px;
}

.league-logo1 {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.league-info {
    padding: 15px 20px;
    flex-grow: 1;
}

.league-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.league-stats {
    display: flex;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.match-count i {
    color: #1890ff;
    margin-right: 5px;
}

.league-action {
    padding: 0 20px 20px;
    text-align: center;
}

.btn-view-league {
    display: inline-block;
    background: #1890ff;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    width: 100%;
}

.btn-view-league:hover {
    background: #096dd9;
}

.btn-view-league i {
    margin-right: 5px;
}

.no-matches {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: #999;
}

.no-matches i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}


/* 赛事详情页样式 */
.competition-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.competition-header {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 2px;
    padding: 30px;
    margin-bottom: 30px;
}

.competition-logo {
    width: 120px;
    height: 120px;
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.competition-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.competition-info {
    flex: 1;
}

.competition-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.competition-name-en {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.competition-stats {
    display: flex;
    margin-top: 15px;
}

.stat-item {
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
    background: #f1f5f9;
    padding: 10px 20px;
    border-radius: 2px;
}

.stat-icon {
    font-size: 22px;
    color: #1890ff;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.tabs-container {
    background: white;
    border-radius: 2px;
    overflow: hidden;
}

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

.tab-item {
    padding: 15px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
}

.tab-item i {
    margin-right: 8px;
}

.tab-item.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
    font-weight: 500;
}

.tab-item:hover {
    color: #1890ff;
}

.tabs-content {
    padding: 25px;
}

.tab-content {
    display: none;
}

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

.competition-details {
    line-height: 1.8;
    color: #333;
}

.no-details {
    text-align: center;
    padding: 50px 0;
    color: #999;
}

.no-details i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .league-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .competition-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .competition-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .competition-name {
        font-size: 24px;
    }
    
    .competition-stats {
        justify-content: center;
    }
    
    .tab-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tabs-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .league-grid {
      /*  grid-template-columns: 1fr;*/
    }
    
    .league-card {
        max-width: 100%;
    }
    
    .competition-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 15px;
        width: 80%;
    }
}

.h5-environment .league-logo {
    width: 84px !important;
    height: 84px !important;
    border-radius: 4px !important;
    object-fit: contain !important;
  }
  .matches-container a.page-item{
    text-decoration: none;
  }