/* 
 * 贝博体育 体育赛事网站样式表
 * 2026年SEO优化版本 - 移动端优先设计
 * 独特配色方案：深蓝渐变 + 金橙强调色
 */

/* CSS变量定义 */
:root {
    --primary-dark: #0d1b2a;
    --primary-blue: #1b263b;
    --accent-gold: #e6a817;
    --accent-orange: #ff6b35;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --bg-card: #1e3a5f;
    --bg-gradient-start: #0d1b2a;
    --bg-gradient-end: #1b4965;
    --border-color: rgba(230, 168, 23, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.4);
    --success-green: #2ecc71;
    --font-primary: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    --font-heading: 'Noto Serif SC', 'SimSun', serif;
}

/* 全局重置与基础样式 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接样式 */
a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* 导航栏 - 非sticky */
.site-header {
    background: linear-gradient(180deg, var(--primary-dark) 0%, transparent 100%);
    padding: 1rem;
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--primary-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 168, 23, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(230, 168, 23, 0.6);
    color: var(--primary-dark);
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    background: rgba(13, 27, 42, 0.85);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.breadcrumb-item::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-item:last-child::after {
    content: '';
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--accent-gold);
}

/* 主内容区域 */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 内容区块 */
.content-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-light);
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--primary-blue) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 文章内容样式 */
.article-content {
    background: rgba(30, 58, 95, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-orange);
}

.article-content h3 {
    font-size: 1.35rem;
    color: var(--text-light);
    margin: 1.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* 作者信息框 */
.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(13, 27, 42, 0.8);
    border-radius: 12px;
    margin: 2rem 0;
    align-items: center;
    flex-wrap: wrap;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
}

.author-info h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* 用户评论 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--primary-blue) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-light);
}

.reviewer-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

/* FAQ手风琴 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(30, 58, 95, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(230, 168, 23, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* 支付方式区域 */
.payment-section {
    background: rgba(13, 27, 42, 0.8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.payment-icon {
    width: 80px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.payment-icon:hover {
    filter: brightness(1.1);
    transform: scale(1.1);
}

/* 牌照信息 */
.license-section {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(230, 168, 23, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.license-badge {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.license-info h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.license-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* 客户支持 */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.support-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 58, 95, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
}

.support-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.support-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.support-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tag-link {
    padding: 0.5rem 1rem;
    background: rgba(30, 58, 95, 0.8);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: scale(1.05);
}

/* 页脚 */
.site-footer {
    background: var(--primary-dark);
    padding: 3rem 1rem 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-badge {
    width: 60px;
    height: auto;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 响应式设计 - 移动端优先 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--primary-dark);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .license-section {
        flex-direction: column;
        text-align: center;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 懒加载图片占位 */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--primary-blue) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 打印样式 */
@media print {
    .site-header, .site-footer, .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 无障碍访问 */
:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
