/* 
 * 体育直播网站 - 全新设计风格
 * 配色方案：深蓝渐变 + 金色强调 + 暗色主题
 * 移动端优先响应式设计
 */

/* CSS变量定义 */
:root {
    --primary-dark: #0a1628;
    --primary-blue: #1a3a5c;
    --accent-gold: #d4af37;
    --accent-orange: #e67e22;
    --text-white: #f5f5f5;
    --text-gray: #b0b8c4;
    --card-bg: rgba(26, 58, 92, 0.85);
    --border-color: rgba(212, 175, 55, 0.3);
    --gradient-main: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2137 100%);
    --gradient-gold: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    --shadow-main: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 20px rgba(212, 175, 55, 0.15);
    --font-main: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    --transition-fast: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--gradient-main);
    color: var(--text-white);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 头部导航 */
.site-header {
    background: rgba(10, 22, 40, 0.95);
    border-bottom: 2px solid var(--border-color);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-area img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.logo-area h1 {
    font-size: 1.25rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 主导航 */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.main-nav a {
    color: var(--text-gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--border-color);
}

/* CTA按钮 */
.cta-btn {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-gray);
    margin: 0 0.5rem;
}

/* 内容区块 */
.content-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
}

.section-title::before {
    content: '◆ ';
    color: var(--accent-gold);
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-card);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

.card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-body {
    padding: 1.25rem;
}

.card-body h3 {
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 特色列表 */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    font-size: 1.5rem;
}

.feature-text h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* 关于我们 */
.about-section {
    background: rgba(26, 58, 92, 0.5);
    padding: 3rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* 作者信息 */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    margin: 2rem 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* 评论区 */
.reviews-section {
    padding: 3rem 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-white);
}

.reviewer-city {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.review-rating {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.review-content {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* FAQ区域 */
.faq-section {
    padding: 3rem 0;
    background: rgba(10, 22, 40, 0.8);
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 支付方式 */
.payment-section {
    padding: 2rem 0;
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-item img {
    height: 32px;
    width: auto;
}

/* 牌照信息 */
.license-section {
    padding: 2rem 0;
    text-align: center;
}

.license-badge {
    display: inline-block;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--accent-gold);
}

.license-badge img {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.license-info h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.license-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* 页脚 */
.site-footer {
    background: rgba(10, 22, 40, 0.98);
    border-top: 2px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

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

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #c0392b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* 客服支持 */
.support-section {
    padding: 2rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.support-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.support-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.support-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.support-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* APP下载页面 */
.download-hero {
    text-align: center;
    padding: 4rem 1rem;
}

.download-hero img {
    max-width: 200px;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 2px solid var(--accent-gold);
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.download-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.download-btn .icon {
    font-size: 1.5rem;
}

/* 内页样式 */
.page-header {
    padding: 3rem 0;
    text-align: center;
    background: rgba(26, 58, 92, 0.6);
}

.page-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.page-content {
    padding: 2rem 0;
}

.page-content article {
    max-width: 900px;
    margin: 0 auto;
}

.page-content p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.page-content h2 {
    color: var(--accent-gold);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.page-content h3 {
    color: var(--text-white);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.25rem;
}

.page-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-gray);
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* 图片画廊 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.image-gallery img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        justify-content: center;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 2rem 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .main-nav a {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 预加载优化 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}
