.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  text-decoration: none;
}

.menu-btn {
  display: block;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  z-index: 1002;
  color: #fff;
  background: transparent;
  border: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  pointer-events: none;
}

.mobile-menu.active {
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.top-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 18px;
}

.top-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.top-tab:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.top-tab.current {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.bottom-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bottom-btn:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .topbar {
    padding: 18px 16px;
  }

  .logo {
    font-size: 22px;
  }

  .mobile-menu a {
    font-size: 24px;
  }

  .top-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 14px;
  }

  .top-tab {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .bottom-btn {
    min-width: 140px;
    padding: 13px 18px;
    font-size: 13px;
  }
}
