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

:root {
    --primary-brown: #8B4513;
    --secondary-brown: #A0522D;
    --light-brown: #D2B48C;
    --dark-brown: #2C1810;
    --gold: #D4AF37;
    --light-gold: #F4E4BC;
    --cream: #F5F1EB;
    --shadow-light: rgba(139, 69, 19, 0.1);
    --shadow-medium: rgba(139, 69, 19, 0.2);
    --shadow-heavy: rgba(139, 69, 19, 0.3);
    --gradient-primary: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    --gradient-secondary: linear-gradient(135deg, #F5F1EB 0%, #EDE4D3 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark-brown);
    background: var(--gradient-secondary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* 改进的导航栏 */
.nav-bar-z8m3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(139, 69, 19, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--gold);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.nav-bar-z8m3.scrolled {
    background: rgba(139, 69, 19, 0.98);
    box-shadow: 0 6px 30px var(--shadow-heavy);
}

.nav-container-p4k2 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
}

.nav-logo-x7n1 {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo-x7n1:hover {
    transform: translateY(-2px);
}

.logo-img-q5w8 {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: var(--transition);
}

.logo-img-q5w8:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-heavy);
}

.logo-text-m2v9 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.nav-link-s3u7 {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link-s3u7::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.nav-link-s3u7:hover::before {
    left: 0;
}

.nav-link-s3u7:hover {
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.nav-toggle-h8j5 {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
}

.toggle-bar-l9k6 {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle-h8j5.active .toggle-bar-l9k6:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle-h8j5.active .toggle-bar-l9k6:nth-child(2) {
    opacity: 0;
}

.nav-toggle-h8j5.active .toggle-bar-l9k6:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 优化的Hero区域 */
.hero-section-a1b2 {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(160, 82, 45, 0.8) 100%),
                url('../images/cover-main-bg8k2.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section-a1b2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content-c3d4 {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title-e5f6 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, var(--gold), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle-g7h8 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.6;
}

.hero-buttons-i9j0 {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary-k1l2, .btn-secondary-m3n4 {
    padding: 15px 35px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.btn-primary-k1l2 {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 25px var(--shadow-medium);
}

.btn-primary-k1l2:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px var(--shadow-heavy);
}

.btn-secondary-m3n4 {
    background: transparent;
    color: white;
    border: 2px solid var(--gold);
}

.btn-secondary-m3n4:hover {
    background: var(--gold);
    color: var(--dark-brown);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

/* 容器和通用样式 */
.container-e1f2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title-g3h4 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-brown);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title-g3h4::before,
.section-title-g3h4::after {
    content: '';
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    max-width: 100px;
}

.section-title-g3h4 i {
    color: var(--gold);
    font-size: 1.2em;
}

/* 游戏介绍区域 */
.game-intro-section-o5p6 {
    padding: 100px 0;
    background: white;
    position: relative;
}

.intro-content-q7r8 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text-s9t0 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-brown);
}

.intro-text-s9t0 p {
    margin-bottom: 1.5rem;
}

.intro-image-u1v2 {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-medium);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.intro-image-u1v2:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-heavy);
}

.intro-img-w3x4 {
    width: 100%;
    height: auto;
    display: block;
}

/* 游戏特色区域 */
.features-section-y5z6 {
    padding: 100px 0;
    background: var(--gradient-secondary);
}

.features-grid-a7b8 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card-c9d0 {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.feature-card-c9d0:hover::before {
    left: 0;
}

.feature-card-c9d0:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.feature-icon-e1f2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card-c9d0 h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.feature-card-c9d0 p {
    color: #666;
    line-height: 1.6;
}

/* 游戏截图区域 */
.screenshots-section-m5n6 {
    padding: 100px 0;
    background: white;
}

.screenshots-grid-o7p8 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-img-q9r0 {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.screenshot-img-q9r0:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

/* 攻略指南区域 */
.strategy-section-s1t2 {
    padding: 100px 0;
    background: var(--gradient-secondary);
}

.strategy-intro-w5x6 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--dark-brown);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.strategy-list-y7z8 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.strategy-item-a9b0 {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition);
    border-left: 5px solid var(--gold);
}

.strategy-item-a9b0:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.strategy-item-a9b0 h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-brown);
    display: flex;
    align-items: center;
    gap: 10px;
}

.strategy-item-a9b0 h3 i {
    color: var(--gold);
}

.strategy-item-a9b0 p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.strategy-link-c1d2 {
    color: var(--primary-brown);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.strategy-link-c1d2:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* 游戏资讯区域 */
.news-section-e3f4 {
    padding: 100px 0;
    background: white;
}

.news-grid-g5h6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

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

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

.news-card-i7j8:hover::before {
    left: 0;
}

.news-card-i7j8:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.news-meta-k9l0 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date-m1n2 {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date-m1n2::before {
    content: '📅';
    font-size: 0.8rem;
}

.news-tag-o3p4 {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title-q5r6 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-brown);
    line-height: 1.4;
    transition: var(--transition);
}

.news-card-i7j8:hover .news-title-q5r6 {
    color: var(--primary-brown);
}

.news-excerpt-s7t8 {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.news-link-u9v0 {
    color: var(--primary-brown);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    position: relative;
}

.news-link-u9v0::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.news-link-u9v0:hover::after {
    width: 100%;
}

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

/* 下载区域 */
.download-section-q5r6 {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.download-section-q5r6 .section-title-g3h4 {
    color: white;
}

.download-section-q5r6 .section-title-g3h4::before,
.download-section-q5r6 .section-title-g3h4::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.download-content-s7t8 {
    max-width: 600px;
    margin: 0 auto;
}

.download-description-u9v0 {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.system-requirements-w1x2 {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    backdrop-filter: blur(10px);
}

.system-requirements-w1x2 h3 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.requirements-list-y3z4 {
    list-style: none;
    text-align: left;
}

.requirements-list-y3z4 li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.requirements-list-y3z4 li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* 页脚 */
.footer-section-m7n8 {
    background: var(--dark-brown);
    color: white;
    padding: 60px 0 30px;
}

.footer-content-o9p0 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-s3t4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-img-u5v6 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-text-w7x8 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
}

.footer-desc-y9z0 {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links-a1b2 h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.links-grid-c3d4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
}

.links-grid-c3d4 a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 0;
}

.links-grid-c3d4 a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-bottom-e5f6 {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
}

.copyright-g7h8 {
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu-r6t4 {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(139, 69, 19, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }

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

    .nav-toggle-h8j5 {
        display: flex;
    }

    .nav-link-s3u7 {
        padding: 15px 20px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }

    .hero-buttons-i9j0 {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-k1l2, .btn-secondary-m3n4 {
        width: 100%;
        max-width: 280px;
    }

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

    .intro-image-u1v2 {
        transform: none;
        order: -1;
    }

    .features-grid-a7b8 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .screenshots-grid-o7p8 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .strategy-list-y7z8 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .links-grid-c3d4 {
        justify-items: center;
    }

    .container-e1f2 {
        padding: 0 1rem;
    }

    .section-title-g3h4::before,
    .section-title-g3h4::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container-p4k2 {
        padding: 0 1rem;
    }

    .hero-content-c3d4 {
        padding: 1rem;
    }

    .feature-card-c9d0,
    .strategy-item-a9b0,
    .news-card-i7j8 {
        padding: 1.5rem;
    }

    .screenshots-grid-o7p8 {
        grid-template-columns: 1fr;
    }

    .screenshot-img-q9r0 {
        height: 200px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-brown);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-brown);
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 工具提示 */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-brown);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* 图片模态框 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10000;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark-brown);
}

.modal-close:hover {
    background: white;
    transform: scale(1.1);
}

/* 通知系统 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification-info {
    background: #2196F3;
}

.notification-warning {
    background: #FF9800;
}

.notification-error {
    background: #F44336;
}

.notification-success {
    background: #4CAF50;
}

/* 自定义光标 */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(1.5);
    background: var(--gold);
}

/* 跳转链接 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dark-brown);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* 触摸设备样式 */
.touch-device .feature-card-c9d0:hover,
.touch-device .strategy-item-a9b0:hover,
.touch-device .news-card-i7j8:hover {
    transform: none;
}

.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* 活动导航链接 */
.nav-link-s3u7.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.2);
}

/* 页面隐藏状态 */
.page-hidden * {
    animation-play-state: paused !important;
}

/* 离线状态 */
.offline::before {
    content: '网络连接已断开';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #F44336;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 10000;
    font-weight: 500;
}

/* 加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-brown);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 增强的动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card-c9d0 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-img-q9r0 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 导航栏动画 */
.nav-bar-z8m3 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 视差效果优化 */
@media (prefers-reduced-motion: reduce) {
    .hero-section-a1b2 {
        transform: none !important;
    }
    
    .fade-in {
        transition: opacity 0.3s ease;
        transform: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --primary-brown: #000;
        --secondary-brown: #333;
        --gold: #FFD700;
        --dark-brown: #000;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --cream: #1a1a1a;
        --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    body {
        background: var(--gradient-secondary);
    }
    
    .game-intro-section-o5p6,
    .screenshots-section-m5n6,
    .news-section-e3f4 {
        background: #2d2d2d;
    }
    
    .feature-card-c9d0,
    .strategy-item-a9b0,
    .news-card-i7j8 {
        background: #333;
        color: #fff;
    }
    
    .news-excerpt-s7t8 {
        color: #ccc;
    }
    
    .news-tag-o3p4 {
        background: var(--gradient-primary);
    }
}

/* 打印样式 */
@media print {
    .nav-bar-z8m3,
    .hero-buttons-i9j0,
    .footer-section-m7n8,
    .image-modal,
    .notification,
    .custom-cursor,
    .page-loader {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-section-a1b2 {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
    
    .section-title-g3h4 {
        color: black !important;
    }
} 