.mcio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--stroke);
  background: rgba(8,10,25,.6);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 60;
}
.mcio-hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--stroke);
  color: var(--text);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center; justify-content: center;
}
.mcio-hamburger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.mcio-header-title {
  flex: 1; text-align: center;
  font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.mcio-header-brand-text { background: var(--grad); -webkit-background-clip: text; color: transparent; }

.mcio-header-right { display: flex; align-items: center; gap: 0.7rem; }
.mcio-icon-btn {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  color: var(--text-dim);
  cursor: pointer;
}
.mcio-icon-btn:hover { color: var(--text); }
.mcio-email-chip {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.82rem;
  background: rgba(20,25,55,.5);
}

/* Floating language switcher FAB (bottom-right) */
.mcio-lang-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 8500;
}
.mcio-lang-fab-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255,61,106,.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20,25,55,.92), rgba(12,14,32,.92));
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,.55), 0 0 18px rgba(255,61,106,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.mcio-lang-fab-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.6), 0 0 22px rgba(255,61,106,.28); }
.mcio-lang-flag { font-size: 1.05rem; line-height: 1; }
.mcio-lang-menu {
  position: absolute; right: 0; bottom: calc(100% + 8px);
  list-style: none; margin: 0; padding: 6px;
  min-width: 230px;
  max-height: 60vh; overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  z-index: 70;
  box-shadow: 0 20px 40px rgba(0,0,0,.55);
}
.mcio-lang-menu[hidden] { display: none; }
.mcio-lang-menu li {
  display: flex; gap: 0.55rem; align-items: center;
  padding: 0.5rem 0.7rem; border-radius: 8px; cursor: pointer;
  color: var(--text); font-size: 0.9rem;
}
.mcio-lang-menu li > span:first-child { font-size: 1.05rem; }
.mcio-lang-menu li:hover { background: rgba(123,92,255,.15); }

/* Hide the Google Translate default UI artefacts */
body.translated-ltr { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate iframe.skiptranslate {
  display: none !important; visibility: hidden !important;
}
.goog-te-gadget, .goog-te-gadget * { font-size: 0 !important; }
.goog-te-gadget .goog-te-combo { font-size: 0.9rem !important; }
.goog-tooltip, .goog-tooltip:hover, .goog-text-highlight { display: none !important; background: none !important; box-shadow: none !important; }
html[translate="no"], .notranslate { translate: no; }

