* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --secondary-color: #ff6600;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo .highlight {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

/* 按钮 */
.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #b8c5d6;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: #b8c5d6;
    font-size: 14px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 通用部分 */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* 体育赛事卡片 */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sport-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.sport-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.sport-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.sport-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.live-badge {
    display: inline-block;
    background: #ff4757;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* 直播卡片 */
.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.live-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.live-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.live-thumbnail {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.live-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.match-score {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.live-info {
    padding: 20px;
}

.live-info h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.live-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.live-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

/* 资讯列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 120px;
    flex-shrink: 0;
}

.news-placeholder {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
}

.news-content {
    flex: 1;
}

.news-tag {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-content h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-light);
}

/* 关于我们 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: #b8c5d6;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #b8c5d6;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 卡片链接样式 */
.sport-card,
.live-card,
.news-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sport-card:hover h4,
.live-card:hover h5,
.news-item:hover h5 {
    color: var(--primary-color);
}

.news-item {
    cursor: pointer;
}

/* APP下载按钮 */
.app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-small:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
