.nmodal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nmodal.open { opacity: 1; pointer-events: auto; }

.nmodal__card {
  position: relative;
  width: calc(100% - 32px);
  max-width: 440px;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(0, 200, 180, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #0a1814 0%, #050b09 100%);
  border: 1px solid rgba(0, 200, 180, 0.25);
  transform: translateY(20px);
  transition: transform 0.35s ease;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 200, 180, 0.07);
}
.nmodal.open .nmodal__card { transform: translateY(0); }

.nmodal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(180, 220, 200, 0.55);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
  padding: 4px 6px;
}
.nmodal__close:hover { color: var(--teal, #00c8b4); }

.nmodal__content {
  position: relative;
  z-index: 2;
  padding: 36px 32px 32px;
  text-align: center;
}

.nmodal__check {
  display: inline-flex;
  color: var(--teal, #00c8b4);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(0, 200, 180, 0.4));
}
.nmodal__check--mail { color: #5cd9c8; }

.nmodal__variant { display: block; }
.nmodal__variant[hidden] { display: none; }

.nmodal__hint {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(180, 220, 200, 0.55);
  margin: -10px 0 22px;
}

.nmodal__tag {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 10px;
  color: var(--teal, #00c8b4);
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.nmodal__title {
  font-family: var(--font-hud, 'Orbitron', monospace);
  font-size: 24px;
  font-weight: 900;
  color: var(--text-bright, #e6edf3);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.nmodal__body {
  font-family: var(--font-body, 'Exo 2', sans-serif);
  font-size: 14px;
  line-height: 1.7;
  color: #cce4da;
  margin-bottom: 24px;
}
.nmodal__body strong {
  color: var(--teal, #00c8b4);
  font-weight: 600;
  word-break: break-all;
}

.nmodal__btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: rgba(0, 200, 180, 0.1);
  border: 1px solid rgba(0, 200, 180, 0.4);
  border-radius: 6px;
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #40f0e0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.nmodal__btn:hover {
  background: rgba(0, 200, 180, 0.2);
  box-shadow: 0 0 22px rgba(0, 200, 180, 0.18);
}

@media (max-width: 520px) {
  .nmodal__content { padding: 28px 20px 24px; }
  .nmodal__title { font-size: 20px; }
}
