/* 基础优化 */
body {
    background: #1a1a1a; /* 更深的背景色 */
    color: #e0e0e0; /* 更柔和的文字颜色 */
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
  }
  
  #content {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
/* 导航栏优化 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.5); /* 深色半透明背景 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    z-index: 100;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Logo 样式 */
  nav #logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  nav #logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
  }
  
  .idk {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* 标题样式 */
  nav h4 {
    margin: 0;
    font-size: 1.4em;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
  }
  
  /* 导航链接容器 */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 12px; /* 链接之间的间距 */
  }
  
  /* 导航链接样式 */
  nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1em;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
  }
  
  /* 链接悬停效果 */
  nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* 链接激活效果 */
  nav a:active {
    transform: scale(0.95);
  }
  
  /* 链接底部指示条 */
  nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #4dabf7;
    transition: all 0.2s ease;
    transform: translateX(-50%);
  }
  
  nav a:hover::after {
    width: 80%; /* 悬停时显示底部指示条 */
  }
  
  /* 移动端适配 */
  @media (max-width: 768px) {
    nav {
      padding: 10px;
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-links {
      width: 100%;
      justify-content: space-between;
      margin-top: 8px;
    }
  
    nav a {
      padding: 6px 12px;
      font-size: 0.9em;
    }
  
    nav h4 {
      font-size: 1.2em;
    }
  }
  
  /* 标题优化 */
  h1 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding-left: 12px;
  }
  
  h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #4dabf7; /* 标题左侧装饰条 */
    border-radius: 2px;
  }
  
  /* 链接卡片优化 */
  a.links {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    text-decoration: none;
    padding: 12px 20px;
    margin: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
  }
  
  a.links:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 8px;
    filter: brightness(0.9);
  }
  
  footer {
    background: rgba(30, 30, 30, 0.5); /* 深色半透明背景 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    padding: 4px;
    text-align: center;
    color: #e0e0e060;
    font-size: 1.2em;
  }

  /* 加载动画优化 */
  #loader {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
  }
  
  #loader .spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #4dabf7;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }
  
  #loader .progress-text {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* 响应式优化 */
  @media (max-width: 768px) {
    nav {
      padding: 10px;
    }
  
    nav h4 {
      font-size: 1.2em;
    }
  
    nav a {
      padding: 6px 12px;
      font-size: 0.9em;
    }
  
    h1 {
      font-size: 1.5rem;
      margin: 30px 0 15px;
    }
  
    a.links {
      padding: 10px 16px;
      margin: 6px;
      font-size: 0.95em;
    }
  }