:root { --nav-height: 68px; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(7, 26, 46, .96);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .2s ease, box-shadow .2s ease;
}
.topbar.scrolled { background: rgba(7, 26, 46, .99); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.nav-shell { min-height: var(--nav-height); display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 215px; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); }
.logo { width: 28px; height: 28px; object-fit: contain; }
.brand-copy strong { display: block; color: #fff; font-family: "Manrope", sans-serif; font-size: .9rem; line-height: 1.1; letter-spacing: .02em; }
.brand-copy small { display: block; margin-top: 3px; color: #94abc1; font-size: .61rem; line-height: 1.15; white-space: nowrap; }
.menu { display: flex; align-items: center; justify-content: center; gap: 1px; margin-left: auto; }
.menu a { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0 9px; border-radius: 8px; color: #d8e5f1; font-size: .76rem; font-weight: 600; text-decoration: none; transition: color .18s ease, background .18s ease; }
.menu a:hover,
.menu a.active { color: #fff; background: rgba(255,255,255,.07); }
.menu a.active::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2px; border-radius: 99px; background: #5b9ee8; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.store-link { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border-radius: 8px; background: #18a66e; border: 1px solid #18a66e; color: #fff; font-size: .76rem; font-weight: 800; text-decoration: none; box-shadow: 0 7px 18px rgba(24,166,110,.18); }
.store-link:hover { background: #108557; border-color: #108557; color: #fff; }
.hamb { width: 38px; height: 38px; display: none; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,.08); background: #071a2e; }
.mobile-menu.active { display: block; }
.mobile-menu-inner { display: grid; padding-top: 8px; padding-bottom: 11px; }
.mobile-menu a { padding: 10px 8px; border-radius: 7px; color: #dce8f3; font-size: .8rem; font-weight: 600; text-decoration: none; }
.mobile-menu a:hover,
.mobile-menu a.active { color: #fff; background: rgba(255,255,255,.06); }

@media (max-width: 1060px) {
  .brand { min-width: auto; }
  .brand-copy small { display: none; }
  .menu a { padding-inline: 7px; font-size: .73rem; }
}
@media (max-width: 880px) {
  :root { --nav-height: 64px; }
  .menu { display: none; }
  .nav-actions { margin-left: auto; }
  .hamb { display: grid; }
  .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 460px) {
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .logo { width: 25px; height: 25px; }
  .brand-copy strong { font-size: .82rem; }
  .store-link { min-height: 36px; padding-inline: 10px; }
  .store-link span { display: none; }
  .hamb { width: 36px; height: 36px; }
}
