:root {
  --bg-0: #04040a;
  --bg-1: #070717;
  --ink: rgba(245, 246, 255, 0.92);
  --muted: rgba(245, 246, 255, 0.66);
  --glass: rgba(16, 16, 32, 0.42);
  --glass-2: rgba(20, 20, 38, 0.55);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-2: rgba(255, 255, 255, 0.09);
  --shadow: rgba(0, 0, 0, 0.55);

  --butterfly-1: #b9a7ff;
  --butterfly-2: #7ad8ff;
  --butterfly-3: #ffd7fb;
  --glow: rgba(170, 200, 255, 0.55);

  --radius: 22px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--bg-0);
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: none;
}

/* 移动端：关闭强制吸附（scroll-snap）避免下拉时被强制拉回导致“弹一下” */
@media (max-width: 768px) {
  html {
    scroll-snap-type: none;
    /* 触摸设备上关闭 smooth，避免手指拖动时出现“回拉”感 */
    scroll-behavior: auto;
  }
  body {
    /* iOS/部分安卓会因为锚定导致滚动抽搐，直接关掉 */
    overflow-anchor: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .panel {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    overflow-anchor: none;
  }
}

/* 更稳的触摸设备判断（不依赖宽度）：彻底关闭 snap / smooth / anchoring */
@media (hover: none) and (pointer: coarse) {
  html {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }
  body {
    overscroll-behavior-y: none;
    overflow-anchor: none;
    touch-action: pan-y;
  }
  .panel {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    overflow-anchor: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(122, 216, 255, 0.75);
  outline-offset: 3px;
}

/* Video background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
}
.bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02) brightness(0.86);
  transform: scale(1.04);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 900px at 16% 18%,
      rgba(185, 167, 255, 0.14),
      transparent 56%
    ),
    radial-gradient(
      1100px 860px at 78% 14%,
      rgba(122, 216, 255, 0.12),
      transparent 58%
    ),
    radial-gradient(
      980px 820px at 64% 84%,
      rgba(255, 215, 251, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(4, 4, 10, 0.56), rgba(7, 7, 23, 0.74));
  z-index: 1;
  pointer-events: none;
}

/* Ambient layers */
.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    1200px 900px at 50% 35%,
    transparent 54%,
    rgba(0, 0, 0, 0.62)
  );
}

/* Layout */
.wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(4, 4, 10, 0.74),
    rgba(4, 4, 10, 0.28)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: radial-gradient(
      12px 12px at 30% 30%,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.18) 55%,
      transparent 70%
    ),
    radial-gradient(
      18px 18px at 70% 70%,
      rgba(122, 216, 255, 0.65),
      rgba(185, 167, 255, 0.1) 60%,
      transparent 72%
    ),
    linear-gradient(
      135deg,
      rgba(185, 167, 255, 0.72),
      rgba(122, 216, 255, 0.55)
    );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.brand h1 {
  font-size: 14px;
  letter-spacing: 0.36em;
  margin: 0;
  text-transform: uppercase;
  color: rgba(245, 246, 255, 0.9);
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 246, 255, 0.6);
  margin-top: 2px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.095);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 246, 255, 0.86);
  font-size: 13px;
  transition: transform 160ms ease, background 160ms ease,
    border-color 160ms ease;
}
.pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

main {
  /* 去掉首尾多余留白，避免第一页顶部和最后一页底部出现空隙 */
  padding: 0;
}

.hero {
  padding: 44px 0 26px;
}
.heroTop {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
}
.heroText {
  min-width: 0;
}
.heroKicker {
  margin: 0 0 10px;
  color: rgba(245, 246, 255, 0.7);
  font-size: 14px;
  letter-spacing: 0.12em;
}
.heroName {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  background: linear-gradient(
    135deg,
    rgba(185, 167, 255, 0.92),
    rgba(122, 216, 255, 0.86)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heroRole {
  margin: 12px 0 0;
  font-size: 16px;
  color: rgba(245, 246, 255, 0.86);
}
.heroDesc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 246, 255, 0.62);
  max-width: 52ch;
}
.heroBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 246, 255, 0.76);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.heroAvatar {
  display: grid;
  justify-items: end;
}
.avatarRing {
  width: min(240px, 44vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  padding: 10px;
  background: radial-gradient(
      120px 120px at 30% 30%,
      rgba(255, 255, 255, 0.34),
      rgba(255, 255, 255, 0.08) 55%,
      transparent 72%
    ),
    linear-gradient(
      135deg,
      rgba(185, 167, 255, 0.42),
      rgba(122, 216, 255, 0.26)
    );
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  position: relative;
}
.avatarRing::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    260px 260px at 50% 35%,
    rgba(185, 167, 255, 0.18),
    transparent 60%
  );
  filter: blur(10px);
  pointer-events: none;
}
.avatarRing img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: block;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
@media (max-width: 900px) {
  .heroTop {
    grid-template-columns: 1fr;
  }
  .heroAvatar {
    justify-items: start;
    margin-top: 6px;
  }
}
.heroGrid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .heroGrid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(
    180deg,
    rgba(16, 16, 32, 0.52),
    rgba(10, 10, 22, 0.28)
  );
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 60px var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
      520px 260px at 20% 0%,
      rgba(185, 167, 255, 0.22),
      transparent 60%
    ),
    radial-gradient(
      460px 240px at 90% 20%,
      rgba(122, 216, 255, 0.2),
      transparent 62%
    ),
    radial-gradient(
      520px 260px at 60% 90%,
      rgba(255, 215, 251, 0.16),
      transparent 64%
    );
  opacity: 0.9;
  pointer-events: none;
}

.cardInner {
  position: relative;
  padding: 26px 26px 24px;
}
@media (max-width: 520px) {
  .cardInner {
    padding: 20px;
  }
}

.title {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.sectionHead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sectionNum {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(245, 246, 255, 0.55);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.sectionLabel {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(245, 246, 255, 0.62);
  text-transform: uppercase;
}

.statsRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.stat {
  border-radius: 18px;
  padding: 12px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat b {
  display: block;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(245, 246, 255, 0.6);
  letter-spacing: 0.12em;
}

.tagRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(245, 246, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(185, 167, 255, 0.14),
    rgba(122, 216, 255, 0.09)
  );
}

.twoCol {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
.sidePanel {
  position: sticky;
  top: 86px;
}
.softCard {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 16px;
}
.softTitle {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 246, 255, 0.82);
}
.softDivider {
  height: 1px;
  margin: 12px 0 12px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}
.miniStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.miniStat {
  border-radius: 16px;
  padding: 10px 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.miniStat b {
  display: block;
  font-size: 16px;
}
.miniStat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(245, 246, 255, 0.6);
}
.softText {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 246, 255, 0.62);
}

.quickLinks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.quickCard {
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.quickCard:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}
.quickCard b {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.quickCard span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(245, 246, 255, 0.6);
  line-height: 1.6;
}

.socialRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.social {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 246, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.social:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.featureBanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(185, 167, 255, 0.14),
    rgba(122, 216, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}
.featureBanner b {
  display: block;
  font-size: 14px;
}
.featureBanner p {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(245, 246, 255, 0.62);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.contactGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.contactCard {
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contactCard b {
  display: block;
  font-size: 14px;
}
.contactCard p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 246, 255, 0.62);
}
.hint {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 246, 255, 0.55);
}

@media (max-width: 900px) {
  .twoCol {
    grid-template-columns: 1fr;
  }
  .sidePanel {
    position: static;
  }
  .quickLinks {
    grid-template-columns: 1fr;
  }
  .contactGrid {
    grid-template-columns: 1fr;
  }
  .statsRow {
    grid-template-columns: 1fr;
  }
}

.ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.btn {
  border: 0;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 246, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 160ms ease, background 160ms ease,
    border-color 160ms ease;
  font-size: 14px;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.btnPrimary {
  background: linear-gradient(
    135deg,
    rgba(185, 167, 255, 0.45),
    rgba(122, 216, 255, 0.32)
  );
  border-color: rgba(255, 255, 255, 0.18);
}

.mini {
  display: grid;
  grid-template-rows: auto 1fr;
}
.meta {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.chip {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 12px;
}
.chip strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 246, 255, 0.78);
}
.chip span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(245, 246, 255, 0.62);
  line-height: 1.5;
}

.grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* 导航锚点跳转时，不要被 sticky header 盖住 */
section[id] {
  scroll-margin-top: 92px;
}

/* 整屏/分段式滚动（滚轮/触控板一屏一屏吸附） */
.panel {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 56px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.panel#home {
  align-items: stretch;
  padding: 64px 0 44px;
}
.panel#home .wrap.hero {
  display: grid;
  align-content: center;
  gap: 14px;
  position: relative;
}
.panelFooter {
  min-height: auto;
  padding: 0;
  display: block;
  scroll-snap-align: end;
}

/* 首屏底部滚动提示（图二同款感觉） */
.scrollHint {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-top: 10px;
  opacity: 0.75;
  user-select: none;
}
.scrollHint p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(245, 246, 255, 0.62);
}
.mouse {
  width: 30px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: start center;
  padding-top: 10px;
}
.wheel {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  animation: wheel 1.4s ease-in-out infinite;
}
@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  60% {
    transform: translateY(12px);
    opacity: 0.25;
  }
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
}

/* 进入动画：不再“机械性硬切” */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}
.panel.is-visible .reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.col-7 {
  grid-column: span 7;
}
.col-5 {
  grid-column: span 5;
}
.col-6 {
  grid-column: span 6;
}
.col-12 {
  grid-column: span 12;
}
@media (max-width: 900px) {
  .col-7,
  .col-5,
  .col-6 {
    grid-column: span 12;
  }
}

.sectionTitle {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 246, 255, 0.82);
}
.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  margin: 12px 0 14px;
}

.list {
  display: grid;
  gap: 10px;
}
.item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dot {
  margin-top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.2) 55%,
    rgba(122, 216, 255, 0.6)
  );
  box-shadow: 0 0 24px rgba(122, 216, 255, 0.35);
  flex: 0 0 auto;
}
.item b {
  display: block;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: 0.01em;
}
.item p {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(245, 246, 255, 0.62);
  line-height: 1.6;
}

footer {
  width: 100%;
  margin-top: auto;
  padding: 24px 0 0;
  color: rgba(245, 246, 255, 0.7);
  text-align: center;
}

.siteFooter {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footerText {
  width: min(720px, calc(100% - 40px));
  text-align: center;
}

.footerText strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 246, 255, 0.86);
}

.footerText p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-line;
}

/* Decorative butterflies (purely abstract shapes) */
.butterflies {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bf {
  position: absolute;
  width: var(--s);
  height: var(--s);
  left: var(--x);
  top: var(--y);
  opacity: var(--o);
  filter: drop-shadow(0 0 18px rgba(122, 216, 255, 0.18));
  animation: drift var(--t) linear infinite;
}
.bf::before,
.bf::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      16px 16px at 35% 35%,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.15) 60%,
      transparent 72%
    ),
    linear-gradient(
      135deg,
      rgba(185, 167, 255, 0.52),
      rgba(122, 216, 255, 0.25)
    );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100% 30% 100% 30%;
  transform: rotate(12deg);
}
.bf::after {
  transform: rotate(-14deg) scaleX(-1);
  opacity: 0.85;
  mix-blend-mode: screen;
}
@keyframes drift {
  0% {
    transform: translate3d(-12px, 14px, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(22px, -18px, 0) rotate(12deg);
  }
  100% {
    transform: translate3d(-12px, 14px, 0) rotate(0deg);
  }
}

/* Particles */
canvas#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  .bf {
    animation: none;
  }
  canvas#particles {
    display: none;
  }
  .bg video {
    transform: none;
  }
}