/* 
 * 体育直播网站样式表
 * 独特的深蓝渐变配色方案
 * 移动端优先设计
 */

/* CSS Reset 和基础设置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a1628;
    --secondary-color: #1e3a5f;
    --accent-color: #ff6b35;
    --accent-hover: #ff8c5a;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #8fa3b8;
    --gradient-start: #0d2137;
    --gradient-end: #1a4a6e;
    --card-bg: rgba(30, 58, 95, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --gold-color: #ffd700;
    --font-main: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

/* 链接样式 */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
}

/* 容器布局 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 头部导航 - 非sticky */
.site-header {
    background: var(--primary-color);
    padding: 12px 0;
    border-bottom: 2px solid var(--accent-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-wrap img {
    height: 42px;
    width: auto;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* 导航菜单 */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-list li a {
    display: block;
    padding: 8px 14px;
    color: var(--text-light);
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav-list li a:hover,
.nav-list li a.active {
    background: var(--accent-color);
    color: var(--text-light);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: var(--accent-color);
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Hero区域 */
.hero-section {
    background: linear-gradient(rgba(10, 22, 40, 0.8), rgba(10, 22, 40, 0.9)), url('images/hero-banner.webp') center/cover no-repeat;
    padding: 60px 0;
    text-align: center;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--text-light);
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    color: var(--text-light);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 14px 0;
    background: rgba(0, 0, 0, 0.2);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 8px;
    color: var(--text-muted);
}

.breadcrumb-list li:last-child::after {
    content: '';
}

.breadcrumb-list a {
    color: var(--text-muted);
}

.breadcrumb-list a:hover {
    color: var(--accent-color);
}

/* 内容区域 */
.content-section {
    padding: 50px 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.match-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-normal);
    border: 1px solid var(--border-color);
}

.match-card:hover {
    transform: translateY(-6px);
}

.match-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.match-card-body {
    padding: 18px;
}

.match-card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.match-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.match-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.live-badge {
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 特色功能区 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.feature-item {
    background: var(--card-bg);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 关于我们区域 */
.about-section {
    background: rgba(0, 0, 0, 0.15);
    padding: 50px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    border-radius: 12px;
    width: 100%;
    box-shadow: var(--shadow-strong);
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* 支付方式 */
.payment-section {
    padding: 50px 0;
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.payment-item {
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
}

.payment-item img {
    height: 36px;
    width: auto;
}

.payment-item span {
    font-weight: 500;
}

/* FAQ区域 */
.faq-section {
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.1);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 18px 22px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent-color);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 18px 22px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* 用户评论 */
.reviews-section {
    padding: 50px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.review-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.review-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--gold-color);
    font-size: 1rem;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: right;
}

/* 牌照信息 */
.license-section {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.license-badge img {
    height: 60px;
    width: auto;
}

.license-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.license-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 客户支持 */
.support-section {
    padding: 50px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.support-item {
    background: var(--card-bg);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.support-item:hover {
    border-color: var(--accent-color);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
}

.support-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.support-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 负责任体育 */
.responsible-section {
    padding: 40px 0;
    background: rgba(39, 174, 96, 0.1);
}

.responsible-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.responsible-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--success-color);
}

.responsible-content p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e74c3c;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 16px;
}

/* 页脚 */
.site-footer {
    background: var(--primary-color);
    padding: 50px 0 20px;
    border-top: 2px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-payments {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.footer-payments img {
    height: 28px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-payments img:hover {
    opacity: 1;
}

/* 标签页面 */
.tags-section {
    padding: 50px 0;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag-item {
    background: var(--card-bg);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.tag-item:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

/* APP下载页面 */
.app-section {
    padding: 60px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.app-preview img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
}

.app-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.app-info p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.app-features {
    list-style: none;
    margin: 24px 0;
}

.app-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.download-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    padding: 14px 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.download-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

.download-btn .icon {
    font-size: 1.5rem;
}

/* 内页样式 */
.page-header {
    background: linear-gradient(rgba(10, 22, 40, 0.9), rgba(10, 22, 40, 0.95)), url('images/page-header-bg.webp') center/cover no-repeat;
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.article-content {
    padding: 50px 0;
}

.article-body {
    max-width: 900px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 30px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 24px 0 12px;
    color: var(--accent-color);
}

.article-body p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.article-body ul, .article-body ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-muted);
}

.article-body li {
    margin-bottom: 8px;
}

.article-img {
    width: 100%;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: var(--shadow-soft);
}

.info-box {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--accent-color);
}

.info-box h4 {
    margin-bottom: 12px;
    color: var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.stat-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 作者信息 */
.author-box {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 响应式设计 - 移动端优先 */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        width: 100%;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-list li a {
        display: block;
        text-align: center;
        padding: 12px;
    }
    
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .download-btns {
        flex-direction: column;
    }
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .cta-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
