/* ============ 暮色天空 hero 叠层 ============ */
.hero-bg::after{
  background:var(--twilight);
  opacity:0.9;
}
/* 用户英雄图以柔和方式透出 */
.hero-bg{filter:saturate(1.05) brightness(0.92);}

/* 星空粒子画布（铺满 hero，位于背景之上、浮图之下） */
.hero-stars{position:absolute;inset:0;z-index:1;pointer-events:none;}

/* ============ 鼠标星尘 ============ */
.cursor-stardust{position:fixed;inset:0;z-index:9999;pointer-events:none;}

/* ============ 侧边滚动彗星进度 ============ */
.scroll-comet{
  position:fixed;right:22px;top:0;z-index:90;width:8px;height:8px;
  pointer-events:none;opacity:0;transition:opacity .4s var(--ease-01);
}
.scroll-comet .head{
  position:absolute;left:0;top:0;width:8px;height:8px;border-radius:50%;
  background:#fff;box-shadow:0 0 10px 2px var(--star),0 0 22px var(--cool);
}
.scroll-comet .tail{
  position:absolute;left:50%;bottom:100%;transform:translateX(-50%);
  width:2px;height:46px;border-radius:2px;
  background:linear-gradient(to top,var(--star),transparent);
}

/* ============ 大号区块编号水印 ============ */
body{counter-reset:secnum;}
.section,.gallery-section,.reveal-section{counter-increment:secnum;}
.section::before,.gallery-section::before,.reveal-section::before{
  content:counter(secnum,decimal-leading-zero);
  position:absolute;top:18px;right:40px;z-index:0;
  font-family:'Noto Serif SC',serif;font-size:170px;font-weight:700;line-height:1;
  color:var(--cool);opacity:0.06;pointer-events:none;user-select:none;
}
/* 保证真实内容浮于水印之上 */
.section > *,.gallery-section > *,.reveal-section > *{position:relative;z-index:1;}
