.hotspot-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.8);
  z-index: var(--z-index-popper);

  &-info {
    color: white;
    max-width: 1320px;
    width: calc(100vw - 30vw);

    h3 {
      margin-bottom: 18px;
      font-size: 16px;
      font-weight: bold;
      text-align: center;
    }
    p {
      margin: 0 auto;
      width: 80%;
      font-size: 12px;
    }
  }

  &-container {
    width: 100%;
    height: 80%;

    .swiper {
      width: 100%;
      height: 100%;
    }
    iframe {
      max-width: 1000px;
      width: calc(100% - 120px);
      height: 570px;
      border-radius: 14px;
    }
    video,
    .el-image {
      max-height: 570px;
      border-radius: 14px;
      object-fit: contain;
    }
  }

  &-scrollbar {
    max-height: 19vh;
    overflow: auto;
    width: 70%;
    color: #fff;
    margin: 0 auto;

    &.isTop {
      max-height: 65%;
      height: 65%;
      padding: 50px 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    h3 {
      font-size: 20px;
      font-weight: 600;
    }
    p {
      line-height: 1.5;
      margin-top: 10px;
      font-size: 16px;
      text-indent: 32px;
    }
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    transform: scale(0.8);
    position: relative;
    opacity: 0.5;
  }
  .swiper-slide-active,
  .swiper-slide-duplicate-active {
    transform: scale(1);
    opacity: 1;
    z-index: 999;
  }

  &-nav {
    position: absolute;
    right: 30px;
    bottom: calc(20vh - 20px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    &__item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      color: #fff;
      white-space: nowrap;
      font-size: 14px;
      width: 90px;
      height: 32px;
      line-height: 32px;
      cursor: pointer;
      border-radius: 10px;
      border: 1px solid #fff;

      &.active {
        background: #19bbed;
        border: none;
      }
    }
  }
}

@media only screen and (max-width: 600px) {
  .hotspot-page {
    &-container {
      height: calc(100vh - 90px);

      video,
      .el-image {
        max-height: 80vh;
        width: 90%;
      }
      iframe {
        width: 100%;
        height: calc(100vh - 90px);
      }
    }
    &-nav {
      flex-wrap: wrap;
      right: 10px;
      bottom: 10px;

      &__item {
        width: 70px;
      }
    }
    &-scrollbar {
      padding: 10px;
      width: 100%;
      max-height: calc(100vh - 90px);
    }
  }
}
