/* Hero区域 */
.hero {
    height: calc(100vh - var(--header-height));
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.match-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.match-info h2 {
    margin: 0;
    font-size: 1.5rem;
    padding: 3px 10px;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.match-info p {
    margin: 0;
    padding: 3px 10px;
    border-right: 1px solid rgba(255,255,255,0.3);
    line-height: 1.2;
}

.match-info p:last-child {
    border-right: none;
}

.match-info a {
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    transition: background 0.3s ease;
}

.match-info a:hover {
    background: rgba(255,255,255,0.3);
}

/* 导航按钮 */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* 比赛网格 */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 20px;
    margin-left: 40px;
    margin-right: 40px;
}

.match-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.match-card:hover {
    transform: scale(1.02);
}

.match-card img {
    width: 100%;
    height: 62%;
    object-fit: cover;
}

.match-card-info {
    padding: 15px;
    background: #f8f8f8;
}

.card-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-date {
    color: #666;
    margin: 0;
}

.video-link {
    display: inline-block;
    padding: 5px 10px;
    background: #dfdfdf;
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin-top: 8px;
    border-radius: 4px;
}

.video-link:hover {
    background: #b2b2b2;
}

.video-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 4px;
}

.video-links a {
    margin: 0;
}

/* 年份导航 */
.year-nav {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    display: none;
    
}

.year-select {
    padding: 8px 16px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #ddd;
    background-color: transparent;
    cursor: pointer;
    width: 120px;
    text-align: center;
    margin: 20px auto;
    display: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 16px;
    padding-right: 24px;
    transition: border-color 0.3s ease;
}

.year-select:focus {
    outline: none;
    border-bottom-color: #333;
}

.year-select:hover {
    border-bottom-color: #666;
}
