/* Stabilize the final CTA as a light closing screen. */
#end-section {
  background: #f2f5fa !important;
}

#end-section {
  color: #05070a !important;
}

#end-section-inner {
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #eef2f8 54%, #f6f8f0 100%) !important;
  isolation: isolate;
}

#end-section-inner::before {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(73, 211, 226, 0.26), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(180, 238, 58, 0.2), transparent 30%),
    linear-gradient(rgba(5, 7, 10, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 7, 10, 0.032) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  content: "";
  opacity: 0.84;
  pointer-events: none;
  transform: translate3d(-2%, -1%, 0) scale(1.02);
  will-change: transform, opacity;
  animation: huiling-end-aurora-drift 14s ease-in-out infinite alternate paused;
}

#end-section-inner::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(68vw, 760px);
  aspect-ratio: 1;
  background: conic-gradient(
    from 18deg,
    rgba(68, 208, 224, 0.08),
    rgba(68, 208, 224, 0.7),
    rgba(181, 238, 55, 0.16),
    rgba(181, 238, 55, 0.72),
    rgba(68, 208, 224, 0.08)
  );
  border-radius: 50%;
  content: "";
  opacity: 0.46;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) rotate(0deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  filter: drop-shadow(0 0 28px rgba(75, 204, 218, 0.24));
  will-change: transform;
  animation: huiling-end-signal-spin 20s linear infinite paused;
}

#end-section-content,
#end-bottom {
  z-index: 1;
}

#end-section-content {
  text-shadow: none;
}

#end-section-title-link {
  transition: filter 0.45s ease;
}

#end-section .end-section-content-cross {
  opacity: 0.42;
  animation: huiling-end-cross-pulse 3.4s ease-in-out infinite paused;
}

#end-section .end-section-content-cross:nth-child(2) {
  animation-delay: -0.7s;
}

#end-section .end-section-content-cross:nth-child(3) {
  animation-delay: -1.4s;
}

#end-section .end-section-content-cross:nth-child(4) {
  animation-delay: -2.1s;
}

#end-section .end-section-content-cross:nth-child(5) {
  animation-delay: -2.8s;
}

html.huiling-end-light-active #header-logo span {
  color: #05070a !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

#end-section .end-section-content-cross::before,
#end-section .end-section-content-cross::after {
  background: #05070a !important;
}

#end-bottom {
  overflow: hidden;
  background: #05070a !important;
  box-shadow: 0 12px 32px rgba(5, 7, 10, 0.16);
  isolation: isolate;
  transition: box-shadow 0.35s ease, filter 0.35s ease;
}

#end-bottom::before {
  position: absolute;
  inset: -70% -45%;
  z-index: 0;
  background: linear-gradient(
    108deg,
    transparent 34%,
    rgba(255, 255, 255, 0.42) 48%,
    transparent 62%
  );
  content: "";
  pointer-events: none;
  transform: translate3d(-62%, 0, 0);
  will-change: transform;
  animation: huiling-end-button-scan 3.8s cubic-bezier(0.22, 1, 0.36, 1) infinite paused;
}

#end-bottom > * {
  position: relative;
  z-index: 1;
}

#end-bottom-text-container > #end-bottom-text {
  color: #fff !important;
}

#end-section.is-huiling-end-prepared #end-section-subtitle-text .word {
  display: inline-block !important;
  opacity: 0 !important;
  filter: blur(6px);
  transform: translate3d(0, 120%, 0) !important;
  transition:
    opacity 0.5s ease,
    filter 0.45s ease,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

#end-section.is-huiling-end-visible #end-section-subtitle-text .word {
  opacity: 1 !important;
  filter: blur(0);
  transform: translate3d(0, 0, 0) !important;
}

#end-section.is-huiling-end-visible #end-section-subtitle-text .word:nth-child(2) {
  transition-delay: 0.04s;
}

#end-section.is-huiling-end-visible #end-section-subtitle-text .word:nth-child(3) {
  transition-delay: 0.08s;
}

#end-section.is-huiling-end-prepared #end-section-title .char-wrapper {
  position: relative !important;
  top: 0 !important;
  display: inline-block !important;
  overflow: hidden !important;
  transform: none !important;
}

#end-section #end-section-title .end-section-title-link-word {
  height: 1em;
  overflow: visible;
}

#end-section.is-huiling-end-prepared #end-section-title .char-wrapper > .char:first-child {
  display: none !important;
}

#end-section.is-huiling-end-prepared #end-section-title .char-wrapper > .char:last-child {
  position: static !important;
  display: inline-block !important;
  clear: none !important;
  float: none !important;
  opacity: 0 !important;
  transform: translate3d(0, 112%, 0) !important;
  transition:
    opacity 0.35s ease,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

#end-section.is-huiling-end-visible #end-section-title .char-wrapper > .char:last-child {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

#end-section.is-huiling-end-visible .end-section-title-link-line:first-child .char-wrapper:nth-child(2) > .char:last-child {
  transition-delay: 0.04s;
}

#end-section.is-huiling-end-visible .end-section-title-link-line:nth-child(2) .char-wrapper > .char:last-child {
  transition-delay: 0.08s;
}

#end-section.is-huiling-end-visible .end-section-title-link-line:nth-child(2) .char-wrapper:nth-child(2) > .char:last-child {
  transition-delay: 0.12s;
}

#end-section.is-huiling-end-visible .end-section-title-link-line:nth-child(2) .char-wrapper:nth-child(3) > .char:last-child {
  transition-delay: 0.16s;
}

#end-section.is-huiling-end-visible .end-section-title-link-line:nth-child(2) .char-wrapper:nth-child(4) > .char:last-child {
  transition-delay: 0.2s;
}

#end-section-title-top-decoration,
#end-section-title-bottom-left-decoration,
#end-section-title-bottom-right-decoration {
  display: none !important;
}

#end-bottom-text-container > #end-bottom-text {
  position: static !important;
  animation: none !important;
  transform: none !important;
}

#end-bottom-text-container > #end-bottom-text:last-child {
  display: none !important;
}

#end-bottom .end-bottom-arrow-container {
  overflow: visible;
}

#end-bottom .end-bottom-arrow {
  position: static !important;
  filter: invert(1);
  animation: huiling-end-arrow-pulse 1.8s ease-in-out infinite !important;
}

#end-bottom .end-bottom-arrow:last-child {
  display: none !important;
}

html.huiling-end-light-active #end-section-inner::before,
html.huiling-end-light-active #end-section-inner::after,
html.huiling-end-light-active #end-section .end-section-content-cross,
html.huiling-end-light-active #end-bottom::before {
  animation-play-state: running;
}

@media (hover: hover) and (pointer: fine) {
  #end-section-title-link:hover {
    filter: drop-shadow(0 14px 22px rgba(48, 184, 201, 0.17));
  }

  #end-bottom:hover {
    box-shadow: 0 18px 44px rgba(5, 7, 10, 0.24);
    filter: brightness(1.08);
  }
}

@keyframes huiling-end-aurora-drift {
  0% {
    opacity: 0.76;
    transform: translate3d(-2%, -1%, 0) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translate3d(2%, 1.5%, 0) scale(1.06);
  }
}

@keyframes huiling-end-signal-spin {
  to {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

@keyframes huiling-end-cross-pulse {
  0%,
  100% {
    opacity: 0.3;
    filter: drop-shadow(0 0 0 rgba(58, 194, 211, 0));
  }

  50% {
    opacity: 0.96;
    filter: drop-shadow(0 0 8px rgba(58, 194, 211, 0.42));
  }
}

@keyframes huiling-end-button-scan {
  0%,
  36% {
    transform: translate3d(-62%, 0, 0);
  }

  72%,
  100% {
    transform: translate3d(62%, 0, 0);
  }
}

@keyframes huiling-end-arrow-pulse {
  0%,
  100% {
    transform: translate3d(0, -1px, 0);
  }

  50% {
    transform: translate3d(0, 2px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #end-section.is-huiling-end-prepared #end-section-subtitle-text .word,
  #end-section.is-huiling-end-prepared #end-section-title .char-wrapper > .char:last-child,
  #end-bottom .end-bottom-arrow,
  #end-section-inner::before,
  #end-section-inner::after,
  #end-section .end-section-content-cross,
  #end-bottom::before {
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }

  #end-section-inner::before {
    transform: none !important;
  }

  #end-section-inner::after {
    opacity: 0.36 !important;
    transform: translate3d(-50%, -50%, 0) !important;
  }
}
