#update-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

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

#update-popup {
  background: linear-gradient(160deg, #0d001a, #1a0030);
  border: 1px solid rgba(160, 80, 220, 0.4);
  border-radius: 16px;
  padding: 32px 28px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 40px rgba(100, 0, 180, 0.35);
  animation: slideUp 0.35s ease;
  font-family: 'Figtree', sans-serif;
  color: #e2d4f0;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.popup-tag {
  display: inline-block;
  background: rgba(160, 80, 220, 0.25);
  border: 1px solid rgba(160, 80, 220, 0.5);
  color: #d8b4fe;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.popup-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d8b4fe;
  margin-bottom: 10px;
}

.popup-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(226, 212, 240, 0.8);
  margin-bottom: 22px;
}

.popup-body ul {
  margin-top: 8px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.popup-body ul li {
  color: rgba(216, 180, 254, 0.85);
}

.popup-dismiss {
  width: 100%;
  padding: 11px;
  background: rgba(100, 30, 160, 0.7);
  border: 1px solid rgba(160, 80, 220, 0.5);
  border-radius: 8px;
  color: #e9d5ff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.popup-dismiss:hover {
  background: rgba(130, 50, 200, 0.85);
}