.navbar {
  position: fixed; top: 36px; left: 0; right: 0;
  background: white;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  z-index: 800;
  transition: all 0.3s ease;
}
.navbar.scrolled { top: 0; box-shadow: 0 4px 30px rgba(0,0,0,0.12); }

.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center;
  gap: 30px; height: 70px;
}

.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-strend { color: #1d3557; }
.logo-trader { color: #e63946; }

.nav-links { display: flex; gap: 6px; flex: 1; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 0.88rem; font-weight: 500;
  color: #444; transition: all 0.25s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: #fef2f2; color: #e63946; }

.nav-icons { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.icon-btn {
  position: relative;
  background: none; border: none;
  width: 40px; height: 40px;
  border-radius: 8px; cursor: pointer;
  font-size: 1rem; color: #444;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.icon-btn:hover { background: #fef2f2; color: #e63946; }

.badge {
  position: absolute; top: 4px; right: 4px;
  background: #e63946; color: white;
  font-size: 0.6rem; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  padding: 0 3px;
}

.search-box {
  display: none; align-items: center;
  background: #f4f4f4; border-radius: 8px;
  overflow: hidden; border: 2px solid transparent;
  transition: all 0.3s;
}
.search-box.open { display: flex; border-color: #e63946; }
.search-box input { border: none; background: none; padding: 8px 12px; font-size: 0.9rem; outline: none; width: 200px; }
.search-box button { background: #e63946; border: none; color: white; padding: 8px 12px; cursor: pointer; }

.hamburger {
  display: none; background: none; border: none;
  font-size: 1.2rem; cursor: pointer; color: #333;
  width: 40px; height: 40px;
  border-radius: 8px; align-items: center; justify-content: center;
}