


.nx-refresh :root {
  --nx-bg: #0f141a;
  --nx-panel: #151c24;
  --nx-soft: #1b2632;
  --nx-text: #ada8a2;
  --nx-dim: #a9b4bf;
  --nx-accent: #3aa0ff;
  --nx-accent-2: #6ae3ff;
  --nx-ok: #22c55e;
  --nx-ok-2: #4ade80;
  --nx-warn: #eab308;
  --nx-warn-2: #facc15;
  --nx-bad: #ef4444;
  --nx-bad-2: #f87171;
  --nx-pill: #263445;
  --nx-border: rgba(255,255,255,0.06);
  --nx-shadow: 0 8px 24px rgba(0,0,0,0.35);
  --nx-header: #ffffff;
}

.nx-refresh h1,
.nx-refresh h2,
.nx-refresh h3,
.nx-refresh h4,
.nx-refresh h5,
.nx-refresh h6 {
  color: var(--nx-header);
}


.nx-refresh section.servers,
.nx-refresh section.staff { margin-top: 28px; margin-bottom: 28px; }


.nx-refresh .nx-neon-box {
  border: 2px solid rgba(58,160,255,.9);
  border-radius: 6px;
  padding: 20px;
  margin: 28px 0;
  box-shadow:
    0 0 12px rgba(58,160,255,.8),
    0 0 24px rgba(58,160,255,.6),
    inset 0 0 12px rgba(58,160,255,.4);
  background: rgba(15,20,26,.65);
}


.nx-refresh .nx-section-title {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin: 0 4px 14px 4px; color: var(--nx-text);
}
.nx-refresh .nx-section-title h2 {
  margin:0; font-size:22px; font-weight:800; letter-spacing:.3px;
  text-shadow: 0 0 18px rgba(58,160,255,.25);
}
.nx-refresh .nx-pulse {
  width:10px; height:10px; border-radius:999px; background:#30d158;
  box-shadow: 0 0 10px rgba(48,209,88,.9), 0 0 18px rgba(48,209,88,.6);
}


.nx-refresh .nx-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 576px) { .nx-refresh .nx-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1200px){ .nx-refresh .nx-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.nx-refresh .nx-card {
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: var(--nx-shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  animation: nxFloatIn .24s ease both;
}
.nx-refresh .nx-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.12);
}


.nx-refresh .nx-server-media {
  position: relative; aspect-ratio: 16/9;
  background: #0b0f14; overflow: hidden;
}
.nx-refresh .nx-server-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.08); transition: transform .35s ease;
}
.nx-refresh .nx-card:hover .nx-server-media img{ transform: scale(1.05); }

.nx-refresh .nx-server-media::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(9,14,20,.88) 10%, rgba(9,14,20,0) 65%);
  pointer-events:none;
}

.nx-refresh .nx-card .nx-sky {
  position:absolute; inset:0; pointer-events:none; opacity:0.18;
  transition: opacity .8s ease, filter 1.2s ease;
  background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0));
  mix-blend-mode: soft-light;
}
.nx-refresh .nx-card[data-phase="night"] .nx-sky  { opacity:0.22; filter: saturate(0.9) brightness(0.85); }
.nx-refresh .nx-card[data-phase="day"]   .nx-sky  { opacity:0.14; filter: saturate(1.05) brightness(1.00); }
.nx-refresh .nx-card[data-phase="dusk"]  .nx-sky  { opacity:0.20; filter: saturate(1.05) hue-rotate(12deg); }
.nx-refresh .nx-card[data-phase="dawn"]  .nx-sky  { opacity:0.18; filter: saturate(1.05) hue-rotate(-6deg); }

.nx-refresh .nx-ribbon {
  position: absolute; top: 12px; left: -8px;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-accent-2));
  color: #001018; font-weight: 800; font-size: 12px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 0 8px 8px 0;
}

.nx-refresh .nx-server-body {
  padding: 14px 14px 0 14px; color: var(--nx-text);
}
.nx-refresh .nx-title-row {
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: flex-start; gap: 10px;
  margin-bottom: 6px;
}
.nx-refresh .nx-title { font-size: 19px; font-weight: 900; letter-spacing: .3px; }

.nx-refresh .nx-status {
  font-size: 12px; padding: 4px 8px; border-radius: 999px; background: var(--nx-pill); color: var(--nx-dim);
  justify-self:end;
}
.nx-refresh .nx-status.ok { background: rgba(34,197,94,0.18); color: #a7f3d0; font-weight:700; }
.nx-refresh .nx-status.bad{ background: rgba(239,68,68,0.18); color: #fecaca; font-weight:700; }

.nx-refresh .nx-sub { color: var(--nx-dim); font-size: 13px; margin-bottom: 8px; }
.nx-refresh .nx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.nx-refresh .nx-tag {
  background: rgba(146, 162, 185, .12); border:1px solid rgba(146,162,185,.22);
  color: #c7d2de; font-size: 12px; padding: 4px 8px; border-radius: 999px;
}

.nx-refresh .nx-type {
  background: rgba(59,130,246,0.18);
  border:1px solid rgba(59,130,246,0.3);
  color:#93c5fd;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
}

.nx-refresh .nx-type.rust {
  background: rgba(239,68,68,0.18);
  border:1px solid rgba(239,68,68,0.3);
  color:#fecaca;
}

.nx-refresh .server-controls {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}

.nx-refresh .server-controls select {
  background:#0f1720;
  border:1px solid var(--nx-border);
  color:#e0e6ed;
  padding:6px 10px;
  border-radius:4px;
}

.nx-refresh .nx-meter {
  position: relative;
  background: #0f1720; border-radius: 999px; height: 10px; overflow: hidden; border: 1px solid var(--nx-border);
  margin-bottom: 12px;
}
.nx-refresh .nx-meter > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--nx-accent), var(--nx-accent-2));
  filter: drop-shadow(0 0 6px rgba(106,227,255,.45));
  width: 0%;
  transition: width .6s ease, background .6s ease, filter .6s ease;
}
.nx-refresh .nx-meter .nx-meter-count {
  position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);
  font-size: 12px; font-weight:700; color: var(--nx-header);
}

.nx-refresh .nx-actions {
  display: flex; gap: 8px; padding: 0 14px 14px 14px;
}
.nx-refresh .nx-btn {
  flex: 1 1 auto; text-align: center; font-weight: 800; font-size: 14px; letter-spacing:.2px;
  padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16);
  background: var(--nx-soft); color: var(--nx-text); text-decoration: none;
  transition: transform .05s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nx-refresh .nx-btn:hover { border-color: rgba(255,255,255,0.24); }
.nx-refresh .nx-btn:active { transform: translateY(1px); }
.nx-refresh .nx-btn.primary {
  background: linear-gradient(180deg, #233145, #1c2836);
  border-color: rgba(106,227,255,.24);
  box-shadow: 0 6px 18px rgba(106,227,255,.12), inset 0 1px 0 rgba(255,255,255,.06);
}
.nx-refresh .nx-btn.primary:hover {
  box-shadow: 0 0 0 2px rgba(106,227,255,.25), 0 10px 24px rgba(106,227,255,.18);
}
.nx-refresh .nx-btn.success {
  background: linear-gradient(180deg, #1e3f26, #16301d);
  border-color: rgba(34,197,94,0.4);
  color: #a7f3d0;
  box-shadow: 0 6px 18px rgba(34,197,94,0.12), inset 0 1px 0 rgba(255,255,255,.06);
}
.nx-refresh .nx-btn.success:hover {
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25), 0 10px 24px rgba(34,197,94,0.18);
}


.nx-staff-section {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 16px;
}

.nx-staff-leadin {
  font-size: .95rem;
  color: #9aa0a6;
  margin: 0 0 .5rem 0;
  text-align: center;
}


.nx-staff-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin: .5rem 0 1.25rem 0;
}
.nx-chip {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #e6e6e6;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .85rem;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, transform .06s ease;
}
.nx-chip:hover { background: rgba(255,255,255,0.08); }
.nx-chip.active { border-color: rgba(0,115,255,0.8); box-shadow: 0 0 0 1px rgba(0,115,255,0.25) inset; }


.nx-staff-grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(230px, 1fr) );
  gap: 18px;
}


.nx-staff-card {
  position: relative;
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.nx-staff-card .nx-card-inner {
  position: relative;
  padding: 16px 16px 12px 16px;
  background:
    radial-gradient(1200px 1200px at -20% -30%, rgba(0,115,255,0.08), transparent 35%),
    radial-gradient(900px 900px at 120% 130%, rgba(255,145,0,0.05), transparent 45%);
}
.nx-staff-card:hover {
  transform: translateY(-3px) rotateX(0.4deg);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}


.nx-staff-card.spotlight {
  border-color: rgba(0,115,255,0.35);
  box-shadow: 0 0 0 1px rgba(0,115,255,0.15) inset, 0 12px 30px rgba(0,0,0,0.35);
}


.nx-avatar {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 6px auto 10px auto;
  padding: 2px; 
  background: radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.nx-avatar img {
  width: 100%; height: 100%; border-radius: 50%; display: block;
  border: 2px solid rgba(255,255,255,0.12);
  transition: transform .15s ease;
}
.nx-staff-card:hover .nx-avatar img { transform: translateY(-1px) }


.nx-staff-card[data-role*="owner"] .nx-avatar { box-shadow: 0 0 0 2px rgba(255,120,120,0.28) inset; }
.nx-staff-card[data-role*="founder"] .nx-avatar { box-shadow: 0 0 0 2px rgba(255,140,100,0.28) inset; }
.nx-staff-card[data-role*="admin"] .nx-avatar { box-shadow: 0 0 0 2px rgba(0,115,255,0.35) inset; }
.nx-staff-card[data-role*="manager"] .nx-avatar { box-shadow: 0 0 0 2px rgba(0,200,160,0.30) inset; }
.nx-staff-card[data-role*="developer"],
.nx-staff-card[data-role*="dev"] { box-shadow: 0 0 0 2px rgba(200,140,255,0.30) inset; }
.nx-staff-card[data-role*="moderator"],
.nx-staff-card[data-role*="mod"] { box-shadow: 0 0 0 2px rgba(255,200,80,0.28) inset; }
.nx-staff-card[data-role*="helper"],
.nx-staff-card[data-role*="staff"] { box-shadow: 0 0 0 2px rgba(255,255,255,0.15) inset; }


.nx-staff-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin-bottom: .25rem;
}
.nx-name {
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  color: var(--nx-header);
}


.nx-role-chip {
  border: 1px solid currentColor;
  background: rgba(255,255,255,0.06);
  color: #e9eef6;
  padding: .18rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1;
}
.nx-staff-card[data-role*="owner"] .nx-role-chip { border-color: rgba(255,120,120,0.5); }
.nx-staff-card[data-role*="admin"] .nx-role-chip { border-color: rgba(0,115,255,0.6); }
.nx-staff-card[data-role*="dev"]   .nx-role-chip { border-color: rgba(200,140,255,0.55); }
.nx-staff-card[data-role*="mod"]   .nx-role-chip { border-color: rgba(255,200,80,0.55); }


.nx-bio {
  color: #cfd3d7;
  text-align: center;
  margin: .25rem 0 .5rem 0;
  font-size: .92rem;
}
.nx-bio.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.nx-more {
  display: inline-block;
  margin: 0 auto .35rem auto;
  background: transparent;
  border: 0;
  color: #9fc1ff;
  font-size: .85rem;
  text-decoration: underline dotted;
}
.nx-more:hover { color: #cfe0ff; }


.nx-links {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-top: .25rem;
}
.nx-link {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
  color: var(--nx-text);
  text-decoration: none;
}
.nx-link:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.16);
  color: var(--nx-header);
  text-decoration: none;
}


.nx-staff-card::after {
  content:"";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px,
      rgba(255,255,255,0) 1px, rgba(255,255,255,0) 6px);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  border-radius: 16px;
  padding: 1px; 
  opacity: 0.12;
}


@media (min-width: 992px) {
  .nx-staff-card.spotlight { grid-column: span 2; }
}


.nx-refresh.nx-neo :root{
  --nx-bg:#0a0f14; --nx-panel:#0d141c; --nx-soft:#0f1720; --nx-text:#eaf2ff; --nx-dim:#9fb1c6;
  --nx-accent:#34d399; --nx-accent-2:#22d3ee; --nx-ok:#22c55e; --nx-ok-2:#4ade80; --nx-warn:#eab308; --nx-warn-2:#facc15; --nx-bad:#ef4444; --nx-bad-2:#f87171;
  --nx-pill:#112232; --nx-border:rgba(52,211,153,0.14); --nx-shadow:0 14px 36px rgba(0,0,0,.45);
}


@keyframes nxFloatIn { from{ transform:translateY(6px); opacity:.0;} to{ transform:translateY(0); opacity:1;} }


.nx-refresh section.servers.store,
.nx-refresh section.staff.store {
  padding: 18px 22px 26px;   
}


.nx-refresh section.servers.store .store-heading,
.nx-refresh section.staff.store .store-heading {
  margin: 4px 0 16px;
  letter-spacing: .3px;
  text-align: center;
}


.nx-refresh section.servers.store .nx-grid,
.nx-refresh section.staff.store .nx-staff-grid {
  margin-top: 6px;
  margin-bottom: 4px;
}


@media (max-width: 575.98px) {
  .nx-refresh section.servers.store,
  .nx-refresh section.staff.store {
    padding: 14px 14px 20px;
  }
}


.nx-refresh .staff-bio {
  text-align: center;
}
.nx-refresh .staff-bio .staff-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}
.nx-refresh .staff-bio .staff-name {
  margin-bottom: 16px;
}
