/* One centred header and a compact, accessible menu across NexusHub. */
html.nx-navigation body > .nexus-nav,
html.nx-navigation body > .top-nav,
html.nx-navigation body > .hub-tool-nav,
html.nx-navigation #main-header { display:none!important; }
.nx-header,.nx-header *,.nx-menu,.nx-menu * { box-sizing:border-box; }
.nx-header { position:relative; z-index:1000; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:16px; flex:none; width:100%; min-height:78px; margin:0 0 24px; padding:14px 32px; border-bottom:1px solid #ffffff12; background:#050507f2; color:white; font-family:Inter,system-ui,sans-serif; line-height:1.2; }
.nx-header a,.nx-menu a { text-decoration:none; color:inherit; }
.nx-brand { grid-column:2; display:flex; align-items:center; gap:10px; justify-self:center; white-space:nowrap; }
.nx-brand img { width:49px; height:40px; object-fit:contain; }
.nx-brand span { font-family:Outfit,Inter,system-ui,sans-serif; font-size:24px; font-weight:700; letter-spacing:-.4px; }
.nx-menu-button { justify-self:start; display:flex; align-items:center; gap:9px; min-height:44px; padding:8px 12px; border:1px solid #ffffff1c; border-radius:12px; background:#ffffff05; color:#dddde5; font:600 14px Inter,system-ui,sans-serif; cursor:pointer; box-shadow:none; }
.nx-menu-button svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
.nx-actions { grid-column:3; justify-self:end; display:flex; align-items:center; gap:16px; }
.nx-auth { display:inline-flex; align-items:center; gap:7px; font-size:14px; white-space:nowrap; }
.nx-auth svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; }
.nx-discord { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:10px 16px; border-radius:11px; background:linear-gradient(145deg,#5865f2,#404eed); color:#fff!important; font:700 14px Inter,system-ui,sans-serif; white-space:nowrap; box-shadow:0 3px 0 #3139a8,inset 0 1px 0 #ffffff35; }
.nx-discord:hover { background:#5865f2; }
.nx-menu { position:fixed; inset:12px auto 12px 12px; width:min(380px,calc(100vw - 24px)); height:calc(100dvh - 24px); max-height:none; max-width:none; margin:0; padding:26px 22px; border:1px solid #ffffff1b; border-radius:22px; background:#101014; color:#eeeef4; overflow-y:auto; overscroll-behavior:contain; font:400 15px/1.45 Inter,system-ui,sans-serif; }
.nx-menu::backdrop { background:#0009; backdrop-filter:blur(5px); }
.nx-menu-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.nx-menu-heading small { color:#92929e; font-size:10px; letter-spacing:2px; font-weight:700; }
.nx-menu-heading h2 { margin:4px 0 0; color:white; font:700 27px Outfit,Inter,system-ui,sans-serif; text-transform:none; letter-spacing:-.4px; }
.nx-close { width:44px; height:44px; padding:0; border:1px solid #ffffff18; border-radius:12px; background:#ffffff06; color:#d9d9e1; font:300 29px/1 system-ui,sans-serif; cursor:pointer; box-shadow:none; }
.nx-menu nav > a,.nx-menu summary { display:flex; align-items:center; justify-content:space-between; min-height:52px; padding:13px 12px; border-radius:10px; cursor:pointer; font-weight:600; list-style:none; }
.nx-menu summary::-webkit-details-marker { display:none; }
.nx-menu summary span { font-size:22px; font-weight:300; color:#93939f; }
.nx-menu details[open] summary span { transform:rotate(45deg); }
.nx-menu details { border-bottom:1px solid #ffffff0b; }
.nx-menu a:hover,.nx-menu summary:hover { background:#ffffff06; }
.nx-menu [aria-current=page] { color:#b7baff; background:#5865f21a; }
.nx-submenu { display:grid; padding:0 0 10px 12px; }
.nx-submenu a { display:block; padding:12px; border-radius:8px; color:#b7b7c4; font-size:14px; }
.nx-menu-bottom { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:26px; padding-top:22px; border-top:1px solid #ffffff14; }
html.nx-menu-open,html.nx-menu-open body { overflow:hidden!important; }
.nx-header :focus-visible,.nx-menu :focus-visible { outline:2px solid #a5aaff; outline-offset:4px; }
html.nx-navigation main.pt-20 { padding-top:0; }
@media(max-width:700px) {
  .nx-header { min-height:70px; padding:12px 16px; gap:8px; margin-bottom:16px; }
  .nx-brand img { width:39px; height:32px; }
  .nx-brand span { font-size:21px; }
  .nx-brand { gap:7px; }
  .nx-menu-button { padding:9px; }
  .nx-menu-button span,.nx-actions .nx-discord { display:none; }
  .nx-actions { gap:0; }
  .nx-actions .nx-auth { font-size:12px; }
  .nx-actions .nx-auth svg,.nx-actions .nav-avatar { display:none; }
}

.discord-btn {
  --bevel: 5px;
  --bevel-colour: #3139a8;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #5865f2, #404eed);
  color: #fff;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 var(--bevel) 0 var(--bevel-colour),                  /* bevel / 3D base */
    0 calc(var(--bevel) + 3px) 20px rgba(88, 101, 242, .45),
    inset 0 2px 0 rgba(255, 255, 255, .25);               /* top gloss */
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
/* Glass sheen that slides across on hover */
.discord-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .35) 45%, rgba(255, 255, 255, .15) 55%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.discord-btn:hover::before { left: 140%; }
/* Subtle brightness boost on hover */
.discord-btn:hover {
  background: linear-gradient(145deg, #6974f5, #4f5bf0);
  box-shadow:
    0 var(--bevel) 0 var(--bevel-colour),
    0 calc(var(--bevel) + 5px) 24px rgba(88, 101, 242, .55),
    inset 0 2px 0 rgba(255, 255, 255, .3);
}
/* Push-down effect on click */
.discord-btn:active {
  transform: translateY(calc(var(--bevel) - 1px));
  box-shadow:
    0 1px 0 var(--bevel-colour),
    0 2px 8px rgba(88, 101, 242, .4),
    inset 0 2px 0 rgba(255, 255, 255, .2);
}
.discord-btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.discord-btn > * { position: relative; z-index: 1; }   /* icon + text sit above the sheen */
.discord-btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.discord-btn--sm { --bevel: 4px; gap: 8px; padding: 10px 18px; border-radius: 11px; font-size: 14px; }
.discord-btn--sm svg { width: 16px; height: 16px; }
.discord-btn--lg { --bevel: 6px; gap: 12px; padding: 19px 34px; border-radius: 14px; font-size: 18px; }
.discord-btn--lg svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) {
  .discord-btn::before { transition: none; }
}


.nav-item { position: relative; }
.nav-chev {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
}
.nav-item:hover .nav-pill .nav-chev,
.nav-item:focus-within .nav-pill .nav-chev { transform: rotate(180deg); opacity: 1; }
.nav-item:hover > .nav-pill { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-item:hover > .nav-pill[aria-current="page"] { background: rgba(255, 255, 255, .1); }

.nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  padding-top: 16px;              /* invisible bridge so the menu stays open while you move down */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .3s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .2s;
}
.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-item.drop-closed > .nav-drop { opacity: 0; visibility: hidden; pointer-events: none; }

.nav-drop-panel {
  position: relative;
  width: 320px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 20, 26, .98), rgba(10, 10, 13, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
  font-family: Inter, sans-serif;
  text-transform: none;
  letter-spacing: normal;
}
.nav-drop-panel--wide { width: 480px; }
/* little pointer at the top of the panel */
.nav-drop-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-left: 1px solid rgba(255, 255, 255, .09);
  border-radius: 3px 0 0 0;
  background: rgb(20, 20, 26);
  transform: translateX(-50%) rotate(45deg);
}

.drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px 10px;
  color: #71717a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.drop-count { color: #52525b; letter-spacing: .12em; }
.drop-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid rgba(6, 182, 212, .25);
  border-radius: 999px;
  background: rgba(6, 182, 212, .08);
  color: #22d3ee;
  letter-spacing: .14em;
}
.drop-badge .soon-dot { width: 6px; height: 6px; }

.drop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
/* Single-column menus (Minecraft, Digital Media) */
.drop-list { display: grid; gap: 2px; }
.nav-drop-panel--tall { width: 380px; }

.drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background .2s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.drop-item:hover,
.drop-item:focus-visible { outline: none; background: rgba(255, 255, 255, .055); transform: translateX(3px); }
.drop-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--c), .28);
  border-radius: 12px;
  background: rgba(var(--c), .1);
  color: rgb(var(--c));
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.drop-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-item:hover .drop-icon,
.drop-item:focus-visible .drop-icon { border-color: rgba(var(--c), .6); background: rgba(var(--c), .16); box-shadow: 0 0 18px rgba(var(--c), .35); }
.drop-text { display: grid; gap: 2px; min-width: 0; }
.drop-text strong { color: #f4f4f5; font-size: 14px; font-weight: 600; line-height: 1.25; }
.drop-text small { overflow: hidden; color: #71717a; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.drop-item--compact { gap: 10px; padding: 8px; }
.drop-item--compact .drop-icon { width: 34px; height: 34px; border-radius: 10px; }
.drop-item--compact .drop-icon svg { width: 17px; height: 17px; }
.drop-item--compact .drop-text strong { font-size: 13px; }
.drop-item--compact .drop-text small { font-size: 11px; }
/* Little "opens another site" arrow on partner links */
.drop-ext { display: inline-block; width: 11px; height: 11px; margin-left: 5px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.drop-item:hover .drop-ext { opacity: .9; }

.drop-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 11px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #a1a1aa;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.drop-foot:hover { color: #fff; }
.drop-foot span { transition: transform .25s ease; }
.drop-foot:hover span { transform: translateX(3px); }
.drop-foot--cta {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-top-color: rgba(255, 255, 255, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .04);
  color: #e4e4e7;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.drop-foot--cta:hover { border-color: rgba(168, 85, 247, .5); background: linear-gradient(145deg, rgba(168, 85, 247, .16), rgba(59, 130, 246, .12)); color: #fff; }

.drop-note { margin: 6px 0 0; padding: 10px 10px 4px; border-top: 1px solid rgba(255, 255, 255, .06); color: #52525b; font-size: 11px; text-align: center; }

/* Featured row at the top of the Minecraft menu - the server itself, in gold */
.drop-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(234, 179, 8, .38);
  border-radius: 15px;
  background: linear-gradient(120deg, rgba(234, 179, 8, .2), rgba(180, 83, 9, .12) 55%, rgba(234, 179, 8, .06));
  box-shadow: inset 0 1px 0 rgba(253, 224, 71, .22), 0 10px 30px rgba(180, 83, 9, .16);
}
/* A slow sheen sweeping across the gold */
.drop-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 245, 200, .16) 50%, transparent);
  transform: skewX(-18deg);
  transition: left .7s ease;
  pointer-events: none;
}
.drop-hero:hover::after, .drop-hero:focus-visible::after { left: 130%; }
.drop-hero:hover, .drop-hero:focus-visible {
  transform: none;
  border-color: rgba(250, 204, 21, .75);
  background: linear-gradient(120deg, rgba(234, 179, 8, .3), rgba(180, 83, 9, .18) 55%, rgba(234, 179, 8, .1));
  box-shadow: inset 0 1px 0 rgba(253, 224, 71, .35), 0 14px 38px rgba(180, 83, 9, .3);
}
.drop-hero .drop-icon {
  width: 44px;
  height: 44px;
  border-color: rgba(250, 204, 21, .55);
  background: linear-gradient(145deg, rgba(253, 224, 71, .26), rgba(180, 83, 9, .18));
  color: #fde68a;
  box-shadow: 0 0 24px rgba(234, 179, 8, .32), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.drop-hero:hover .drop-icon, .drop-hero:focus-visible .drop-icon {
  border-color: rgba(250, 204, 21, .85);
  background: linear-gradient(145deg, rgba(253, 224, 71, .38), rgba(180, 83, 9, .24));
  box-shadow: 0 0 30px rgba(234, 179, 8, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.drop-hero .drop-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.drop-hero .drop-text strong {
  background: linear-gradient(100deg, #fef3c7, #fde68a 40%, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.drop-hero .drop-text small { overflow: visible; color: #d6bc7a; line-height: 1.35; white-space: normal; }
.drop-soon {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid rgba(250, 204, 21, .4);
  border-radius: 999px;
  background: rgba(234, 179, 8, .16);
  color: #fde68a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}


.nav-auth {
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 16px 0 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #e4e4e7;
  font-family: Inter, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-auth:hover { background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .4); color: #fff; }
.nav-auth svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav-auth.is-in { padding-left: 5px; }
.nav-auth .nav-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .02em;
}

.nx-desktop { display:none; }
.nx-desktop,.nx-desktop * { box-sizing:border-box; }
.nx-desktop a { text-decoration:none; }
.nx-desktop .discord-btn,.nx-desktop .discord-btn:hover { box-shadow:0 4px 0 #3139a8,inset 0 2px 0 #ffffff40; }
.nx-desktop .discord-btn:active { box-shadow:0 1px 0 #3139a8,inset 0 2px 0 #ffffff30; }
@media(min-width:1024px) {
  .nx-header { display:none; }
  html.nx-navigation body { padding-top:80px!important; }
  .nx-desktop { display:block;position:fixed;inset:0 0 auto;z-index:1000;border-bottom:1px solid #ffffff0d;background:#050505cc;backdrop-filter:blur(12px);font-family:Inter,system-ui,sans-serif;line-height:1.5;color:#fff; }
  .nx-desktop>div { max-width:1600px;padding:0 32px;margin:0 auto; }
  .nx-desktop>div>div { display:flex;align-items:center;justify-content:space-between;gap:16px;height:80px; }
  .nx-desktop>div>div>a { display:flex;align-items:center;gap:12px;flex-shrink:0; }
  .nx-desktop>div>div>a img { width:49px;height:40px;object-fit:contain; }
  .nx-desktop>div>div>a span { font:700 24px Outfit,Inter,system-ui,sans-serif;letter-spacing:-.6px;color:white; }
  .nx-desktop>div>div>div:first-of-type { display:flex;align-items:center;gap:4px;padding:8px;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:999px; }
  .nx-desktop>div>div>div:last-child { display:flex;align-items:center;gap:12px; }
  .nx-desktop>div>div>div:last-child>div { display:block; }
  .nx-desktop .nav-pill { display:inline-flex;align-items:center;gap:4px;padding:6px 14px;border-radius:999px;font:500 14px/1.5 Inter,system-ui,sans-serif;letter-spacing:.35px;text-transform:uppercase;white-space:nowrap;color:#9ca3af;background:transparent;transition:all .2s; }
  .nx-desktop .nav-pill[aria-current=page],.nx-desktop .nav-pill:hover { color:#fff;background:#ffffff1a; }
  .nx-desktop .nav-auth { display:inline-flex; }
  .nx-desktop .nav-drop-panel--tall { max-height:calc(100vh - 110px);overflow-y:auto; }
}
@media(min-width:1024px) and (max-width:1199px) {
  .nx-desktop>div { padding:0 16px; }.nx-desktop>div>div { gap:10px; }
  .nx-desktop .nav-pill { padding:6px 9px;font-size:12px; }
  .nx-desktop>div>div>a span { font-size:21px; }
  .nx-desktop .discord-btn--sm { padding:10px 12px;font-size:12px; }
  .nx-desktop .nav-auth { padding:0 10px;font-size:12px; }
}

/* Mobile drawer: full-height, opening from the right. */
.nx-menu { inset:0 0 0 auto;width:min(390px,92vw);height:100dvh;max-height:100dvh;padding:max(24px,env(safe-area-inset-top)) 22px max(24px,env(safe-area-inset-bottom));border:0;border-left:1px solid #ffffff16;border-radius:22px 0 0 22px;background:linear-gradient(165deg,#171720,#101014 40%); }
.nx-menu[open] { display:flex;flex-direction:column;animation:nx-drawer-in .3s cubic-bezier(.16,1,.3,1) both; }
.nx-menu[open].is-closing { animation:nx-drawer-out .22s ease-in both; }
@keyframes nx-drawer-in { from{transform:translateX(100%)}to{transform:translateX(0)} }
@keyframes nx-drawer-out { from{transform:translateX(0)}to{transform:translateX(100%)} }
.nx-menu-heading { flex:none;gap:12px;padding-bottom:24px;margin-bottom:16px;border-bottom:1px solid #ffffff12; }
.nx-menu-account { display:flex;align-items:center;gap:12px;min-width:0;border-radius:12px; }
.nx-account-avatar { display:grid;place-items:center;width:48px;height:48px;flex:none;border:1px solid #ffffff20;border-radius:16px;background:linear-gradient(135deg,#6d5dfc,#354fd3);color:white; }
.nx-account-avatar svg { width:48px;height:48px; }
.nx-account-text { min-width:0;display:grid;gap:5px; }
.nx-menu .nx-account-name { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;color:white; }
.nx-menu .nx-account-caption { font-size:11px;letter-spacing:0;font-weight:400;color:#9696a8; }
.nx-close { flex:none; }
.nx-menu>nav { flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain; }
.nx-menu-bottom { flex:none;margin-top:16px;padding-top:18px; }
.nx-menu-bottom .nx-discord { width:100%; }
.nx-visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap; }
@media(max-width:1023px) {
  .nx-header .nx-menu-button { grid-column:3;grid-row:1;justify-self:end; }
  .nx-header .nx-brand { grid-column:2;grid-row:1; }
  .nx-header .nx-actions { display:none; }
}
@media(prefers-reduced-motion:reduce) { .nx-menu[open],.nx-menu[open].is-closing { animation:none; } }
