body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

#lang-toggle {
    padding: 5px 10px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-top: -100px;
    position: relative;
    z-index: 2;
}

.sport-card {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sport-card:hover {
    transform: scale(1.05);
}

.sport-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.sport-card h2 {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 2rem;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sport-card:hover .sport-image {
    opacity: 1;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 20px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 添加体育板块页面的样式 */
.sport-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sport-header h2 {
    color: white;
    font-size: 4rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: bold;
    letter-spacing: 2px;
}

/* 添加新的样式 */
.hero-section {
    height: 60vh;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

#hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero-text {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 添加赛程表样式 */
.schedule-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

.schedule-table th,
.schedule-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.schedule-table th {
    background-color: #1e90ff;
    color: white;
    font-weight: bold;
}

.schedule-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.schedule-table tr:hover {
    background-color: #e9ecef;
}

.schedule-table td {
    white-space: nowrap;
}

/* 添加联赛卡片样式 */
.league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.league-card {
    text-decoration: none;
    color: inherit;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.league-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.league-card p {
    color: #666;
    font-size: 1.2rem;
}

/* 修改标题样式 */
header h1 {
    font-size: 4rem; /* 放大4倍 */
    text-align: center; /* 居中 */
    flex: 1; /* 占据剩余空间 */
    margin: 0; /* 移除默认外边距 */
}

/* 添加导航按钮样式 */
.nav-buttons {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    gap: 10px;
}

.nav-button {
    padding: 8px 16px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.nav-button:hover {
    background-color: #666;
} 