/* ============================================
   清爽体育直播主题 - Fresh Sports Live Theme
   设计理念：清新、明亮、舒适、现代
   配色：蓝绿色系为主，给人神清气爽的感觉
   ============================================ */

/* CSS变量 - 清爽配色系统 */
:root {
    /* 主色调 - 清新的蓝绿色 */
    --primary: #0EA5E9;
    --primary-light: #38BDF8;
    --primary-dark: #0284C7;
    --primary-soft: #E0F2FE;
    
    /* 辅助色 - 清新的绿色 */
    --accent-green: #10B981;
    --accent-green-light: #34D399;
    --accent-green-soft: #D1FAE5;
    
    /* 活力橙 */
    --accent-orange: #F97316;
    --accent-orange-light: #FB923C;
    --accent-orange-soft: #FFEDD5;
    
    /* 温暖紫 */
    --accent-purple: #8B5CF6;
    --accent-purple-light: #A78BFA;
    --accent-purple-soft: #EDE9FE;
    
    /* 背景色 - 清爽明亮 */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-hover: #F8FAFC;
    
    /* 文字色 */
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;
    
    /* 边框和分割线 */
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --divider: #E2E8F0;
    
    /* 阴影 - 柔和自然 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    
    /* 间距系统 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ============================================
   基础重置
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   布局系统
   ============================================ */
.main-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* 网格系统 */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* 弹性布局 */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ============================================
   头部导航 - 清爽设计
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.brand-logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

/* 主导航 */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-item {
    position: relative;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-item.active {
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 600;
}

/* 下拉菜单 */
.nav-item.has-dropdown {
    position: relative;
    cursor: pointer;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    margin-top: var(--space-sm);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
}

.nav-item.has-dropdown:hover .nav-dropdown {
    display: block;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-dropdown a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-dropdown a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.nav-dropdown a.active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    cursor: pointer;
}

/* ============================================
   英雄区域 - 清爽渐变
   ============================================ */
.hero-section {
    padding-top: 100px;
    padding-bottom: var(--space-3xl);
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-green-soft) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: var(--radius-full);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* ============================================
   卡片组件 - 清爽风格
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.card-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
}

.card-title .icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

.card-body {
    padding: var(--space-lg);
}

/* ============================================
   比赛卡片 - 全新清爽设计
   ============================================ */
.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent-green) 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.match-card:hover::before {
    opacity: 1;
}

.match-card.live {
    border-color: var(--accent-green);
    background: linear-gradient(135deg, var(--accent-green-soft) 0%, var(--bg-card) 100%);
}

.match-card.live::before {
    background: var(--accent-green);
    opacity: 1;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}

.match-league {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.match-time {
    font-size: 13px;
    color: var(--text-muted);
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.match-team {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 180px;
}

.match-team.home {
    justify-content: flex-end;
    text-align: right;
}

.match-team.home .team-logo {
    order: 2;
}

.match-team.home .team-name {
    order: 1;
}

.match-team.away {
    justify-content: flex-start;
}

.team-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: #fff;
    padding: 3px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.team-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.match-vs {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.match-status {
    margin-top: var(--space-md);
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.status-live {
    background: var(--accent-green);
    color: #fff;
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.status-upcoming {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.status-ended {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* ============================================
   首页紧凑比赛卡片
   ============================================ */
.match-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.match-card-compact {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.match-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition-fast);
}

.match-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.match-card-compact:hover::before {
    opacity: 1;
}

.match-card-compact.live {
    border-color: var(--accent-green);
    background: linear-gradient(135deg, var(--accent-green-soft) 0%, var(--bg-card) 100%);
}

.match-card-compact.live::before {
    background: var(--accent-green);
    opacity: 1;
}

.match-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--border-light);
}

.match-compact-league {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.match-compact-time {
    font-size: 12px;
    color: var(--text-muted);
}

.match-compact-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.match-compact-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
    text-align: center;
}

.match-compact-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: #fff;
    padding: 2px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    object-fit: contain;
}

.match-compact-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.match-compact-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: 0 var(--space-sm);
}

.match-compact-vs .vs-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.match-compact-vs .status-badge {
    padding: 2px 8px;
    font-size: 10px;
}

/* ============================================
   轮播区域
   ============================================ */
.carousel-section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    color: var(--text-secondary);
}

.carousel-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.carousel-nav.prev { left: var(--space-md); }
.carousel-nav.next { right: var(--space-md); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    width: 24px;
    background: var(--primary);
}

/* 特色比赛卡片 */
.featured-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl);
}

.featured-team {
    text-align: center;
}

.featured-team .team-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-full);
    background: #fff;
    padding: 5px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.featured-team .team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.featured-team .team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.featured-team .team-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.featured-info {
    text-align: center;
}

.featured-info .match-league {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.featured-info .match-time {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

/* ============================================
   列表组件
   ============================================ */
.list-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.list-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.list-item:hover {
    background: var(--primary-soft);
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.list-item .time {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 60px;
}

.list-item .title {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================
   球队网格
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.team-item:hover {
    background: var(--primary-soft);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.team-item .logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: #fff;
    padding: 4px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.team-item .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.team-item .name {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.team-item:hover .name {
    color: var(--primary);
    font-weight: 600;
}

/* 侧边栏球队网格 */
.team-grid-sidebar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.team-item-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    height: 80px;
    border: 1px solid transparent;
}

.team-item-sidebar:hover {
    background: var(--primary-soft);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.team-item-sidebar .logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: #fff;
    padding: 3px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.team-item-sidebar .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.team-item-sidebar .name {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* ============================================
   侧边栏新闻列表
   ============================================ */
.news-list-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.news-item-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-sm);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    border-left: 3px solid transparent;
}

.news-item-sidebar:hover {
    background: var(--primary-soft);
    border-left-color: var(--primary);
    transform: translateX(4px);
}

.news-item-sidebar .news-time {
    font-size: 11px;
    color: var(--text-muted);
}

.news-item-sidebar .news-title {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-sidebar:hover .news-title {
    color: var(--primary);
}

/* ============================================
   标签页
   ============================================ */
.tabs {
    display: flex;
    gap: var(--space-xs);
    background: var(--bg-tertiary);
    padding: var(--space-xs);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.tab {
    padding: var(--space-sm) var(--space-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    background: transparent;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   分页
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
    gap: var(--space-sm);
}

.page-item {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.page-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   底部
   ============================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: var(--space-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   按钮
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

/* ============================================
   工具类
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--primary); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ============================================
   滚动条
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   选择文本
   ============================================ */
::selection {
    background: var(--primary);
    color: #fff;
}

/* ============================================
   加载动画
   ============================================ */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   空状态
   ============================================ */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 56px;
    margin-bottom: var(--space-md);
    opacity: 0.4;
}

.empty-state p {
    font-size: 15px;
}

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

/* ============================================
   直播详情页样式
   ============================================ */
.live-container {
    padding-top: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.position-container {
    padding: var(--space-md) 0;
    font-size: 14px;
    color: var(--text-muted);
}

.position-container a {
    color: var(--text-secondary);
}

.position-container a:hover {
    color: var(--primary);
}

.position-container .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* 比分区域 */
.fixed_score_box {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.fixed_score_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-green-soft) 100%);
}

.score_team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.score_team .team-logo {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: #fff;
    padding: 5px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.score_team .team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.score_team .team-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.score_center {
    text-align: center;
    flex: 1;
}

.league_name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.match_score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.match_status {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

.match_status.live {
    background: var(--accent-green);
    color: #fff;
    animation: pulse-status 2s infinite;
}

.match_status.upcoming {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.match_status.ended {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* 直播内容卡片 */
.live-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.live-card-header {
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.live-card-header .icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.live-card-header h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.live-card-body {
    padding: var(--space-lg);
}

/* 直播按钮 */
.live-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.live-buttons a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.live-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.info-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* 标签列表 */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag-list a {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.tag-list a:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

/* 更多赛事 */
.more-matches-section {
    margin-top: var(--space-2xl);
}

.more-matches-header {
    margin-bottom: var(--space-lg);
}

.more-matches-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.more-matches-header h2 em {
    font-size: 13px;
    color: var(--text-muted);
    font-style: normal;
}

.match-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.match-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
}

.match-list-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.match-list-item .match-time {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 50px;
}

.match-list-item .match-league {
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    min-width: 60px;
    text-align: center;
}

.match-list-item .match-teams-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.match-list-item .match-team-home,
.match-list-item .match-team-away {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
}

.match-list-item .match-team-home {
    justify-content: flex-end;
}

.match-list-item .match-team-home span,
.match-list-item .match-team-away span {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.match-list-item .match-team-home img,
.match-list-item .match-team-away img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: #fff;
    padding: 2px;
    border: 1px solid var(--border-light);
}

.match-list-item .match-vs {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.match-list-item .match-status-btn span {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.match-list-item .match-status-btn span.live {
    background: var(--accent-green);
    color: #fff;
}

.match-list-item .match-status-btn span.ended {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* ============================================
   文章详情页
   ============================================ */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: var(--space-lg);
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: var(--space-xl) 0 var(--space-md);
    color: var(--text-primary);
}

.article-content img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
}

/* 视频播放器 */
.video-player {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-player video,
.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
