/* ===================================
   CSS变量 - 主题色配置
   =================================== */
:root {
    --primary-color: #3a363c;
    --secondary-color: #ded1cc;
    --accent-color-1: #9f524e;
    --accent-color-2: #d18446;
    --text-dark: #2d2d2d;
    --text-light: #f5f5f5;
    --bg-light: #fafafa;
    --bg-dark: #1a1a1a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   通用样式重置
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ===================================
   容器和布局
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title i {
    color: var(--accent-color-1);
    margin-right: 10px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

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

.logo:hover {
    color: var(--accent-color-2);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 8px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-menu a i {
    font-size: 0.9rem;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color-2);
}

.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-fast);
}

/* ===================================
   英雄区
   =================================== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a454e 100%);
    background-image: 
        linear-gradient(135deg, rgba(58, 54, 60, 0.9), rgba(74, 69, 78, 0.85)),
        url('img/魔女的夜宴-cover.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 65px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(159, 82, 78, 0.2), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-top: 10px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.tag {
    background: rgba(209, 132, 70, 0.2);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--accent-color-2);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.tag:hover {
    background: rgba(209, 132, 70, 0.3);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* ===================================
   新闻动态区
   =================================== */
.news-section {
    background: white;
}

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

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

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

.news-date {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
    padding: 20px;
    text-align: center;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.95rem;
    margin-top: 5px;
    opacity: 0.9;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.news-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

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

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

/* ===================================
   媒体画廊区
   =================================== */
.gallery-section {
    background: var(--bg-light);
}

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

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 54, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0.5);
    transition: var(--transition-normal);
}

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

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

/* ===================================
   用户评价区
   =================================== */
.reviews-section {
    background: white;
}

.rating-summary {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.rating-score {
    margin-bottom: 30px;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color-1);
    line-height: 1;
}

.score-stars {
    font-size: 1.8rem;
    color: var(--accent-color-2);
    margin: 10px 0;
}

.score-text {
    color: #666;
    font-size: 1rem;
}

.rating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.review-tag {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.review-tag i {
    color: var(--accent-color-1);
}

.review-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 2px solid #f0f0f0;
    transition: var(--transition-normal);
}

.review-card:hover {
    border-color: var(--accent-color-2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-header {
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.review-stars {
    color: var(--accent-color-2);
    font-size: 0.95rem;
}

.review-content {
    color: #555;
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ===================================
   游戏章节区
   =================================== */
.chapters-section {
    background: var(--bg-light);
}

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

.chapter-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-color-1);
    transition: var(--transition-normal);
    position: relative;
}

.chapter-card.character-chapter {
    border-left-color: var(--accent-color-2);
}

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

.chapter-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.chapter-header {
    margin-bottom: 15px;
}

.chapter-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.chapter-emotion {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-color-1);
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

.info-badge {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-badge i {
    color: var(--accent-color-2);
}

/* ===================================
   游戏攻略区
   =================================== */
.guides-section {
    background: white;
}

.guides-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 25px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: var(--secondary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
}

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

.guide-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid #f0f0f0;
    transition: var(--transition-normal);
    text-align: center;
}

.guide-card:hover {
    border-color: var(--accent-color-2);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.guide-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.guide-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

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

.guide-meta {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.guide-difficulty {
    color: var(--accent-color-1);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===================================
   版本历史区
   =================================== */
.versions-section {
    background: var(--bg-light);
}

.version-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.version-item {
    background: white;
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 4px solid var(--accent-color-1);
    transition: var(--transition-normal);
}

.version-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.version-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.version-header {
    margin-bottom: 25px;
}

.version-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.version-tag {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.version-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.95rem;
}

.version-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

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

.update-list {
    margin-bottom: 25px;
}

.update-list li {
    padding: 10px 0;
    color: #555;
    line-height: 1.6;
    display: flex;
    gap: 12px;
}

.update-list i {
    color: var(--accent-color-2);
    margin-top: 3px;
    flex-shrink: 0;
}

.version-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.version-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   常见问题区
   =================================== */
.faq-section {
    background: white;
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--accent-color-2);
}

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

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

.faq-question i {
    transition: var(--transition-normal);
    color: var(--accent-color-2);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

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

.faq-answer > *:first-child {
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 45px;
    margin: 15px 0;
}

.faq-answer li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
    list-style: disc;
}

.faq-answer ol li {
    list-style: decimal;
}

.faq-answer code {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accent-color-1);
    display: block;
    margin: 10px 0;
    padding: 10px 15px;
}

.faq-answer a {
    color: var(--accent-color-1);
    font-weight: 600;
    text-decoration: underline;
}

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

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

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

.footer-section {
    min-width: 0;
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.footer-description {
    color: var(--secondary-color);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color-2);
}

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

.footer-links a {
    color: var(--secondary-color);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a i {
    color: var(--accent-color-2);
    width: 16px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.copyright a {
    color: var(--accent-color-2);
    text-decoration: underline;
}

.disclaimer {
    color: rgba(222, 209, 204, 0.7);
    font-size: 0.85rem;
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(58, 54, 60, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateX(-100%);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu a {
        width: 100%;
        padding: 12px 15px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-info {
        gap: 10px;
    }
    
    .info-item {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero-tags {
        gap: 8px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .news-grid,
    .gallery-grid,
    .chapters-grid,
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        min-height: 200px;
    }
    
    .rating-summary {
        padding: 30px 20px;
    }
    
    .score-number {
        font-size: 3rem;
    }
    
    .score-stars {
        font-size: 1.5rem;
    }
    
    .reviews-carousel {
        grid-template-columns: 1fr;
    }
    
    .guides-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .version-item {
        padding: 25px 20px;
    }
    
    .version-title {
        font-size: 1.3rem;
    }
    
    .version-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-tags {
        flex-direction: column;
        align-items: stretch;
    }
    
    .review-tag {
        justify-content: center;
    }
}

/* ===================================
   打印样式
   =================================== */
@media print {
    .header,
    .back-to-top,
    .hero-actions,
    .footer {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 20px 0;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
