/* Plain CSS keeps navigation independent of generated utility support. */
.site-shell > .site-header {
  top: 20px;
  inset-inline: 0;
  width: 63.36%;
  margin-inline: auto;
  height: 70.4px;
  padding: 0 20px;
  gap: 24px;
  border: 0;
  border-radius: 21px;
  background: linear-gradient(115deg, #171c3a38, #080b2226);
  box-shadow: 0 12px 36px #00000026;
  isolation: isolate;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}
.site-header::before, .site-header::after {
  content: none;
  position: absolute;
  width: 110px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  box-shadow: 0 0 10px 2px #7921f566;
}
.site-header::before { top: -1px; left: 25%; }
.site-header::after { bottom: -1px; right: 19%; }
.site-header > a:first-child {
  flex: 0 0 auto;
  padding-right: 26px;
  border-right: 1px solid #bc99ff20;
}
.site-header > a:first-child img { height: 34px !important; width: auto; }
.site-header .main-navbar {
  --navbar-padding-y: 0px;
  position: relative;
  left: auto;
  transform: none;
  flex: 1 1 auto;
  justify-content: center;
  gap: 16px;
  width: auto;
  max-width: none;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header .main-navbar > a, .site-header .main-navbar > details { align-self: stretch; display: flex; align-items: center; }
.site-header .main-navbar .nav-link { position: relative; font-size: 13px; font-weight: 500; letter-spacing: 0; min-height: 44px; }
.site-header .main-navbar > details > summary { height: 100%; }
.site-header .main-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary);
  box-shadow: 0 0 10px 2px #7921f570;
  opacity: 0;
  transition: opacity .2s;
}
.site-header .nav-link:hover::after, .site-header .nav-link[aria-current="page"]::after,
.site-header details[open] > .nav-link::after { opacity: 1; }
.nav-funded { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); }
.nav-funded svg { width: 23px; height: 23px; flex: none; }
.site-header .nav-funded:hover { color: var(--accent); }
.site-header .header-auth { flex: 0 0 auto; gap: 20px; padding-left: 22px; border-left: 1px solid #bc99ff20; }
.header-language { display: inline-flex; align-items: center; gap: 8px; color: #e5e7ef; font-size: 13px; }
.header-language svg { width: 20px; height: 20px; }
.language-dropdown { position: relative; }
.language-dropdown > .header-language { min-height: 44px; gap: 8px; }
.language-dropdown > .header-language > svg { flex: none; margin-left: 0; width: 20px; height: 20px; }
.language-dropdown > .header-language > .language-chevron { width: 12px; height: 12px; }
.language-dropdown[open] > .header-language > svg:first-child { transform: none; }
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1;
  width: 200px;
  padding: 8px;
  border: 1px solid #bc99ff50;
  border-radius: 14px;
  background: #101329f2;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px #00000040;
}
.language-dropdown:not([open]) > .language-menu { display: none; }
.language-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px; text-align: left; color: #e5e7ef; font-size: 14px; cursor: pointer; }
.language-option[aria-current] { color: var(--accent); }
.language-option:not(:disabled):hover { background: #9df5210d; }
.language-option:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.language-option:disabled { opacity: .45; cursor: not-allowed; }
.language-status { font-size: 10px; }
#mobile-menu .language-menu { top: auto; bottom: calc(100% + 8px); right: auto; left: 0; }
.site-header .nav-auth-ghost, #mobile-menu .nav-auth-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid #bc99ff70;
  border-radius: 14px;
  color: #f4f5fa;
  background: linear-gradient(135deg, #7921f50d, #7921f51a);
  box-shadow: inset 0 0 15px #7921f50d;
  font-size: 14px;
  font-weight: 500;
}
.nav-auth-ghost svg { width: 23px; height: 23px; }
.site-header .nav-auth-ghost:hover { border-color: var(--secondary); background: #7921f526; }
.site-header a:focus-visible, .site-header summary:focus-visible, .site-header button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.site-header .main-navbar .trading-menu { top: calc(100% + 12px); }
@media (max-width: 1399px) and (min-width: 1200px) {
  .site-shell > .site-header { padding-inline: 18px; gap: 24px; height: 64px; }
  .site-header > a:first-child { padding-right: 18px; }
  .site-header > a:first-child img { height: 32px !important; }
  .site-header .main-navbar { gap: 16px; }
  .site-header .header-auth { gap: 20px; padding-left: 22px; }
  .site-header .nav-auth-ghost { padding-inline: 12px; }
}
@media (max-width: 1199px) {
  .site-shell > .site-header { width: calc((100% - 32px) * .66); height: 56px; top: 12px; border-radius: 16px; padding-inline: 16px; }
  .site-header > a:first-child { border-right: 0; padding-right: 0; }
  .site-header > a:first-child img { height: 27px !important; }
}
@media (max-width: 479px) {
  .site-shell > .site-header { width: calc((100% - 24px) * .66); height: 51.2px; padding-inline: 12px; }
  .site-header > a:first-child img { height: 24px !important; }
}
@media (prefers-reduced-motion: reduce) { .site-header .nav-link::after { transition: none; } }
.site-shell > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.main-navbar { align-items: center; column-gap: clamp(8px, 1.2vw, 24px); flex-wrap: nowrap; width: max-content; max-width: calc(100% - 360px); }
.main-navbar > * { flex: 0 0 auto; }
.main-navbar .nav-link { font-size: clamp(11px, .95vw, 15px); line-height: 1.5; white-space: nowrap; }
.trading-dropdown > summary { display: flex; align-items: center; list-style: none; cursor: pointer; }
.trading-dropdown > summary::marker { content: ""; font-size: 0; }
.trading-dropdown > summary::-webkit-details-marker { display: none; }
.trading-dropdown > summary > svg { display: block; flex: 0 0 14px; width: 14px; height: 14px; margin-left: 7px; }
.trading-dropdown > summary { gap: 0; }
.trading-dropdown:not([open]) > .trading-menu { display: none; }
.header-auth { align-items: center; gap: 16px; }
.company-menu { width: min(22rem, calc(100vw - 3rem)); }
.company-menu .trading-menu-column > a { padding: .8rem .65rem; line-height: 1.5; }
.company-menu .trading-menu-icon { border: 0; border-radius: 0; background: transparent; color: var(--primary); flex-basis: 1.5rem; width: 1.5rem; height: 1.5rem; }
.company-menu a[aria-current="page"] { color: #bc99ff; }
#why-virex, #legal-corporate { scroll-margin-top: 100px; }
@media (min-width: 1900px) {
  .main-navbar, .header-auth { display: flex; }
  #mobile-menu-btn, #mobile-menu { display: none; }
}
@media (max-width: 1899px) {
  .main-navbar, .header-auth { display: none; }
  #mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  #mobile-menu { display: block; position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: #0c0f26; }
  #mobile-menu.hidden { display: none; }
  #mobile-menu .trading-menu { position: relative; left: auto; top: auto; transform: none; width: 100%; grid-template-columns: 1fr; margin-top: 12px; }
  #mobile-menu .markets-category-grid { grid-template-columns: 1fr; }
  #mobile-menu .markets-intro { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid #bc99ff30; }
  .site-header > a:first-child { border-right: 0; padding-right: 0; }
}
