/* CSS变量定义 - 主题色配置 */
:root {
    --primary-color: #632f3b;
    --secondary-color: #8c6267;
    --accent-color: #d4b7b6;
    --light-accent: #d6b3b4;
    --text-primary: #2c2c2c;
    --text-secondary: #666;
    --text-light: #888;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --border-light: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(99, 47, 59, 0.1);
    --shadow-medium: 0 4px 20px rgba(99, 47, 59, 0.15);
    --shadow-heavy: 0 8px 30px rgba(99, 47, 59, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--light-accent));
    --font-primary: 'Noto Sans SC', sans-serif;
    --font-heading: 'Cinzel', serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-small: 8px;
    --container-max-width: 1200px;
}

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

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

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

/* 容器样式 */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮组件 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-small);
    font-family: var(--font-primary);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

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

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

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.btn small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

/* 章节标题 */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::before {
    width: 80%;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, 
        rgba(212, 183, 182, 0.1) 0%, 
        rgba(214, 179, 180, 0.1) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(99, 47, 59, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.feature i {
    font-size: 1.2rem;
}

.version-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--background-white);
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.version {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.release-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-quick-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-small);
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
    min-width: 80px;
}

.quick-link:hover {
    background: var(--background-white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.quick-link i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.quick-link span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    transition: var(--transition-smooth);
}

.hero-image:hover img {
    transform: scale(1.02);
}

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

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

.news-card {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.news-card.featured {
    background: var(--gradient-accent);
    transform: scale(1.02);
}

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

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

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.news-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.news-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* 图片画廊 */
.gallery {
    padding: 80px 0;
    background: var(--background-light);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

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

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

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* 灯箱效果 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--accent-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.stars {
    color: #ffd700;
    margin-top: 0.5rem;
}

.reviews-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tag {
    background: var(--light-accent);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.review-card {
    display: none;
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-color);
}

.review-card.active {
    display: block;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.review-stars {
    color: #ffd700;
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

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

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot.active,
.dot:hover {
    background: var(--primary-color);
}

/* 版本历史 */
.versions {
    padding: 80px 0;
    background: var(--background-light);
}

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

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

.version-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.version-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 2rem;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.version-badge.current {
    background: var(--gradient-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.version-content {
    flex: 1;
    background: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
}

.version-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--background-white) transparent transparent;
}

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

.version-header h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.version-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.version-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.version-details li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.version-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.version-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.version-info span {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

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

.faq-item {
    margin-bottom: 1rem;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--gradient-accent);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

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

.faq-question span {
    font-weight: 600;
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background-white);
}

.faq-answer.active {
    max-height: none;
}

.faq-question.active {
    background-color: var(--background-light);
}

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

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 页脚 */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

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

.footer-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-info a {
    color: var(--accent-color);
    text-decoration: none;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
}

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

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

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-white);
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-medium);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

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

.dropdown-link i {
    width: 16px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* 移动端下拉菜单处理 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--background-light);
        margin: 0.5rem 0;
        border-radius: var(--border-radius-small);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-quick-links {
        gap: 0.5rem;
    }

    .quick-link {
        min-width: 70px;
        padding: 0.75rem;
    }

    .quick-link i {
        font-size: 1.2rem;
    }

    .quick-link span {
        font-size: 0.7rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .version-item {
        flex-direction: column;
        gap: 1rem;
    }

    .versions-timeline::before {
        display: none;
    }

    .version-badge {
        align-self: flex-start;
        margin-right: 0;
    }

    .version-content::before {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .carousel-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

/* 图片懒加载效果 */
img[loading="lazy"] {
    transition: opacity 0.3s;
}

img[loading="lazy"]:not(.loaded) {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* 页面通用样式 */
.main-content {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

.page-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, 
        rgba(212, 183, 182, 0.1) 0%, 
        rgba(214, 179, 180, 0.1) 100%);
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

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

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.content-section {
    padding: 60px 0;
    background: var(--background-white);
}

/* FAQ 分类导航 */
.faq-categories {
    margin-bottom: 3rem;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-small);
    background: var(--background-white);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
}

.category-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-medium);
}

.category-btn i {
    font-size: 1.1rem;
}

/* FAQ 内容区域 */
.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

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

.category-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* 支持区域 */
.support-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.support-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    max-width: 600px;
    margin: 0 auto;
}

.support-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.support-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 内容页面样式 */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-page h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.content-page h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.content-page h4 {
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.content-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content-page ul,
.content-page ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
}

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

.content-page blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--background-light);
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.content-page code {
    background: var(--background-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 0.9em;
}

.content-page pre {
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius-small);
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid var(--border-light);
}

.content-page pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

.content-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--background-white);
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.content-page th,
.content-page td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.content-page th {
    background: var(--gradient-accent);
    color: var(--primary-color);
    font-weight: 600;
}

.content-page tr:hover {
    background: var(--background-light);
}

/* 导航活跃状态 */
.nav-link.active {
    color: var(--primary-color);
    background: var(--accent-color);
}

.nav-link.active::before {
    width: 80%;
}

/* 响应式设计 - 页面样式 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .category-nav {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .support-actions {
        flex-direction: column;
        align-items: center;
    }

    .support-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .content-page table {
        font-size: 0.9rem;
    }

    .content-page th,
    .content-page td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0 30px;
    }

    .content-section {
        padding: 40px 0;
    }

    .faq-categories {
        margin-bottom: 2rem;
    }

    .support-card {
        padding: 2rem 1rem;
    }

    .content-page ul,
    .content-page ol {
        margin-left: 1rem;
    }

    .content-page table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 打印样式 */
@media print {
    .header,
    .back-to-top,
    .lightbox,
    .support-section,
    .category-nav {
        display: none;
    }
    
    .hero,
    .page-header {
        padding: 20px 0;
    }
    
    body {
        background: white;
    }
    
    .news-card,
    .version-content,
    .faq-item,
    .support-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .faq-category {
        display: block !important;
    }
    
    .faq-answer {
        max-height: none !important;
        display: block !important;
    }
} 