/* ========================================
   map.css - 全国业务布局（ECharts 中国地图）
   ======================================== */

.section.ywfbbg, .panel.ywfbbg {
  background: #110f44;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* 装饰性背景 */
.section.ywfbbg::before, .panel.ywfbbg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(138, 45, 226, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(177, 140, 255, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

/* 网格背景 */
.section.ywfbbg::after, .panel.ywfbbg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 45, 226, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 45, 226, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.5;
}

.section.ywfbbg .mainW, .panel.ywfbbg .mainW {
  width: 100%;
  height: 100%;
  position: relative;
  padding-top: 80px;
  padding-bottom: 90px;
  z-index: 2;
}

/* 地图容器 */
.centerItemBox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#mapBox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: transparent;
}

#world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

#world, #world canvas, #world svg,
#mapBox, #mapBox canvas, #mapBox svg {
  background: transparent !important;
}

/* 标题 */
.section.ywfbbg .tilThr, .panel.ywfbbg .tilThr {
  position: relative;
  z-index: 11;
  text-align: center;
  margin: 30px auto 20px;
  padding: 0;
  display: block;
  left: auto;
  margin-left: 0;
  width: 100%;
}

.section.ywfbbg .tilThr h1, .panel.ywfbbg .tilThr h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 20px rgba(177, 140, 255, 0.35);
}

.section.ywfbbg .tilThr span, .panel.ywfbbg .tilThr span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 300;
}

/* 副标题 */
.map-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  letter-spacing: 0.15em;
  margin-top: 8px;
  margin-bottom: 0;
  position: relative;
  z-index: 11;
}

/* 地图数据展示 */
.map-stats {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: flex;
  gap: 20px;
  background: rgba(18, 12, 45, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(138, 45, 226, 0.2);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease 0.6s both;
}

.map-stats .stat-item {
  text-align: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.map-stats .stat-item:last-child { border-right: 0; }

.map-stats .stat-item:hover { transform: translateY(-2px); }

.map-stats .stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #B18CFF;
  font-family: "Georgia", serif;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(177, 140, 255, 0.4);
}

.map-stats .stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  margin-top: 4px;
}

/* 北京核心装饰 */
.beijing-core {
  animation: pulse 2s ease-in-out infinite;
}

/* 装饰线 */
.map-deco-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 45, 226, 0.5), transparent);
  z-index: 1;
  pointer-events: none;
}

.map-deco-line.top {
  top: 90px;
  left: 10%;
  right: 10%;
}

.map-deco-line.bottom {
  bottom: 30px;
  left: 15%;
  right: 15%;
}

/* 装饰圆点 */
.map-deco-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #B18CFF;
  box-shadow: 0 0 8px #B18CFF;
  z-index: 1;
}
