* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #0a0a1a;
    color: #e0e0ff;
    overflow-x: hidden;
}

/* 页面容器 */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.page.active {
    display: block;
}

/* 导航栏 - 毛玻璃白效果 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4a9eff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 主标题区域 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.main-title {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #4a9eff, 0 0 20px #4a9eff;
    letter-spacing: 2px;
    color: #ffffff;
    animation: glow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #b8d4ff;
    text-shadow: 0 0 5px #4a9eff;
}

.divider {
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #4a9eff, transparent);
    margin: 3rem auto;
}

/* 介绍区域 */
.intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffcc66;
    text-shadow: 0 0 10px rgba(255, 204, 102, 0.5);
}

.subsection-title {
    font-size: 2rem;
    text-align: center;
    margin: 3rem 0 2rem;
    color: #66ffcc;
    text-shadow: 0 0 10px rgba(102, 255, 204, 0.5);
}

.line-status {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.status-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 200px;
    transition: transform 0.3s ease;
}

.status-item:hover {
    transform: translateY(-5px);
}

.status-item.completed {
    border-left: 5px solid #66ff99;
}

.status-item.in-progress {
    border-left: 5px solid #ffcc66;
}

.status-item.not-started {
    border-left: 5px solid #ffcc66;
}

.status-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.status-desc {
    font-size: 1.2rem;
    color: #b8d4ff;
}

.route-reference {
    text-align: center;
    font-size: 1.2rem;
    color: #ff9999;
    font-style: italic;
    margin-bottom: 2rem;
}

.pov-link {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    margin: 2rem 0 3rem;
    color: #ff99cc;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 153, 204, 0.3);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pov-link:hover {
    background: rgba(255, 153, 204, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 204, 0.3);
}

/* 线路图 */
.route-map {
    margin: 3rem 0;
    text-align: center;
}

.route-map img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.route-map img:hover {
    transform: scale(1.02);
}

.map-caption {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #b8d4ff;
}

/* 欣赏页面 - 相册布局 */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.gallery-category {
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 壁纸页面 */
.wallpaper-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wallpaper-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wallpaper-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.wallpaper-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.wallpaper-item:hover img {
    transform: scale(1.05);
}

.wallpaper-info {
    padding: 1.5rem;
}

.wallpaper-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffcc66;
}

.download-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #4a9eff, #6c5ce7);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.download-btn:hover {
    background: linear-gradient(135deg, #6c5ce7, #4a9eff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.4);
}

/* QQ群区域 */
.qq-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 3rem;
    border-radius: 10px;
    max-width: 1200px;
    margin: 4rem auto;
}

.qq-group {
    display: inline-block;
    font-size: 1.8rem;
    margin: 2rem 0;
    color: #66ffcc;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(102, 255, 204, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.qq-group:hover {
    background: rgba(102, 255, 204, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 255, 204, 0.3);
}

.notice {
    font-size: 1.2rem;
    color: #ff9999;
    font-style: italic;
    margin-top: 1rem;
}

/* 底部轨道装饰 */
.track {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, #1a1a2a, transparent);
    z-index: 1;
}

.track::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: #333344;
}

.track::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        to right,
        #333344,
        #333344 20px,
        #4a9eff 20px,
        #4a9eff 40px
    );
    animation: trackMove 10s linear infinite;
}

/* 背景装饰元素 */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.bg-elements::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #4a9eff, transparent 70%);
    border-radius: 50%;
}

.bg-elements::after {
    content: "";
    position: absolute;
    bottom: 30%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #ffcc66, transparent 70%);
    border-radius: 50%;
}

/* 图片放大模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow: hidden;
    touch-action: none;
}

.modal-content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    cursor: grab;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.5);
    transform-origin: center center;
    transition: transform 0.1s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1002;
}

.close:hover {
    color: #4a9eff;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 20px;
    z-index: 1002;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 动画效果 */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #4a9eff, 0 0 20px #4a9eff;
    }
    to {
        text-shadow: 0 0 15px #4a9eff, 0 0 30px #4a9eff, 0 0 40px #4a9eff;
    }
}

@keyframes trackMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .pov-link, .qq-group {
        font-size: 1.2rem;
    }
    
    .line-status {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        height: 40px;
    }
    
    .gallery-grid,
    .wallpaper-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    /* 移动端导航栏样式 */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        width: 80%;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        font-size: 1.2rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    /* 调整页面顶部内边距以适应移动端导航栏 */
    .page {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        height: 35px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pov-link, .qq-group {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .gallery-grid,
    .wallpaper-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}