/*
 * HuanwuAi neon background — no JavaScript or external asset downloads.
 * Set --huanwuai-height on the section to use a custom height.
 * All component selectors and custom properties are namespaced.
 */
.huanwuai-background {
  --huanwuai-height: auto;
  --huanwuai-radius: 26px;
  --huanwuai-line-top: 3.8%;

  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: var(--huanwuai-height);
  aspect-ratio: 1.945 / 1;
  overflow: hidden;
  border: 1px solid #242124;
  border-radius: var(--huanwuai-radius);
  background: #090909;
}

/*
 * One continuous falloff instead of overlapping elliptical light patches.
 * Fractional stops closely sample smooth exponential color falloff.
 * Inline monochrome noise gently dithers the gradient; no asset request.
 */
.huanwuai-background::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  border-radius: inherit;
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22256%22%20height%3D%22256%22%3E%3Cfilter%20id%3D%22n%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.92%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3CfeComponentTransfer%3E%3CfeFuncA%20type%3D%22linear%22%20slope%3D%22.022%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22%2F%3E%3C%2Fsvg%3E"),
    radial-gradient(
      ellipse 120% 90% at 50% 3.8%,
      rgb(252.350 180.350 252.350) 0%,
      rgb(249.056 175.035 251.710) 2.5%,
      rgb(242.161 165.241 249.802) 5%,
      rgb(232.850 153.105 246.654) 7.5%,
      rgb(221.767 139.713 242.315) 10%,
      rgb(209.406 125.833 236.851) 12.5%,
      rgb(196.183 112.030 230.344) 15%,
      rgb(182.455 98.723 222.891) 17.5%,
      rgb(168.528 86.206 214.599) 20%,
      rgb(154.662 74.672 205.584) 22.5%,
      rgb(141.076 64.232 195.970) 25%,
      rgb(127.946 54.928 185.883) 27.5%,
      rgb(115.412 46.755 175.450) 30%,
      rgb(103.580 39.668 164.795) 32.5%,
      rgb(92.522 33.595 154.042) 35%,
      rgb(82.284 28.451 143.303) 37.5%,
      rgb(72.888 24.138 132.686) 40%,
      rgb(64.337 20.558 122.286) 42.5%,
      rgb(56.614 17.615 112.190) 45%,
      rgb(49.692 15.218 102.472) 47.5%,
      rgb(43.530 13.282 93.193) 50%,
      rgb(38.083 11.731 84.402) 52.5%,
      rgb(33.300 10.500 76.136) 55%,
      rgb(29.126 9.529 68.422) 57.5%,
      rgb(25.505 8.770 61.274) 60%,
      rgb(22.384 8.180 54.697) 62.5%,
      rgb(19.709 7.726 48.686) 65%,
      rgb(17.428 7.378 43.231) 67.5%,
      rgb(15.495 7.113 38.311) 70%,
      rgb(13.866 6.913 33.904) 72.5%,
      rgb(12.499 6.764 29.981) 75%,
      rgb(11.359 6.652 26.511) 77.5%,
      rgb(10.412 6.569 23.462) 80%,
      rgb(9.631 6.508 20.798) 82.5%,
      rgb(8.988 6.463 18.486) 85%,
      rgb(8.463 6.431 16.491) 87.5%,
      rgb(8.035 6.407 14.779) 90%,
      rgb(7.688 6.391 13.321) 92.5%,
      rgb(7.408 6.379 12.084) 95%,
      rgb(7.184 6.370 11.043) 97.5%,
      rgb(7.004 6.364 10.171) 100%
    );
  background-size: 256px 256px, 100% 100%;
  background-repeat: repeat, no-repeat;
  background-blend-mode: normal;
  /* A soft ramp above the tube; the floor no longer has a second mask. */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%);
  mask-image: linear-gradient(to bottom, transparent, #000 6%);
  pointer-events: none;
}

/* A white-hot core, a pink rim, then progressively softer bloom. */
.huanwuai-background::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: var(--huanwuai-line-top);
  right: 4.9%;
  left: 4.9%;
  height: clamp(2px, 0.23cqw, 4px);
  border-radius: 999px;
  background: #fff5ff;
  box-shadow:
    0 0 2px 1px #fff0ff,
    0 0 5px 2px #ffc5ff,
    0 0 12px 5px rgb(255 122 250 / 90%),
    0 0 26px 12px rgb(240 87 242 / 65%),
    0 8px 48px 20px rgb(206 55 235 / 42%);
  pointer-events: none;
}

.huanwuai-background > .huanwuai-title {
  position: relative;
  box-sizing: border-box;
  max-width: 94%;
  margin: 0;
  padding: 0;
  color: #080808;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8.8vw;
  font-size: 8.8cqw;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.huanwuai-background::selection,
.huanwuai-title::selection {
  color: #fff5ff;
  background: #6416a2;
}

@media (max-width: 600px) {
  .huanwuai-background {
    --huanwuai-radius: 16px;
  }
}
