/* 大白小红书 — 电影级 3D 吉祥物、放大页头标志、滚动视差与挥手 */
/* 页头标志：红色圆章内嵌大白头部渲染图 */
.home-page .brand-symbol { width: 58px; height: 58px; flex: 0 0 58px; }
.home-page .logo-link { gap: 14px; }
.home-page .header-inner { min-height: 96px; }

/* 首屏视觉：机器人浮在严选卡与下方内容之上，像贴在前景的 3D 角色 */
.home-page .hero-visual { display: block; min-height: 660px; }
.home-page .visual-ring { top: 50%; right: 6px; transform: translateY(-50%); }
.home-page .visual-ring-two { right: 54px; }
.home-page .visual-vertical { top: 168px; right: 0; z-index: 3; }
.home-page .mascot-stage {
  position: absolute;
  right: -40px;
  bottom: -210px;
  z-index: 4;
  width: min(500px, 76%);
  transform: translate3d(0, var(--mascot-y, 0px), 0);
  pointer-events: none;
}
.home-page .mascot-stage::before {
  position: absolute;
  inset: -7% -9% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .94), rgba(255, 252, 244, .46) 58%, rgba(255, 252, 244, 0) 78%);
  content: "";
}
.home-page .mascot-stage::after {
  position: absolute;
  right: 19%;
  bottom: 3%;
  left: 19%;
  z-index: -1;
  height: 4.6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(78, 98, 104, .40), rgba(84, 104, 108, .16) 58%, rgba(84, 104, 108, 0) 78%);
  filter: blur(5px);
  content: "";
}
.home-page .mascot-float {
  position: relative;
  animation: dbFloat 7.2s ease-in-out infinite;
  transform-origin: 50% 88%;
}
.home-page .mascot-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 88%;
}
/* 前臂+手：以肘部球关节接缝（原图 575,266 / 675×900）为轴独立摆动 */
.home-page .mascot-arm {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 85.19% 29.56%;
  animation: dbArmWave 3.6s ease-in-out infinite;
}
.home-page .collection-panel {
  position: absolute;
  left: 0;
  bottom: 20px;
  z-index: 2;
  width: min(330px, 56%);
  padding: 28px 26px 22px;
}
.home-page .collection-title { font-size: 26px; }
.home-page .hero-category { gap: 13px; }
.home-page .visual-stamp { top: 16px; right: 2px; bottom: auto; z-index: 5; }
@keyframes dbFloat {
  0%, 100% { transform: translateY(0) rotate(-.3deg); }
  50% { transform: translateY(-7px) rotate(.35deg); }
}
/* 大幅度的挥手：-11° 抬起 → +6° 摆回，节奏放慢但每一下都清楚可见 */
@keyframes dbArmWave {
  0% { transform: rotate(-2deg); }
  16% { transform: rotate(-11deg); }
  32% { transform: rotate(6deg); }
  48% { transform: rotate(-8deg); }
  64% { transform: rotate(4deg); }
  80% { transform: rotate(-1deg); }
  100% { transform: rotate(-2deg); }
}
@media (max-width: 1050px) {
  .home-page .hero-visual { min-height: 620px; }
  .home-page .mascot-stage { right: -34px; bottom: -120px; width: min(430px, 78%); }
  .home-page .collection-panel { width: min(292px, 58%); padding: 24px 21px 19px; }
  .home-page .collection-title { font-size: 24px; }
  .home-page .hero-category { min-height: 41px; gap: 10px; }
}
@media (max-width: 760px) {
  .home-page .header-inner { min-height: 78px; }
  .home-page .brand-symbol { width: 46px; height: 46px; flex-basis: 46px; }
  .home-page .hero-visual {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    padding: 4px 0 38px;
  }
  .home-page .mascot-stage {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    width: min(310px, 80%);
    margin: 0 auto -44px;
  }
  .home-page .collection-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(360px, 100%);
  }
  .home-page .visual-ring {
    top: 210px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .home-page .visual-stamp { top: auto; right: 2%; bottom: 28px; }
  .home-page .visual-vertical { display: none; }
}
@media (max-width: 480px) {
  .home-page .mascot-stage { width: min(285px, 84%); margin-bottom: -38px; }
  .home-page .collection-panel { width: min(340px, 94%); padding: 25px 24px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .mascot-float,
  .home-page .mascot-arm { animation: none; }
  .home-page .mascot-stage { transform: none; }
}
