/* 字体加载 */
@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: 73vh;
}

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

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

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

.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: 73vh;
    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;
}

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


.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;
    bottom: 8vh;
    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: -4.69px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

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

.map {
    margin-top: 2vh;
    display: flex;
    position: relative;
    width: 100vw;
    height: calc(100vw / 2600 * 2145);
    transform: scale(1.155);
    transform-origin: center center;
}

.darktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 999;
}

.darkbottom {
    width: 100vw;
    height: calc(100vw / 2600 * 2145);
}

.map1 {
    position: absolute;
    top: 39.2vw;
    left: 17vw;
    width: calc(100vw / 2600 * 918);
}

.map2 {
    position: absolute;
    top: 21vw;
    left: 24.5vw;
    width: calc(100vw / 2600 * 918);
}

.map3 {
    position: absolute;
    top: 9.85vw;
    left: 32.3vw;
    width: calc(100vw / 2600 * 918);
}

.map4 {
    position: absolute;
    top: 9.2vw;
    left: 44.3vw;
    width: calc(100vw / 2600 * 918);
}

.map5 {
    position: absolute;
    top: 25.3vw;
    left: 37.4vw;
    width: calc(100vw / 2600 * 918);
}

.map6 {
    position: absolute;
    top: 32.2vw;
    left: 44.5vw;
    width: calc(100vw / 2600 * 918);
}

.map7 {
    position: absolute;
    top: 34.5vw;
    left: 28.5vw;
    width: calc(100vw / 2600 * 918);
}

/* 点亮状态图片样式 - 重叠在未点亮状态上方 */
.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: 39.2vw;
    left: 17vw;
    width: calc(100vw / 2600 * 918);
}

.map2-lit {
    top: 21vw;
    left: 24.5vw;
    width: calc(100vw / 2600 * 918);
}

.map3-lit {
    top: 9.85vw;
    left: 32.3vw;
    width: calc(100vw / 2600 * 918);
}

.map4-lit {
    top: 9.2vw;
    left: 44.3vw;
    width: calc(100vw / 2600 * 918);
}

.map5-lit {
    top: 25.3vw;
    left: 37.4vw;
    width: calc(100vw / 2600 * 918);
}

.map6-lit {
    top: 32.2vw;
    left: 44.5vw;
    width: calc(100vw / 2600 * 918);
}

.map7-lit {
    top: 34.5vw;
    left: 28.5vw;
    width: calc(100vw / 2600 * 918);
}

/* 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: 47.2vw;
    left: 30.5vw;
    width: 8vw;
}

.lightpoint2 {
    top: 34vw;
    left: 40vw;
    width: 8vw;
}

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

.lightpoint4 {
    top: 24vw;
    left: 60.5vw;
    width: 8vw;
}

.lightpoint5 {
    top: 44vw;
    left: 47.4vw;
    width: 8vw;
}

.lightpoint6 {
    top: 45.4vw;
    left: 58.3vw;
    width: 8vw;
}

.lightpoint7 {
    top: 47vw;
    left: 40vw;
    width: 8vw;
}

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

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

/* 弹窗样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    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-color: rgba(46, 66, 68, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.5);
    animation: popupSlideIn 0.3s ease-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@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: 3vh;
    line-height: 2;
}

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

.popup-video video {
    width: 77vw;
    height: calc(77vw / 16 * 9);
}

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

.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: 2.36vh;
}

.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: 1.3vh;
    margin-bottom: 1.1vh;
}