header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem auto;
  max-width: 1160px;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  position: static;
  top: 1rem;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 24px;
  width: auto;
}

.header-badge {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: #000;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hide all Google Translate UI */
#google_translate_element {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.goog-te-banner-frame,
body > .skiptranslate {
  display: none !important;
}

.goog-te-gadget {
  font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
  font-size: 0 !important;
}

/* Prevent Google's body offset for banner */
body {
  top: 0 !important;
}

/* Custom language switch */
.lang-switch {
  display: flex;
  gap: 3px;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: #111;
}

.lang-btn.active {
  background: #fff;
  color: #111;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.header-badge-alt {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
