
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 84px;
  border-bottom: 1px solid rgba(175, 170, 170, 0.29);
}

.logo {
  display: flex;
  align-items: center;
  height: 40px;
  max-width: 190px;
  overflow: hidden;
  cursor: pointer;
}

.logo img {
  height: 120px;
  object-fit: contain;
  display: block;
}

.search-box input {
  width: 300px;
  padding: 8px 12px;
  background: #111;
  border: none;
  color: #fff;
  outline: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--red);
}


.browse-nav {
  position: relative;
}

.browse-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.browse-dropdown {
  position: absolute;
  top: 130%;
  left: 0;
  background: #111;
  border-radius: 6px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  padding: 6px 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.browse-dropdown.show {
  display: flex;
}

.browse-dropdown a {
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
}

.browse-dropdown a:hover {
  background: rgba(229,9,20,0.15);
  color: var(--red);
}

main {
  padding: 0 30px;
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .logo {
    height: 36px;
    max-width: 120px;
    overflow: visible;
  }
  .logo img {
    height: 65px;
    object-fit: contain;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .nav-link {
    font-size: 14px;
    font-weight: 500;
  }
  .browse-btn {
    font-size: 14px;
    font-weight: 500;
  }
  .browse-dropdown {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 360px;
    border-radius: 16px;
    z-index: 200;
  }
  main {
    padding: 72px 16px 40px;
  }
}
