/* ═══════════════════════════════════════════════════════════════
   ⚽ 足球直播系统 - 现代化样式
   ═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────
   基础变量
   ──────────────────────────────────────────────────────────────── */
:root {
    /* 主色调 */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* 强调色 */
    --accent: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    
    /* 状态色 */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* 中性色 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* 背景 */
    --bg-body: linear-gradient(180deg, #f0f4ff 0%, #e0e7ff 100%);
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    
    /* 文字 */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ────────────────────────────────────────────────────────────────
   全局样式
   ──────────────────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
                 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    background: var(--bg-body);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ────────────────────────────────────────────────────────────────
   头部导航
   ──────────────────────────────────────────────────────────────── */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 32px;
    -webkit-text-fill-color: initial;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.nav {
    display: flex;
    gap: 8px;
    background: var(--gray-100);
    padding: 6px;
    border-radius: var(--radius-full);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-full);
    z-index: -1;
}

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

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link.active {
    background: var(--primary-gradient);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.nav-link.active::before {
    opacity: 1;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ────────────────────────────────────────────────────────────────
   主容器
   ──────────────────────────────────────────────────────────────── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
    min-height: calc(100vh - 200px);
}

/* ────────────────────────────────────────────────────────────────
   英雄区域
   ──────────────────────────────────────────────────────────────── */
.hero {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* ────────────────────────────────────────────────────────────────
   区块样式
   ──────────────────────────────────────────────────────────────── */
.section {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition);
}

.section:hover {
    box-shadow: var(--shadow-xl);
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

/* ────────────────────────────────────────────────────────────────
   比赛卡片网格
   ──────────────────────────────────────────────────────────────── */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

/* ────────────────────────────────────────────────────────────────
   比赛卡片
   ──────────────────────────────────────────────────────────────── */
.match-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.match-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-light);
}

.match-card:hover::before {
    opacity: 1;
}

.match-card.live {
    border-color: var(--danger);
    box-shadow: var(--shadow-md), 0 0 20px rgba(239, 68, 68, 0.2);
}

.match-card.live::before {
    background: var(--accent-gradient);
    opacity: 1;
}

.match-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(79, 70, 229, 0.15);
}

.match-link {
    display: block;
    padding: 16px;
}

.match-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    padding: 4px;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-lg);
    margin: 12px 12px 16px 12px;
}

.match-league {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-card);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.match-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.match-tag.live {
    background: var(--danger);
    color: #fff;
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.match-tag.upcoming {
    background: var(--info);
    color: #fff;
}

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

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.team-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.team-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-lg);
    min-width: 100px;
}

.score-value {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.score-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.match-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    padding-bottom: 8px;
    margin-top: 16px;
    margin-bottom: 8px;
    border-top: 1px solid var(--gray-100);
}

/* ────────────────────────────────────────────────────────────────
   按钮
   ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--shadow-md), 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 25px rgba(79, 70, 229, 0.5);
}

.btn-primary.plain {
    background: transparent;
    border: 2px solid var(--primary);
    box-shadow: none;
    color: var(--primary);
}

.btn-primary.plain:hover {
    background: var(--primary-gradient);
    color: #fff;
}

/* ────────────────────────────────────────────────────────────────
   比赛列表
   ──────────────────────────────────────────────────────────────── */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-item {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.match-item:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.match-item .match-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.match-teams {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.tag {
    font-size: 12px;
    padding: 4px 12px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 600;
}

/* ────────────────────────────────────────────────────────────────
   空状态
   ──────────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state p {
    font-size: 16px;
    margin-top: 12px;
}

/* ────────────────────────────────────────────────────────────────
   页脚
   ──────────────────────────────────────────────────────────────── */
.footer {
    background: var(--gray-900);
    padding: 40px 24px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 8px 0;
}

.footer a {
    color: var(--primary-light);
}

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

/* ────────────────────────────────────────────────────────────────
   页面标题
   ──────────────────────────────────────────────────────────────── */
.page-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 28px;
    padding: 24px 32px;
    background: var(--primary-gradient);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* ────────────────────────────────────────────────────────────────
   面包屑
   ──────────────────────────────────────────────────────────────── */
.breadcrumb {
    padding: 16px 0;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ────────────────────────────────────────────────────────────────
   比赛详情页
   ──────────────────────────────────────────────────────────────── */
.match-card.detail {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 32px;
}

.match-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
}

.match-teams-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

.team-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-logo-large {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.team-name-large {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.score-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 48px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md) inset;
}

.score-value-large {
    font-size: 48px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.match-time-detail {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 500;
}

.live-section {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-xl);
    margin-top: 24px;
}

.notice {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ────────────────────────────────────────────────────────────────
   新闻列表
   ──────────────────────────────────────────────────────────────── */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news-link {
    display: flex;
    color: inherit;
}

.news-image {
    width: 240px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

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

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ────────────────────────────────────────────────────────────────
   录像列表
   ──────────────────────────────────────────────────────────────── */
.filters {
    background: var(--bg-card);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    box-shadow: var(--shadow-md);
}

.filters label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.filters label:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.filters input[type="radio"] {
    accent-color: var(--primary);
}

.replays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.replay-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.replay-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.replay-link {
    display: block;
    color: inherit;
}

.replay-cover {
    position: relative;
    width: 100%;
    height: 180px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.replay-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.play-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
}

.replay-card:hover .play-icon {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.35);
}

.replay-content {
    padding: 20px;
}

.replay-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.replay-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.replay-footer {
    display: flex;
    justify-content: flex-end;
}

/* ────────────────────────────────────────────────────────────────
   新闻详情页
   ──────────────────────────────────────────────────────────────── */
.news-article {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.news-header {
    margin-bottom: 32px;
}

.news-title-detail {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.news-meta-detail {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.news-cover {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.news-cover img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.news-body {
    line-height: 1.9;
    font-size: 17px;
    color: var(--text-secondary);
}

.news-body p {
    margin-bottom: 20px;
}

.news-body img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: var(--radius);
}

/* ────────────────────────────────────────────────────────────────
   响应式设计
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .matches-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 16px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    }
    
    .nav.nav-open {
        display: flex;
    }
    
    .nav-link {
        padding: 14px 20px;
        border-radius: var(--radius);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .container {
        padding: 20px 16px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .section {
        padding: 20px;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .match-teams {
        flex-direction: column;
        text-align: center;
    }
    
    .score {
        width: 100%;
        margin: 16px 0;
    }
    
    .team {
        justify-content: center;
    }
    
    .match-teams-detail {
        flex-direction: column;
        gap: 24px;
    }
    
    .score-detail {
        padding: 20px;
        width: 100%;
    }
    
    .news-link {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .page-title {
        font-size: 24px;
        padding: 20px;
    }
    
    .replays-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .score-value-large {
        font-size: 36px;
    }
    
    .news-title-detail {
        font-size: 24px;
    }
}

/* ────────────────────────────────────────────────────────────────
   滚动条美化
   ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ────────────────────────────────────────────────────────────────
   工具类
   ──────────────────────────────────────────────────────────────── */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
