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

:root {
  --violet: #9b5cff;
  --violet-glow: #b388ff;
  --black: #0b0b10;
}

* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
 

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.6s ease;
  z-index: 9999;
}

/* Popup */
.popup {
  position: relative;
  width: 360px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(105, 51, 192, 0.897),
    rgba(34, 21, 54, 0.623)
  );
  backdrop-filter: blur(20px);
   
  text-align: center;
  animation: popupIn 0.7s cubic-bezier(.2,.9,.3,1.2);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(90deg, var(--violet), var(--violet-glow));
  color: #000;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Titles */
.popup h1 {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 8px;
}

.popup h2 {
  font-size: 42px;
  font-weight: 800;
  color: white;
  text-shadow: 0 0 20px var(--violet-glow);
  margin-bottom: 24px;
}

/* Code box */
.code-box {
  cursor: pointer;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(155,92,255,0.5);
  box-shadow: inset 0 0 20px rgba(155,92,255,0.3);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.code-box:hover {
  transform: scale(1.05);
   
}

.code-box span {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--violet-glow);
}

.code-box small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #aaa;
}

/* Button */
.cta {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, var(--violet), var(--violet-glow));
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: black;
   
  transition: all 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  
}

/* Close */
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

.close:hover {
  color: white;
}

/* Animations */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
