/* ==========================================================
 * 奶龙引导页 · 图片背景 + 柔和动效
 * ========================================================== */

.nl-bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;

  /* 背景图 */
  background-image: url("/bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* 深色遮罩：保证白色文字可读 */
.nl-bg:before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(6,7,10,.62) 0%, rgba(6,7,10,.40) 40%, rgba(6,7,10,.72) 100%);
}

/* 底部柔光 */
.nl-bg:after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:46vh;
  background: linear-gradient(0deg, rgba(255,179,0,.16), rgba(255,179,0,0));
}

/* 光斑：只保留两个很淡的，做呼吸氛围（不抢图） */
.nl-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.nl-blob.b1{
  width: 58vw; height: 58vw;
  max-width: 400px; max-height: 400px;
  left: -16vw; top: -6vh;
  background: radial-gradient(circle, rgba(255,201,60,.55) 0%, rgba(255,201,60,0) 70%);
  animation: nlPulse1 16s ease-in-out infinite;
}
.nl-blob.b2{
  width: 48vw; height: 48vw;
  max-width: 340px; max-height: 340px;
  right: -14vw; bottom: 4vh;
  background: radial-gradient(circle, rgba(255,143,0,.45) 0%, rgba(255,143,0,0) 72%);
  animation: nlPulse2 21s ease-in-out infinite;
}

/* 3、4 号光斑和星点关掉 */
.nl-blob.b3,
.nl-blob.b4,
.nl-spark{ display: none !important; }

@keyframes nlPulse1{
  0%,100%{ transform: translate3d(0,0,0) scale(1); opacity:.22 }
  50%    { transform: translate3d(3vw,4vh,0) scale(1.10); opacity:.36 }
}
@keyframes nlPulse2{
  0%,100%{ transform: translate3d(0,0,0) scale(1); opacity:.18 }
  50%    { transform: translate3d(-4vw,-3vh,0) scale(1.12); opacity:.32 }
}

/* 尊重系统"减弱动效" */
@media (prefers-reduced-motion: reduce){
  .nl-blob{ animation: none !important }
}
