/* ============================= */
/* POPUP */
/* ============================= */
.popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
}

.popup.show {
  display: flex;
}

.popup-box {
  width: 100%;
  max-width: 420px;
  padding: 32px 26px;
  text-align: center;
  color: #ffffff;
  background: #050505;
  border: 1px solid rgba(77, 141, 255, 0.65);
  border-radius: 22px;
  box-shadow: 0 0 35px rgba(77, 141, 255, 0.35);
  animation: popupFade 0.25s ease;
}

.popup-box::before {
  content: "🎶🎮";
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
}

#popupMessage {
  margin: 0;
  color: #f5f5f5;
  font-size: 1rem;
  line-height: 1.6;
}

.popup-box button {
  margin-top: 22px;
  padding: 12px 30px;
  color: #ffffff;
  font-weight: bold;
  background: #4d8dff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.popup-box button:hover {
  color: #000000;
  background: #ffffff;
  transform: translateY(-2px);
}

.popup-box button:focus-visible {
  outline: 3px solid rgba(77, 141, 255, 0.55);
  outline-offset: 3px;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}