/* 航天云 · 3 秒 3D 二次元开场 */
body.hk-intro-lock{overflow:hidden !important;height:100vh;}

#hkIntro{
  position:fixed;inset:0;z-index:999999;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:#030817;color:#fff;isolation:isolate;
  opacity:1;transform:scale(1);
  transition:opacity .62s cubic-bezier(.4,0,.2,1),transform .62s cubic-bezier(.4,0,.2,1);
}
#hkIntro.is-out{opacity:0;transform:scale(1.055);pointer-events:none;}
#hkIntro .hk-intro-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;
  z-index:1;transform:scale(1.028);filter:saturate(1.16) contrast(1.06) brightness(.96);
}
#hkIntro .hk-intro-fallback{
  position:absolute;inset:0;z-index:0;
  background:url('../intro/huatianyun-intro.jpg') center/cover no-repeat;
}
#hkIntro .hk-intro-shade{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    radial-gradient(circle at 50% 46%,transparent 0 23%,rgba(3,9,26,.22) 54%,rgba(2,7,22,.78) 100%),
    linear-gradient(180deg,rgba(2,8,24,.34),transparent 26% 68%,rgba(2,7,21,.78));
}
#hkIntro .hk-intro-aurora{
  position:absolute;inset:-20%;z-index:1;pointer-events:none;filter:blur(54px);opacity:.5;
  background:
    radial-gradient(circle at 18% 22%,rgba(37,211,255,.35),transparent 31%),
    radial-gradient(circle at 78% 18%,rgba(154,92,255,.38),transparent 33%),
    radial-gradient(circle at 54% 85%,rgba(38,118,255,.28),transparent 32%);
  animation:hkAurora 9s ease-in-out infinite alternate;
}
@keyframes hkAurora{
  0%{transform:translate3d(-2%,2%,0) scale(1);}
  100%{transform:translate3d(2%,-2%,0) scale(1.12);}
}
#hkIntro .hk-intro-grid{
  position:absolute;left:-30%;right:-30%;bottom:-18%;height:56%;z-index:1;pointer-events:none;
  background-image:
    linear-gradient(rgba(70,210,255,.23) 1px,transparent 1px),
    linear-gradient(90deg,rgba(70,210,255,.23) 1px,transparent 1px);
  background-size:58px 58px;
  transform:perspective(380px) rotateX(63deg);
  transform-origin:50% 100%;
  mask-image:linear-gradient(180deg,transparent,rgba(0,0,0,.65) 30%,rgba(0,0,0,.95));
  -webkit-mask-image:linear-gradient(180deg,transparent,rgba(0,0,0,.65) 30%,rgba(0,0,0,.95));
  opacity:.7;
  animation:hkGrid 3.3s linear infinite;
}
@keyframes hkGrid{to{background-position:0 58px,58px 0;}}
#hkIntro .hk-intro-stars{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;}
#hkIntro .hk-star{
  position:absolute;width:2px;height:2px;border-radius:50%;background:#dff8ff;
  box-shadow:0 0 7px rgba(128,227,255,.9),0 0 14px rgba(110,170,255,.4);
  animation:hkTwinkle 2.2s ease-in-out infinite;
}
#hkIntro .hk-star:nth-child(1){left:6%;top:18%;animation-delay:.2s}
#hkIntro .hk-star:nth-child(2){left:13%;top:64%;animation-delay:1.1s}
#hkIntro .hk-star:nth-child(3){left:21%;top:31%;animation-delay:.6s;width:3px;height:3px}
#hkIntro .hk-star:nth-child(4){left:29%;top:78%;animation-delay:1.5s}
#hkIntro .hk-star:nth-child(5){left:34%;top:12%;animation-delay:.9s}
#hkIntro .hk-star:nth-child(6){left:43%;top:58%;animation-delay:.3s}
#hkIntro .hk-star:nth-child(7){left:49%;top:22%;animation-delay:1.8s;width:3px;height:3px}
#hkIntro .hk-star:nth-child(8){left:56%;top:72%;animation-delay:.7s}
#hkIntro .hk-star:nth-child(9){left:63%;top:15%;animation-delay:1.3s}
#hkIntro .hk-star:nth-child(10){left:69%;top:49%;animation-delay:.4s}
#hkIntro .hk-star:nth-child(11){left:76%;top:77%;animation-delay:1.6s}
#hkIntro .hk-star:nth-child(12){left:84%;top:27%;animation-delay:.8s;width:3px;height:3px}
#hkIntro .hk-star:nth-child(13){left:91%;top:61%;animation-delay:1.9s}
#hkIntro .hk-star:nth-child(14){left:96%;top:14%;animation-delay:.5s}
#hkIntro .hk-star:nth-child(15){left:8%;top:88%;animation-delay:1.2s}
#hkIntro .hk-star:nth-child(16){left:39%;top:91%;animation-delay:.1s}
#hkIntro .hk-star:nth-child(17){left:58%;top:6%;animation-delay:1.4s}
#hkIntro .hk-star:nth-child(18){left:88%;top:86%;animation-delay:.6s}
@keyframes hkTwinkle{0%,100%{opacity:.35;transform:scale(.7)}50%{opacity:1;transform:scale(1.35)}}
#hkIntro .hk-shoot{
  position:absolute;width:170px;height:2px;z-index:2;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(190,244,255,.9),#fff);
  filter:drop-shadow(0 0 8px rgba(95,210,255,.8));
  transform:rotate(-24deg);opacity:0;
  animation:hkShoot 3.8s ease-in infinite;
}
#hkIntro .hk-shoot.one{left:-12%;top:18%;animation-delay:.6s;}
#hkIntro .hk-shoot.two{left:36%;top:7%;animation-delay:2.2s;animation-duration:4.6s;}
@keyframes hkShoot{
  0%{opacity:0;transform:translate3d(0,0,0) rotate(-24deg) scaleX(.3);}
  12%{opacity:.9;}
  40%{opacity:0;transform:translate3d(62vw,28vh,0) rotate(-24deg) scaleX(1);}
  100%{opacity:0;}
}

#hkIntro .hk-intro-inner{
  position:relative;z-index:5;width:100%;max-width:980px;padding:0 24px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  transform-style:preserve-3d;
}
#hkIntro .hk-intro-badge{
  position:relative;width:92px;height:92px;margin-bottom:22px;
  display:flex;align-items:center;justify-content:center;
  transform-style:preserve-3d;animation:hkFloat 4.2s ease-in-out infinite;
}
#hkIntro .hk-intro-badge::before,#hkIntro .hk-intro-badge::after{
  content:"";position:absolute;inset:0;border-radius:50%;
  border:1px solid rgba(115,225,255,.55);
  box-shadow:0 0 26px rgba(58,174,255,.28),inset 0 0 22px rgba(100,210,255,.16);
  transform:rotateX(68deg) rotateY(12deg);
}
#hkIntro .hk-intro-badge::after{inset:-14px;border-color:rgba(149,113,255,.4);transform:rotateX(64deg) rotateY(-18deg);animation:hkRing 6s linear infinite;}
@keyframes hkRing{to{transform:rotateX(64deg) rotateY(342deg);}}
@keyframes hkFloat{0%,100%{transform:translateY(0) rotateZ(0)}50%{transform:translateY(-9px) rotateZ(2deg)}}
#hkIntro .hk-intro-badge img{
  position:relative;z-index:2;width:58px;height:58px;object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(83,211,255,.8)) drop-shadow(0 6px 10px rgba(0,15,50,.65));
  transform:translateZ(18px);
}
#hkIntro .hk-intro-kicker{
  display:inline-block;padding:5px 13px;border-radius:999px;
  font-size:10.5px;letter-spacing:.34em;color:rgba(204,240,255,.9);
  margin-bottom:11px;text-transform:uppercase;
  background:rgba(4,16,44,.32);border:1px solid rgba(139,224,255,.18);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  text-shadow:0 1px 2px rgba(0,10,35,.95),0 0 16px rgba(0,10,35,.85),0 0 12px rgba(49,174,255,.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
#hkIntro .hk-intro-title{
  position:relative;margin:0;line-height:1.02;font-weight:900;
  font-size:clamp(66px,10.8vw,166px);letter-spacing:.08em;
  color:#f7fdff;
  text-shadow:
    0 1px 0 #c9f2ff,
    0 3px 0 #83dcff,
    0 6px 0 #3aa7ea,
    0 10px 0 rgba(26,95,184,.65),
    0 16px 34px rgba(0,9,36,.7),
    0 0 36px rgba(57,195,255,.5);
  transform:perspective(700px) rotateX(7deg);
  animation:hkTitleIn .75s cubic-bezier(.2,.8,.2,1) both;
}
#hkIntro .hk-intro-title span{
  color:#7feaff;
  text-shadow:0 1px 0 #d8fbff,0 3px 0 #73d8ff,0 6px 0 #259cdf,0 10px 0 rgba(23,84,173,.7),0 16px 30px rgba(0,9,36,.65),0 0 42px rgba(62,221,255,.7);
}
@keyframes hkTitleIn{
  0%{opacity:0;transform:perspective(700px) rotateX(18deg) translateY(22px) scale(.9);filter:blur(5px);}
  100%{opacity:1;transform:perspective(700px) rotateX(7deg) translateY(0) scale(1);filter:blur(0);}
}
#hkIntro .hk-intro-sub{
  display:inline-block;margin:15px 0 0;padding:7px 16px;border-radius:999px;
  font-size:clamp(12px,1.5vw,16px);letter-spacing:.18em;font-weight:600;
  color:rgba(232,249,255,.98);text-shadow:0 1px 2px rgba(0,8,30,.98),0 2px 12px rgba(0,8,30,.8);
  background:linear-gradient(180deg,rgba(7,22,58,.52),rgba(5,17,46,.4));
  border:1px solid rgba(141,225,255,.22);
  box-shadow:0 3px 0 rgba(2,11,34,.32),inset 0 1px 0 rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
#hkIntro .hk-intro-sub b{color:#8eeaff;font-weight:800;}
#hkIntro .hk-intro-line{
  width:min(430px,74vw);height:1px;margin:23px 0 0;position:relative;
  background:linear-gradient(90deg,transparent,rgba(91,215,255,.75),rgba(154,110,255,.75),transparent);
  box-shadow:0 0 14px rgba(64,191,255,.4);
}
#hkIntro .hk-intro-line::before,#hkIntro .hk-intro-line::after{
  content:"";position:absolute;top:-3px;width:7px;height:7px;border-radius:50%;
  background:#8aeaff;box-shadow:0 0 12px rgba(83,220,255,.9);
}
#hkIntro .hk-intro-line::before{left:24%;}
#hkIntro .hk-intro-line::after{right:24%;background:#b39aff;box-shadow:0 0 12px rgba(152,113,255,.8);}
#hkIntro .hk-intro-tags{
  display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:19px;
}
#hkIntro .hk-intro-tags span{
  padding:6px 12px;border:1px solid rgba(136,222,255,.24);border-radius:999px;
  background:rgba(12,35,79,.44);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  font-size:10.5px;letter-spacing:.14em;color:rgba(220,243,255,.82);
  box-shadow:0 2px 0 rgba(0,9,32,.32),inset 0 1px 0 rgba(255,255,255,.12);
}
#hkIntro .hk-intro-load{
  position:absolute;left:50%;bottom:max(30px,6vh);z-index:6;transform:translateX(-50%);
  width:min(430px,78vw);text-align:center;
}
#hkIntro .hk-intro-load em{
  display:block;font-style:normal;font-size:10.5px;letter-spacing:.24em;
  color:rgba(196,230,255,.66);margin-bottom:9px;
}
#hkIntro .hk-intro-charge{
  height:3px;border-radius:3px;background:rgba(118,189,255,.16);overflow:hidden;
  box-shadow:inset 0 1px 2px rgba(0,7,24,.5);
}
#hkIntro .hk-intro-charge i{
  display:block;height:100%;width:0;border-radius:3px;
  background:linear-gradient(90deg,#32c8ff,#7c75ff,#eb9aff);
  box-shadow:0 0 12px rgba(76,211,255,.8);
  animation:hkCharge 3s linear forwards;
}
@keyframes hkCharge{to{width:100%;}}
#hkIntro .hk-intro-pct{
  position:absolute;right:0;bottom:14px;font-size:10px;color:rgba(169,222,255,.72);
  font-variant-numeric:tabular-nums;letter-spacing:.08em;
}

@media (max-width:820px){
  #hkIntro .hk-intro-video{object-position:64% 50%;}
  #hkIntro .hk-intro-inner{padding:0 18px;transform:translateY(-2vh);}
  #hkIntro .hk-intro-badge{width:74px;height:74px;margin-bottom:17px;}
  #hkIntro .hk-intro-badge img{width:46px;height:46px;}
  #hkIntro .hk-intro-title{font-size:clamp(58px,18vw,92px);letter-spacing:.04em;}
  #hkIntro .hk-intro-kicker{font-size:9px;letter-spacing:.28em;}
  #hkIntro .hk-intro-sub{font-size:11px;letter-spacing:.12em;margin-top:12px;line-height:1.8;}
  #hkIntro .hk-intro-line{width:66vw;margin-top:18px;}
  #hkIntro .hk-intro-tags{gap:6px;margin-top:15px;}
  #hkIntro .hk-intro-tags span{font-size:9.5px;padding:5px 9px;}
  #hkIntro .hk-intro-load{bottom:max(24px,4vh);width:74vw;}
}
@media (prefers-reduced-motion:reduce){
  #hkIntro .hk-intro-aurora,#hkIntro .hk-intro-grid,#hkIntro .hk-star,#hkIntro .hk-shoot,#hkIntro .hk-intro-badge,#hkIntro .hk-intro-badge::after{animation:none !important;}
}
