.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-left {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 24px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #ff5a5a;
}

.logo-domain {
  font-size: 10px;
  color: #999;
  margin-left: 4px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.nav-item:hover {
  color: #ff5a5a;
}

.nav-new {
  position: relative;
}

.new-dot {
  position: absolute;
  top: -2px;
  right: -8px;
  width: 6px;
  height: 6px;
  background: #ff5a5a;
  border-radius: 50%;
}

.header-search {
  flex: 1;
  max-width: 320px;
}

.header-search .ant-input-affix-wrapper {
  border-radius: 20px;
  border-color: #e8e8e8;
  padding: 6px 16px;
}

.header-search .ant-input-affix-wrapper:hover,
.header-search .ant-input-affix-wrapper:focus,
.header-search .ant-input-affix-wrapper-focused {
  border-color: #ff5a5a;
  box-shadow: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-invite {
  background: #ff5a5a;
  border-color: #ff5a5a;
  border-radius: 20px;
  padding: 4px 20px;
  height: 36px;
}

.btn-invite:hover {
  background: #ff7070 !important;
  border-color: #ff7070 !important;
}

.btn-register {
  border-radius: 20px;
  padding: 4px 20px;
  height: 36px;
  border-color: #333;
  color: #333;
}

.btn-register:hover {
  border-color: #ff5a5a !important;
  color: #ff5a5a !important;
}

.btn-login {
  border-radius: 20px;
  padding: 4px 20px;
  height: 36px;
  border-color: #333;
  color: #333;
}

.btn-login:hover {
  border-color: #ff5a5a !important;
  color: #ff5a5a !important;
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }
  
  .header-search {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
    gap: 16px;
  }
  
  .logo-domain {
    display: none;
  }
  
  .header-search {
    display: none;
  }
  
  .btn-invite {
    display: none;
  }
}
