/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #363636;
  color: #fff;
}

/* 导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;/*原来是60*/
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  background: rgba(34, 34, 34, 0.3); /* 降低背景透明度 */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.header:hover {
  background: rgba(34, 34, 34, 0.6); /* 悬停降透明度 */
}

.logo a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #b8fd06;
}

.nav {
  order: 2;
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul li {
  margin-left: 20px;
}

.nav ul li a {
  color: #e8e5e9;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #b8fd06;
  transition: width 0.3s ease;
}

.nav ul li a:hover {
  color: #b8fd06;
}

.nav ul li a:hover::after {
  width: 100%;
}

/* 底部区域样式 */
.footer {
  background: rgba(34, 34, 34, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #d6d2d8;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #b8fd06;
}

.footer-copyright {
  margin-top: 10px;
  font-size: 14px;
  color: #525151;
}


/* 自适应布局 */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 10px;
  }

  .nav {
      order: 0;
  }

  .nav ul {
      flex-direction: column;
      align-items: center;
      margin: 10px 0 0;
  }

  .nav ul li {
      margin: 0 0 10px;
  }
}