/* ==================== CSS变量定义 ==================== */
:root {
    --primary-color: #1b1219;
    --secondary-color-1: #d28994;
    --secondary-color-2: #848c8b;
    --secondary-color-3: #837f8c;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #0d0a0f;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color-1), var(--secondary-color-3));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

/* ==================== 页面头部 ==================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(27, 18, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
}

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

.logo:hover {
    color: var(--secondary-color-1);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color-1);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--secondary-color-1);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== 英雄区 ==================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color-3) 100%);
    color: var(--text-light);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/黛博拉的房间-cover.webp') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 18, 25, 0.9) 0%, rgba(131, 127, 140, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--secondary-color-1);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(210, 137, 148, 0.2);
    border: 1px solid var(--secondary-color-1);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.tag i {
    font-size: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color-1), #c57581);
    color: var(--text-light);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(210, 137, 148, 0.4);
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(210, 137, 148, 0.6);
}

/* ==================== 章节标题样式 ==================== */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

/* ==================== 新闻动态区 ==================== */
.news {
    padding: 80px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color-1);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-content {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color-1);
    font-weight: 500;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* ==================== 媒体画廊 ==================== */
.gallery {
    padding: 80px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 18, 25, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

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

/* ==================== 图片灯箱 ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ==================== 用户评价区 ==================== */
.reviews {
    padding: 80px 0;
    background: var(--bg-light);
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color-1);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.stat-stars {
    color: #ffc107;
    font-size: 20px;
}

.reviews-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.review-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--secondary-color-1);
    font-weight: 500;
    box-shadow: 0 2px 10px var(--shadow);
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-color-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 30px;
}

.review-author {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.review-rating {
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.review-date {
    color: #999;
    font-size: 13px;
}

/* ==================== 章节介绍 ==================== */
.chapters {
    padding: 80px 0;
    background: white;
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.chapter-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color-1);
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.chapter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.chapter-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    flex: 1;
    min-width: 200px;
}

.chapter-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

.chapter-badge.main {
    background: var(--secondary-color-1);
}

.chapter-badge.character {
    background: var(--secondary-color-3);
}

.chapter-importance {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

.chapter-importance.high {
    background: #e74c3c;
}

.chapter-importance.medium {
    background: #f39c12;
}

.chapter-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.chapter-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.info-group i {
    color: var(--secondary-color-1);
    width: 20px;
}

/* ==================== 游戏攻略 ==================== */
.guide {
    padding: 80px 0;
    background: var(--bg-light);
}

.guide-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 10px var(--shadow);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color-1);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

.guide-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color-1), var(--secondary-color-3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 28px;
    margin-bottom: 20px;
}

.guide-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.guide-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.guide-difficulty {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.guide-difficulty.easy {
    color: #27ae60;
}

.guide-difficulty.medium {
    color: #f39c12;
}

.guide-difficulty.hard {
    color: #e74c3c;
}

.guide-type {
    padding: 5px 12px;
    background: var(--bg-light);
    border-radius: 15px;
    font-size: 13px;
    color: #666;
}

/* ==================== 版本历史 ==================== */
.versions {
    padding: 80px 0;
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

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

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-color-1);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--secondary-color-1);
}

.timeline-content {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--shadow);
}

.version-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.version-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.version-badge {
    padding: 6px 15px;
    background: var(--secondary-color-1);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.version-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.version-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.version-details ul {
    margin-bottom: 20px;
}

.version-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: #666;
    line-height: 1.6;
}

.version-details li i {
    color: var(--secondary-color-1);
    margin-top: 4px;
}

.version-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.info-badge i {
    color: var(--secondary-color-1);
}

.version-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color-1);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.version-download:hover {
    background: #c57581;
    transform: translateX(5px);
}

/* ==================== 常见问题 ==================== */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--secondary-color-1);
}

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

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

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

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.8;
}

.faq-answer ul {
    padding-left: 60px;
    list-style: disc;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 30px;
}

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

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color-1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color-1);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary-color-1);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(27, 18, 25, 0.98);
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 30px;
        gap: 0;
    }

    .nav-list a {
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    /* 英雄区 */
    .hero {
        min-height: 500px;
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-info {
        gap: 10px;
    }

    .info-item {
        padding: 8px 15px;
        font-size: 13px;
    }

    .hero-tags {
        gap: 8px;
    }

    .tag {
        padding: 6px 14px;
        font-size: 13px;
    }

    /* 章节标题 */
    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    /* 网格布局 */
    .news-grid,
    .gallery-grid,
    .chapters-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .reviews-carousel {
        grid-template-columns: 1fr;
    }

    /* 统计数据 */
    .reviews-stats {
        gap: 30px;
    }

    .stat-value {
        font-size: 36px;
    }

    /* 筛选按钮 */
    .guide-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* 时间线 */
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 5px;
    }

    /* 灯箱按钮 */
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* 返回顶部 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 14px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .download-btn {
        padding: 14px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .news-card,
    .chapter-card,
    .guide-card,
    .timeline-content {
        padding: 20px;
    }
}