/* Outsider 官网 Hero · 交叉分层海报（与客户端注册页同款视觉） */
.hero .hero-canvas { display: none !important; }

.hero-poster-visual {
  --px: 0px;
  --py: 0px;
  position: absolute;
  z-index: 2;
  top: calc(var(--nav) + 54px);
  right: max(22px, calc((100vw - var(--max)) / 2));
  width: min(770px, 51vw);
  min-height: 620px;
  perspective: 1200px;
}

.hero-poster-glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 170, 255, 0.22), transparent 68%);
  filter: blur(32px);
  pointer-events: none;
  transform: translate(var(--px), var(--py));
}

.hero-poster-orbs span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(143, 212, 255, 0.2) 70%, transparent 100%);
  box-shadow: 0 0 18px rgba(120, 200, 255, 0.55);
  animation: hp-orb 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-poster-orbs span:nth-child(1) { top: 10%; left: 12%; }
.hero-poster-orbs span:nth-child(2) { top: 24%; right: 16%; animation-delay: 0.8s; }
.hero-poster-orbs span:nth-child(3) { bottom: 18%; left: 20%; animation-delay: 1.5s; }
.hero-poster-orbs span:nth-child(4) { top: 8%; right: 36%; width: 10px; height: 10px; animation-delay: 2.1s; }

.hero-poster-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-poster-links path {
  fill: none;
  stroke: rgba(143, 212, 255, 0.22);
  stroke-width: 1.2;
  stroke-dasharray: 8 10;
  animation: hp-dash 12s linear infinite;
}

.hero-layer-card {
  --px: 0px;
  --py: 0px;
  position: absolute;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-layer-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), 0 0 36px rgba(120, 180, 255, 0.12);
  z-index: 6 !important;
}

.hero-layer-card header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-layer-card header em { color: #f0c14b; font-style: normal; }
.hero-layer-card footer { margin-top: 12px; color: rgba(255, 255, 255, 0.38); font-size: 11px; }

.hero-platform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-platform-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
}

.hero-platform-row img { border-radius: 4px; }

.layer-platform {
  top: 6%; left: 0; width: min(78%, 300px); padding: 16px 18px;
  transform: rotate(-10deg) translate(var(--px), var(--py));
  z-index: 1; animation: hp-float-a 7s ease-in-out infinite;
}

.layer-chat {
  top: 22%; right: 0; width: min(88%, 340px); padding: 18px;
  transform: rotate(7deg) translate(var(--px), var(--py));
  z-index: 3; overflow: hidden;
  background: linear-gradient(160deg, rgba(16, 22, 36, 0.94), rgba(8, 10, 16, 0.98));
  animation: hp-float-b 6.5s ease-in-out infinite;
}

.layer-stat {
  bottom: 16%; left: 8%; width: 132px; padding: 16px 14px; text-align: center;
  transform: rotate(-14deg) translate(var(--px), var(--py));
  z-index: 4; animation: hp-float-c 5.5s ease-in-out infinite;
}

.layer-stat strong { display: block; font-size: 34px; color: #8fd4ff; }
.layer-stat span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; }
.layer-stat small { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.34); font-size: 10px; }

.layer-badge {
  top: 2%; right: 4%; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  transform: rotate(16deg) translate(var(--px), var(--py));
  z-index: 5; border-color: rgba(240, 180, 41, 0.35);
  background: linear-gradient(135deg, rgba(255, 220, 120, 0.18), rgba(240, 180, 41, 0.06));
  animation: hp-float-d 4.8s ease-in-out infinite;
}

.layer-badge span {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(180deg, #ffe7a3, #d79a12); color: #2a1800; font-size: 13px; font-weight: 900;
}

.layer-badge b { color: #fff2c2; font-size: 12px; font-weight: 800; white-space: nowrap; }

.hero-chat-bubble { max-width: 92%; margin-bottom: 10px; padding: 12px 14px; border-radius: 14px; }
.hero-chat-bubble small { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, 0.42); font-size: 11px; font-weight: 700; }
.hero-chat-bubble p { margin: 0; font-size: 14px; line-height: 1.55; }
.hero-chat-bubble.incoming { background: rgba(255, 255, 255, 0.06); color: #eef4ff; }
.hero-chat-bubble.outgoing {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(34, 120, 78, 0.35), rgba(18, 72, 48, 0.5));
  border: 1px solid rgba(120, 220, 160, 0.22); color: #e8fff0;
}

.hero-chat-translate {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 4px 0 12px; color: #f0c14b; font-size: 12px; font-weight: 700;
  animation: hp-pulse 2.4s ease-in-out infinite;
}

.hero-chat-translate i {
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(240, 180, 41, 0.14); border: 1px solid rgba(240, 180, 41, 0.35); font-style: normal;
}

@keyframes hp-orb { 0%, 100% { transform: translate(0,0); opacity: .45; } 50% { transform: translate(10px,-14px); opacity: .9; } }
@keyframes hp-dash { to { stroke-dashoffset: -120; } }
@keyframes hp-pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes hp-float-a { 0%, 100% { transform: rotate(-10deg) translate(var(--px), var(--py)); } 50% { transform: rotate(-8deg) translate(var(--px), calc(var(--py) - 10px)); } }
@keyframes hp-float-b { 0%, 100% { transform: rotate(7deg) translate(var(--px), var(--py)); } 50% { transform: rotate(9deg) translate(var(--px), calc(var(--py) - 12px)); } }
@keyframes hp-float-c { 0%, 100% { transform: rotate(-14deg) translate(var(--px), var(--py)) scale(1); } 50% { transform: rotate(-12deg) translate(var(--px), calc(var(--py) + 8px)) scale(1.03); } }
@keyframes hp-float-d { 0%, 100% { transform: rotate(16deg) translate(var(--px), var(--py)); } 50% { transform: rotate(14deg) translate(var(--px), calc(var(--py) - 6px)); } }

@media (max-width: 1180px) {
  .hero-poster-visual { width: 43vw; min-height: 540px; right: 42px; }
  .layer-stat, .layer-badge { display: none; }
}

.hero-poster-live {
  position: absolute;
  z-index: 6;
  left: 18px;
  bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(6, 10, 16, 0.72);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  backdrop-filter: blur(12px);
}

.hero-poster-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7be87e;
  box-shadow: 0 0 12px rgba(123, 232, 126, 0.8);
}

.hero-poster-live em {
  font-style: normal;
  color: rgba(240, 196, 120, 0.9);
}

@media (max-width: 980px) {
  .hero-poster-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    min-height: 420px;
    max-width: 520px;
    margin: 48px auto 0;
  }
}
