   /*
      通用变量替换：
      $primary-color -> #ecad29
      $text-color    -> #FFFFFFDD
    */

    /* 全局样式、字体、背景色等 */
    body {
      margin: 0;
      background-color: #1a1a1a;
      color: #FFFFFFDD;
      position: relative;
      overflow: hidden;
      font-family: "Inter", sans-serif;
    }

    /* 指示条（顶部黄色线） */
    .indicator {
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      height: 5px;
      z-index: 60;
      background-color: #ecad29;
    }

    /* 导航栏 */
    nav {
      position: fixed;
      left: 0;
      top: 0;
      right: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 36px;
      font-weight: 500;
    }
    /* 导航栏里的图标大小统一 */
    nav svg {
      width: 20px;
      height: 20px;
    }
    nav .svg-container {
      width: 20px;
      height: 20px;
    }
    /* 导航栏里的左右两部分 */
    nav > div {
      display: inline-flex;
      align-items: center;
      text-transform: uppercase;
      font-size: 14px;
    }
    /* 左侧LOGO和文字 */
    nav > div:first-child {
      gap: 10px;
    }
    /* 右侧菜单项 */
    nav > div:last-child {
      gap: 24px;
    }
    /* 激活菜单项下方的下划线 */
    nav > div:last-child > .active {
      position: relative;
    }
    nav > div:last-child > .active:after {
      bottom: -8px;
      left: 0;
      right: 0;
      position: absolute;
      content: "";
      height: 3px;
      border-radius: 99px;
      background-color: #ecad29;
    }

    /* 主图卡片公共样式 */
    .card {
      position: absolute;
      left: 0;
      top: 0;
      background-position: center;
      background-size: cover;
      box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
    }

    /* 卡片内部描述区域 */
    .card-content {
      position: absolute;
      left: 0;
      top: 0;
      color: #FFFFFFDD;
      padding-left: 16px;
    }

    .content-place {
      margin-top: 6px;
      font-size: 13px;
      font-weight: 500;
    }

    .content-title-1,
    .content-title-2 {
      font-weight: 600;
      font-size: 20px;
      font-family: "Oswald", sans-serif;
    }

    /* 左侧那条小竖杠 */
    .content-start {
      width: 30px;
      height: 5px;
      border-radius: 99px;
      background-color: #FFFFFFDD;
    }

    /* 详情栏（可理解为右下角大标题和介绍文字的区域） */
    .details {
      z-index: 22;
      position: absolute;
      top: 240px;
      left: 60px;
    }

    /* 地点名称 */
    .details .place-box {
      height: 46px;
      overflow: hidden;
    }
    .details .place-box .text {
      padding-top: 16px;
      font-size: 20px;
      position: relative; /* 为了让 :before 能定位 */
    }
    .details .place-box .text:before {
      top: 0;
      left: 0;
      position: absolute;
      content: "";
      width: 30px;
      height: 4px;
      border-radius: 99px;
      background-color: white;
    }

    /* 地点标题（两行） */
    .details .title-1,
    .details .title-2 {
      font-weight: 600;
      font-size: 72px;
      font-family: "Oswald", sans-serif;
    }
    .details .title-box-1,
    .details .title-box-2 {
      margin-top: 2px;
      height: 100px;
      overflow: hidden;
    }

    /* 介绍文字 */
    .details > .desc {
      margin-top: 16px;
      width: 500px;
    }

    /* CTA按钮区（收藏/查看详情） */
    .details > .cta {
      width: 500px;
      margin-top: 24px;
      display: flex;
      align-items: center;
    }
    .details > .cta > .bookmark {
      border: none;
      background-color: #ecad29;
      width: 36px;
      height: 36px;
      border-radius: 99px;
      color: white;
      display: grid;
      place-items: center;
    }
    .details > .cta > .bookmark svg {
      width: 20px;
      height: 20px;
    }
    .details > .cta > .discover {
      border: 1px solid #ffffff;
      background-color: transparent;
      height: 36px;
      border-radius: 99px;
      color: #ffffff;
      padding: 4px 24px;
      font-size: 12px;
      margin-left: 16px;
      text-transform: uppercase;
    }

    /* 分页、箭头和进度条容器 */
    .pagination {
      position: absolute;
      left: 0px;
      top: 0px;
      display: inline-flex;
    }
    /* 左右翻页的箭头 */
    .pagination > .arrow {
      z-index: 60;
      width: 50px;
      height: 50px;
      border-radius: 999px;
      border: 2px solid #ffffff55;
      display: grid;
      place-items: center;
    }
    .pagination > .arrow:nth-child(2) {
      margin-left: 20px;
    }
    .pagination > .arrow svg {
      width: 24px;
      height: 24px;
      stroke-width: 2;
      color: #ffffff99;
    }

    /* 进度条 */
    .pagination .progress-sub-container {
      margin-left: 24px;
      z-index: 60;
      width: 500px;
      height: 50px;
      display: flex;
      align-items: center;
    }
    .pagination .progress-sub-background {
      width: 500px;
      height: 3px;
      background-color: #ffffff33;
    }
    .pagination .progress-sub-foreground {
      height: 3px;
      background-color: #ecad29;
    }

    /* 滑动页码 */
    .pagination .slide-numbers {
      width: 50px;
      height: 50px;
      overflow: hidden;
      z-index: 60;
      position: relative;
    }
    .pagination .slide-numbers .item {
      width: 50px;
      height: 50px;
      position: absolute;
      color: white;
      top: 0;
      left: 0;
      display: grid;
      place-items: center;
      font-size: 32px;
      font-weight: bold;
    }

    /* 进入页面时的覆盖层（动画后移开） */
    .cover {
      position: absolute;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background-color: #fff;
      z-index: 100;
    }









    #loading-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: gray; /* 背景色与加载动画保持一致 */
  z-index: 9999;
}

#main-content {
  display: none; /* 加载完成后才显示主页面 */
}
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

body {
  background-color: gray;
  overflow: hidden;
}

h1 {
  position: absolute;
  font-family: 'Open Sans', serif;
  font-weight: 600;
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  left: 50%;
  top: 58%;
  margin-left: -220px;
}

.body {
  position: absolute;
  top: 50%;
  margin-left: -50px;
  left: 50%;
  animation: speeder .4s linear infinite;

  > span {
    height: 5px;
    width: 35px;
    background: #000;
    position: absolute;
    top: -19px;
    left: 60px;
    border-radius: 2px 10px 1px 0;
  }
}

.base {
  span {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-right: 100px solid #000;
    border-bottom: 6px solid transparent;

    &:before {
      content: "";
      height: 22px;
      width: 22px;
      border-radius: 50%;
      background: #000;
      position: absolute;
      right: -110px;
      top: -16px;
    }

    &:after {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      border-top: 0 solid transparent;
      border-right: 55px solid #000;
      border-bottom: 16px solid transparent;
      top: -16px;
      right: -98px;
    }
  }
}

.face {
  position: absolute;
  height: 12px;
  width: 20px;
  background: #000;
  border-radius: 20px 20px 0 0;
  transform: rotate(-40deg);
  right: -125px;
  top: -15px;

  &:after {
    content: "";
    height: 12px;
    width: 12px;
    background: #000;
    right: 4px;
    top: 7px;
    position: absolute;
    transform: rotate(40deg);
    transform-origin: 50% 50%;
    border-radius: 0 0 0 2px;
  }
}

.body > span > span:nth-child(1),
.body > span > span:nth-child(2),
.body > span > span:nth-child(3),
.body > span > span:nth-child(4) {
  width: 30px;
  height: 1px;
  background: #000;
  position: absolute;
  animation: fazer1 .2s linear infinite;
}

.body > span > span:nth-child(2) {
  top: 3px;
  animation: fazer2 .4s linear infinite;
}

.body > span > span:nth-child(3) {
  top: 1px;
  animation: fazer3 .4s linear infinite;
  animation-delay: -1s;
}

.body > span > span:nth-child(4) {
  top: 4px;
  animation: fazer4 1s linear infinite;
  animation-delay: -1s;
}

@keyframes fazer1 {
  0% {
    left: 0;
  }
  100% {
    left: -80px;
    opacity: 0;
  }
}

@keyframes fazer2 {
  0% {
    left: 0;
  }
  100% {
    left: -100px;
    opacity: 0;
  }
}

@keyframes fazer3 {
  0% {
    left: 0;
  }
  100% {
    left: -50px;
    opacity: 0;
  }
}

@keyframes fazer4 {
  0% {
    left: 0;
  }
  100% {
    left: -150px;
    opacity: 0;
  }
}

@keyframes speeder {
  0% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -3px) rotate(-1deg);
  }
  20% {
    transform: translate(-2px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 3px) rotate(-1deg);
  }
  60% {
    transform: translate(-1px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-2px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.longfazers {
  position: absolute;
  width: 100%;
  height: 100%;

  span {
    position: absolute;
    height: 2px;
    width: 20%;
    background: #000;

    &:nth-child(1) {
      top: 20%;
      animation: lf .6s linear infinite;
      animation-delay: -5s;
    }

    &:nth-child(2) {
      top: 40%;
      animation: lf2 .8s linear infinite;
      animation-delay: -1s;
    }

    &:nth-child(3) {
      top: 60%;
      animation: lf3 .6s linear infinite;
    }

    &:nth-child(4) {
      top: 80%;
      animation: lf4 .5s linear infinite;
      animation-delay: -3s;
    }
  }
}

@keyframes lf {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}
@keyframes lf2 {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}
@keyframes lf3 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}
@keyframes lf4 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}



/* 欢迎页面样式 */
#hero-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 9998;
  background-color: #000; /* 背景颜色防止加载图片时显示空白 */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
}

.hero-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
}

.hero-content p {
  font-size: 20px;
  margin: 10px 0;
}

.scroll-indicator img {
  width: 50px;
  height: auto;
  margin-top: 20px;
  cursor: pointer;
  animation: bounce 2s infinite;
}

/* 滚动指示器的动画 */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* 导航栏固定到顶部 */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999; /* 确保导航栏始终在最顶层 */
  background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  backdrop-filter: blur(5px); /* 添加模糊效果 */
}
