.hero-banner{
  position: relative;
  width: 100%;
  /* 扣除顶部导航后，占满剩余视口 */
  margin-top: var(--header-h, 90px);
  height: calc(100vh - var(--header-h, 90px));
  height: calc(100dvh - var(--header-h, 90px));
  overflow: hidden;
  background: linear-gradient(135deg, #edf3f9 0%, #cae5ff 42%, #eef2f9 100%);
}

.hero-banner__viewport{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-banner__track{
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.45s ease;
}

.hero-banner__track.is-no-transition{
  transition: none;
}

.hero-banner__slide{
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #edf3f9 0%, #cae5ff 42%, #eef2f9 100%);
}

.hero-banner__media{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
}

.hero-banner__media a{
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner__media img,
.hero-banner__slide > img{
  display: block;
  width: 100%;
  height: 100%;
  /* 拉伸铺满上下左右，避免 cover 裁切上下 */
  object-fit: fill;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-banner__actions{
  position: absolute;
  left: clamp(0px, calc(16vw - 150px), 110px);
  top: auto;
  bottom: clamp(64px, 11vh, 112px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  max-width: min(560px, calc(100% - 48px));
  pointer-events: auto;
}

.hero-banner__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 0 30px;
  border-radius: var(--radius-pill, 50px);
  border: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 第一个按钮：与 header「体验中心」.btn.btn--primary 保持一致 */
.hero-banner__btn--primary,
.hero-banner__btn.is-primary{
  background-image: var(--grad-cta, linear-gradient(160deg, #f43a58 10%, #bf3a85 80%));
  background-color: transparent;
  color: #fff;
  border: none;
  box-shadow: none;
}

.hero-banner__btn--primary:hover,
.hero-banner__btn.is-primary:hover{
  background-image: var(--grad-cta-hover, linear-gradient(160deg, #f43a58 10%, #ec193b 80%));
  color: #fff;
  padding: 0 50px;
  box-shadow: 0 0 20px rgba(111, 111, 111, 0.5);
}

/* 第二个按钮：适配亮色轮播底，对齐站点 .btn--ghost */
.hero-banner__btn--ghost,
.hero-banner__btn.is-ghost{
  background: rgba(255, 255, 255, 0.72);
  background-image: none;
  color: var(--accent, #d93751);
  border: 1px solid var(--accent, #d93751);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(15, 52, 91, 0.08);
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  min-height: 44px;
  padding: 0 28px;
}

.hero-banner__btn--ghost:hover,
.hero-banner__btn.is-ghost:hover{
  background: var(--accent, #d93751);
  background-image: none;
  color: #fff;
  border-color: var(--accent, #d93751);
  padding: 0 28px;
  box-shadow: 0 4px 16px rgba(217, 55, 81, 0.28);
}

.hero-banner__arrow{
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #d93751;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-banner__arrow svg{
  display: block;
  width: 20px;
  height: 20px;
}

.hero-banner__arrow:hover{
  background: #fff;
  border-color: rgba(217, 55, 81, 0.35);
}

.hero-banner__arrow--prev{
  left: clamp(12px, 2.5vw, 28px);
}

.hero-banner__arrow--next{
  right: clamp(12px, 2.5vw, 28px);
}

.hero-banner__controls{
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(12px, 3.5vh, 30px);
  z-index: 2;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-banner__pager{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px;
  pointer-events: auto;
}

.hero-banner__pager .pager-dot{
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(15, 52, 91, 0.28);
  cursor: pointer;
  box-shadow: none;
  transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-banner__pager .pager-dot::before{
  content: '';
  position: absolute;
  inset: -10px;
}

.hero-banner__pager .pager-dot.active{
  width: 30px;
  background: #d93751;
  box-shadow: none;
}

@media (max-width: 960px) {
  .hero-banner{
    margin-top: var(--header-h, 60px);
    height: calc(100dvh - var(--header-h, 60px));
    min-height: 0;
  }

  .hero-banner__actions{
    left: 16px;
    right: 16px;
    top: auto;
    bottom: clamp(52px, 10vh, 88px);
    max-width: none;
    gap: 10px;
  }

  .hero-banner__btn{
    min-height: 40px;
    padding: 0 20px;
    font-size: 12px;
  }

  .hero-banner__btn--primary:hover,
  .hero-banner__btn.is-primary:hover{
    padding: 0 28px;
  }

  .hero-banner__btn--ghost,
  .hero-banner__btn.is-ghost{
    min-height: 36px;
    padding: 0 16px;
    font-size: 12px;
  }

  .hero-banner__btn--ghost:hover,
  .hero-banner__btn.is-ghost:hover{
    padding: 0 16px;
  }

  .hero-banner__arrow{
    width: 36px;
    height: 36px;
  }

  .hero-banner__arrow svg{
    width: 16px;
    height: 16px;
  }

  .hero-banner__pager .pager-dot{
    height: 3px;
    border-radius: 50px;
  }

  .hero-banner__pager .pager-dot.active{
    width: 20px;
    height: 3px;
  }
}
