.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background-color: rgba(34, 47, 62, 0.2);
  box-shadow: 0 0 24px 4px rgba(142, 68, 173, 0.2);
  border-radius: 50%;
  text-align: center;
  overflow: hidden;
}
.loader:before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border-radius: 50%;
  background-image: radial-gradient(circle, transparent 68%, #f7cb63  70%);
  box-shadow: inset 0 0 0 0 rgba(142, 68, 173, 0);
  -webkit-animation: Glow 5s infinite ease-in-out;
          animation: Glow 5s infinite ease-in-out;
}
.loader:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  transform-origin: 50% 50%;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  z-index: 999;
  border: solid 2px #f39c12;
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  -webkit-animation: Spin 1.5s infinite linear;
          animation: Spin 1.5s infinite linear;
}

.loader-text {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f7cb63 ;
  letter-spacing: 12px;
  text-shadow: 0 0 24px rgba(142, 68, 173, 0.8);
  -webkit-animation: Pulse 5s infinite linear;
          animation: Pulse 5s infinite linear;
}
.loader-text:before {
  content: attr(data-flicker-0);
  position: absolute;
  left: 0;
  color: #f7cb63 ;
  opacity: 0;
  text-shadow: 0 0 16px rgba(142, 68, 173, 0);
  -webkit-animation: Flicker 3s infinite linear;
          animation: Flicker 3s infinite linear;
}
.loader-text:after {
  content: attr(data-flicker-1);
  position: absolute;
  right: 0;
  color: #f7cb63 ;
  opacity: 0;
  text-shadow: 0 0 16px rgba(142, 68, 173, 0);
  -webkit-animation: Flicker 3s infinite linear;
          animation: Flicker 3s infinite linear;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

@-webkit-keyframes Glow {
  50% {
    box-shadow: inset 0 0 24px 4px rgba(142, 68, 173, 0.8);
  }
}

@keyframes Glow {
  50% {
    box-shadow: inset 0 0 24px 4px rgba(142, 68, 173, 0.8);
  }
}
@-webkit-keyframes Spin {
  50% {
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes Spin {
  50% {
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@-webkit-keyframes Pulse {
  50% {
    color: rgba(142, 68, 173, 0.5);
    text-shadow: 0 0 24px rgba(142, 68, 173, 0.4);
  }
}
@keyframes Pulse {
  50% {
    color: rgba(142, 68, 173, 0.5);
    text-shadow: 0 0 24px rgba(142, 68, 173, 0.4);
  }
}
@-webkit-keyframes Flicker {
  0% {
    opacity: 0.1;
    color: #f7cb63 ;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  2% {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 24px #f7cb63 ;
  }
  6% {
    opacity: 0.1;
    color: #f7cb63 ;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  12% {
    opacity: 0.8;
    color: #fff;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  14% {
    opacity: 0.2;
    color: #f7cb63 ;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  30% {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  36% {
    opacity: 0.2;
    color: #f7cb63 ;
    text-shadow: 0 0 24px #f7cb63 ;
  }
  60% {
    opacity: 0.6;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  64% {
    opacity: 0.8;
    text-shadow: 0 0 18px #f7cb63 ;
  }
  68% {
    opacity: 1;
    text-shadow: 0 0 24px #f7cb63 ;
  }
  82% {
    opacity: 0.2;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  84% {
    opacity: 0.1;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  86% {
    opacity: 0.6;
    text-shadow: 0 0 12px #f7cb63 ;
  }
}
@keyframes Flicker {
  0% {
    opacity: 0.1;
    color: #f7cb63 ;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  2% {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 24px #f7cb63 ;
  }
  6% {
    opacity: 0.1;
    color: #f7cb63 ;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  12% {
    opacity: 0.8;
    color: #fff;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  14% {
    opacity: 0.2;
    color: #f7cb63 ;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  30% {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  36% {
    opacity: 0.2;
    color: #f7cb63 ;
    text-shadow: 0 0 24px #f7cb63 ;
  }
  60% {
    opacity: 0.6;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  64% {
    opacity: 0.8;
    text-shadow: 0 0 18px #f7cb63 ;
  }
  68% {
    opacity: 1;
    text-shadow: 0 0 24px #f7cb63 ;
  }
  82% {
    opacity: 0.2;
    text-shadow: 0 0 16px #f7cb63 ;
  }
  84% {
    opacity: 0.1;
    text-shadow: 0 0 8px #f7cb63 ;
  }
  86% {
    opacity: 0.6;
    text-shadow: 0 0 12px #f7cb63 ;
  }
}