body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url('../images/mansui.png') no-repeat center center fixed;
  background-size: cover;
  backdrop-filter: blur(0px); /* 背景模糊效果 */
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 平滑滚动效果 */
html {
  scroll-behavior: smooth;
}

/* 全局动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.8); }
}

/* 标题样式 */
h1 {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
               0 0 20px rgba(255, 255, 255, 0.6),
               0 0 30px rgba(255, 255, 255, 0.4);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  animation: fadeIn 1s ease-out forwards;
}

/* 容器样式 */
.container {
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-out 0.2s forwards;
  opacity: 0;
  margin: auto;
  position: relative;
  z-index: 1;
  overflow-y: auto;
  max-height: 70vh;
  min-height: 400px;
}



/* 确保页面可以滚动 */
html, body {
  height: 100%;
  overflow-y: auto;
}

/* 列表样式 */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 链接样式 */
a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

a:active {
  transform: translateY(1px);
}

/* 分类标题下方的分割线 */
.category-title {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
}

/* 媒体查询 */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .container {
    padding: 1.5rem;
    max-height: 60vh;
    min-height: 350px;
  }

  a {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 1rem;
    max-height: 50vh;
    min-height: 300px;
  }

  a {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
}

/* 自定义滚动条样式 */
/* WebKit 浏览器 (Chrome, Safari) */
.container::-webkit-scrollbar {
  width: 8px;
}

.container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Firefox */

}
.container {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.2);
}
