.uiverse .wrapper .circle.circle-1 { left: 0%; --animation: circle-ani-1; }
.uiverse .wrapper .circle.circle-2 { left: 5%; --animation: circle-ani-2; }
.uiverse .wrapper .circle.circle-3 { left: 10%; --animation: circle-ani-3; }
.uiverse .wrapper .circle.circle-4 { left: 15%; --animation: circle-ani-4; }
.uiverse .wrapper .circle.circle-5 { left: 20%; --animation: circle-ani-5; }
.uiverse .wrapper .circle.circle-6 { left: 25%; --animation: circle-ani-6; }
.uiverse .wrapper .circle.circle-7 { left: 30%; --animation: circle-ani-7; }
.uiverse .wrapper .circle.circle-8 { left: 35%; --animation: circle-ani-8; }
.uiverse .wrapper .circle.circle-9 { left: 40%; --animation: circle-ani-9; }
.uiverse .wrapper .circle.circle-10 { left: 45%; --animation: circle-ani-10; }
.uiverse .wrapper .circle.circle-11 { left: 50%; --animation: circle-ani-11; }
.uiverse .wrapper .circle.circle-12 { left: 55%; --animation: circle-ani-12; }
.uiverse .wrapper .circle.circle-13 { left: 60%; --animation: circle-ani-13; }
.uiverse .wrapper .circle.circle-14 { left: 65%; --animation: circle-ani-14; }
.uiverse .wrapper .circle.circle-15 { left: 70%; --animation: circle-ani-15; }
.uiverse .wrapper .circle.circle-16 { left: 75%; --animation: circle-ani-16; }
.uiverse .wrapper .circle.circle-17 { left: 80%; --animation: circle-ani-17; }
.uiverse .wrapper .circle.circle-18 { left: 85%; --animation: circle-ani-18; }
.uiverse .wrapper .circle.circle-19 { left: 90%; --animation: circle-ani-19; }
.uiverse .wrapper .circle.circle-20 { left: 95%; --animation: circle-ani-20; }

/* Use a variety of background/blur for visual interest */
.uiverse .wrapper .circle.circle-1, .uiverse .wrapper .circle.circle-5, .uiverse .wrapper .circle.circle-9, .uiverse .wrapper .circle.circle-13, .uiverse .wrapper .circle.circle-17 {
  --background: var(--c-color-4);
  --blur: 14px;
}
.uiverse .wrapper .circle.circle-2, .uiverse .wrapper .circle.circle-6, .uiverse .wrapper .circle.circle-10, .uiverse .wrapper .circle.circle-14, .uiverse .wrapper .circle.circle-18 {
  --background: var(--c-color-2);
  --blur: 16px;
}
.uiverse .wrapper .circle.circle-3, .uiverse .wrapper .circle.circle-7, .uiverse .wrapper .circle.circle-11, .uiverse .wrapper .circle.circle-15, .uiverse .wrapper .circle.circle-19 {
  --background: var(--c-color-3);
  --blur: 12px;
}
.uiverse .wrapper .circle.circle-4, .uiverse .wrapper .circle.circle-8, .uiverse .wrapper .circle.circle-12, .uiverse .wrapper .circle.circle-16, .uiverse .wrapper .circle.circle-20 {
  --background: var(--c-color-1);
  --blur: 10px;
}

/* Keyframes for each circle, staggered for a wave effect */
@keyframes circle-ani-1 { 0%{top:0;} 50%{top:12px;} 100%{top:0;} }
@keyframes circle-ani-2 { 0%{top:0;} 50%{top:18px;} 100%{top:0;} }
@keyframes circle-ani-3 { 0%{top:0;} 50%{top:8px;} 100%{top:0;} }
@keyframes circle-ani-4 { 0%{top:0;} 50%{top:20px;} 100%{top:0;} }
@keyframes circle-ani-5 { 0%{top:0;} 50%{top:10px;} 100%{top:0;} }
@keyframes circle-ani-6 { 0%{top:0;} 50%{top:16px;} 100%{top:0;} }
@keyframes circle-ani-7 { 0%{top:0;} 50%{top:6px;} 100%{top:0;} }
@keyframes circle-ani-8 { 0%{top:0;} 50%{top:22px;} 100%{top:0;} }
@keyframes circle-ani-9 { 0%{top:0;} 50%{top:14px;} 100%{top:0;} }
@keyframes circle-ani-10 { 0%{top:0;} 50%{top:18px;} 100%{top:0;} }
@keyframes circle-ani-11 { 0%{top:0;} 50%{top:12px;} 100%{top:0;} }
@keyframes circle-ani-12 { 0%{top:0;} 50%{top:20px;} 100%{top:0;} }
@keyframes circle-ani-13 { 0%{top:0;} 50%{top:8px;} 100%{top:0;} }
@keyframes circle-ani-14 { 0%{top:0;} 50%{top:16px;} 100%{top:0;} }
@keyframes circle-ani-15 { 0%{top:0;} 50%{top:10px;} 100%{top:0;} }
@keyframes circle-ani-16 { 0%{top:0;} 50%{top:22px;} 100%{top:0;} }
@keyframes circle-ani-17 { 0%{top:0;} 50%{top:14px;} 100%{top:0;} }
@keyframes circle-ani-18 { 0%{top:0;} 50%{top:18px;} 100%{top:0;} }
@keyframes circle-ani-19 { 0%{top:0;} 50%{top:12px;} 100%{top:0;} }
@keyframes circle-ani-20 { 0%{top:0;} 50%{top:20px;} 100%{top:0;} }

/* Uiverse animated button styles */
.uiverse {
  --duration: 7s;
  --easing: linear;
  --c-color-1: rgba(255, 163, 26, 0.7);
  --c-color-2: #1a23ff;
  --c-color-3: #e21bda;
  --c-color-4: rgba(255, 232, 26, 0.7);
  --c-shadow: rgba(255, 223, 87, 0.5);
  --c-shadow-inset-top: rgba(255, 223, 52, 0.9);
  --c-shadow-inset-bottom: rgba(255, 250, 215, 0.8);
  --c-radial-inner: #ffd215;
  --c-radial-outer: #fff172;
  --c-color: #fff;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  border: none;
  display: table;
  border-radius: 999px;
  padding: 0;
  margin: 0;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--c-color);
  background: radial-gradient(
    circle,
    var(--c-radial-inner),
    var(--c-radial-outer) 80%
  );
  box-shadow: 0 0 24px var(--c-shadow);
  z-index: 400;
  min-width: 450px;
  max-width: 90vw;
}

.uiverse:before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 3px 12px var(--c-shadow-inset-top),
    inset 0 -3px 4px var(--c-shadow-inset-bottom);
}

.uiverse .wrapper {
  min-width: 450px;
  max-width: 90vw;
  padding: 28px 60px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  overflow: hidden;
  border-radius: 999px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uiverse .wrapper span {
  font-size: 1.75rem;
  display: inline-block;
  position: relative;
  z-index: 10;
  font-weight: 700;
  color: #000;
  text-shadow: 0 2px 8px #ffd215, 0 1px 0 #fff;
  line-height: 1.2;
  font-family: Helvetica, Arial, sans-serif;
}

.uiverse:hover {
  --duration: 1400ms;
}

.uiverse .wrapper .circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  filter: blur(var(--blur, 8px));
  background: var(--background, transparent);
  transform: translate(var(--x, 0), var(--y, 0)) translateZ(0);
  animation: var(--animation, none) var(--duration) var(--easing) infinite;
}

.uiverse .wrapper .circle.circle-1,
.uiverse .wrapper .circle.circle-9,
.uiverse .wrapper .circle.circle-10 {
  --background: var(--c-color-4);
}

.uiverse .wrapper .circle.circle-3,
.uiverse .wrapper .circle.circle-4 {
  --background: var(--c-color-2);
  --blur: 12px;
}

.uiverse .wrapper .circle.circle-5,
.uiverse .wrapper .circle.circle-6 {
  --background: var(--c-color-3);
  --blur: 14px;
}

.uiverse .wrapper .circle.circle-2,
.uiverse .wrapper .circle.circle-7,
.uiverse .wrapper .circle.circle-8,
.uiverse .wrapper .circle.circle-11,
.uiverse .wrapper .circle.circle-12 {
  --background: var(--c-color-1);
  --blur: 10px;
}

.uiverse .wrapper .circle.circle-1 {
  --x: 60px;
  --y: -20px;
  --animation: circle-1;
}

.uiverse .wrapper .circle.circle-2 {
  --x: 350px;
  --y: 10px;
  --animation: circle-2;
}

.uiverse .wrapper .circle.circle-3 {
  --x: 80px;
  --y: -8px;
  --animation: circle-3;
}

.uiverse .wrapper .circle.circle-4 {
  --x: 300px;
  --y: -8px;
  --animation: circle-4;
}

.uiverse .wrapper .circle.circle-5 {
  --x: 140px;
  --y: 5px;
  --animation: circle-5;
}

.uiverse .wrapper .circle.circle-6 {
  --x: 250px;
  --y: 15px;
  --animation: circle-6;
}

.uiverse .wrapper .circle.circle-7 {
  --x: 100px;
  --y: 25px;
  --animation: circle-7;
}

.uiverse .wrapper .circle.circle-8 {
  --x: 180px;
  --y: -5px;
  --animation: circle-8;
}

.uiverse .wrapper .circle.circle-9 {
  --x: 160px;
  --y: -12px;
  --animation: circle-9;
}

.uiverse .wrapper .circle.circle-10 {
  --x: 280px;
  --y: 18px;
  --animation: circle-10;
}

.uiverse .wrapper .circle.circle-11 {
  --x: 120px;
  --y: 8px;
  --animation: circle-11;
}

.uiverse .wrapper .circle.circle-12 {
  --blur: 12px;
  --x: 220px;
  --y: 6px;
  --animation: circle-12;
}

@keyframes circle-1 {
  33% {
    transform: translate(80px, 10px) translateZ(0);
  }
  66% {
    transform: translate(100px, 30px) translateZ(0);
  }
}

@keyframes circle-2 {
  33% {
    transform: translate(320px, -5px) translateZ(0);
  }
  66% {
    transform: translate(300px, -15px) translateZ(0);
  }
}

@keyframes circle-3 {
  33% {
    transform: translate(110px, 8px) translateZ(0);
  }
  66% {
    transform: translate(90px, 5px) translateZ(0);
  }
}

@keyframes circle-4 {
  33% {
    transform: translate(280px, -5px) translateZ(0);
  }
  66% {
    transform: translate(320px, -2px) translateZ(0);
  }
}

@keyframes circle-5 {
  33% {
    transform: translate(180px, 20px) translateZ(0);
  }
  66% {
    transform: translate(160px, -10px) translateZ(0);
  }
}

@keyframes circle-6 {
  33% {
    transform: translate(220px, -5px) translateZ(0);
  }
  66% {
    transform: translate(270px, -20px) translateZ(0);
  }
}

@keyframes circle-7 {
  33% {
    transform: translate(120px, 20px) translateZ(0);
  }
  66% {
    transform: translate(140px, -15px) translateZ(0);
  }
}

@keyframes circle-8 {
  33% {
    transform: translate(200px, -2px) translateZ(0);
  }
  66% {
    transform: translate(220px, -8px) translateZ(0);
  }
}

@keyframes circle-9 {
  33% {
    transform: translate(180px, -8px) translateZ(0);
  }
  66% {
    transform: translate(200px, -5px) translateZ(0);
  }
}

@keyframes circle-10 {
  33% {
    transform: translate(300px, 15px) translateZ(0);
  }
  66% {
    transform: translate(320px, 20px) translateZ(0);
  }
}

@keyframes circle-11 {
  33% {
    transform: translate(140px, 5px) translateZ(0);
  }
  66% {
    transform: translate(160px, 15px) translateZ(0);
  }
}

@keyframes circle-12 {
  33% {
    transform: translate(240px, 2px) translateZ(0);
  }
  66% {
    transform: translate(260px, -10px) translateZ(0);
  }
}
.text-box {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
    border-radius: 4px;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    border: 2px solid rgb(53, 47, 108);
    box-shadow: 3px 3px 0px rgb(23, 17, 77);
    font-size: clamp(13px, 2vw, 15px);
    text-align: center;
    z-index: 200;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, bottom 0.3s ease-in-out, box-shadow 0.2s ease;
}

#instruction-text {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 320px;
    background: rgba(255,255,255,0.95);
    border: 2px solid #352f6c;
    border-radius: 10px;
    box-shadow: 3px 3px 0px #17114d;
    padding: 16px 18px 12px 18px;
    font-size: 15px;
    z-index: 300;
    color: #222;
}

@media (max-width: 768px) {
  .uiverse {
    min-width: 200px;
    max-width: 70vw;
    font-size: 0.9rem;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
  
  .uiverse .wrapper {
    min-width: 200px;
    max-width: 70vw;
    padding: 12px 20px;
  }
  
  .uiverse .wrapper span {
    font-size: 1rem;
    line-height: 1.1;
  }
  
  .uiverse .wrapper .circle {
    width: 20px;
    height: 20px;
  }

  #instruction-text {
    top: 60px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: calc(100vw - 40px);
    font-size: 13px;
    padding: 12px 14px 10px 14px;
  }
}

@media (max-width: 480px) {
  .uiverse {
    min-width: 160px;
    max-width: 65vw;
    font-size: 0.8rem;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
  
  .uiverse .wrapper {
    min-width: 160px;
    max-width: 65vw;
    padding: 10px 16px;
  }
  
  .uiverse .wrapper span {
    font-size: 0.9rem;
    line-height: 1;
  }
  
  .uiverse .wrapper .circle {
    width: 15px;
    height: 15px;
  }

  #instruction-text {
    top: 50px;
    left: 5px;
    right: 5px;
    width: auto;
    max-width: calc(100vw - 20px);
    font-size: 12px;
    padding: 10px 12px 8px 12px;
  }
  
  #instruction-text ul {
    font-size: 11px !important;
    margin: 0 0 0 0.8em !important;
  }
  
  #instruction-text li {
    margin-bottom: 3px;
  }
}

