/* ===========================================
   游梦江湖 - 网站配置
   主要颜色配置，方便快速修改主题颜色
============================================ */

:root {
    /* 主要颜色配置 */
    --primary-bg: #9ae0f5;        /* 主背景色 */
    --navbar-bg: rgba(44, 83, 167, 0.85); /* 导航栏背景 */
    --navbar-bg-scrolled: rgba(10, 10, 20, 0.95); /* 滚动后导航栏背景 */
    --section-bg: rgba(145, 145, 219, 0.8); /* 内容区背景 */
    --card-bg: rgba(156, 156, 221, 0.9); /* 卡片背景 */
    
    /* 主题色配置 */
    --primary-color: #ffd700;     /* 主金色 */
    --primary-gradient: linear-gradient(90deg, #d4af37, #ffd700); /* 金色渐变 */
    --secondary-color: #f0e68c;   /* 次金色 */
    --accent-color: #b8860b;      /* 强调色 */
    
    /* 文字颜色 */
    --text-primary: #fff;         /* 主要文字 */
    --text-secondary: #e6e6e6;    /* 次要文字 */
    --text-muted: #ccc;           /* 淡色文字 */
    
    /* 边框颜色 */
    --border-color: rgba(255, 215, 0, 0.3); /* 金色边框 */
    --border-light: rgba(255, 255, 255, 0.1); /* 浅色边框 */
    
    /* 按钮颜色 */
    --btn-primary: linear-gradient(90deg, #d4af37, #ffd700); /* 按钮渐变 */
    --btn-hover: rgba(255, 215, 0, 0.2); /* 按钮悬停 */
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--primary-bg);
    color: var(--text-primary);
}

/* 浮动logo样式 */
.floating-logo-container {
    position: absolute;
    top: 30px;
    left: 500px;
    width: auto;
    height: auto;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: all 0.3s ease;
    padding: 0;
}

.floating-logo-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

/* QQ弹窗样式 */
.qq-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.qq-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.qq-modal-content {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    padding: 30px;
    position: relative;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.qq-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.qq-close:hover {
    color: var(--primary-color);
}

.qq-slider {
    width: 100%;
    height: 65vh;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    margin-bottom: 20px;
}

.qq-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.qq-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.qq-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qq-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.qq-prev, .qq-next {
    background: rgba(255, 215, 0, 0.2);
    border: none;
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qq-prev:hover, .qq-next:hover {
    background: rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
}

.qq-counter {
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 80px;
    text-align: center;
}

/* 公告弹窗样式 */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.announcement-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.announcement-modal-content {
    background: var(--section-bg);
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    height: 80vh; /* 固定高度 */
    padding: 30px;
    position: relative;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 防止内容溢出 */
}

/* 公告列表视图 */
.announcement-list-view {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.announcement-list-view.active {
    display: flex;
}

.announcement-list-container {
    flex: 1;
    overflow-y: auto;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
    width: 100%;
    height: calc(100% - 60px); /* 减去底部信息栏高度 */
    max-height: none;
}

/* 公告详情视图 */
.announcement-detail-view {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    padding: 25px;
    height: 100%;
}

.announcement-detail-view.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.announcement-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    flex-shrink: 0; /* 防止头部被压缩 */
}

.back-to-list {
    background: var(--btn-hover);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    flex-shrink: 0; /* 防止按钮被压缩 */
}

.announcement-detail-content {
    flex: 1;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.05rem;
    overflow-y: auto;
    padding-right: 10px;
    height: calc(100% - 80px); /* 减去头部高度 */
    min-height: 400px; /* 最小高度保证内容可读 */
}

/* 公告项样式 */
.announcement-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 10px;
    background: rgba(40, 40, 60, 0.5);
}

.announcement-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    margin-top: 10px;
    flex-shrink: 0; /* 防止页脚被压缩 */
    height: 40px; /* 固定高度 */
}
/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: auto;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: left;
    gap: 12px;
    margin-left: 150px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-right: 150px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* 主内容区域 */
#fullpage {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.section {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    z-index: 10;
    position: relative;
}

/* 首页样式 */
.hero-title {
    animation: fadeInUp 1.2s ease;
    margin-top: 60px; /* 为浮动logo留出空间 */
}

.game-title {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #d4af37, #ffd700, #f0e68c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.game-subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 首页下载按钮容器（右下角） */
.home-download-container {
    position: absolute;
    bottom: 200px;
    right: 300px;
    z-index: 10;
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* 下载按钮样式 - 按钮背景图片 */
.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    height: 70px;
    background: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.android-btn, .ios-btn, .windows-btn, .qq-btn {
    background: none;
}

.download-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.btn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

/* 移动端专用下载按钮 */
.device-specific-download {
    display: none;
}

.device-download-btn {
    background: none;
    color: var(--primary-bg);
    padding: 0;
    font-size: 1.3rem;
    margin-top: 30px;
    height: 70px;
}

.device-download-btn .btn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    margin-top: 5px;
    font-size: 1.5rem;
}

/* 职业展示部分 */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: var(--text-primary);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* 职业展示部分样式 */
.job-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto 0;
    background: var(--section-bg);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* 左侧职业标签 */
.job-tabs {
    width: 220px;
    background: var(--card-bg);
    padding: 20px 0;
    border-right: 2px solid var(--border-color);
}

.job-tab {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.job-tab:hover {
    background: var(--btn-hover);
    color: var(--primary-color);
}

.job-tab.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 0, 0.1));
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.job-icon {
    font-size: 1.4rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.job-tab span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 右侧职业展示区 */
.job-display {
    flex: 1;
    display: flex;
    padding: 30px;
    gap: 30px;
}

.job-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(10, 10, 20, 0.6);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.job-image {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    display: none;
    animation: fadeIn 0.5s ease;
}

.job-image.active {
    display: block;
}

.job-info {
    flex: 1;
    min-width: 300px;
}

.job-info-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.job-info-content.active {
    display: block;
}

.job-name {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.job-stats {
    margin-bottom: 25px;
}

.stat {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stat-label {
    width: 80px;
    font-size: 1rem;
    color: var(--text-muted);
}

.stat-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin: 0 15px;
}

.stat-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 5px;
}

.stat-value {
    width: 60px;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--primary-color);
}

.job-description {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary-color);
}

/* 游戏特色部分 - 左右标签页布局 */
.features-tab-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto 0;
    background: var(--section-bg);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    min-height: 500px;
}

/* 左侧标签 */
.features-tabs {
    width: 280px;
    background: var(--card-bg);
    padding: 30px 0;
    border-right: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-tab {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
}

.feature-tab:hover {
    background: var(--btn-hover);
    color: var(--primary-color);
}

.feature-tab.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 0, 0.1));
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.feature-tab-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
    color: rgba(255, 215, 0, 0.5);
    min-width: 35px;
}

.feature-tab-title {
    flex: 1;
}

/* 右侧详情内容 */
.features-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-detail {
    display: none;
    animation: fadeIn 0.5s ease;
}

.feature-detail.active {
    display: block;
}

.feature-detail-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: left;
}

.feature-detail-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: left;
    max-width: 800px;
}

/* 江湖指南部分 */
.guide-container {
    background: var(--section-bg);
    border-radius: 15px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.guide-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.guide-tab {
    padding: 12px 28px;
    background: rgba(40, 40, 60, 0.7);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.guide-tab:hover {
    background: var(--btn-hover);
}

.guide-tab.active {
    background: var(--primary-gradient);
    color: var(--primary-bg);
    font-weight: bold;
}

.guide-content {
    display: none;
    text-align: left;
    animation: fadeIn 0.8s ease;
}

.guide-content.active {
    display: block;
}

.guide-content h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.guide-content ul {
    list-style-type: none;
    padding-left: 0;
}

.guide-content li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.guide-content li:before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: 12px;
}

/* 页脚样式 */
.footer {
    background: var(--navbar-bg-scrolled);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-game-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-company {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-icp {
    margin-bottom: 30px;
    color: #aaa;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .game-title {
        font-size: 4.2rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .floating-logo-img {
        width: 100px;
        height: 100px;
    }
    
    .home-download-container {
        right: 40px;
        bottom: 50px;
    }
    
    .download-button {
        min-width: 160px;
        height: 65px;
    }
    
    .feature-detail-title {
        font-size: 2.4rem;
    }
    
    .feature-detail-description {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 992px) {
    .game-title {
        font-size: 3.8rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .job-display {
        flex-direction: column;
    }
    
    .job-image-container {
        min-height: 300px;
    }
    
    .job-info {
        min-width: auto;
    }
    
    .download-buttons-grid {
        gap: 20px;
    }
    
    .download-button {
        min-width: 150px;
        height: 60px;
    }
    
    /* 游戏特色响应式 */
    .features-tab-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .features-tabs {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        gap: 10px;
    }
    
    .feature-tab {
        flex: 1;
        min-width: 150px;
        padding: 15px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
        justify-content: center;
        text-align: center;
    }
    
    .feature-tab.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
    }
    
    .feature-tab-number {
        margin-right: 10px;
    }
    
    .features-content {
        padding: 30px;
    }
    
    .feature-detail-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .feature-detail-description {
        font-size: 1.1rem;
        text-align: center;
    }
    
     /* 移动端调整公告弹窗 */
    .announcement-modal-content {
        width: 95%;
        padding: 20px;
        height: 85vh; /* 移动端更高的高度 */
    }
    
    .announcement-detail-header {
        flex-wrap: wrap;
    }
    
    .back-to-list {
        margin-bottom: 15px;
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
    
    .detail-title {
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    .detail-date {
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 10px;
    }
    
    .announcement-detail-content {
        height: calc(100% - 120px); /* 移动端头部更高 */
    }
}

@media screen and (max-width: 768px) {
    /* 移动端优化样式 */
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--navbar-bg-scrolled);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 20px 0;
        display: block;
        font-size: 1.2rem;
    }
    
    /* 移动端浮动logo调整 */
    .floating-logo-container {
        top: 20px;
        left: 20px;
    }
    
    .floating-logo-img {
        width: 80px;
        height: 80px;
    }
    
    .hero-title {
        margin-top: 40px;
    }
    
    /* QQ弹窗移动端调整 */
    .qq-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .qq-slider {
        height: 60vh;
    }
    
    .qq-controls {
        gap: 15px;
    }
    
    .qq-prev, .qq-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* 移动端优化游戏标题 */
    .game-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .game-subtitle {
        font-size: 1.3rem;
        margin-bottom: 30px;
        line-height: 1.4;
    }
    
    /* 移动端首页下载按钮调整 */
    .home-download-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .download-buttons-grid {
        display: none; /* 在移动端隐藏网格布局 */
    }
    
    /* 移动端隐藏桌面端下载按钮，显示移动端专用按钮 */
    .device-specific-download {
        display: block;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .device-download-btn {
        width: 100%;
        max-width: 300px;
        height: 70px;
        margin-top: 0;
    }
    
    /* 移动端调整部分标题 */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    /* 移动端调整职业展示 */
    .job-container {
        flex-direction: column;
        margin-top: 20px;
    }
    
    .job-tabs {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding: 15px 10px;
    }
    
    .job-tab {
        flex: 1;
        min-width: 100px;
        padding: 12px 10px;
        justify-content: center;
        border-left: none;
        border-bottom: 3px solid transparent;
        flex-direction: column;
    }
    
    .job-tab.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
    }
    
    .job-icon {
        margin-right: 0;
        margin-bottom: 8px;
        font-size: 1.3rem;
    }
    
    .job-tab span {
        font-size: 1rem;
    }
    
    .job-display {
        padding: 20px 15px;
    }
    
    .job-name {
        font-size: 2rem;
    }
    
    .job-description {
        font-size: 1rem;
    }
    
    /* 移动端调整游戏特色 */
    .features-tab-container {
        margin-top: 20px;
    }
    
    .features-tabs {
        padding: 15px 10px;
        gap: 8px;
    }
    
    .feature-tab {
        padding: 12px 15px;
        font-size: 1rem;
        min-width: 120px;
    }
    
    .feature-tab-number {
        font-size: 1.2rem;
        margin-right: 8px;
        min-width: 25px;
    }
    
    .features-content {
        padding: 25px 15px;
    }
    
    .feature-detail-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .feature-detail-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* 移动端调整江湖指南 */
    .guide-container {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .guide-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .guide-tab {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 10px 20px;
    }
    
    .guide-content h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .guide-content li {
        font-size: 1rem;
        padding: 12px 0;
        padding-left: 25px;
    }
    
    /* 移动端调整滚动指示器 */
    .scroll-indicator {
        bottom: 20px;
        font-size: 0.8rem;
    }
    
    .scroll-indicator i {
        font-size: 1.2rem;
    }
    
    /* 移动端调整背景图显示 */
    .section {
        padding: 15px;
        height: auto;
        min-height: 100vh;
        scroll-snap-align: none;
    }
    
    #fullpage {
        scroll-snap-type: none;
        height: auto;
        overflow-y: visible;
    }
    
    /* 移动端调整公告弹窗 */
    .announcement-modal-content {
        height: 90vh; /* 移动端几乎全屏 */
    }
    
    .announcement-detail-content {
        height: calc(100% - 140px); /* 适应更高的头部 */
    }
}

@media screen and (max-width: 480px) {
    .floating-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .hero-title {
        margin-top: 30px;
    }
    
    .game-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .game-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .device-download-btn {
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .job-tab {
        min-width: 80px;
        padding: 10px 5px;
    }
    
    .job-tab span {
        font-size: 0.9rem;
    }
    
    .job-name {
        font-size: 1.8rem;
    }
    
    .stat-label {
        width: 70px;
        font-size: 0.9rem;
    }
    
    .stat-value {
        width: 50px;
        font-size: 0.85rem;
    }
    
    /* 移动端调整游戏特色 */
    .feature-tab {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .feature-tab-number {
        font-size: 1rem;
        margin-right: 5px;
        min-width: 20px;
    }
    
    .feature-detail-title {
        font-size: 1.6rem;
    }
    
    .feature-detail-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* 移动端调整公告弹窗 */
    .announcement-title {
        font-size: 1.8rem;
    }
    
    .announcement-item-title {
        font-size: 1.1rem;
    }
    
    .announcement-item-date {
        font-size: 0.8rem;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .back-to-list {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .footer-game-title {
        font-size: 1.8rem;
    }
    
    .footer-company {
        font-size: 1rem;
    }
    
    .footer-icp {
        font-size: 0.85rem;
    }
}

/* 平板设备优化 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .game-title {
        font-size: 3.5rem;
    }
    
    .download-button {
        min-width: 140px;
        height: 60px;
    }
    
    .home-download-container {
        right: 30px;
        bottom: 40px;
    }
    
    .floating-logo-img {
        width: 90px;
        height: 90px;
    }
}