body {
  background: radial-gradient(circle at center, #010b2e 0%, #000 100%);
  font-family: 'Poppins', sans-serif;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

/* Popup overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 30, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.popup-overlay.show {
  opacity: 1;
  transform: scale(1);
}

.popup-overlay.hide {
  opacity: 0;
  transform: scale(0.9);
}

/* Popup card */
.popup-card {
  position: relative;
  background: linear-gradient(145deg, #031547, #0b2869);
  border: 3px solid transparent;
  border-image: linear-gradient(90deg, #0059ff, #ffd700, #0059ff) 1;
  border-radius: 25px;
  padding: 40px 35px;
  color: white;
  width: 420px;
  text-align: center;
  box-shadow: 0 0 25px #0059ff, inset 0 0 30px #002b80;
}

/* Logo glow */
@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 10px #ffd700); }
  50% { filter: drop-shadow(0 0 25px #0059ff); }
  100% { filter: drop-shadow(0 0 10px #ffd700); }
}
.popup-logo {
  width: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

/* Header */
.popup-header h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.popup-header span {
  color: #ffd700;
  animation: textGlow 2s infinite alternate;
}
@keyframes textGlow {
  from { text-shadow: 0 0 8px #ffd700, 0 0 18px #0059ff; }
  to { text-shadow: 0 0 20px #0059ff, 0 0 40px #ffd700; }
}

/* Link grid */
.popup-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.link-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #0059ff;
  border-radius: 12px;
  padding: 10px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 0 5px #0059ff;
  box-shadow: 0 0 10px #0059ff;
  transition: all 0.3s ease;
}
.link-item:hover {
  background: linear-gradient(90deg, #0059ff, #ffd700);
  color: #000;
  transform: scale(1.06);
  box-shadow: 0 0 25px #ffd700, 0 0 40px #0059ff;
}

/* Footer */
.popup-footer {
  margin-top: 25px;
  font-size: 0.9rem;
  opacity: 0.9;
  color: #ffd700;
}

/* Tombol close */
.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #ffd700;
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: 0.3s;
}
.close-btn:hover {
  background: linear-gradient(90deg, #ffd700, #0059ff);
  color: #000;
  transform: rotate(90deg);
}
