:root {
  --bg:#000; --text:#fff; --dim:#9ca3af;
}
* { box-sizing:border-box; }
html,body { height:100%; margin:0; }
body.nx-body { background:var(--bg); color:var(--text); font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow:hidden; }

.nx-bg-grad {
  position:fixed; inset:0;
  background:linear-gradient(160deg, rgba(255,244,229,.9) 0%, rgba(255,244,229,.6) 40%, transparent 100%);
  filter:blur(12px);
  opacity:.85; pointer-events:none;
}
.nx-bg-dark { position:fixed; inset:0; background:rgba(0,0,0,.8); }
.nx-bg-dark-strong { position:fixed; inset:0; background:rgba(0,0,0,.85); }

.nx-center {
  position:relative; z-index:10; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:24px;
}
.nx-title { font-size:clamp(40px,7vw,80px); font-weight:800; letter-spacing:-.02em; margin:0; }
.nx-dim { color:var(--dim); }
.nx-underline-btn {
  margin-top:48px; display:inline-block; color:#d1d5db; border-bottom:1px solid #6b7280; padding-bottom:4px; text-decoration:none;
}

.nx-underline-btn {
  margin-top:48px;
  display:inline-block;
  color:#d1d5db;

  /* ¹öÆ°/¸µÅ©¸¦ ¸ðµÎ "¹ØÁÙ ÅØ½ºÆ®"Ã³·³ º¸ÀÌ°Ô */
  background:transparent;
  border:none;
  padding:0 0 4px;

  border-bottom:1px solid #6b7280;
  text-decoration:none;
  cursor:pointer;
}

.nx-underline-btn:hover {
  color:#fff;
  border-color:#fff;
}

.nx-underline-btn.sm {
  margin-top:0;
}

.nx-footer { position:fixed; bottom:16px; left:0; right:0; text-align:center; color:#6b7280; font-size:14px; z-index:10; }

.nx-login-wrap {
  position:relative;
  z-index:10;

  /* °¡·Î´Â ±âÁ¸Ã³·³ °íÁ¤ */
  width:min(420px, 92%);
  margin:0 auto;
  padding:0 8px;

  /* ¼¼·Î ÀüÃ¼¸¦ ¾²°í, ¾ÈÀÇ ÆûÀ» °¡¿îµ¥·Î Á¤·Ä */
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.nx-login-title { text-align:center; color:#9ca3af; font-size:14px; letter-spacing:.2em; margin:0; user-select:none; }
.nx-form { margin-top:40px; display:flex; flex-direction:column; gap:40px; }
.nx-label { display:block; font-size:12px; color:#9ca3af; }
.nx-input {
  width:100%; background:transparent; border:none; border-bottom:1px solid #374151;
  padding:.5rem 0 .6rem; color:#e5e7eb; outline:none; caret-color:#fff;
}
.nx-input:focus { border-color:#d1d5db; }
.nx-enter { padding-top:8px; text-align:left; }
.nx-copy { margin-top:64px; text-align:center; font-size:10px; color:#4b5563; user-select:none; }

/* simple fades */
@keyframes fade { from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:none} }
.nx-fade-in { animation:fade 1s ease both; }
.nx-fade-in-slow { animation:fade 1.6s ease .4s both; }
.nx-fade-in-lite { animation:fade 1.2s ease .2s both; }
