.blur-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  height: 130px;
  margin-top: -130px;

  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.blur-bar__layer {
  position: absolute;
  inset: 0;
}

.blur-bar__layer:nth-child(1) {
  -webkit-backdrop-filter: blur(0.5px);
  backdrop-filter: blur(0.5px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0.0%, #000 16.67%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0.0%, #000 16.67%);
}

.blur-bar__layer:nth-child(2) {
  -webkit-backdrop-filter: blur(1.0px);
  backdrop-filter: blur(1.0px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 16.67%, #000 33.33%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 16.67%, #000 33.33%);
}

.blur-bar__layer:nth-child(3) {
  -webkit-backdrop-filter: blur(2.0px);
  backdrop-filter: blur(2.0px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 33.33%, #000 50.0%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 33.33%, #000 50.0%);
}

.blur-bar__layer:nth-child(4) {
  -webkit-backdrop-filter: blur(4.0px);
  backdrop-filter: blur(4.0px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50.0%, #000 66.67%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50.0%, #000 66.67%);
}

.blur-bar__layer:nth-child(5) {
  -webkit-backdrop-filter: blur(8.0px);
  backdrop-filter: blur(8.0px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 66.67%, #000 83.33%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 66.67%, #000 83.33%);
}

.blur-bar__layer:nth-child(6) {
  -webkit-backdrop-filter: blur(16.0px);
  backdrop-filter: blur(16.0px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 83.33%, #000 100.0%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 83.33%, #000 100.0%);
}

.blur-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(239, 243, 245, 0) 0%, rgba(239, 243, 245, 0.55) 65%, rgba(239, 243, 245, 0.85) 100%);
}

@media (max-width: 768px) {
  .blur-bar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blur-bar {
    display: none;
  }
}
