/* 全局样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --background-color: #f5f7fa;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --font-family: 'Arial', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 技术备注 */
.tech-note {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    z-index: 1000;
}

/* 导航栏 */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-brand h1 {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.navbar-menu ul {
    display: flex;
    list-style: none;
}

.navbar-menu li {
    margin-left: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 0 60px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23ffffff" fill-opacity="0.1" fill-rule="evenodd"/%3E%3C/svg%3E');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 50%;
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 通用部分样式 */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 直播区 */
.live-section {
    padding: 60px 0;
    background-color: var(--white);
}

.live-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.league-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.league-btn {
    padding: 8px 16px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.league-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.live-matches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.match-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.match-time {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
    font-weight: 500;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team.home {
    flex-direction: row-reverse;
}

.team-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.team-name {
    font-weight: 600;
    font-size: 16px;
}

.match-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.match-status.live {
    background-color: var(--danger-color);
    color: var(--white);
    animation: pulse 1.5s infinite;
}

.match-status.upcoming {
    background-color: var(--warning-color);
    color: var(--white);
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.watch-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.watch-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 回放区 */
.replay-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.replay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.replay-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.replay-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.replay-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.replay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.replay-card:hover .replay-image img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.replay-card:hover .play-icon {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.replay-info {
    padding: 15px;
}

.replay-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.replay-info p {
    font-size: 14px;
    color: var(--light-text);
}

/* 资讯区 */
.news-section {
    padding: 60px 0;
    background-color: var(--white);
}

.news-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.news-tab-btn {
    padding: 10px 20px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.news-tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.news-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-content p {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--light-text);
}

.news-category {
    padding: 3px 10px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
}

/* 赛程表（开服表风格） */
.schedule-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
    flex-wrap: wrap;
}

.schedule-tab-btn {
    padding: 10px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.schedule-tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.server-schedule {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.schedule-header {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr 1fr;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    font-weight: 600;
}

.schedule-body {
    max-height: 500px;
    overflow-y: auto;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr 1fr;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.schedule-row:hover {
    background-color: var(--background-color);
}

.schedule-row:last-child {
    border-bottom: none;
}

.league-tag {
    padding: 3px 10px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 12px;
    font-size: 12px;
    margin-right: 10px;
}

.vs {
    margin: 0 10px;
    color: var(--light-text);
}

.status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status.pending {
    background-color: var(--warning-color);
    color: var(--white);
}

.status.live {
    background-color: var(--danger-color);
    color: var(--white);
    animation: pulse 1.5s infinite;
}

.status.completed {
    background-color: var(--success-color);
    color: var(--white);
}

.schedule-btn {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.schedule-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* 数据中心 */
.stats-section {
    padding: 60px 0;
    background-color: var(--white);
}

.stats-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.stats-tab-btn {
    padding: 10px 20px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.stats-tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.stats-content {
    display: none;
}

.stats-content.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.stats-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.player-info, .team-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.player-info img, .team-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.player-details h3, .team-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.player-details p, .team-details p {
    font-size: 14px;
    color: var(--light-text);
}

.player-stats, .team-stats {
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
}

.standings-table {
    overflow-x: auto;
}

.standings-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.standings-table th, .standings-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.standings-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.standings-table tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

/* 特色功能 */
.features-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-card p {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.5;
}

/* 专家预测 */
.predictions-section {
    padding: 60px 0;
    background-color: var(--white);
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.prediction-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.prediction-match {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}

.prediction-match .team {
    font-weight: 600;
    font-size: 16px;
}

.prediction-match .vs {
    color: var(--light-text);
}

.prediction-expert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.prediction-expert img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.prediction-result {
    text-align: center;
}

.prediction-score {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.prediction-analysis {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.5;
}

/* 页脚 */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer-copyright a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .navbar-menu.active {
        max-height: 300px;
    }

    .navbar-menu ul {
        flex-direction: column;
        padding: 20px;
    }

    .navbar-menu li {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .navbar-toggle {
        display: block;
    }

    .hero {
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 30px;
    }

    .live-matches, .replay-grid, .news-grid, .stats-grid, .features-grid, .predictions-grid {
        grid-template-columns: 1fr;
    }

    .schedule-header, .schedule-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .match-card, .replay-card, .news-card, .stats-card, .feature-card, .prediction-card {
        padding: 15px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 天气预报 */
.weather-banner {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: var(--white);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.weather-banner.hidden {
    transform: translateY(-100%);
}

.weather-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.weather-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.weather-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.update-time {
    font-size: 12px;
    opacity: 0.9;
}

.city-name {
    font-weight: 600;
    font-size: 14px;
}

.city-temp {
    font-size: 16px;
    font-weight: bold;
}

.city-condition {
    font-size: 14px;
    opacity: 0.9;
}

/* 热搜模块 - 只对蜘蛛可见，对普通用户隐藏 */
.hot-search-section {
    padding: 40px 0;
    background-color: var(--background-color);
    /* 对普通用户隐藏 */
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 确保蜘蛛能抓取到内容 */
.hot-search-section {
    display: block !important;
}

.hot-search-content {
    display: flex;
    justify-content: center;
}

.hot-search-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 800px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid var(--border-color);
}

.hot-search-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
}

.hot-search-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.hot-search-list li {
    transition: var(--transition);
}

.hot-search-list li:hover {
    transform: translateX(5px);
}

.hot-search-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
    display: block;
    padding: 5px 10px;
    border-radius: var(--border-radius);
}

.hot-search-list a:hover {
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

/* 热门标签 */
.tags-section {
    padding: 40px 0;
    background-color: var(--white);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag-item {
    text-decoration: none;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    font-size: 14px;
    transition: var(--transition);
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 调整导航栏和英雄区位置 */
.navbar {
    top: 60px;
}

.hero {
    margin-top: 130px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .weather-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .weather-item {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        padding: 8px 15px;
    }
    
    .navbar {
        top: 100px;
    }
    
    .hero {
        margin-top: 170px;
    }
    
    .hot-search-list {
        grid-template-columns: 1fr;
    }
    
    .tags-list {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .weather-banner {
        padding: 5px 0;
    }
    
    .weather-item {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .navbar {
        top: 90px;
    }
    
    .hero {
        margin-top: 160px;
    }
}