/* ===== 首屏 ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  animation: hero-zoom 9s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

/* 顶底渐变 + 暗角 */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, 0.55) 0%, rgba(20, 14, 8, 0) 26%),
    linear-gradient(180deg, rgba(20, 14, 8, 0) 30%, rgba(20, 14, 8, 0.5) 50%, rgba(20, 14, 8, 0.85) 68%, var(--ink) 96%),
    radial-gradient(120% 80% at 50% 30%, rgba(20, 14, 8, 0) 40%, rgba(20, 14, 8, 0.5) 100%);
}

/* 书法「财」水印 */
.hero__ink {
  position: absolute;
  right: -4%;
  top: 16%;
  font-family: var(--brush);
  font-size: clamp(180px, 52vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-dim);
  opacity: 0;
  animation: ink-in 1.6s ease 0.9s forwards;
  pointer-events: none;
}
@keyframes ink-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 0.8; transform: none; }
}

/* 品牌行 */
.hero__brand {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  z-index: 2;
  animation: fade-up 0.9s ease 0.1s backwards;
}
.hero__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-family: var(--brush);
  font-size: 24px;
  color: var(--gold);
  background: rgba(20, 14, 8, 0.55);
  backdrop-filter: blur(4px);
}
.hero__brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* 主内容 */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px calc(64px + env(safe-area-inset-bottom));
  max-width: 640px;
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--gold-bright);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 18px rgba(0, 0, 0, 0.7);
  margin-bottom: 14px;
  animation: fade-up 0.9s ease 0.25s backwards;
}
.hero__title {
  font-size: clamp(34px, 9.4vw, 64px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  margin-bottom: 16px;
  animation: fade-up 0.9s ease 0.4s backwards;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-bright);
}
.hero__sub {
  font-size: clamp(17px, 4.6vw, 22px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: 28px;
  animation: fade-up 0.9s ease 0.55s backwards;
}
.hero__cta {
  animation: fade-up 0.9s ease 0.7s backwards;
}
.hero__hint {
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--paper-dim);
  animation: fade-up 0.9s ease 0.85s backwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* 下滑提示 */
.hero__scroll {
  position: absolute;
  right: 26px;
  bottom: 28px;
  z-index: 2;
  width: 1px;
  height: 56px;
  background: var(--gold-line);
  overflow: hidden;
}
.hero__scroll span {
  display: block;
  width: 100%;
  height: 18px;
  background: var(--gold);
  animation: scroll-drip 1.8s ease-in-out infinite;
}
@keyframes scroll-drip {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(60px); }
}

/* ===== 桌面端：左文右图 ===== */
@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .hero__bg {
    left: 44%;
    right: 0;
    inset-block: 0;
  }
  .hero__bg img {
    object-position: center 20%;
  }
  .hero__veil {
    background:
      linear-gradient(90deg, var(--ink) 40%, rgba(20, 14, 8, 0.45) 62%, rgba(20, 14, 8, 0.1) 100%),
      linear-gradient(180deg, rgba(20, 14, 8, 0.35) 0%, rgba(20, 14, 8, 0) 30%, rgba(20, 14, 8, 0.4) 100%);
  }
  .hero__ink {
    right: 40%;
    top: 8%;
    font-size: 300px;
  }
  .hero__brand {
    padding: 32px 56px;
  }
  .hero__content {
    padding: 0 56px 0;
    max-width: 720px;
  }
  .hero__title {
    font-size: 64px;
  }

  @keyframes hero-zoom {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img,
  .hero__ink,
  .hero__brand,
  .hero__eyebrow,
  .hero__title,
  .hero__sub,
  .hero__cta,
  .hero__hint {
    animation: none;
    opacity: 1;
  }
  .hero__scroll span { animation: none; }
}
