/* ============================================
   蘑菇岛打工日记 - 游戏官网样式文件
   ============================================ */

/* CSS变量 - 主题色管理 */
:root {
    /* 主色 */
    --primary-color: #d2b7a3;
    /* 辅助色 */
    --secondary-color-1: #302e2d;
    --secondary-color-2: #a38579;
    --secondary-color-3: #a7a8aa;
    /* 文本颜色 */
    --text-dark: #302e2d;
    --text-light: #ffffff;
    --text-gray: #666666;
    /* 背景色 */
    --bg-light: #f8f6f4;
    --bg-white: #ffffff;
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #d2b7a3 0%, #a38579 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(210, 183, 163, 0.1) 0%, rgba(163, 133, 121, 0.2) 100%);
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(48, 46, 45, 0.1);
    --shadow-md: 0 4px 16px rgba(48, 46, 45, 0.15);
    --shadow-lg: 0 8px 32px rgba(48, 46, 45, 0.2);
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    /* 字体 */
    --font-family: 'Noto Sans SC', sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    /* 过渡动画 */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 通用按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 32px;
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-download {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 16px 48px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(48, 46, 45, 0.3);
}

/* 章节标题样式 */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.section-title i {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
}

/* ============================================
   头部导航
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: var(--font-size-lg);
    transition: var(--transition);
}

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

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}

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

.nav-link i {
    font-size: var(--font-size-sm);
}

.nav-toggle {
    display: none;
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

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

/* ============================================
   英雄区（Hero Section）
   ============================================ */
.hero {
    margin-top: 70px;
    padding: var(--spacing-lg) 0;
    background: var(--gradient-overlay);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-badge {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.version-badge,
.date-badge {
    padding: 6px 16px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.date-badge {
    background: var(--secondary-color-2);
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-sm);
}

.feature-tag i {
    font-size: var(--font-size-sm);
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--text-gray);
}

.info-item i {
    color: var(--primary-color);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ============================================
   新闻/动态区
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.news-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 8px;
    color: var(--text-light);
    text-align: center;
}

.date-day {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    line-height: 1;
}

.date-month,
.date-year {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.news-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
}

.news-excerpt {
    font-size: var(--font-size-base);
    color: var(--text-gray);
    line-height: 1.6;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.news-link:hover {
    gap: 10px;
}

/* ============================================
   媒体画廊
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(48, 46, 45, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-overlay i {
    font-size: var(--font-size-2xl);
    color: var(--text-light);
}

/* ============================================
   用户评价区
   ============================================ */
.reviews-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-base);
    color: var(--text-gray);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--spacing-xs);
}

.stars i {
    color: #ffc107;
    font-size: var(--font-size-lg);
}

.review-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.tag {
    padding: 8px 20px;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-sm);
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.review-card {
    display: none;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.review-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: var(--font-size-xl);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.review-rating {
    display: flex;
    gap: 4px;
}

.review-rating i {
    color: #ffc107;
    font-size: var(--font-size-sm);
}

.review-text {
    font-size: var(--font-size-base);
    color: var(--text-gray);
    line-height: 1.8;
    font-style: italic;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--bg-white);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.carousel-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color-3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 6px;
}

/* ============================================
   版本历史
   ============================================ */
.versions-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: var(--spacing-lg);
}

.versions-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.version-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.version-marker {
    position: absolute;
    left: -32px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.version-content {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.version-content:hover {
    box-shadow: var(--shadow-md);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.version-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
}

.version-date {
    font-size: var(--font-size-sm);
    color: var(--text-gray);
}

.version-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.version-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    color: var(--text-gray);
}

.version-meta i {
    color: var(--primary-color);
}

.version-changelog {
    list-style: none;
    padding-left: var(--spacing-md);
    margin: var(--spacing-sm) 0;
}

.version-changelog li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--text-gray);
}

.version-changelog li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.version-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--spacing-sm);
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.version-download:hover {
    background: var(--secondary-color-2);
}

/* ============================================
   游戏章节介绍
   ============================================ */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.chapter-card {
    position: relative;
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.chapter-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.chapter-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 6px 12px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.chapter-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    padding-right: 100px;
}

.chapter-description {
    font-size: var(--font-size-base);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.chapter-meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.chapter-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    color: var(--text-gray);
}

.chapter-meta i {
    color: var(--primary-color);
    width: 16px;
}

/* ============================================
   游戏攻略
   ============================================ */
.guide-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color-3);
    border-radius: 20px;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.guide-card {
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.guide-card.hidden {
    display: none;
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.guide-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.guide-difficulty {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.guide-difficulty.easy {
    background: #e8f5e9;
    color: #2e7d32;
}

.guide-difficulty.medium {
    background: #fff3e0;
    color: #e65100;
}

.guide-difficulty.hard {
    background: #ffebee;
    color: #c62828;
}

.guide-description {
    font-size: var(--font-size-base);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.guide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.guide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 16px;
    font-size: var(--font-size-sm);
}

.guide-recommend {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

/* ============================================
   常见问题区
   ============================================ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-sm);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    font-size: var(--font-size-base);
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   下载区域
   ============================================ */
.download {
    background: var(--gradient-overlay);
}

.download-box {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.download-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.download-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-base);
    color: var(--text-gray);
}

.download-item i {
    color: var(--primary-color);
}

.download-note {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-gray);
}

/* ============================================
   底部信息（Footer）
   ============================================ */
.footer {
    background: var(--secondary-color-1);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-text {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* ============================================
   返回顶部按钮
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    z-index: 999;
    transition: var(--transition);
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(48, 46, 45, 0.3);
}

/* ============================================
   响应式设计
   ============================================ */

/* 平板设备 */
@media screen and (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-info {
        justify-content: center;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-list.show {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .logo-text {
        display: block;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
}

/* 移动设备 */
@media screen and (max-width: 576px) {
    :root {
        --font-size-3xl: 36px;
        --font-size-2xl: 24px;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-md) 0;
    }
    
    .hero-badge {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        min-width: auto;
        width: 100%;
        justify-content: center;
    }
    
    .reviews-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .versions-timeline {
        padding-left: var(--spacing-md);
    }
    
    .versions-timeline::before {
        left: 10px;
    }
    
    .version-marker {
        left: -20px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .download-box {
        padding: var(--spacing-md);
    }
    
    .download-info {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

