/* 绯月仙行录官网样式 - 古风仙侠主题 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS变量定义 - 古风色彩 */
:root {
    --primary-color: #8B4513; /* 古铜色 */
    --secondary-color: #B8860B; /* 暗金色 */
    --accent-color: #DC143C; /* 绯红色 */
    --text-primary: #2F2F2F;
    --text-secondary: #666;
    --text-light: #fff;
    --bg-primary: #FFF8DC; /* 古纸色 */
    --bg-secondary: #F5F5DC; /* 米色 */
    --bg-dark: #1a1a1a;
    --border-color: #D2691E; /* 古铜边框 */
    --shadow-color: rgba(139, 69, 19, 0.2);
    --gradient-primary: linear-gradient(135deg, #8B4513, #B8860B);
    --gradient-secondary: linear-gradient(135deg, #DC143C, #FF6347);
}

/* 基础样式 */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* 头部导航样式 */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 220, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(220, 20, 60, 0.1);
}

.download-nav-btn {
    background: var(--gradient-secondary);
    color: var(--text-light) !important;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.download-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

/* 移动端导航 */
.mobile-menu-btn {
    display: none;
    background: linear-gradient(145deg, rgba(139, 69, 19, 0.9), rgba(184, 134, 11, 0.9));
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 12px 15px;
    border-radius: 15px;
    color: #FFD700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(139, 69, 19, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.mobile-menu-btn:hover::before {
    width: 100px;
    height: 100px;
}

.mobile-menu-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(139, 69, 19, 0.5),
        0 3px 12px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-overlay.active .mobile-nav-content {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
}

.mobile-nav-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-menu {
    padding: 20px 0;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 15px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(210, 105, 30, 0.2);
}

/* 主要内容区域 */
.main-content {
    margin-top: 70px;
}

/* 英雄区域 */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(135deg, #2C1810, #4A2C17);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.7);
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.8), rgba(184, 134, 11, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.game-info-card {
    background: rgba(255, 248, 220, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    border: 3px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.game-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.game-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.game-title i {
    color: var(--accent-color);
    margin-right: 10px;
}

.game-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tag-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.tag-secondary {
    background: var(--gradient-secondary);
    color: var(--text-light);
}

.tag-accent {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: var(--text-light);
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 20px 0;
    color: var(--text-secondary);
}

.download-section {
    margin-top: 30px;
}

.download-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-secondary);
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
}

.download-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.download-info span:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.download-info i {
    color: #FFF;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 内容区域样式 */
.content-section {
    padding: 80px 0;
}

.bg-alt {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    color: var(--accent-color);
    margin-right: 15px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.text-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.highlight-box {
    background: rgba(139, 69, 19, 0.1);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-box h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.highlight-box li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.image-content {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    max-height: 480px;
}

.image-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.content-image {
    width: 100%;
    height: 100%;
    flex: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
    min-height: 200px;
    max-height: 240px;
}

.content-image:hover {
    transform: scale(1.05);
}

/* 特色功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
}

.feature-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 系统内容 */
.system-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 400px;
}

.system-text {
    padding: 20px 0;
}

.system-text h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
}

.system-text h4:first-child {
    margin-top: 0;
}

.system-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.system-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-screenshot {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.system-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}



/* 攻略和资讯网格 */
.guide-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-item,
.news-item {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
}

.guide-item:hover,
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.guide-item h4,
.news-item h4 {
    margin-bottom: 15px;
}

.guide-item h4 a,
.news-item h4 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.guide-item h4 a:hover,
.news-item h4 a:hover {
    color: var(--accent-color);
}

.guide-item p,
.news-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.guide-tag,
.news-date {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* 游戏截图区域 */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}

.screenshot-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-image {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 下载区域 */
.download-section {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.download-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-buttons {
    margin-bottom: 30px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.download-btn-primary {
    background: var(--text-light);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.download-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.9;
}

.download-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-features i {
    color: #32CD32;
}

/* 页脚样式 */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-wrapper,
    .system-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .image-content,
    .system-image {
        order: -1;
    }
    
    .system-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-wrapper {
        gap: 30px;
        min-height: 400px;
    }
    
    .image-content {
        min-height: 280px;
        max-height: 300px;
        align-items: center;
        justify-content: center;
    }
    
    .image-stack {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }
    
    .content-image {
        min-height: 140px;
        max-height: 180px;
    }
    

}

@media (max-width: 768px) {
    /* 导航适配 */
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* 标题适配 */
    .site-title {
        font-size: 1.4rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* 英雄区域适配 */
    .game-info-card {
        padding: 25px;
        margin: 20px;
    }
    
    .game-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .game-icon {
        width: 60px;
        height: 60px;
    }
    
    /* 内容区域适配 */
    .content-section {
        padding: 50px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
    }
    
    .screenshot-image {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* 下载信息适配 */
    .download-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
    
    .download-info span {
        min-width: 200px;
        justify-content: center;
    }
    
    .download-features {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 页脚适配 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding: 0 15px;
    }
    
    .game-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .game-info-card {
        padding: 20px;
        margin: 15px;
    }
    
    .feature-card,
    .guide-item,
    .news-item {
        padding: 20px;
    }
    
    .content-wrapper {
        gap: 25px;
        min-height: 350px;
    }
    
    .image-content {
        min-height: 260px;
        max-height: 280px;
        align-items: center;
        justify-content: center;
    }
    
    .image-stack {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }
    
    .content-image {
        min-height: 120px;
        max-height: 140px;
    }
    
    .system-screenshot {
        height: 280px;
        object-fit: cover;
        object-position: center;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        gap: 15px;
    }

}

/* 重新设计的移动端菜单 */
.mobile-dropdown-menu {
    position: fixed;
    top: 65px;
    right: 15px;
    background: linear-gradient(145deg, rgba(139, 69, 19, 0.95), rgba(184, 134, 11, 0.95));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(139, 69, 19, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1000;
    min-width: 280px;
    animation: menuSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.mobile-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 25px;
    width: 16px;
    height: 16px;
    background: linear-gradient(145deg, rgba(139, 69, 19, 0.95), rgba(184, 134, 11, 0.95));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    border-radius: 3px 0 0 0;
}

.mobile-dropdown-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.mobile-dropdown-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(139, 69, 19, 0.2);
}

.mobile-dropdown-title {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-dropdown-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

.mobile-dropdown-links {
    padding: 10px 0;
}

.mobile-dropdown-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 215, 0, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.mobile-dropdown-link:hover::before {
    width: 100%;
}

.mobile-dropdown-link:hover {
    color: #FFD700;
    transform: translateX(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-dropdown-link i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #FFD700;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.mobile-dropdown-footer {
    padding: 15px 20px;
    background: rgba(139, 69, 19, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.mobile-dropdown-close {
    background: rgba(220, 20, 60, 0.8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 20, 60, 0.3);
}

.mobile-dropdown-close:hover {
    background: rgba(220, 20, 60, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 20, 60, 0.4);
}

@keyframes menuSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9) rotateX(-10deg);
    }
    60% {
        opacity: 1;
        transform: translateY(5px) scale(1.05) rotateX(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes linkSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 为菜单链接添加延迟动画 */
.mobile-dropdown-link:nth-child(1) { animation: linkSlideIn 0.3s ease-out 0.1s both; }
.mobile-dropdown-link:nth-child(2) { animation: linkSlideIn 0.3s ease-out 0.15s both; }
.mobile-dropdown-link:nth-child(3) { animation: linkSlideIn 0.3s ease-out 0.2s both; }
.mobile-dropdown-link:nth-child(4) { animation: linkSlideIn 0.3s ease-out 0.25s both; }
.mobile-dropdown-link:nth-child(5) { animation: linkSlideIn 0.3s ease-out 0.3s both; }
.mobile-dropdown-link:nth-child(6) { animation: linkSlideIn 0.3s ease-out 0.35s both; }
.mobile-dropdown-link:nth-child(7) { animation: linkSlideIn 0.3s ease-out 0.4s both; }

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section > * {
    animation: fadeInUp 0.6s ease-out;
}

/* 文章页面样式 */
.guide-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.article-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.article-title i {
    color: var(--accent-color);
    margin-right: 15px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.intro-section {
    background: rgba(139, 69, 19, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.guide-section {
    margin: 40px 0;
}

.guide-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.guide-section h2 i {
    color: var(--accent-color);
    margin-right: 10px;
}

.content-block h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 25px 0 15px 0;
}

.content-block p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.content-block ul,
.content-block ol {
    margin: 15px 0;
    padding-left: 30px;
}

.content-block li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.download-prompt {
    text-align: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.download-prompt h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.download-prompt p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-nav {
        flex-direction: column;
    }
    
    .guide-article {
        padding: 20px 15px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 下载确认弹窗（协议专用样式） */
.download-confirm-fyx-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(26, 26, 26, 0.62);
}

.download-confirm-fyx-dialog {
    position: relative;
    width: min(420px, 100%);
    padding: 32px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.download-confirm-fyx-dialog h2 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.download-confirm-fyx-dialog p {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.download-confirm-fyx-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.download-confirm-fyx-close:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.download-confirm-fyx-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.download-confirm-fyx-actions button {
    min-width: 116px;
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.download-confirm-fyx-cancel {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.download-confirm-fyx-continue {
    background: var(--primary-color);
    color: var(--text-light);
}

.download-confirm-fyx-actions button:focus-visible,
.download-confirm-fyx-close:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.news-fyx-page,
.news-fyx-detail-page {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: var(--bg-primary);
}

.news-fyx-breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.news-fyx-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-fyx-header {
    margin-bottom: 30px;
    text-align: center;
}

.news-fyx-header h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.news-fyx-header p {
    color: var(--text-secondary);
}

.news-fyx-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-fyx-list-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.news-fyx-list-card a {
    display: block;
    padding: 24px;
    color: inherit;
    text-decoration: none;
}

.news-fyx-list-card time {
    color: var(--secondary-color);
    font-size: .9rem;
}

.news-fyx-list-card h2 {
    margin: 10px 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.news-fyx-list-card p {
    min-height: 3.2em;
    color: var(--text-secondary);
}

.news-fyx-list-card span {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent-color);
    font-weight: 600;
}

.news-fyx-detail {
    max-width: 860px;
    margin: 0 auto;
    padding: 42px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.news-fyx-detail > h1 {
    margin: 8px 0 12px;
    color: var(--primary-color);
    font-size: 2.25rem;
}

.news-fyx-date {
    color: var(--text-secondary);
    font-size: .9rem;
}

.news-fyx-body {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.news-fyx-content {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 2;
}

.news-fyx-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
}

.news-fyx-links a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 480px) {
    .download-confirm-fyx-dialog {
        padding: 28px 20px;
    }

    .download-confirm-fyx-actions {
        flex-direction: column-reverse;
    }

    .download-confirm-fyx-actions button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .news-fyx-list {
        grid-template-columns: 1fr;
    }

    .news-fyx-detail {
        padding: 26px 22px;
    }

    .news-fyx-detail > h1 {
        font-size: 1.8rem;
    }
}
