* {
            margin: 0;
            padding: 0;
            box-sizing: border-box; /* 修复原代码的 content-box 导致的尺寸计算偏差 */
            /* 禁止用户手动缩放（兼容部分浏览器） */
            touch-action: manipulation;
            user-select: none;
        }

        /* 禁止页面整体缩放 */
        html, body {
            width: 100vw;
            height: 100vh;
            /* 锁定根元素缩放比例，防止浏览器自动调整 */
            transform: scale(1);
            transform-origin: top left;
            overflow: hidden;
        }

        #container {
            position: relative;
             width: 100vw;
            height: 100vh;
            background: url("../images/smxlzdt6.jpg") no-repeat top center;
            background-size: 100% 100%;
            /* 父容器必须明确定位，子元素绝对定位才生效 */
        }

        /* 2.5D 地图容器 */
        #map-container {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            z-index: 1;
        }

        #map {
            width: 100%;
            height: 100%;
            position: relative;
            /* 确保地图背景图不拉伸，保持比例 */
            background-size: contain; /* 改为contain避免拉伸，如需填满可用cover但可能裁剪 */
            background-repeat: no-repeat;
            background-position: center;
        }


        /* 动态天鹅 */
        #swan {
            position: absolute;
            width: 465px;
            height: 227px;
            background: url(../images/te.png) no-repeat center center;
            background-size: contain;
            filter: drop-shadow(4px 6px 10px rgba(0,0,0,0.4)) brightness(1.2);
            z-index: 20;
            opacity: 0;
            transform-origin: center;
            animation: flyInWithWings 10s ease-out forwards;
        }

        @keyframes flyInWithWings {
            0% {
                transform: translate(-400px, -200px) rotate(-25deg) scale(0.8);
                opacity: 0;
            }
            40% {
                transform: translate(150px, 60px) rotate(8deg) scale(1.05);
                opacity: 1;
            }
            70% {
                transform: translate(300px, 60px) rotate(8deg) scale(1.05);
                opacity: 1;
            }
            100% {
                transform: translate(450px, 30px) rotate(0deg) scale(1);
                opacity: 1;
            }
        }

        /* 地图标点（带光晕） */
        .map-point {
            position: absolute;
            /*width: 30px;
            height: 30px;
            background: transparent;
            border: 5px solid #ffffff; /* 加粗边框到5px */
            border-radius: 50%;*/
            cursor: pointer;
            /* 百分比定位基于父元素#map的尺寸，窗口变化时自动适配 */
            left: 33.5%; /* 相对于#map宽度的33.5% */
            top: 37%; /* 相对于#map高度的37% */
            transform: translate(-50%, -50%) scale(1);
            /* 阴影适配粗边框，增强层次感 */
            /* box-shadow:
                    0 0 0 0 rgba(255, 255, 255, 0.9),
                    0 0 0 4px rgba(255, 255, 255, 0.3);*/
            /*animation: pulseScale 2.5s infinite ease-in-out;*/
            z-index: 5;
            transition: all 0.3s ease;
            /* 核心优化：启用硬件加速，减少重绘 */
            will-change: transform, box-shadow; /* 告诉浏览器即将变化的属性，提前优化 */
            backface-visibility: hidden; /* 避免背面渲染，减少计算 */
            perspective: 1000px; /* 配合3D变换优化渲染 */
        }

        .map-point:hover {
            transform: translate(-50%, -50%) scale(1.1);
            /* border-color: rgba(255, 255, 255, 0.9);
            box-shadow:
                    0 0 0 8px rgba(255, 255, 255, 0.7),
                    0 0 0 16px rgba(255, 255, 255, 0.4);*/
            /* 优化：悬停时暂停呼吸动画，避免双重动画冲突 */
            /* animation-play-state: paused;
            animation: pulseScale 2.5s infinite ease-in-out;*/
           cursor: pointer;
            z-index:99;
        }

        /* 动画参数保持协调，确保粗圆环缩放时比例自然 */
        @keyframes pulseScale {
            0% {
                transform: translate(-50%, -50%) scale(1);
                box-shadow:
                        0 0 0 0 rgba(255, 255, 255, 0.9),
                        0 0 0 4px rgba(255, 255, 255, 0.3);
            }
            50% {
                transform: translate(-50%, -50%) scale(1.3);
                box-shadow:
                        0 0 0 6px rgba(255, 255, 255, 0),
                        0 0 0 18px rgba(255, 255, 255, 0);
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                box-shadow:
                        0 0 0 0 rgba(255, 255, 255, 0.9),
                        0 0 0 4px rgba(255, 255, 255, 0.3);
            }
        }

        /* 点位标签 */
        .point-label {
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            /* 优化标签渲染 */
            will-change: opacity;
            backface-visibility: hidden;
        }

        .map-point:hover .point-label {
            opacity: 1;
        }

        /* 全屏视频弹窗 */
        #video-modal {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            z-index: 1000;
            flex-direction: column; /* 外层纵向排列（标题→描述→图文容器→按钮） */
            align-items: center;
            justify-content: flex-start;
            padding: 60px 20px;
            animation: fadeIn 0.4s ease-out;
        }

        #video-title {
            font-size: 1.8em;
            margin-bottom: 12px;
            color: #ffeb3b;
            text-align: center;
        }

        #video-desc {
            max-width: 800px;
            margin-bottom: 20px;
            padding: 0 20px;
            text-align: center;
            color: #eee;
            line-height: 1.6;
        }


        /* 调整视频样式：适应左右布局 */
        #video-player {
            width: 60%;
            border-radius: 10px;
            outline: none;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
            height: 600px;
        }



        #close-btn {
            margin-top: 25px;
            padding: 10px 30px;
            background: linear-gradient(to right, #e74c3c, #c0392b);
            color: white;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s;
        }

        #close-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.5);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* 背景音乐控制（隐藏但可访问） */
        #bg-music {
            position: fixed;
            bottom: -100px;
        }

        /* 悬浮提示 */
        .tooltip {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0,0,0,0.8);
            color: #fff;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 14px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 1001;
            backdrop-filter: blur(4px);
        }


/* 核心新增：隐藏视频控件的下载按钮和更多菜单 */
        /* Chrome、Edge等Webkit内核浏览器 */
        #video-player::-webkit-media-controls {
            overflow: hidden !important;
        }
        #video-player::-webkit-media-controls-enclosure {
            width: calc(100% + 32px);
            margin-left: -16px;
        }
        /* 隐藏下载按钮 */
        #video-player::-webkit-media-controls-download-button {
            display: none !important;
        }
        /* 隐藏更多选项菜单按钮 */
        #video-player::-webkit-media-controls-toggle-closed-captions-button {
            display: none !important;
        }
        /* Firefox浏览器 */
        #video-player::-moz-media-controls-download-button {
            display: none !important;
        }
        /* IE浏览器 */
        #video-player::-ms-media-controls-download-button {
            display: none !important;
        }
