.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1510px, calc(100% - 80px));
  margin: 0 auto;
  padding: 18px 0;
}

.site-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  justify-self: start;
  position: relative;
}

.site-header-brand-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.site-header-brand-icon svg {
  width: 100%;
  height: 100%;
}

.site-header-brand-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
}

.site-header-brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-header-brand-text strong.brand-mootly {
  display: inline-block;
}

.site-header-brand-text small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: #8b90a0;
  font-weight: 600;
}

.site-header-brand-text small b {
  color: #10eaff;
}

.site-header-tag-pink {
  color: #ff3b98;
  font-weight: 700;
}

.site-header-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}

.site-header-links a {
  color: #d8dbe3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.site-header-links a:hover {
  color: #fff;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.site-header-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.site-header-lang-btn {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #b8bcc8;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.site-header-lang-btn.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-header-lang--compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
}

.site-header-lang--compact .site-header-lang-btn {
  min-width: auto;
  height: auto;
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #5c6270;
}

.site-header-lang--compact .site-header-lang-btn.is-active {
  background: transparent;
  color: #9aa0ae;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header-lang-sep {
  color: #3d424d;
  font-size: 11px;
  user-select: none;
}

.site-header-link-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header-btn {
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  min-width: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(90deg, #2b9fff, #ff3b8d);
  box-shadow: 0 8px 24px rgba(255, 59, 141, 0.25);
}

.site-header-account {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.site-header-account.hidden,
.site-header-link-btn.hidden,
.site-header-btn.hidden {
  display: none !important;
}

.site-header-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: end;
  grid-column: 3;
}

.site-header-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header-menu.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header-menu.is-open span:nth-child(2) {
  opacity: 0;
}

.site-header-menu.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.site-header-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-header-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(300px, 86vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 244, 255, 0.07), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(255, 59, 141, 0.06), transparent 42%),
    #0a0b0f;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header-drawer.is-open {
  transform: translateX(0);
}

.site-header-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header-drawer-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a808e;
}

.site-header-drawer-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header-drawer-nav {
  flex: 0 0 auto;
  padding: 10px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header-drawer-analytics {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  margin: 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 0;
  overflow-y: auto;
}

.site-header-drawer-analytics.hidden {
  display: none;
}

.site-header-drawer-analytics-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a808e;
}

.site-header-drawer-analytics-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 600;
  color: #9aa0ae;
  text-align: center;
}

.site-header-drawer-analytics-pts {
  color: #16f4ff;
  font-weight: 800;
}

.site-header-drawer-analytics-dot {
  opacity: 0.45;
}

.site-header-drawer-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.site-header-drawer-analytics-grid div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header-drawer-analytics-grid span {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a808e;
}

.site-header-drawer-analytics-grid strong {
  font-size: 18px;
  color: #fff;
}

.site-header-drawer-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #9aa0ae;
}

.site-header-drawer-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.site-header-drawer-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #16f4ff, #ff3b8d);
}

.site-header-drawer-progress-hint {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #7a808e;
}

.site-header-drawer-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  color: #e4e6ec;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.site-header-drawer-nav a:hover,
.site-header-drawer-nav a:active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.site-header-drawer-foot {
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-header-mobile-lang {
  padding-top: 4px;
}

.site-header-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-header-mobile-actions .site-header-link-btn,
.site-header-mobile-actions .site-header-btn,
.site-header-mobile-actions .site-header-account {
  width: 100%;
}

body.site-header-menu-open {
  overflow: hidden;
}

body.has-site-header .topbar {
  display: none;
}

@media (max-width: 960px) {
  .site-header-links,
  .site-header-actions .site-header-link-btn,
  .site-header-actions .site-header-btn,
  .site-header-actions .site-header-account,
  .site-header-actions .site-header-lang {
    display: none;
  }

  .site-header-menu {
    display: flex;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    width: min(100% - 32px, 520px);
  }
}
