.popup-content-box {
  max-height: 368px;
  max-width: 772px;
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden; 
  z-index: 0;
  border-radius: 10px;
}
.animated-border-box-bg {
  max-height: 368px;
  max-width: 772px;
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden; 
  z-index: 0;
  /* Border Radius */
  border-radius: 10px;
  background-color: rgb(236, 130, 123);
}
.animated-border-box, .animated-border-box-glow{
  max-height: 368px;
  max-width: 772px;
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden; 
  z-index: 0;
  /* Border Radius */
  border-radius: 10px;
}

.animated-border-box2 {
  display: block;
}

.animated-border-box-glow{
  overflow: hidden;
  /* Glow Blur */
  border-radius: 50px;
  filter: blur(60px);
}

.animated-border-box:before, .animated-border-box-glow:before {
  content: '';
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  position: absolute;
  width: 99999px;
  height: 99999px;
  background-repeat: no-repeat;
  background-position: 0 0;
  /*border color, change middle color*/
  background-image: conic-gradient(rgba(0,0,0,0), rgba(255,255,255,0.8), rgba(0,0,0,0) 20%);
  /* change speed here */
  animation: popuprotate 8s linear infinite;
}

.animated-border-box-glow:before {
  background-image: conic-gradient(#9846E0, #FF7F00, #DA2874, #E6FF00, #00C8AA); 
}

.animated-border-box2:before {
  transform: translate(-50%, -50%) rotate(90deg);
  animation: popuprotate2 8s linear infinite;
}

.animated-border-box3:before {
  transform: translate(-50%, -50%) rotate(180deg);
  animation: popuprotate3 8s linear infinite;
}

.animated-border-box4:before {
  transform: translate(-50%, -50%) rotate(270deg);
  animation: popuprotate4 8s linear infinite;
}

.animated-border-box:after {
  content: '';
  position: absolute;
  z-index: -1;
  /* border width */
  left: 2px;
  top: 2px;
  /* double the px from the border width left */
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  /*bg color*/
  background: rgba(0,0,0,1);
  /*box border radius*/
  border-radius: 10px;
}

@keyframes popuprotate {
  100% {
    transform: translate(-50%, -50%) rotate(1turn);
  }
}

@keyframes popuprotate2 {
  100% {
    transform: translate(-50%, -50%) rotate(450deg);
  }
}

@keyframes popuprotate3 {
  100% {
    transform: translate(-50%, -50%) rotate(540deg);
  }
}

@keyframes popuprotate4 {
  100% {
    transform: translate(-50%, -50%) rotate(630deg);
  }
}

.popup {
  position: absolute;
  width: 1920px;
  height: 1080px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 16, 20, 0.7);
  backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.popup.active {
  opacity: 1;
  z-index: 10001;
  pointer-events: visiblePainted;
}

.popup p {
  color: #fff;
}

.popup-content-box > p:nth-child(1), .popup-content-box > p:nth-child(4) {
  margin-top: 50px;
  margin-left: 66px;
  color: #ED837B;
  font-size: 14px;
  font-weight: bold;
  font-family: BarlowBold, sans-serif;
}

.popup-content-box > p:nth-child(2) {
  font-size: 28px;
  margin: 0;
  margin-left: 66px;
}

.popup-float {
  margin-top: 22px;
  margin-left: 66px;
  width: 432px;
}

.popup-float-left {
  float: left;
  width: 216px;
}

.popup-float-left p:nth-child(1) {
  font-size: 15px;
}

.popup-float-left p:nth-child(3), .popup-float-left p:nth-child(4) {
  font-weight: bold;
  font-family: BarlowBold, sans-serif;
}

.popup-badge {
  position: absolute;
  top: 62px;
  right: 50px;
  width: 240px;
  height: 240px;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.score-board-wrapper {
  width: 100%;
  margin: 4px 0;
}

.score-board-wrapper > .score-board {
  float: left;
}