/* ========================================
   首页专属样式
   ======================================== */

.section {
  padding: 44px 0
}

.hero {
  position: relative;
  margin-top: calc(-1 * var(--layout-header-h));
}

.hero-bg {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: var(--color-dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-dark-10), var(--color-dark-35));
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(calc(-50% - 35px));
  z-index: 3;
  max-width: min(720px, calc(100% - 180px));
  color: var(--color-white);
  font-weight: 800;
  font-size: clamp(30px, 5.5vw, 72px);
  line-height: 1.20;
  letter-spacing: -.01em;
  white-space: pre-line;
  opacity: 1;
  transition: opacity .25s ease, transform .25s ease;
}

.hero-caption.is-hidden {
  opacity: 0;
  transform: translateY(calc(-50% - 56px));
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: var(--color-dark-28);
  color: var(--color-white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: var(--effect-blur-md);
  backdrop-filter: var(--effect-blur-md);
}

.hero-arrow:hover {
  background: var(--color-dark-35);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(.98);
}

.hero-prev {
  left: 14px;
}

.hero-next {
  right: 14px;
}

/* 产品海报 */
.poster {
  padding: 0;
  margin: 14px 0 0 0;
  background: var(--color-white);
}

.poster:last-of-type {
  margin-bottom: 14px;
}

.poster-card {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--color-dark);
}

.poster-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ========================================
   零点危克故事 / 热门资讯
   ======================================== */
.story {
  padding-bottom: 0;
}

.story-head {
  text-align: center;
  margin-bottom: 16px;
}

.story-head h2 {
  margin: 0;
  font-size: 42px
}

.story-head p {
  margin: 10px 0 0;
  color: var(--color-muted)
}

.hot-banner {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--effect-shadow-lg);
  display: block;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  aspect-ratio: 2.35 / 1;
}

.hot-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--effect-shadow-md);
}

.hot-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hot-banner-mask {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: var(--color-white);
  text-shadow: var(--effect-text-shadow);
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border: 1px solid var(--color-white-40);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 15px;
  box-shadow: var(--effect-shadow-sm);
}

.hot-banner-title {
  margin-top: 10px;
  font-weight: 900;
  font-size: 26px
}

.hot-banner-date {
  margin-top: 6px;
  font-size: 15px;
  opacity: .9
}

.hot-grid {
  margin-top: 16px;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hot-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--effect-shadow-lg);
  background: #fff;
}

.hot-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: var(--color-light-gray);
}

.hot-card-body {
  padding: 12px
}

.hot-card-title {
  font-weight: 900;
  line-height: 1.35
}

.hot-card-meta {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 12px
}