@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: white;
  background-color: #0a0a0f;
  overflow-x: hidden;
}

/* 背景 */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  z-index: -1;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 91%;
    z-index: 3000;
    transition: top 0.3s ease; 
  }
  

.navbar.scrolled {
  background: rgba(20, 20, 30, 0.9);
}

.navbar .logo {
  font-size: 1.6em;
  font-weight: 700;
  color: #5bc0be;
}

.brand{display:flex;align-items:center;gap:12px}
.brand img{height:35px;border-radius:8px;background:#fff;padding:3px}
.brand h1{font-size:20px;letter-spacing:0.6px;font-weight: 700;}

/* Logo 胶囊白底 */
.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.8); /* 半透明白底 */
    border-radius: 40px; /* 圆角胶囊 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.25); /* 微光阴影立体感 */
    transition: 0.3s ease;
  }
  
  /* 悬浮轻微亮 */
  .logo:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-1px);
  }
  
  /* Logo 图标 */
  .logo img {
    height: 31px;
    width: auto;
    display: block;
  }
  
  /* logo 文字颜色变深 */
  .logo span {
    color: #173030;
    font-weight: 700;
    font-size: 18px;
  }


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #5bc0be;
}
