/*-------------------------------------------横屏滚动 ------------------------------------------------------*/
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

/* 1. 核心滚动容器 */
.hnu_ep_wapper {
  position: relative;
  width: 100vw;
  max-width: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hnu_ep_contain {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.hnu_ep_cardbox {
  display: flex;
  height: 100%;
  width: max-content;
}

.hnu_ep_cardbox_card {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2. 玻璃罩通用外壳 */
.hnu_ep_glass-wrapper {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 3. 第一张卡片：三条横幅 */
.hnu_ep_first-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3vh;
  padding-top: 6vh;
}

.hnu_ep_glass-card {
  background: rgba(125, 125, 125, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0.6rem;
  padding: 0 3vw;
  width: 92vw;
  height: auto;
  min-height: 22vh;
  display: flex;
  align-items: center;
  gap: 3vw;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .08);
  opacity: 0;
  transform: translateY(-120px);
  will-change: transform, opacity;
  margin-bottom: 15px;
}

.hnu_ep_widespread-card {
  transform: translateY(-120px) rotate(-3deg);
}

.hnu_ep_few-ketone-card {
  transform: translateY(-120px) rotate(3deg);
}

.hnu_ep_deepimpact-card {
  transform: translateY(-120px) rotate(0deg);
}

.hnu_ep_card-text {
  flex: 1 1 auto;
}

.hnu_ep_card-text h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: bold;
  color: #2d3748;
  opacity: 0;
  transform: translateY(20px);
}

.hnu_ep_card-text p {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.5;
  color: #4a5568;
  margin-top: 0.4rem;
}

.hnu_ep_card-icon {
  height: 70%;
  width: auto;
  max-width: 30vw;
  object-fit: contain;
  flex-shrink: 0;
}

/* 4. 第二张卡片：四角布局 */
.hnu_ep_quad-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  border-radius: 26px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
}

.hnu_ep_quad {
  background: rgba(255, 255, 255, .3);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hnu_ep_quad h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin-bottom: .4rem;
  color: #f8f9fa;
}

.hnu_ep_quad p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.4;
  color: #f8f9fa;
}

.hnu_ep_quad.hnu_ep_keto {
  background: #E6E6FA;
}

.hnu_ep_quad.hnu_ep_keto h3,
.hnu_ep_quad.hnu_ep_keto p {
  color: #2d3748;
  ;
}

.hnu_ep_center-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 20vw, 250px);
  height: auto;
  z-index: 2;
}

.hnu_ep_difficult-title {
  position: absolute;
  top: 50%;
  left: calc(50% + clamp(160px, 22vw, 270px));
  transform: translateY(-50%);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: #9f7aea;
  white-space: nowrap;
  border-right: 2px solid #2d3748;
  overflow: hidden;
  animation: hnu_ep_typing 2.2s steps(15, end) forwards,
    hnu_ep_blink 0.7s infinite;
}

/* 5. 打字 & 光标闪 */
@keyframes hnu_ep_typing {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes hnu_ep_blink {
  50% {
    border-color: transparent;
  }
}

/* 6. 移动端竖屏覆盖 */
@media (max-width: 768px) {
  .hnu_ep_contain {
    position: relative;
    /* 取消 sticky，让文档流自然撑开 */
    height: auto;
  }

  .hnu_ep_cardbox {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .hnu_ep_cardbox_card {
    width: 100vw;
    height: auto;
    padding: 1.5rem;
  }

  /* 玻璃卡片竖排微调 */
  .hnu_ep_glass-card {
    width: 94vw;
    min-height: 30vh;
    flex-direction: column;
    text-align: center;
    gap: 1.5vh;
  }

  .hnu_ep_card-icon {
    max-width: 40vw;
  }

  .hnu_ep_quad-wrapper {
    gap: 1rem;
    padding: 1rem 0;
  }

  .hnu_ep_quad {
    padding: 1rem;
  }

  .hnu_ep_center-img {
    width: clamp(120px, 30vw, 200px);
  }

  .hnu_ep_difficult-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1.5rem auto 0;
    border-right: none;
    border-bottom: 2px solid #2d3748;
    padding-bottom: 0.5rem;
  }
}


/*-------------------底层卡片----------------------------------------------------------------------------------*/
/* 第一层卡片*/
.di-yi-ceng {
  --jiao: 26px;
  --liu-hai: 2.25rem;
  position: relative;
  width: 100%;
  min-height: calc(100vh + 600px);
  margin-top: 0;
  /* 移除负margin，避免向上偏移遮挡横屏滚动容器 */
  background: rgba(125, 125, 125, 0.125);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  border-radius: var(--jiao);
  padding: calc(var(--liu-hai) + 2rem) 0 4rem;
  z-index: 1;
  /* 层级低于横屏滚动容器，不遮挡 */
  margin-bottom: 40px;
}

/* 内部卡片：保留原功能 */
.nei-bu-qia {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  margin: 0;
  color: #111;
}

.nei-bu-qia::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  z-index: 0;
}

.bai::before {
  background: #f8f9fa;
}

.hui::before {
  background: #1b076b;
  color: #eee;
}

/* 文字距离：保留原功能 */
.nei-bu-qia>* {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

/* 闪卡：修改固定height为min-height，避免截断滚动内容 */
#silverSec {
  margin-top: 80px;
  width: 100%;
  position: relative;
  overflow: visible;
  /* 确保不隐藏滚动内容 */
}

@media (min-width:1200px) {
  #silverSec {
    min-height: 100vh;
    /* 用min-height替代height，保持灵活性 */
  }
}

@media (min-width:768px) and (max-width:1199px) {
  #silverSec {
    min-height: 70vh;
    /* 用min-height替代height */
  }
}

@media (max-width:767px) {
  #silverSec {
    min-height: 70vh;
    /* 用min-height替代height */
  }
}


















/* -------------医生加小人儿--------------------------------------- */
#people {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 5vw;
  background: (255, 255, 255, .1);
  overflow: hidden;
}

.person {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.caesar {
  flex-direction: row;
}

.vangogh {
  flex-direction: row-reverse;
}

.vangogh .card h3 {
  text-align: right;
}

.avatar {
  width: 100%;
  max-width: 280px;
  flex: 0 0 auto;
  overflow: hidden;
  box-shadow: none;
  animation: sway 4s ease-in-out infinite;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card {
  flex: 1 1 0%;
  width: auto;
  line-height: 1.65;
}

.card h3 {
  font-size: clamp(1.4rem, 1.4rem + 1.5vw, 2.4rem);
  margin-bottom: .5em;
  letter-spacing: .05em;
}

.card .txt {
  background: rgba(125, 125, 125, .12);
  padding: 1.2em 1em;
  border-radius: 12px;
  font-size: clamp(1rem, 0.95rem + 0.6vw, 1.3rem);
  color: #222;
  text-align: justify;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  width: 100%;
}

@keyframes sway {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-3px);
  }

  75% {
    transform: translateX(3px);
  }
}

/* people 窄屏：保留原功能 */
@media (max-width: 768px) {
  #people {
    gap: 2.5rem;
    padding: 2rem 4vw;
  }

  .person {
    flex-direction: column !important;
    align-items: center;
  }

  .person .avatar {
    width: auto;
    max-width: 160px;
    flex: 0 1 auto;
  }

  .person .card {
    width: 100%;
    text-align: center;
  }
}

/* 医生区域：保留原功能 */
#doctors {
  min-height: 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 3rem;
  padding: 3rem 5vw;
  background: #f8f9fa;
  overflow: hidden;
  flex-wrap: wrap;
}

.doctor {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(33.333% - 2rem);
  max-width: 600px;
  min-width: 280px;
}

.doctor .avatar {
  margin-bottom: 1rem;
  animation: sway 4s ease-in-out infinite;
}

.doctor h3 {
  font-size: clamp(1.4rem, 1.4rem + 1.5vw, 2rem);
  margin-bottom: 0.5em;
  letter-spacing: 0.05em;
  text-align: center;
  color: #222;
}

.doctor .bubble {
  width: 100%;
  background: rgba(125, 125, 125, .12);
  padding: 1.2em 1em;
  border-radius: 12px;
  font-size: clamp(1rem, 0.95rem + 0.6vw, 1.3rem);
  color: #222;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

/* doctors 窄屏：保留原功能 */
@media (max-width: 768px) {
  #doctors {
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 4vw;
    align-items: center;
  }

  .doctor .avatar {
    max-width: 160px;
  }

  .doctor {
    width: 100%;
    max-width: 320px;
  }
}






/* -------收尾------------------------------------------------------------------------------------- */
#glass-section {
  --primary: rgba(255, 255, 255, .1);
  --secondary: rgba(255, 255, 255, .2);
  --blur: 20px;
  --radius: 20px;
  --speed: .3s;
  --max: 1200px;
  --pad: 40px;

  width: 100%;
  max-width: var(--max);
  margin: 50px auto;
  padding: var(--pad);
  background: var(--primary);
  border-radius: var(--radius);
  border: 1px solid var(--secondary);
  -webkit-backdrop-filter: blur(var(--blur));
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

#glass-section * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#glass-section .word {
  white-space: nowrap;
}

/* 图片区：保留原功能 */
#glass-section .glass-module__images {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

#glass-section .glass-module__item {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 15px;
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
  cursor: pointer;
  background: #fff2;
}

#glass-section .glass-module__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

#glass-section .glass-module__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--speed) ease;
}

#glass-section .glass-module__item:hover img {
  transform: scale(1.05);
}

/* 逐字渐显文字：保留原功能 */
#glass-section .glass-module_text p {
  font-weight: 500;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: -0.3px;
}

#glass-section .glass-module_text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease-out, transform .35s ease-out;
}

#glass-section .glass-module_text .char.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式：保留原功能 */
@media(max-width:768px) {
  #glass-section {
    --pad: 20px;
    --radius: 15px;
  }

  #glass-section .glass-module__images {
    gap: 15px;
  }

  #glass-section .glass-module__item {
    min-width: 120px;
    max-width: 150px;
  }
}

@media(max-width:480px) {
  #glass-section {
    --pad: 15px;
  }

  #glass-section .glass-module__images {
    justify-content: center;
    gap: 10px;
  }

  #glass-section .glass-module__item {
    min-width: 100px;
    max-width: 120px;
  }
}

@media (prefers-color-scheme:dark) {
  #glass-section {
    --primary: rgba(0, 0, 0, .2);
    --secondary: rgba(255, 255, 255, .1);
  }
}









/* -------------------------------生酮痛点区域------------------------------------------------*/

/* 核心动画容器 */
#keto-section {
  position: relative;
  height: 100vh;
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
}

/* 新增：脑电点点样式 - 保留原功能 */
.keto-dot-group {
  position: absolute;
  top: 60px;
  bottom: 60px;
  width: 40px;
  z-index: 5;
  /* 低于标题(z-index:10)和卡片，避免遮挡核心内容 */
}

.keto-left-dots {
  left: 10px;
}

.keto-right-dots {
  right: 10px;
}

.keto-brain-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C9A0DC;
  position: absolute;
  opacity: 0.7;
}

/* 脑电点点位置分布 - 垂直均匀排列10个点 */
.keto-brain-dot:nth-child(1) {
  top: 10%;
}

.keto-brain-dot:nth-child(2) {
  top: 20%;
}

.keto-brain-dot:nth-child(3) {
  top: 30%;
}

.keto-brain-dot:nth-child(4) {
  top: 40%;
}

.keto-brain-dot:nth-child(5) {
  top: 50%;
}

.keto-brain-dot:nth-child(6) {
  top: 60%;
}

.keto-brain-dot:nth-child(7) {
  top: 70%;
}

.keto-brain-dot:nth-child(8) {
  top: 80%;
}

.keto-brain-dot:nth-child(9) {
  top: 90%;
}

.keto-brain-dot:nth-child(10) {
  top: 5%;
}

/* 上半部分：标题区 + 灰色分割线（上下各空30px） */
.keto-header {
  position: absolute;
  top: 20px;
  /* 标题区顶部距容器顶部30px */
  left: 0;
  right: 0;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  /* 标题始终显示，不参与切换 */
}

/* 灰色分割线：标题区底部 + 30px 处绘制 */
.keto-header::after {
  content: '';
  position: absolute;
  left: 40px;
  right: 40px;
  top: calc(100% + 30px);
  /* 标题区底部与分割线间距30px */
  height: 1px;
  background-color: #544e4e;
  /* 分割线颜色 */
}

.keto-split-title {
  margin: 0;
  font-weight: bold;
  text-align: center;
  transform: rotate(-6deg);
}

.keto-split-title:first-child {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: rgba(125, 125, 125, 0.1);
  background: #E6E6FA;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.keto-split-title:last-child {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #563064;
}

/* 下半部分：内容区（从分割线下方30px开始布局） */
.keto-content {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 5%;
  /* 内容区自身顶部布局比例 */
  display: flex;
  gap: 10px;
}

/* 图片区 */
.keto-img-box {
  flex: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keto-img {
  max-width: 100%;
  max-height: 400px;
}

/*文字区（h3上+p下） */
.keto-text-box {
  flex: 5;
  /* 占50%宽度 */
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.keto-text-top {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 5px;
  background-color: rgba(255, 255, 255, .1);
}

.keto-bottom-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #f8f9fa;
  margin: 0;
  text-align: center;
}

.keto-text-bottom {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keto-bottom-desc {
  font-size: clamp(0.8rem, 2vw, 1.6rem);
  line-height: 1.8;
  color: #333;
  margin: 0;
  text-align: center;
}

/* 卡片堆叠：从分割线下方30px开始定位 */
.keto-card {
  position: absolute;
  top: calc(30px + 60px + 30px);
  /* 标题top(30px) + 标题高度(约60px) + 分割线下方30px */
  left: 40px;
  right: 40px;
  bottom: 40px;
  opacity: 0;
  transform: rotateX(90deg) scale(0.95);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

/* 激活状态：显示+翻转复位 */
.keto-card.active {
  opacity: 1;
  transform: rotateX(0) scale(1);
  pointer-events: auto;
}

/* 卡片内元素延迟动画（增强层次感） */
.keto-card.active .keto-img {
  opacity: 0;
  transform: rotateX(90deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
  animation: imgShow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.keto-card.active .keto-bottom-title {
  opacity: 0;
  transform: rotateX(90deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
  animation: titleShow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.keto-card.active .keto-bottom-desc {
  opacity: 0;
  transform: rotateX(90deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
  animation: descShow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

/* 元素显示动画 */
@keyframes imgShow {
  to {
    opacity: 1;
    transform: rotateX(0);
  }
}

@keyframes titleShow {
  to {
    opacity: 1;
    transform: rotateX(0);
  }
}

@keyframes descShow {
  to {
    opacity: 1;
    transform: rotateX(0);
  }
}

/* 移动端适配（避免37开拥挤） */
@media (max-width: 768px) {
  #keto-section {
    padding: 20px;
    height: 120vh;
  }

  /* 移动端脑电点点位置调整 */
  .keto-dot-group {
    top: 80px;
    bottom: 80px;
  }

  .keto-left-dots {
    left: 5px;
  }

  .keto-right-dots {
    right: 5px;
  }

  .keto-header {
    height: 25%;
    flex-direction: column;
    gap: 15px;
    top: 10px;
    /* 移动端调整顶部间距 */
  }

  .keto-header::after {
    left: 20px;
    right: 20px;
    top: calc(100% + 20px);
    /* 移动端调整分割线间距 */
  }

  .keto-split-title {
    margin: 0;
    transform: rotate(-4deg);
  }

  .keto-card {
    top: 10%;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .keto-content {
    top: 21%;
    flex-direction: column;
    /* 移动端改为上下布局 */
  }

  .keto-img-box {
    flex: none;
    height: 200px;
  }

  .keto-text-box {
    flex: none;
    gap: 15px;
  }

  .keto-text-top {
    padding: 15px;
  }

  .keto-text-bottom {
    padding: 15px;
  }
}

/* ===== 箭头容器：置于 keto-section 底部中央 ===== */
.keto-arrows {
  position: absolute;
  bottom: 2.3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6rem;
  font-size: 1.8rem;
  color: #f8f9fa;
  cursor: pointer;
  z-index: 10;
}

/* 悬停微交互 */
.keto-arrows i {
  transition: transform 0.2s;
}

.keto-arrows i:hover {
  transform: scale(1.2);
}



/* 地图区域：保留原功能，修正类名拼写错误------------------------------------ */
.map-section {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

/* 上半区：数据展示区 */
.map-data-display {
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-bottom: 1px solid #eeeeee49;
}

.map-data-label {
  color: #222;
  font-size: clamp(1.4rem, 1.4rem + 1.5vw, 2.4rem);
  text-align: center;
  font-weight: 500;
}

.map-data-number {
  color: #2e044b;
  font-weight: 500;
  font-size: clamp(3rem, 3rem + 1.4vw, 4.4rem);
  min-width: 180px;
  text-align: center;
  margin-top: 40px;
}

/* 下半区：地图容器 */
.map-container {
  height: 60%;
  position: relative;
  margin-top: 60px;
  padding: 0;
}

/* SVG 地图样式 */
#world-map {
  width: 100%;
  height: 100%;
  display: block;
}

.continent {
  fill: #e0e6ed;
  stroke: #8892a0;
  stroke-width: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.continent:hover {
  fill: #5013ba;
  stroke: #fff;
  stroke-width: 2;
}

.continent.active {
  fill: #7406ce1e;
  stroke: #fff;
  stroke-width: 2;
}

/* 媒体端适配：修正类名拼写错误，保留原功能 */
@media (max-width: 1199px) {
  .map-section {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .map-section {
    max-width: 100%;
    aspect-ratio: 4 / 5;
  }

  .map-data-display {
    height: 30%;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .map-data-label {
    margin-right: 0;
    font-size: clamp(1.4rem, 1.4rem + 1.5vw, 2.4rem);
  }

  .map-data-number {
    font-size: clamp(1.4rem, 1.4rem + 1.5vw, 2.4rem);
    min-width: 120px;
  }

  .map-container {
    height: 70%;
    padding: 10px;
  }

  .continent.small-island {
    display: none;
  }
}



/* ========= 文字特效 ========= */
.lavender-text {
  position: relative;
  display: inline-block;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: .1em;
  background: linear-gradient(45deg, #b794f6, #9f7aea, #805ad5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textFlow 8s ease-in-out infinite;
  text-shadow: 0 2px 10px rgba(183, 148, 246, .3);
  z-index: 2;
}

.lavender-text::before {
  /* 发光层 */
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  filter: blur(15px);
  opacity: .7;
  z-index: -1;
  animation: pulse 3s infinite alternate;
}

@keyframes textFlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0% {
    opacity: .5;
    transform: scale(1);
  }

  100% {
    opacity: .8;
    transform: scale(1.05);
  }
}


/* 薰衣草紫卡片基础样式 */
.xunyicaozi-ka {
    background-color: #f5f0ff; /* 淡薰衣草紫背景 */
    border: 2px solid #9f86c0; /* 薰衣草紫边框 */
    border-radius: 12px; /* 圆角卡片 */
    padding: 30px; /* 内部间距 */
    width: 400px; /* 卡片宽度，可按需调整 */
    margin: 20px auto; /* 卡片整体居中 */
    box-shadow: 0 4px 12px rgba(159, 134, 192, 0.3); /* 淡紫阴影增强层次感 */
}

/* 卡片伪元素样式（薰衣草紫主题） */
.xunyicaozi-ka::before {
    content: ""; /* 伪元素必须有content，空值也可 */
    display: block;
    width: 100%;
    height: 6px;
    background-color: #7209b7; /* 深薰衣草紫顶部装饰条 */
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 24px -30px; /* 贴合卡片顶部 */
    color: #f5f0ff; /* 与卡片背景呼应，避免文字冲突 */
}

/* 按钮居中 + 闪烁效果 */
#kaiqi-liuchengtu {
    /* 按钮居中 */
    display: block;
    margin: 0 auto; /* 水平居中 */
    padding: 12px 28px; /* 按钮内边距 */
    /* 薰衣草紫按钮样式 */
    background-color: #9f86c0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* 闪烁动画 */
    animation: shanshuo 1.5s infinite alternate;
}

/* 按钮hover交互效果 */
#kaiqi-liuchengtu:hover {
    background-color: #7209b7; /* 深薰衣草紫hover色 */
}

/* 闪烁动画关键帧 */
@keyframes shanshuo {
    from {
        opacity: 0.8; /* 初始透明度 */
        box-shadow: 0 0 8px rgba(159, 134, 192, 0.5); /* 淡紫阴影 */
    }
    to {
        opacity: 1; /* 高亮透明度 */
        box-shadow: 0 0 16px rgba(114, 9, 183, 0.7); /* 深紫高亮阴影 */
    }
}
