.nx-shutdown-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nx-shutdown-popup.is-visible {
  display: flex;
}

.nx-shutdown-popup__panel {
  width: min(100%, 640px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 14px;
  padding: 26px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.nx-shutdown-popup__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(248, 113, 113, 0.32);
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.28);
  color: #fecaca;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-shutdown-popup__title {
  margin: 0 0 12px;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  line-height: 1.05;
  font-weight: 900;
}

.nx-shutdown-popup__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 1rem;
  line-height: 1.65;
}

.nx-shutdown-popup__text p {
  margin: 0 0 14px;
}

.nx-shutdown-popup__text p:last-child {
  margin-bottom: 0;
}

.nx-shutdown-popup__date {
  color: #fca5a5;
  font-weight: 900;
}

.nx-shutdown-popup__site {
  color: #93c5fd;
  font-weight: 800;
  word-break: break-word;
}

.nx-shutdown-popup__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.nx-shutdown-popup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font: 800 0.9rem Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nx-shutdown-popup__button:hover {
  transform: translateY(-1px);
}

.nx-shutdown-popup__button--primary {
  border-color: rgba(96, 165, 250, 0.7);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.28);
}

.nx-shutdown-popup__button--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.9);
}

@media (max-width: 520px) {
  .nx-shutdown-popup__panel {
    padding: 22px 18px;
  }

  .nx-shutdown-popup__actions {
    flex-direction: column;
  }

  .nx-shutdown-popup__button {
    width: 100%;
  }
}
