/* LowAnticheat Verify // modern block-tech interface */

@font-face {
  font-family: 'Inter';
  src: url('/font/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070b0f;
  --panel: #0d1419;
  --panel-strong: #111b21;
  --line: #20323a;
  --line-bright: #2c5660;
  --text: #e9f4f5;
  --muted: #71878c;
  --cyan: #36f1d0;
  --cyan-dim: #1d9d91;
  --blue: #5ca9ff;
  --red: #ff6574;
  --yellow: #f5c451;
}

* { margin: 0; padding: 0; box-sizing: border-box; scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(54,241,208,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,241,208,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(54,241,208,.05), transparent 35%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,.025) 4px);
  mix-blend-mode: screen;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #a1fff0; }

.container { max-width: 1120px; margin: 0 auto; padding: 36px 28px 72px; }

/* header */
.header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 16px;
}
.header h1 {
  color: var(--text); font-size: 1.55rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.header h1::before { content: '> '; color: var(--cyan); }
.header-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.user-tag {
  color: var(--cyan); padding: 8px 12px; border: 1px solid var(--line-bright);
  border-radius: 0; background: rgba(54,241,208,.04); font-family: monospace;
}
.sub-title { color: var(--muted); font-size: .78rem; letter-spacing: .12em; margin-top: 8px; text-transform: uppercase; }

/* buttons */
.btn {
  min-height: 38px; padding: 9px 16px; border: 1px solid var(--line-bright);
  border-radius: 1px; cursor: pointer; transition: .16s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--text); background: var(--panel-strong); font: 700 .78rem/1.2 'Inter', sans-serif;
  letter-spacing: .06em; text-transform: uppercase;
}
.btn::before { content: '＋'; color: var(--cyan); }
.btn:active { transform: translateY(1px); }
.btn-primary { border-color: var(--cyan); color: #03100e; background: var(--cyan); box-shadow: 4px 4px 0 rgba(54,241,208,.16); }
.btn-primary::before { color: #03100e; }
.btn-primary:hover { color: #03100e; background: #a1fff0; box-shadow: 6px 6px 0 rgba(54,241,208,.18); transform: translate(-1px,-1px); }
.btn-outline { color: var(--muted); background: transparent; }
.btn-outline::before { content: '›'; }
.btn-outline:hover { color: var(--cyan); border-color: var(--cyan); }
.btn-danger { color: var(--red); border-color: rgba(255,101,116,.55); background: rgba(255,101,116,.06); }
.btn-danger::before { content: '×'; color: var(--red); }
.btn-danger:hover { color: #fff; background: var(--red); }
.btn-sm { min-height: 32px; padding: 7px 10px; font-size: .68rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* sections */
.section {
  position: relative; margin-bottom: 20px; padding: 24px;
  border: 1px solid var(--line); border-radius: 0; background: rgba(13,20,25,.92);
  box-shadow: 8px 8px 0 rgba(0,0,0,.22);
}
.section::before { content: ''; position: absolute; top: -1px; left: -1px; width: 26px; height: 2px; background: var(--cyan); }
.section-title { color: var(--text); font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.section-title::before { content: '// '; color: var(--cyan); }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }
.desc { color: var(--muted); font-size: .8rem; line-height: 1.7; margin-bottom: 16px; }

/* fields */
.field { margin-bottom: 18px; }
.field label { display: block; color: var(--muted); font: 700 .68rem/1.2 monospace; letter-spacing: .12em; margin-bottom: 8px; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: 0; outline: none; color: var(--text); background: #080e12;
  font: .9rem 'Inter', sans-serif; transition: .16s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #405258; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan); box-shadow: 3px 3px 0 rgba(54,241,208,.12); }
.field textarea { min-height: 90px; resize: vertical; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.hint { color: var(--muted); font: .7rem monospace; margin-top: 7px; }
.mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: .8rem; word-break: break-all; }

/* messages */
.msg { display: none; padding: 11px 13px; border-radius: 0; font: .78rem monospace; margin-bottom: 16px; }
.msg.show { display: block; }
.msg.error { color: var(--red); border: 1px solid rgba(255,101,116,.5); background: rgba(255,101,116,.07); }
.msg.success { color: var(--cyan); border: 1px solid rgba(54,241,208,.5); background: rgba(54,241,208,.07); }

/* badges */
.badge { display: inline-block; padding: 4px 8px; border: 1px solid currentColor; border-radius: 0; font: 700 .64rem monospace; letter-spacing: .06em; text-transform: uppercase; }
.badge-success { color: var(--cyan); background: rgba(54,241,208,.06); }
.badge-danger { color: var(--red); background: rgba(255,101,116,.06); }
.badge-warning { color: var(--yellow); background: rgba(245,196,81,.06); }
.badge-info { color: var(--blue); background: rgba(92,169,255,.06); }
.badge-muted { color: var(--muted); background: transparent; }

/* tables */
.table-wrap { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.info-table th { padding: 11px 12px; color: var(--cyan-dim); border-bottom: 1px solid var(--line-bright); text-align: left; font: 700 .65rem monospace; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.info-table td { padding: 13px 12px; color: #b9cacc; border-bottom: 1px solid rgba(32,50,58,.72); vertical-align: middle; }
.info-table tr:hover td { color: var(--text); background: rgba(54,241,208,.035); }
.info-table tr:last-child td { border-bottom: none; }
.info-table .actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* stat grid */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 0; background: var(--panel); }
.stat-card::after { content: ''; position: absolute; right: 10px; bottom: 10px; width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.stat-card .value { color: var(--cyan); font: 800 1.8rem monospace; }
.stat-card .label { color: var(--muted); font: .68rem monospace; letter-spacing: .08em; margin-top: 8px; text-transform: uppercase; }

/* modal */
.modal-overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 100; opacity: 0; pointer-events: none; background: rgba(0,0,0,.82); transition: opacity .16s; }
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-overlay.closing { opacity: 0; }
.modal-box { width: min(500px, 92vw); max-height: 82vh; overflow-y: auto; padding: 26px; border: 1px solid var(--cyan-dim); border-radius: 0; background: #0b1318; box-shadow: 8px 8px 0 rgba(54,241,208,.12); transform: translateY(10px); transition: transform .16s; }
.modal-overlay.show .modal-box { transform: none; }
.modal-overlay.closing .modal-box { transform: translateY(10px); }
.modal-title { color: var(--text); font-size: 1rem; font-weight: 800; letter-spacing: .08em; margin-bottom: 20px; text-transform: uppercase; }
.modal-title::before { content: '[ '; color: var(--cyan); }
.modal-title::after { content: ' ]'; color: var(--cyan); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* toast */
#toast { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast-item { padding: 12px 16px; max-width: 360px; color: var(--text); border: 1px solid var(--line-bright); border-left: 3px solid var(--cyan); border-radius: 0; background: #0d171c; box-shadow: 5px 5px 0 rgba(0,0,0,.35); font: .78rem monospace; animation: toastIn .2s ease; }
.toast-item.ok { border-left-color: var(--cyan); }
.toast-item.err { border-left-color: var(--red); }

/* auth */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 20px; position: relative; }
.auth-wrap::before { content: 'LOWANTICHEAT_VERIFY // AUTH_NODE_01'; position: fixed; top: 24px; left: 28px; color: var(--cyan); font: 700 .68rem monospace; letter-spacing: .12em; }
.auth-wrap::after { content: 'SYSTEM ONLINE  ●'; position: fixed; right: 28px; bottom: 24px; color: var(--cyan-dim); font: .68rem monospace; letter-spacing: .1em; }
.auth-card { width: 100%; max-width: 440px; padding: 42px 38px; border: 1px solid var(--line-bright); border-radius: 0; background: rgba(13,20,25,.97); box-shadow: 10px 10px 0 rgba(54,241,208,.1), 0 30px 80px rgba(0,0,0,.5); animation: fadeInUp .28s ease; }
.auth-logo { width: 64px; height: 64px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--cyan); border-radius: 0; color: var(--cyan); background: rgba(54,241,208,.06); box-shadow: 5px 5px 0 rgba(54,241,208,.18); }
.auth-logo svg { width: 30px; height: 30px; }
.auth-title { color: var(--text); text-align: center; font-size: 1.42rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.auth-sub { color: var(--muted); text-align: center; font: .72rem monospace; letter-spacing: .06em; line-height: 1.7; margin: 10px 0 30px; }
.auth-switch { color: var(--muted); text-align: center; font: .75rem monospace; margin-top: 22px; }

/* tabs and toggles */
.tab-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tab { padding: 9px 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 0; cursor: pointer; background: var(--panel); font: 700 .68rem monospace; letter-spacing: .06em; text-transform: uppercase; transition: .16s; }
.tab:hover, .tab.active { color: var(--cyan); border-color: var(--cyan-dim); background: rgba(54,241,208,.08); }
.toggle { position: relative; width: 42px; height: 22px; flex-shrink: 0; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; border: 1px solid var(--line-bright); border-radius: 0; background: #080e12; transition: .16s; }
.toggle-slider::before { content: ''; position: absolute; width: 14px; height: 14px; top: 3px; left: 3px; background: var(--muted); transition: .16s; }
.toggle input:checked + .toggle-slider { border-color: var(--cyan); background: rgba(54,241,208,.12); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.setting-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.setting-row:last-child { border-bottom: none; }
.setting-label { color: var(--text); font-size: .82rem; font-weight: 700; }
.setting-desc { color: var(--muted); font: .7rem monospace; line-height: 1.6; margin-top: 5px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.anim-in { animation: fadeInUp .24s ease; }

@media (max-width: 640px) {
  .container { padding: 24px 14px 48px; }
  .auth-card { padding: 34px 22px; }
  .auth-wrap::before { left: 16px; font-size: .58rem; }
  .auth-wrap::after { right: 16px; font-size: .58rem; }
  .section { padding: 20px 16px; }
  .field-row { flex-direction: column; gap: 0; }
  .header h1 { font-size: 1.2rem; }
}
