@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;800&display=swap');

body #hypnotoad-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body #hypnotoad-overlay.active {
  display: flex;
}

/* кольца */
.ht-rings {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ht-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: htPulse 1.4s ease-in-out infinite;
}

.ht-ring:nth-child(1) {
  width: 240px;
  height: 240px;
  border-color: rgba(13, 110, 253, 0.12);
}

.ht-ring:nth-child(2) {
  width: 200px;
  height: 200px;
  border-color: rgba(13, 110, 253, 0.2);
  animation-delay: .15s;
}

.ht-ring:nth-child(3) {
  width: 160px;
  height: 160px;
  border-color: rgba(13, 110, 253, 0.3);
  animation-delay: .3s;
}

.ht-ring:nth-child(4) {
  width: 120px;
  height: 120px;
  border-color: rgba(13, 110, 253, 0.4);
  animation-delay: .45s;
}

@keyframes htPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .45;
    transform: scale(1.06);
  }
}

/* монетки */
.ht-coins {
  position: relative;
  width: 110px;
  height: 110px;
  z-index: 2;
}

.ht-coin {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e9eef8);
  border: 2px solid #cfd9ea;
  box-shadow:
    0 6px 18px rgba(13, 110, 253, 0.12),
    inset 0 2px 6px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0d6efd;
  transform-style: preserve-3d;
}

.ht-coin:nth-child(1) {
  left: 22px;
  top: 4px;
  animation: coinSpin 1.5s linear infinite;
}

.ht-coin:nth-child(2) {
  left: 2px;
  top: 28px;
  animation: coinSpin 1.8s linear infinite reverse;
}

.ht-coin:nth-child(3) {
  left: 42px;
  top: 30px;
  animation: coinSpin 1.3s linear infinite;
}

@keyframes coinSpin {
  0% {
    transform: rotateY(0deg) translateY(0);
  }
  50% {
    transform: rotateY(90deg) translateY(-3px);
  }
  100% {
    transform: rotateY(360deg) translateY(0);
  }
}

/* подпись */
.ht-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0d6efd;
  animation: htBlink 1.2s ease-in-out infinite;
}

.ht-currency-status {
  margin-top: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: 1px;
  color: #6c7a92;
}

@keyframes htBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}