#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, #080808, #181818);
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 32px 28px 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.35s ease;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #f5f5f5;
}

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

.popup-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #f5f5f5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 14px;
}

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

.popup-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245, 245, 245, 0.78);
  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(245, 245, 245, 0.84);
}

.popup-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.popup-btn {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.popup-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: 0;
}

.popup-btn:hover::before {
  left: 100%;
}

.popup-btn > * {
  position: relative;
  z-index: 1;
}

.popup-btn-primary {
  background: linear-gradient(135deg, #f5f5f5 0%, #8a8a8a 100%);
  color: #050505;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.popup-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.24);
}

.popup-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.16);
}

.popup-dismiss {
  width: 100%;
  padding: 11px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #f5f5f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.popup-dismiss:hover {
  background: rgba(255, 255, 255, 0.24);
}
