/* Settlers — Northrend at night */
:root {
  --bg: #05080f;
  --surface: rgba(16, 28, 50, 0.66);
  --border: rgba(148, 197, 255, 0.12);
  --border-strong: rgba(125, 211, 252, 0.30);
  --text: #e7eef8;
  --text-2: #b4c3d8;
  --muted: #7d92ae;
  --frost: #7dd3fc;
  --frost-2: #38bdf8;
  --ice: #e0f2fe;
  --ok: #4ade80;
  --err: #fb7185;
  --gold: #fcd34d;
  --radius: 18px;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--frost); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ice); }
::selection { background: rgba(56, 189, 248, .35); color: #fff; }
code, .mono { font-family: var(--font-mono); }
p code, li code, .feature code {
  font-size: .86em; color: var(--ice); background: rgba(125, 211, 252, .1);
  border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; white-space: nowrap;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- sky ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(1200px 760px at 82% -12%, rgba(56, 189, 248, .17), transparent 60%),
    radial-gradient(900px 700px at -5% 8%, rgba(139, 92, 246, .13), transparent 60%),
    linear-gradient(180deg, #060a15 0%, #08142a 46%, #05080f 100%);
}
.stars {
  position: absolute; inset: 0; opacity: .6;
  background-image:
    radial-gradient(1px 1px at 25px 35px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 132px 84px, #cfe8ff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 176px 152px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 62px 176px, #bfe0ff 50%, transparent 51%),
    radial-gradient(1px 1px at 214px 42px, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 96px 122px, #e6f3ff 50%, transparent 51%),
    radial-gradient(1px 1px at 228px 210px, #dbeeff 50%, transparent 51%);
  background-size: 240px 240px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.aurora {
  position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55;
  mix-blend-mode: screen; animation: drift 28s ease-in-out infinite alternate;
}
.aurora.a1 { width: 62vw; height: 40vh; left: -12vw; top: -10vh; background: radial-gradient(closest-side, rgba(45, 212, 191, .55), transparent); }
.aurora.a2 { width: 52vw; height: 36vh; right: -10vw; top: 2vh; background: radial-gradient(closest-side, rgba(56, 189, 248, .5), transparent); animation-duration: 34s; }
.aurora.a3 { width: 40vw; height: 30vh; left: 30vw; top: -14vh; background: radial-gradient(closest-side, rgba(167, 139, 250, .42), transparent); animation-duration: 40s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 5vh, 0) scale(1.18); } }
#snow { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.mountains { position: absolute; left: 0; right: 0; bottom: 0; height: min(36vh, 330px); z-index: -1; pointer-events: none; }
.mountains svg { width: 100%; height: 100%; display: block; }

/* ---------- brand / emblem ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .2em;
  color: #fff; font-size: 18px;
}
.brand:hover { color: #fff; }
.emblem { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(125, 211, 252, .45)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); letter-spacing: .02em; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .25s ease, background .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #04131f;
  background: linear-gradient(180deg, #c8ecfe 0%, #7dd3fc 48%, #38bdf8 100%);
  box-shadow: 0 12px 32px -10px rgba(56, 189, 248, .7), inset 0 1px 0 rgba(255, 255, 255, .65);
}
.btn-primary:hover { color: #04131f; transform: translateY(-1px); box-shadow: 0 18px 44px -12px rgba(56, 189, 248, .85), inset 0 1px 0 rgba(255, 255, 255, .75); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--text); background: rgba(14, 24, 44, .55); border-color: var(--border-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; border-color: var(--frost); background: rgba(22, 38, 66, .75); }
.btn-block { width: 100%; }
.btn:focus-visible, .copy:focus-visible, .icon-btn:focus-visible, .toggle-pw:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(5, 9, 18, .74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.nav .btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 94vh; display: flex; align-items: center; padding: 130px 0 240px; text-align: center; isolation: isolate; }
.moon {
  position: absolute; top: 15%; right: 11%; width: 112px; height: 112px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 36% 34%, #fbfdff 0%, #d7e8f7 52%, #9fbcd8 100%);
  box-shadow: 0 0 60px 18px rgba(186, 230, 253, .22), 0 0 180px 70px rgba(125, 211, 252, .1);
}
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 64% 60%, rgba(120, 150, 185, .35) 0 9%, transparent 10%), radial-gradient(circle at 40% 70%, rgba(120, 150, 185, .25) 0 6%, transparent 7%), radial-gradient(circle at 70% 30%, rgba(120, 150, 185, .22) 0 5%, transparent 6%); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(14, 165, 233, .08);
  color: var(--frost); font: 600 12px/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase;
}
.kicker svg { width: 15px; height: 15px; }
.title {
  margin: 30px 0 20px; padding-left: .09em;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .09em; line-height: .95;
  font-size: clamp(58px, 11.5vw, 156px);
  background: linear-gradient(180deg, #ffffff 0%, #e2f4ff 36%, #86d6fb 70%, #2c90d2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 42px rgba(125, 211, 252, .32));
}
.tagline { max-width: 660px; margin: 0 auto; color: var(--text-2); font-size: clamp(17px, 2vw, 20px); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 11px; height: 52px; padding: 0 22px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(9, 17, 32, .6); color: var(--text-2); font-weight: 500;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill strong { color: #fff; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s infinite; flex: none; }
.dot.off { background: var(--err); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.rise { animation: rise .95s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .32s; } .d4 { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- panels ---------- */
.panel {
  background: linear-gradient(180deg, rgba(22, 37, 64, .72), rgba(10, 18, 34, .74));
  border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(186, 230, 253, .07);
}

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -132px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 22px 24px; }
.stat-label { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stat-value { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: #fff; margin-top: 8px; line-height: 1.1; }
.stat-value.ok { color: var(--ok); text-shadow: 0 0 24px rgba(74, 222, 128, .35); }
.stat-value.off { color: var(--err); }
.stat-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat-meta { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-size: 14px; }
.stat-meta strong { color: var(--text); font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 120px 0 40px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 58px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--frost); font-weight: 600; }
.h2 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; margin: 14px 0 16px; color: #fff; letter-spacing: .02em; }
.lead { color: var(--text-2); font-size: 18px; margin: 0; }
.rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; color: var(--frost); }
.rule svg { width: 18px; height: 18px; opacity: .8; }
.rule::before, .rule::after { content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, var(--border-strong)); }
.rule::after { transform: scaleX(-1); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; overflow: hidden; padding: 32px 30px; transition: transform .3s ease, border-color .3s ease; }
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(56, 189, 248, .16), transparent); opacity: 0; transition: opacity .35s; pointer-events: none; }
.feature:hover::after { opacity: 1; }
.icon-badge { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; color: var(--frost); background: linear-gradient(180deg, rgba(56, 189, 248, .2), rgba(56, 189, 248, .05)); border: 1px solid var(--border-strong); box-shadow: 0 0 24px -6px rgba(56, 189, 248, .45); }
.icon-badge svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-display); font-size: 21px; margin: 0 0 10px; color: #fff; letter-spacing: .02em; }
.feature p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 28px 24px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; color: #04131f; background: linear-gradient(180deg, #c8ecfe, #38bdf8); box-shadow: 0 0 0 6px rgba(56, 189, 248, .12); }
.step h3 { font-size: 17px; margin: 0 0 8px; color: #fff; font-weight: 600; }
.step p { margin: 0; color: var(--text-2); font-size: 14.5px; }

.realmlist { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 20px; padding: 26px 28px; }
.realmlist h3 { margin: 0 0 4px; color: #fff; font-size: 17px; font-weight: 600; }
.realmlist p { margin: 0; color: var(--muted); font-size: 14px; }
.code {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 280px; max-width: 520px;
  padding: 10px 10px 10px 18px; border-radius: 12px; background: #030712; border: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: 16.5px; color: var(--ice);
}
.code .val { flex: 1; overflow-x: auto; white-space: nowrap; }
.code .val::before { content: "› "; color: var(--frost-2); }
.code-sm { margin-top: 10px; max-width: none; min-width: 0; font-size: 14.5px; }
.copy {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 9px;
  border: 1px solid var(--border-strong); background: rgba(56, 189, 248, .1); color: var(--ice);
  font: 600 13px var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.copy:hover { background: rgba(56, 189, 248, .2); }
.copy.copied { color: var(--ok); border-color: rgba(74, 222, 128, .5); background: rgba(74, 222, 128, .1); }
.copy svg { width: 15px; height: 15px; }

.closer { margin: 120px 0 0; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.closer::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(56, 189, 248, .16), transparent 70%); pointer-events: none; }
.closer .emblem { width: 54px; height: 54px; margin-bottom: 16px; }
.closer .h2 { margin-top: 0; }
.closer p { color: var(--text-2); max-width: 540px; margin: 0 auto 28px; font-size: 17px; }

footer { margin-top: 110px; border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--muted); font-size: 13.5px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 15px; }
.foot .emblem { width: 24px; height: 24px; }
.foot-legal { max-width: 520px; line-height: 1.55; }

/* scroll-driven reveal (progressive enhancement; no JS) */
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}

/* ---------- auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.auth-side {
  position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 40px 56px; overflow: hidden;
  border-right: 1px solid var(--border); background: linear-gradient(180deg, rgba(9, 18, 36, .5), rgba(5, 8, 15, .15)); isolation: isolate;
}
.auth-side-body { margin: auto 0; max-width: 500px; padding: 50px 0 210px; }
.auth-side h2 { font-family: var(--font-display); font-size: clamp(34px, 3.5vw, 50px); line-height: 1.08; margin: 16px 0 18px; color: #fff; }
.auth-side p { color: var(--text-2); font-size: 17px; margin: 0 0 26px; }
.auth-side .mountains { height: 44%; }
.auth-side-foot { position: relative; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; }
.perks li svg { width: 20px; height: 20px; flex: none; color: var(--frost); margin-top: 2px; }
.side-stats { display: flex; gap: 36px; margin-top: 36px; }
.side-stats div { display: flex; flex-direction: column; }
.side-stats strong { font-family: var(--font-display); font-size: 28px; color: #fff; line-height: 1.1; }
.side-stats span { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; min-height: 100vh; }
.auth-col { width: 100%; max-width: 460px; }
.auth-card { padding: 40px 38px; }
.auth-title { font-family: var(--font-display); font-size: 32px; line-height: 1.15; margin: 0 0 8px; color: #fff; letter-spacing: .02em; }
.auth-sub { color: var(--text-2); margin: 0 0 28px; }
.auth-sub strong { color: #fff; }
.brand-mobile { display: none; justify-content: center; margin-bottom: 26px; }
.badge-expiry { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--frost); background: rgba(56, 189, 248, .08); border: 1px solid var(--border-strong); }
.badge-expiry svg { width: 14px; height: 14px; }

/* ---------- forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field label .hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.input-wrap { position: relative; }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
  font: 500 16px var(--font-body); color: var(--text);
  background: rgba(3, 7, 18, .72); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #4d6180; }
.input:hover { border-color: rgba(148, 197, 255, .24); }
.input:focus { outline: none; border-color: var(--frost-2); background: rgba(3, 7, 18, .92); box-shadow: 0 0 0 4px rgba(56, 189, 248, .16); }
.input.has-toggle { padding-right: 54px; }
.input.bad { border-color: rgba(251, 113, 133, .6); }
.input.good { border-color: rgba(74, 222, 128, .5); }
.toggle-pw { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.toggle-pw:hover { color: var(--ice); background: rgba(125, 211, 252, .08); }
.toggle-pw svg { width: 19px; height: 19px; }
.toggle-pw .i-off, .toggle-pw.on .i-on { display: none; }
.toggle-pw.on .i-off { display: block; }
.field-msg { min-height: 1.3em; margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.field-msg.bad { color: var(--err); }
.field-msg.good { color: var(--ok); }
.fine { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.form-actions { margin-top: 8px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: 14.5px; margin-bottom: 22px; }
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.alert-err { background: rgba(251, 113, 133, .08); border-color: rgba(251, 113, 133, .35); color: #fecdd3; }
.alert-ok { background: rgba(74, 222, 128, .08); border-color: rgba(74, 222, 128, .35); color: #bbf7d0; }
.alert-info { background: rgba(56, 189, 248, .08); border-color: rgba(56, 189, 248, .3); color: #cdeefe; }

.center { text-align: center; }
.mark { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; }
.mark svg { width: 34px; height: 34px; }
.mark-ok { color: #052e16; background: linear-gradient(180deg, #bbf7d0, #4ade80); box-shadow: 0 0 0 10px rgba(74, 222, 128, .12), 0 20px 50px -12px rgba(74, 222, 128, .55); }
.mark-ok svg { stroke-width: 3; }
.mark-frost { color: var(--frost); background: linear-gradient(180deg, rgba(56, 189, 248, .22), rgba(56, 189, 248, .06)); border: 1px solid var(--border-strong); box-shadow: 0 0 0 10px rgba(56, 189, 248, .06); }
.next-steps { display: grid; gap: 12px; margin: 26px 0 24px; text-align: left; }
.next-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(3, 7, 18, .5); border: 1px solid var(--border); }
.next-step .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #04131f; background: var(--frost); margin-top: 1px; }
.next-step .body { flex: 1; min-width: 0; }
.next-step p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.next-step strong { color: #fff; }

/* ---------- admin ---------- */
.admin-top { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border); background: rgba(5, 9, 18, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.admin-top-in { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-top-in > div:first-child { display: flex; align-items: center; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(252, 211, 77, .1); border: 1px solid rgba(252, 211, 77, .3); margin-left: 4px; }
.who { display: flex; align-items: center; gap: 14px; color: var(--text-2); font-size: 14px; }
.who strong { color: #fff; }
.who .btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
.who .btn svg { width: 16px; height: 16px; }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px 90px; }
.admin-hello { padding: 46px 0 28px; }
.admin-hello h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); margin: 10px 0 6px; color: #fff; }
.admin-hello p { color: var(--text-2); margin: 0; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.mini { padding: 18px 20px; }
.mini .stat-value { font-size: 28px; margin-top: 6px; }
.newlink { margin-bottom: 22px; padding: 22px 24px; border-color: rgba(74, 222, 128, .38); background: linear-gradient(180deg, rgba(22, 70, 46, .4), rgba(10, 18, 34, .78)); }
.newlink-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #bbf7d0; font-weight: 600; }
.newlink-head svg { width: 20px; height: 20px; }
.newlink .code { max-width: none; font-size: 14px; }
.newlink .fine { text-align: left; margin-top: 12px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.action { padding: 28px; display: flex; flex-direction: column; }
.action h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-family: var(--font-display); font-size: 22px; color: #fff; }
.action h2 .icon-badge { width: 40px; height: 40px; margin: 0; border-radius: 11px; }
.action h2 .icon-badge svg { width: 20px; height: 20px; }
.action p { color: var(--text-2); margin: 0 0 22px; font-size: 15px; flex: 1; }
.inline-form { display: flex; gap: 10px; }
.inline-form .input { flex: 1; min-width: 0; }
.inline-form .btn { padding: 0 20px; }
.table-panel { margin-top: 22px; overflow: hidden; }
.table-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
.table-head h2 { margin: 0; font-family: var(--font-display); font-size: 20px; color: #fff; }
.table-head span { color: var(--muted); font-size: 14px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; padding: 12px 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 14px 24px; color: var(--text-2); border-bottom: 1px solid rgba(148, 197, 255, .07); vertical-align: middle; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td strong { color: #fff; font-weight: 600; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.badge-signup { color: #cdeefe; background: rgba(56, 189, 248, .14); border: 1px solid rgba(56, 189, 248, .32); }
.badge-reset { color: #fde68a; background: rgba(252, 211, 77, .1); border: 1px solid rgba(252, 211, 77, .3); }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.row-actions form { margin: 0; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--border); background: rgba(3, 7, 18, .5); color: var(--text-2); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.icon-btn:hover { color: #fff; border-color: var(--border-strong); }
.icon-btn.copied { color: var(--ok); border-color: rgba(74, 222, 128, .5); }
.icon-btn.danger:hover { color: var(--err); border-color: rgba(251, 113, 133, .5); background: rgba(251, 113, 133, .08); }
.icon-btn svg { width: 16px; height: 16px; }
.empty { padding: 44px 24px 50px; text-align: center; color: var(--muted); }
.empty svg { width: 28px; height: 28px; color: var(--border-strong); margin-bottom: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .stat-grid, .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .brand-mobile { display: flex; }
}
@media (max-width: 820px) {
  .nav-links a:not(.btn) { display: none; }
  .actions { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
@media (max-width: 620px) {
  .features, .steps { grid-template-columns: 1fr; }
  .hero { padding: 116px 0 210px; min-height: 88vh; }
  .moon { display: none; }
  .kicker { font-size: 10.5px; letter-spacing: .16em; padding: 8px 14px; gap: 8px; }
  .stat-meta { gap: 8px 20px; }
  .stats { margin-top: -110px; }
  .stat { padding: 18px; }
  .stat-value { font-size: 27px; }
  section { padding: 90px 0 20px; }
  .realmlist { padding: 22px 20px; }
  .code { min-width: 0; font-size: 14.5px; }
  .auth-card { padding: 30px 22px; }
  .who span.who-name { display: none; }
  .inline-form { flex-direction: column; }
  .closer { padding: 48px 22px; margin-top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora, .dot, .rise, .reveal { animation: none !important; }
}
