/* 字体加载 */
@font-face {
    font-family: 'NormalThin';
    src: url('../image/font/FWC26-NormalThin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'NormalLight';
    src: url('../image/font/FWC26-NormalLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'NormalRegular';
    src: url('../image/font/FWC26-NormalRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NormalMedium';
    src: url('../image/font/FWC26-NormalMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'NormalBold';
    src: url('../image/font/FWC26-NormalBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NormalBlack';
    src: url('../image/font/FWC26-NormalBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

.content {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("././static/bg.png");
    background-size: 100% 100%;
    position: fixed;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    touch-action: none;
}

.container-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.return-map {
    position: fixed;
    top: 3.4vh;
    left: 5.89vw;
    width: 5.272vw;
    display: none;
    cursor: pointer;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.icon {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 12vh;
    width: 100vw;
}

.icon-img {
    position: absolute;
    bottom: 0;
    width: 34.06vw;
    height: calc(34.06vw / 256 * 119);
}

.hisense {
    position: absolute;
    top: 12vh;
    left: 0;
    width: 100vw;
    height: 62vh;
}

.ar {
    position: absolute;
    top: 12vh;
    left: 0;
    width: 100vw;
    height: 62vh;
    background-color: #00828C;
    display: none;
}

.scan {
    position: absolute;
    top: 12vh;
    left: 0;
    position: relative;
    width: 100vw;
    height: 62vh;
    display: none;
}

.scan-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    transform: translate(-50%, -50%);
}

.scan-article {
    width: 100%;
    position: absolute;
    top: 0;
    opacity: 1;
    overflow: hidden;
    animation: scanDown 2s linear infinite;
    z-index: 9999;
}

@keyframes scanDown {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 60vw / 450 * 65);
        opacity: 0;
    }
}

.scan-camera {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48vw;
    height: 48vw;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
}

/* 四个角的L形白色标记 */
.scan-camera::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 16vw;
    height: 16vw;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top-left-radius: 20px;
    z-index: 10;
    pointer-events: none;
}

.scan-camera::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16vw;
    height: 16vw;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    border-bottom-right-radius: 20px;
    z-index: 10;
    pointer-events: none;
}

/* 右上角和左下角使用 box-shadow 创建 */
.scan-corner-top-right,
.scan-corner-bottom-left {
    position: absolute;
    width: 16vw;
    height: 16vw;
    z-index: 10;
    pointer-events: none;
}

.scan-corner-top-right {
    top: 0;
    right: 0;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top-right-radius: 20px;
}

.scan-corner-bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-bottom-left-radius: 20px;
}

.me {
    position: absolute;
    top: 12vh;
    left: 0;
    width: 100vw;
    height: 62vh;
    display: none;
    position: relative;
}

.me-unmet {
    width: 100%;
    height: 100%;
}

.me-met {
    width: 100%;
    height: 100%;
}

.me-text1 {
    display: flex;
    position: relative;
    width: 100vw;
    height: 13vh;
    font-family: 'NormalBold';
    font-size: calc(100vw / 750 * 22);
    color: #fff;
    text-align: center;
    justify-content: center;
    line-height: 2;
}

.me-text1 span {
    position: absolute;
    bottom: 0;
}

.me-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 32.59vh;
    position: relative;
}

.me-qrcode-img {
    width: auto;
    height: 100%;
}

.me-qrcode-verified {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 76%;
}

.me-qrcode-img2 {
    width: auto;
    height: 76%;
}



.me-text2 {
    width: 100vw;
    height: 27.41vh;
    font-family: 'NormalBold';
    font-size: calc(100vw / 750 * 28);
    color: #fff;
    text-align: center;
    line-height: 2;
}

.tab {
    position: fixed;
    top: 79vh;
    left: 0;
    width: 100vw;
    height: 7vh;
}

/* Tab 按钮样式 - 使用绝对定位 */
.tab-ar,
.tab-scan,
.tab-me {
    position: absolute;
    width: 23vw;
    top: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.tab-ar {
    left: 12vw;
}

.tab-scan {
    left: calc(12vw + 23vw + 3.5vw);
}

.tab-me {
    left: calc(12vw + 23vw + 3.5vw + 23vw + 3.5vw);
}

/* Tab 覆盖层样式 - 点击后显示 */
.tab-ar2,
.tab-scan2,
.tab-me2 {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    width: 23vw;
    top: 0;
}

.tab-ar2 {
    left: 12vw;
}

.tab-scan2 {
    left: calc(12vw + 23vw + 3.5vw);
}

.tab-me2 {
    left: calc(12vw + 23vw + 3.5vw + 23vw + 3.5vw);
}

.hisense-text1 {
    font-family: 'NormalMedium';
    font-size: calc(100vw / 750 * 20);
    color: #fff;
    text-align: center;
    margin-top: 4vh;
    line-height: 1.45;
}

.hisense-link {
    position: relative;
    display: inline-block;
}

.hisense-link::after {
    content: '';
    position: absolute;
    bottom: -0.36vh;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

.hisense-text2 {
    margin-top: 2vh;
    font-family: 'NormalBold';
    font-size: calc(100vw / 750 * 28);
    color: #fff;
    text-align: center;
    line-height: 2;
}

.map {
    margin-top: 4vh;
    display: flex;
    position: relative;
    width: 100vw;
    height: calc(100vw / 3840 * 2436);
    transform: scale(1.45);
    transform-origin: center center;
}

.darktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vw / 3840 * 2436);
    z-index: 999;
}

.darkbottom {
    width: 100vw;
    height: calc(100vw / 3840 * 2436);
}

.map1 {
    position: absolute;
    top: 28.2vw;
    left: 25vw;
    width: calc(100vw / 3840 * 1185);
}

.map2 {
    position: absolute;
    top: 15.6vw;
    left: 28.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map3 {
    position: absolute;
    top: 6.5vw;
    left: 35.7vw;
    width: calc(100vw / 3840 * 1185);
}

.map4 {
    position: absolute;
    top: 4.8vw;
    left: 44.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map5 {
    position: absolute;
    top: 17vw;
    left: 41.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map6 {
    position: absolute;
    top: 20.7vw;
    left: 47.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map7 {
    position: absolute;
    top: 23.9vw;
    left: 35.7vw;
    width: calc(100vw / 3840 * 1185);
}

/* 点亮状态图片样式 - 重叠在未点亮状态上方 */
.map1-lit,
.map2-lit,
.map3-lit,
.map4-lit,
.map5-lit,
.map6-lit,
.map7-lit {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* 点亮状态图片位置 - 与对应的未点亮状态图片位置相同 */
.map1-lit {
    top: 28.2vw;
    left: 25vw;
    width: calc(100vw / 3840 * 1185);
}

.map2-lit {
    top: 15.6vw;
    left: 28.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map3-lit {
    top: 6.5vw;
    left: 35.7vw;
    width: calc(100vw / 3840 * 1185);
}

.map4-lit {
    top: 4.8vw;
    left: 44.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map5-lit {
    top: 17vw;
    left: 41.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map6-lit {
    top: 20.7vw;
    left: 47.5vw;
    width: calc(100vw / 3840 * 1185);
}

.map7-lit {
    top: 23.9vw;
    left: 35.7vw;
    width: calc(100vw / 3840 * 1185);
}

/* Lightpoint 样式 - 点亮时显示 */
.lightpoint1,
.lightpoint2,
.lightpoint3,
.lightpoint4,
.lightpoint5,
.lightpoint6,
.lightpoint7,
.lightpoint10,
.lightpoint11 {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

/* Lightpoint 位置 - 初始位置对应各自的 map 位置，后续可调整 */
.lightpoint1 {
    top: 34.8vw;
    left: 35.5vw;
    width: 8vw;
}

.lightpoint2 {
    top: 25vw;
    left: 41.5vw;
    width: 8vw;
}

.lightpoint3 {
    top: 22.5vw;
    left: 46.5vw;
    width: 8vw;
}

.lightpoint4 {
    top: 18vw;
    left: 57.5vw;
    width: 8vw;
}

.lightpoint5 {
    top: 32.5vw;
    left: 47.8vw;
    width: 8vw;
}

.lightpoint6 {
    top: 33.4vw;
    left: 56.5vw;
    width: 8vw;
}

.lightpoint7 {
    top: 35.5vw;
    left: 43vw;
    width: 8vw;
}

.lightpoint10 {
    top: 17.5vw;
    left: 38.5vw;
    width: calc(8vw / 75 * 63);
}

.lightpoint11 {
    top: 9vw;
    left: 17vw;
    width: calc(8vw / 75 * 278);
}

/* 弹窗样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 88vw;
    max-height: 60vh;
    background-image: url('../image/pop/popbg.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    /* border: 2px solid rgba(255, 255, 255, 0.7); */
    /* border-radius: 10px; */
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); */
    animation: popupSlideIn 0.3s ease-out;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    bottom: calc(-2.65vh - 7.6vw);
    left: 50%;
    transform: translateX(-50%);
    width: 7.6vw;
    height: 7.6vw;
    text-align: center;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.popup-title {
    font-family: 'NormalBold';
    font-size: calc(100vw / 750 * 28);
    color: #fff;
    text-align: center;
    margin-top: 2.2vh;
    line-height: 2;
}

.popup-video {
    width: 100%;
    margin-top: 0.7vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.popup-swiper {
    width: 83vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    position: relative;
    padding-top: calc(100vw / 750 * 34);
    box-sizing: border-box;
}

.popup-swiper .swiper-slide video,
.popup-swiper .swiper-slide img {
    width: 77vw;
    height: calc(77vw / 16 * 9);
    object-fit: cover;
}

/* Video.js 播放器样式 */
.popup-swiper .swiper-slide .video-js {
    width: 77vw !important;
    height: calc(77vw / 16 * 9) !important;
    max-width: 77vw !important;
    max-height: calc(77vw / 16 * 9) !important;
}

.popup-swiper .swiper-slide .video-js .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* 禁用 Video.js 的触摸劫持，确保轮播可以滑动 */
.popup-swiper .swiper-slide .video-js {
    touch-action: pan-y;
    pointer-events: auto;
}

.popup-swiper .swiper-slide .video-js .vjs-control-bar {
    touch-action: manipulation;
}

/* Video.js 全屏样式 - 横屏占满整个屏幕 */
.video-js.vjs-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 99999 !important;
}

.video-js.vjs-fullscreen .vjs-tech {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain;
}

/* iOS 全屏支持 */
@supports (-webkit-touch-callout: none) {
    .popup-swiper .swiper-slide .video-js video:-webkit-full-screen {
        width: 100vw !important;
        height: 100vh !important;
        object-fit: contain;
    }
}

.popup-slide-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'NormalMedium';
    font-size: calc(100vw / 750 * 17);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    white-space: nowrap;
    line-height: 2;
    z-index: 10;
}

.popup-pagination {
    position: relative !important;
    margin-top: 0.6vh;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5vw;
}

.popup-pagination .swiper-pagination-bullet {
    width: 1.26vw;
    height: 1.26vw;
    background-color: rgba(255, 255, 255, 1);
    opacity: 1;
    margin: 0 !important;
}

.popup-pagination .swiper-pagination-bullet-active {
    background-color: #00FFDD;
    box-shadow: 0 0 6.6px 0 #00FFDD;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    margin-top: 1vh;
    width: 100%;
}

.popup-button {
    width: 30vw;
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-download {
    width: 30vw;
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-button-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-download-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-button button {
    width: 34.2vw;
    height: 5vh;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    font-family: 'NormalBold';
    font-size: calc(100vw / 750 * 28);
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.15), 0 0 8px rgba(255, 255, 255, 0.05);
}

.popup-tip1 {
    font-family: 'NormalMedium';
    font-size: calc(100vw / 750 * 17);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    line-height: 2;
    margin-top: 0.9vh;
}

.popup-tip2 {
    font-family: 'NormalMedium';
    font-size: calc(100vw / 750 * 17);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    line-height: 2;
    margin-top: 0.4vh;
}

.popup-share {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 10vw;
    margin-top: 1.7vh;
}

.popup-share-img1 {
   width: calc(100vw / 750 * 62.85); 
   height: calc(100vw / 750 * 62.85); 
}

.popup-share-img2 {
    width: 1px; 
    height: 100%; 
    margin-left: calc(100vw / 750 * 33.25); 
    margin-right: calc(100vw / 750 * 33.25); 
 }

 .popup-share-img3 {
    width: calc(100vw / 750 * 62.85); 
    height: calc(100vw / 750 * 62.85); 
 }

.popup-tip3 {
    font-family: 'NormalMedium';
    font-size: calc(100vw / 750 * 19);
    color: rgba(255, 255, 255, 0.48);
    text-align: center;
    line-height: 2;
    margin-top: 1vh;
    margin-bottom: 1.1vh;
}

/* Toast 提示样式 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    display: none;
    pointer-events: none;
}

.toast.show {
    display: block;
    animation: toastFadeInOut 2s ease-in-out;
}

.toast-content {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2vh 4vw;
    border-radius: 8px;
    font-family: 'NormalMedium';
    font-size: calc(100vw / 750 * 28);
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes toastFadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}