@charset "utf-8";

ul,
ol,
li {
    list-style: none !important;
    list-style-type: none !important;
}

/* 基础设置 */
html {
    font-size: 16px;
    overflow: hidden;
    height: 100%;
}

/* 大屏适配媒体查询（优化：简化媒体查询，减少重绘） */
@media screen and (min-width: 1920px) {
    html {
        font-size: calc(16px * 1.1);
    }
}

@media screen and (min-width: 2560px) {
    html {
        font-size: calc(16px * 1.2);
    }
}

@media screen and (min-width: 3840px) {
    html {
        font-size: calc(16px * 1.3);
    }
}

@media screen and (min-width: 5760px) {
    html {
        font-size: calc(16px * 1.4);
    }
}

@media screen and (min-width: 7680px) {
    html {
        font-size: calc(16px * 1);
    }
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
body {
    padding: 0;
    margin: 0;
    font-family: "微软雅黑", sans-serif;
}

body {
    color: #fff;
    font-size: 1rem;
    background: #135594;
    background: -webkit-radial-gradient(50% 35%, farthest-corner, #03365f, #023868, #021e3b, #001529);
    background: radial-gradient(50% 35%, farthest-corner, #03365f, #023868, #021e3b, #001529);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* CSS变量设置 */
:root {
    --scale: 1;
}

html[data-scale] {
    --scale: attr(data-scale);
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

/* 头部样式（统一使用scale） */
.head {
    height: calc(4.625rem * var(--scale));
    margin: 0 calc(0.9375rem * var(--scale));
    padding-right: calc(3.75rem * var(--scale));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-title-container {
    display: flex;
    align-items: center;
    gap: calc(1rem * var(--scale));
}

.logo-img {
    height: calc(3rem * var(--scale));
    /* 保持你原有的尺寸 */
    width: auto;
    /* vertical-align: middle; */
    /* background: transparent !important; */
    /* 确保logo背景透明 */
    /* mix-blend-mode: normal !important; */


    /* 避免与页面背景混合 */
    /* opacity: 1 !important; */
    /* 防止logo被淡化 */
    /* 核心：蓝色转白色（根据logo蓝色深浅微调参数） */
    /* filter: */
    /* invert(1) */
    /* 反转颜色（蓝色→黄色） */
    /* hue-rotate(190deg) */
    /* 色相旋转（黄色→白色） */
    /* brightness(2.2) */
    /* 微调亮度（避免偏灰） */
    /* contrast(100%); */

}

@media (max-width: 1200px) {
    .logo-img {
        height: calc(2.5rem * var(--scale));
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: calc(2rem * var(--scale));
    }
}

.head h1 {
    font-size: calc(1.875rem * var(--scale));
    /* color: #daf9ff; */
    color: #fff;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .head h1 {
        font-size: calc(1.5rem * var(--scale));
    }
}

@media (max-width: 768px) {
    .head h1 {
        font-size: calc(1.2rem * var(--scale));
    }
}

/* 盒子样式（增强缩放） */
.box {
    border: 1px solid rgba(7, 118, 181, 0.5);
    box-shadow: inset 0 0 10px rgba(7, 118, 181, 0.4);
    margin-bottom: calc(15px * var(--scale));
    position: relative;
    background-color: rgba(0, 22, 51, 0.35);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}


.box:before,
.tit:after {
    width: 100%;
    height: 1px;
    content: "";
    position: absolute;
    left: 0;
    background: linear-gradient(to right, #076ead, #4ba6e0, #076ead);
    box-shadow: 0 0 5px rgba(131, 189, 227, 1);
    opacity: 0.6;
}

.box:before {
    top: -1px;
}

.tit:after {
    bottom: -1px;
}

/* 标题样式（统一scale） */
.tit {
    padding: calc(10px * var(--scale)) calc(10px * var(--scale)) calc(10px * var(--scale)) calc(25px * var(--scale));
    border-bottom: 1px solid rgba(7, 118, 181, 0.7);
    font-size: calc(1rem * var(--scale));
    /* 基础字体+scale */
    font-weight: bold;
    position: relative;
    color: #fff;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

/* 不同屏幕尺寸的标题调整（叠加scale） */
.small-screen .tit {
    font-size: calc(0.rem * var(--scale));
}

.medium-screen .tit {
    font-size: calc(1.1rem * var(--scale));
}

.large-screen .tit {
    font-size: calc(1.2rem * var(--scale));
}

.extra-large-screen .tit {
    font-size: calc(1.4rem * var(--scale));
}

.ultra-large-screen .tit {
    font-size: calc(1.6rem * var(--scale));
}

.outdoor-screen .tit {
    font-size: calc(1.8rem * var(--scale));
    font-weight: bold;
}

.tit:before,
.tit01:before {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    background: rgba(22, 214, 255, 0.9);
    box-shadow: 0 0 5px rgba(22, 214, 255, 0.9);
    border-radius: 10px;
    left: 10px;
    top: 18px;
}

.boxnav {
    padding: 10px 5px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 背景动画 */
#animations {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.animation {
    position: absolute;
}

.animation1 {
    left: 1%;
    top: 1%;
    transform: scale(1);
}

.animation2 {
    left: 0.5%;
    bottom: 13%;
    transform: scale(0.5);
}

.animation3 {
    left: 20%;
    top: 60%;
    transform: scale(1);
}

.animation4 {
    left: 30%;
    top: 15%;
    transform: scale(0.9);
}

.animation5 {
    left: 45%;
    top: 2%;
    transform: scale(0.3);
}

.animation6 {
    left: 60%;
    top: -2%;
    transform: scale(0.8);
}

.animation7 {
    left: 70%;
    top: 40%;
    transform: scale(1);
}

.animation div {
    position: absolute;
    top: 0;
    left: 0;
    width: 618px;
    height: 618px;
    border-radius: 50%;
    animation: move linear infinite;
    opacity: 0.1;
    filter: alpha(opacity=30);
}

.animation .animate1 {
    background: url("../images/1.png") no-repeat;
    background-size: 100%;
    animation-duration: 30s;
}

.animation .animate2 {
    background: url("../images/2.png") no-repeat;
    background-size: 100%;
    animation-duration: 20s;
    animation-direction: reverse;
}

.animation .animate3 {
    background: url("../images/3.png") no-repeat;
    background-size: 100%;
    animation-duration: 15s;
}

.fanzhuan .animate1 {
    animation-direction: reverse;
    animation-duration: 25s;
}

.fanzhuan .animate2 {
    animation-direction: normal;
    animation-duration: 15s;
}

.fanzhuan .animate3 {
    animation-direction: reverse;
    animation-duration: 10s;
}

@keyframes move {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* 布局组件 */
.mainbox {
    height: calc(100% - 5.625rem);
    padding: 0 5px;
}

.nav1 {
    display: flex;
    height: calc(100vh - 5.625rem);
    margin: 0;
    padding: 0 5px;
    list-style: none;
}

.nav1>li {
    flex: 0 0 auto;
    padding: 0 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav1>li:nth-child(1) {
    width: 25%;
}

.nav1>li:nth-child(2) {
    width: 50%;
}

.nav1>li:nth-child(3) {
    width: 25%;
}

.nav1>li .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.nav1>li .box .boxnav {
    flex: 1;
    overflow: hidden;
}

.clearfix:after,
.clearfix:before {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

/* 地图区域 */
.mapc {
    background: url(../images/bg3.png) no-repeat center center;
    background-size: 100% 100%;
}

.map {
    position: relative;
    height: 100%;
    padding-left: 1%;
    width: 100%;
}

.barnav {
    position: absolute;
    width: 98%;
    z-index: 10;
}

.bar {
    background: rgba(101, 132, 226, 0.1);
    padding: 0.15rem;
}

.barbox li,
.barbox2 li {
    width: 16.66%;
    text-align: center;
    position: relative;
}

.barbox:before,
.barbox:after {
    position: absolute;
    width: 0.3rem;
    height: 0.1rem;
    content: "";
}

.barbox:before {
    border-left: 2px solid #02a6b5;
    left: 0;
    border-top: 2px solid #02a6b5;
}

.barbox:after {
    border-right: 2px solid #02a6b5;
    right: 0;
    bottom: 0;
    border-bottom: 2px solid #02a6b5;
}

.barbox li:before {
    position: absolute;
    content: "";
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    right: 0;
    top: 25%;
}

.barbox {
    border: 1px solid rgba(25, 186, 139, 0.17);
    position: relative;
}

/* 柱状图数字样式（修复固定px） */
.barbox li {
    font-size: calc(2.5rem * var(--scale));
    /* 原2.5rem未乘scale */
    color: #07dfeb;
    padding: calc(0.05rem * var(--scale)) 0;
    font-family: electronicFont;
    font-weight: bold;
}

.barbox2 li {
    font-size: calc(1.3rem * var(--scale));
    /* color: rgba(255, 255, 255, 0.7); */
    color: #fff;
    font-weight: bold; 
}

/* 雷达导航 */
.leidanav {
    margin-top: -5px;
}

.leidanav li {
    float: left;
    width: 20%;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1)
}

.leidanav2 li {
    width: 33.3333%
}

.leidanav3 li {
    width: 25%
}

.leidanav li:first-child {
    border-left: none;
}

/* 雷达导航文字（修复固定px问题） */
.leidanav span {
    font-size: calc(0.75rem * var(--scale));
    /* 12px -> 0.75rem */
    opacity: 0.6;
}

.leidanav p {
    font-size: calc(1.125rem * var(--scale));
    /* 18px -> 1.125rem */
    color: #26a6ff;
}

.mapnav2 {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    z-index: 10;
    min-height: 140px;
}

.mapnav2 .box {
    display: block;
    height: auto;
    width: 100%;
}


/* 图表容器通用样式 */
.boxnav {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 大屏下调整间距和内边距 */
.outdoor-screen .box {
    padding: calc(10px * var(--scale));
    margin-bottom: calc(15px * var(--scale));
}

/* 数字计数器样式（增强缩放） */
.counter {
    font-size: calc(1.2rem * var(--scale));
}

.outdoor-screen .counter {
    font-size: calc(1.8rem * var(--scale));
}

/* 3D标签云适配 */
#tagcloud-container {
    transform: scale(var(--scale));
    transform-origin: center;
}