/* SUPERHEROES.BY — 17. Smaller hollow neon navigation with individual colors. */
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4),
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4):is(:hover,:active,:focus-visible){
  --nav-outline:#7cf9ff;
  font-family:'Rubik Bubbles','Comfortaa','Arial Rounded MT Bold',system-ui,sans-serif!important;
  font-size:clamp(13px,1.08vw,17px)!important;
  font-weight:400!important;line-height:1.32!important;
  letter-spacing:.03em!important;text-transform:uppercase!important;
  color:var(--nav-outline)!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:1px currentColor!important;
  text-shadow:none!important;
  filter:drop-shadow(0 0 2px color-mix(in srgb,var(--nav-outline) 86%, white 14%)) drop-shadow(0 0 8px color-mix(in srgb,var(--nav-outline) 92%, white 8%))!important;
  background:none!important;border:0!important;box-shadow:none!important;
  white-space:nowrap!important;padding:7px 10px!important;
  transition:filter .2s ease, color .2s ease, transform .2s ease!important;
}
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(1){--nav-outline:#69f4ff!important}
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(2){--nav-outline:#ff77dd!important}
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(3){--nav-outline:#7effc8!important}
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(4){--nav-outline:#b98cff!important}
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4) :is(.magnetic-word,.magnetic-char,.nav-gum-label,.gum-letter){
  font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;
  letter-spacing:inherit!important;line-height:inherit!important;
  color:inherit!important;
  -webkit-text-fill-color:transparent!important;-webkit-text-stroke:1px currentColor!important;
  text-shadow:none!important;filter:none!important;box-shadow:none!important;background:none!important;border:0!important;
}
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4):is(:hover,:focus-visible){
  transform:translateY(-1px) scale(1.03)!important;
  filter:drop-shadow(0 0 3px color-mix(in srgb,var(--nav-outline) 80%, white 20%)) drop-shadow(0 0 12px color-mix(in srgb,var(--nav-outline) 100%, white 0%))!important;
}
.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4):is(:hover,:focus-visible) .magnetic-char{
  text-shadow:none!important;filter:none!important;
  -webkit-text-fill-color:transparent!important;-webkit-text-stroke:1px currentColor!important;
}
@media(min-width:821px) and (max-width:1150px){
  .site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4){font-size:clamp(12px,1vw,15px)!important;letter-spacing:.018em!important;padding:7px 8px!important}
  .site-header .menu{gap:clamp(4px,.5vw,8px)!important;}
}
@media(max-width:820px){
  .site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4){font-size:21px!important;letter-spacing:.04em!important;-webkit-text-stroke:1.1px currentColor!important;padding:11px 5px!important}
  .site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4) :is(.magnetic-word,.magnetic-char){-webkit-text-stroke:1.1px currentColor!important}
}
@media(prefers-reduced-motion:reduce){.site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4){transition:none!important;}}
/* Compact desktop navigation; mobile touch targets stay unchanged. */
@media(min-width:821px){
 .site-header #mainMenu.menu{gap:clamp(6.3px,.945vw,14.7px)!important;}
 .site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4),
 .site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4):is(:hover,:active,:focus-visible){padding:7px 6px!important;margin-left:0!important;margin-right:0!important;}
}

/* Center the navigation on the viewport, independently of logo and contacts. */
@media(min-width:821px){
 .site-header .nav-wrap{position:relative!important;}
 .site-header #mainMenu.menu{position:absolute!important;left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%)!important;width:max-content!important;max-width:none!important;margin:0!important;justify-content:center!important;}
 .site-header .nav-actions{margin-left:auto!important;}
}

/* Keep the exactly centered wide-screen layout; avoid overlap with contact links on compact laptops. */
@media(min-width:981px) and (max-width:1150px){
 .site-header #mainMenu.menu{gap:4px!important;}
 .site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4),
 .site-header #mainMenu.menu > a.neon-nav-plain:nth-child(-n+4):is(:hover,:active,:focus-visible){font-size:11.5px!important;padding:7px 3px!important;letter-spacing:0!important;}
 .site-header .nav-actions{gap:6px!important;}
}
