* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  margin: 0;
  background: #7f53ac;
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* 页面进入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-enter {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-enter-delay-1 {
  animation-delay: 0.1s;
}

.page-enter-delay-2 {
  animation-delay: 0.2s;
}

.page-enter-delay-3 {
  animation-delay: 0.3s;
}

.page-enter-delay-4 {
  animation-delay: 0.4s;
}


/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
  background: rgba(127, 83, 172, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(80, 40, 120, 0.3);
}


.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.brand {
  font-size: 1.5em;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-right {
  display: flex;
  align-items: center;
}

.header-right .links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  fill: currentColor;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
  display: block;
  flex-shrink: 0;
}

.header-icon:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/* 菜单按钮 */
.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.menu-icon {
  width: 24px;
  height: 24px;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-icon-line {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* 菜单打开时的图标动画 - 变成叉叉 */
.menu-toggle.active .menu-icon-line-1 {
  transform: translateY(6px) rotate(45deg);
  transform-origin: 12px 6px;
}

.menu-toggle.active .menu-icon-line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .menu-icon-line-3 {
  transform: translateY(-6px) rotate(-45deg);
  transform-origin: 12px 18px;
}

/* 菜单面板 */
.menu-overlay {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

@media (max-width: 900px) {
  .menu-overlay {
    top: 60px;
  }
}

@media (max-width: 640px) {
  .menu-overlay {
    top: 56px;
  }
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: rgba(127, 83, 172, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  padding: 0 0 40px 0;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 101;
}


.menu-overlay.active .menu-panel {
  transform: translateX(0);
}

.menu-link {
  display: block;
  padding: 16px 32px;
  color: #fff;
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border-left: 3px solid transparent;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #fff;
  transform: translateX(4px);
}

/* Content */
.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
  color: #fff;
}

.member {
  margin-bottom: 2em;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s, box-shadow 0.2s;
}

.member:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.member h2 {
  margin: 0.2em 0 0.3em;
  font-size: 1.3em;
  color: #fff;
}

.member p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* 响应式设计 */
@media (max-width: 900px) {
  .header {
    padding: 0 20px;
    height: 60px;
  }
  .logo {
    width: 20px;
    height: 20px;
  }
  .brand {
    font-size: 1.3em;
  }
  .header-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 0 16px;
    height: 56px;
  }
  .logo {
    width: 20px;
    height: 20px;
  }
  .brand {
    font-size: 1.1em;
  }
  .header-icon {
    width: 24px;
    height: 24px;
  }
  .container {
    padding: 0 16px;
  }
  h1 {
    font-size: 1.8em;
  }
  .member {
    padding: 16px;
  }
}

/* Footer */
footer {
  padding: 36px 0 54px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 60px;
}

footer p {
  margin: 8px 0;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

