:root {
  --site-header-height: 72px;
}

.dt-header,
.dt-header * {
  box-sizing: border-box;
}

.dt-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 99999;
  height: var(--site-header-height);
  background: rgba(16, 17, 18, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1200px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
}

.dt-header .dt-logo .brand-logo {
  width: 190px !important;
  height: 36px !important;
}

.dt-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.dt-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 4px;
  color: #a9aaad;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease, background .2s ease;
}

.dt-nav a:hover,
.dt-nav a.active {
  color: #f3f2ed;
}

.dt-nav a:hover {
  transform: scale(1.03);
}

.dt-nav a.active:not(.header-donate)::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: calc(50% - 9px);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #edca52;
}

.dt-nav .header-donate,
.dt-mobile-menu .header-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #edca52;
  color: #171714;
  font-weight: 700;
}

.dt-nav .header-donate:hover,
.dt-mobile-menu .header-donate:hover {
  color: #171714;
  background: #f4d66b;
}

.dt-nav .header-donate.active {
  border-color: rgba(255,255,255,.35);
}

.dt-mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #f3f2ed;
  font-size: 18px;
  cursor: pointer;
}

.dt-mobile-menu {
  display: none;
}

@media (max-width: 700px) {
  :root { --site-header-height: 64px; }

  .dt-header-inner {
    width: calc(100% - 40px);
    gap: 20px;
  }

  .dt-header .dt-logo .brand-logo {
    width: 160px !important;
    height: 32px !important;
  }

  .dt-nav { display: none; }
  .dt-mobile-btn { display: inline-flex; }

  .dt-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(16,17,18,.97);
  }

  .dt-mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .dt-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #bfc0c3;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform .2s ease, color .2s ease;
  }

  .dt-mobile-menu a:hover { color: #fff; transform: scale(1.03); }
  .dt-mobile-menu .header-donate { margin-top: 6px; }
}
