
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #1a6dff;
    --secondary-color: #ff4a1c;
    --accent-color: #00c853;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
html {
  scroll-behavior: smooth;
}
body {
    background-color: #f9fafb;
    color: #334155;
    line-height: 1.6;
}

a{
    text-decoration: none;
    color: #334155;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary-color);
    font-size: 32px;
}

.logo h1 {
    font-size: 24px;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.user-actions {
    display: flex;
    gap: 15px;
}

.user-actions button {
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.register-btn {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
}

.user-actions button:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

/* 主要内容区 */
main {
    padding: 30px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.section-title h2 {
    font-size: 22px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
}

.live-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--secondary-color);
}

/* 直播模块 */
.live-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.live-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.live-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.live-header {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-sport {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.live-content {
    padding: 20px;
}

.teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 24px;
}

.team-name {
    font-weight: 600;
    text-align: center;
}

.vs {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-color);
}

.match-info {
    text-align: center;
    color: var(--gray-color);
    font-size: 14px;
    margin-top: 10px;
}

/* 录像模块 */
.replay-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.replay-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.replay-card:hover {
    transform: translateY(-3px);
}

.replay-thumbnail {
    height: 160px;
    background-color: #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    font-size: 48px;
}

.replay-play-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
}

.replay-info {
    padding: 15px;
}

.replay-title {
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.replay-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 14px;
}

/* 对阵模块 */
.fixtures-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.fixture-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.fixture-league {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.fixture-league i {
    color: var(--accent-color);
}

.fixture-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.fixture-teams {
    flex: 1;
}

.fixture-time {
    color: var(--gray-color);
    font-size: 14px;
}

/* 新闻模块 */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 160px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    font-size: 40px;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 18px;
}

.news-excerpt {
    color: var(--gray-color);
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 14px;
}

/* 友情链接模块 */
.links-container {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.link-item {
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.link-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* 底部样式 */
footer {
    background-color: var(--dark-color);
    color: #cbd5e1;
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-links li:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 14px;
}

/* 响应式设计 */
        @media (max-width: 992px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }
            
            nav ul {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .intro-container {
                flex-direction: column;
                text-align: center;
            }
            
            .intro-content p {
                margin: 0 auto 20px;
            }
            
            .intro-features {
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .live-container,
            .replay-container,
            .fixtures-container,
            .news-container {
                grid-template-columns: 1fr;
            }
            
            .links-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .user-actions {
                width: 100%;
                justify-content: center;
            }
            
            .site-intro {
                padding: 30px 0;
            }
            
            .intro-content h2 {
                font-size: 28px;
            }
            
            .intro-content p {
                font-size: 16px;
            }
            
            .stats-value {
                font-size: 36px;
            }
        }
        
        @media (max-width: 576px) {
            .section-title {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .links-grid {
                grid-template-columns: 1fr;
            }
            
            .intro-content h2 {
                font-size: 24px;
            }
            
            .intro-features {
                flex-direction: column;
                align-items: center;
            }
            
            .feature-item {
                width: 100%;
                justify-content: center;
            }
        }
.cursor_pointer{
    cursor:pointer;
}

/* 网站介绍模块 */
        .site-intro {
            background: linear-gradient(135deg, #1a6dff 0%, #4d94ff 100%);
            color: white;
            padding: 40px 0;
            margin-bottom: 30px;
            border-radius: 0 0 12px 12px;
        }
        
        .intro-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
        }
        
        .intro-content {
            flex: 1;
            min-width: 300px;
        }
        
        .intro-content h2 {
            font-size: 32px;
            margin-bottom: 15px;
            line-height: 1.3;
        }
        
        .intro-content p {
            font-size: 18px;
            margin-bottom: 20px;
            opacity: 0.95;
            max-width: 600px;
        }
        
        .intro-features {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 25px;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            gap: 8px;
            background-color: rgba(255, 255, 255, 0.15);
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 500;
        }
        
        .feature-item i {
            font-size: 14px;
        }
        
        .intro-stats {
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.1);
            padding: 25px;
            border-radius: 12px;
            min-width: 250px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .stats-value {
            font-size: 48px;
            font-weight: 700;
            line-height: 1;
        }
        
        .stats-label {
            font-size: 16px;
            margin-top: 8px;
            opacity: 0.9;
        }
.team-logo img{
    width: 100%;
}