#canvas-particles{
     position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
}


body {
    margin: 0;
    padding-top: 40px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f2f4f7;
    font-family: "Microsoft YaHei";
}
#bottom_main{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    background: url('image/lc.png') no-repeat;
    background-size: cover;
    z-index: -1;
    filter: blur(8px);
}
#main {
    background: hwb(214 22% 75% / 0.852);
    width: 80vw;
    height: 80vh;
    display: flex;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* 左侧按钮 */
#leftPanel {
    width: 20%;
    background: #f7f9fc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#leftPanel button {
    width: 80%;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 按下状态样式 */
#leftPanel button.active {
    background: #409eff;
    color: white;
    pointer-events: none; /* 禁止重复点击 */
}

/* 地图 */
#mapPanel {
    width: 45%;
}

#chinaMap {
    width: 100%;
    height: 100%;
}

/* 右侧板块 */
#rightPanel {
    width: 35%;
    padding: 20px;
    box-sizing: border-box;
}

/* 文字淡入淡出动画 */
.fade-out {
    opacity: 0;
    transition: opacity 1s;
}

.fade-in {
    opacity: 1;
    transition: opacity 1s;
}

/* 禁用按钮样式 */
button.disabled,
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* =========================
   Header 页眉样式
   ========================= */

header {
    position: fixed;          /* 固定在顶部 */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    background-color: #d6ecff;  /* 浅蓝色 */

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 阴影外溢 */
    z-index: 1000;
}

/* 左侧 logo 区域 */
.logo-area {
    position: absolute;
    left: 30px;

    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area img {
    height: 50px;   /* 控制logo大小 */
    object-fit: contain;
}

/* 中间导航 */
.nav-area {
    display: flex;
    gap: 50px;
}

.nav-area a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
}

/* 悬浮效果 */
.nav-area a:hover {
    color: #007acc;
    transform: translateY(-2px);
}

/* 当前页面高亮 */
.nav-area a.active {
    font-weight: bold;
    padding-bottom: 5px;
}

/* 初始隐藏状态 */
.hidden-btn {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* 显示动画 */
.show-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: all 0.6s ease;
}

#textContent img{
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

#textContent h2{
    margin: 10px 0;
    font-size: 24px;
    color: white;
}

#textContent h3{
    margin: 10px 0;
    color: white;
}#textContent h4{
    margin: 10px 0;
    color: white;
}

#textContent p{
    text-align: justify;
    justify-content: space-between;
    font-size: 19px;
    line-height: 1.6;
    color: white;

}

#textinnerBox{
    opacity: 0;
            /* 起始透明 */
            animation: fadeInUp 2.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
            /* 每个 .line 独立延迟，形成逐行浮现 */
            animation-delay: calc(var(--i, 0) * 0.45s + 0.3s);
            transform: translateY(18px);
}

  @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(18px);
                filter: blur(4px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
                filter: blur(0);
            }
        }
