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

  /* 根元素变量 */
  :root {
    --primary-blue: #0074D9;
    --secondary-blue: #64B5F6;
    --primary-purple: #6A1B9A;
    --secondary-purple: #BA68C8;
    --neon-green: #39FF14;
    --white: #FFFFFF;
    --font-primary: 'Open Sans', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
  }

  body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
  }

  /* 动态粒子背景 */
  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveParticles 60s linear infinite;
    z-index: -1;
  }

  @keyframes moveParticles {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, -100px); }
  }

  /* 导航栏样式 */
  nav {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  }

  nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    position: relative;
  }

  nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
  }

  nav a:hover::after {
    width: 100%;
  }

  /* 主标题样式 */
  header h1 {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--neon-green), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* 各模块样式 */
  section {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
  }

  section h2 {
    font-family: var(--font-mono);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--neon-green);
  }

  section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  /* 按钮样式 */
  .btn {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--neon-green);
    border-radius: 30px;
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, transform 0.3s;
    font-weight: bold;
  }

  .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
  }

  .btn::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--neon-green);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    opacity: 0.5;
    transition: transform 0.5s, opacity 1s;
  }

  .btn:active::after {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }

  /* 图片样式 */
  img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    margin-top: 15px;
  }

  /* 代码块样式 */
  pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
  }

  code {
    font-family: var(--font-mono);
    color: var(--neon-green);
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  /* 表格样式 */
  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  th, td {
    border: 1px solid var(--neon-green);
    padding: 10px;
    text-align: left;
  }

  th {
    background: rgba(255, 255, 255, 0.2);
  }

  /* 文章示例展示 */
  .example-article {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
  }

  /* 提示信息 */
  .info {
    font-size: 1.2rem;
    color: var(--neon-green);
    margin-bottom: 20px;
    text-align: center;
  }

  /* 响应式设计 */
  @media (max-width: 1440px) {
    header h1 {
      font-size: 2.2rem;
    }
  }

  @media (max-width: 1200px) {
    nav {
      padding: 10px 20px;
    }

    section {
      padding: 25px;
    }
  }

  @media (max-width: 1024px) {
    header h1 {
      font-size: 2rem;
    }

    .btn {
      padding: 10px 20px;
    }
  }

  @media (max-width: 768px) {
    nav {
      flex-direction: column;
      align-items: flex-start;
    }

    nav a {
      margin: 5px 0;
    }

    header h1 {
      font-size: 1.8rem;
    }

    section {
      padding: 20px;
    }
  }

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

    .btn {
      padding: 8px 16px;
      font-size: 0.9rem;
    }

    section h2 {
      font-size: 1.5rem;
    }

    .info {
      font-size: 1rem;
    }
  }

  @media (max-width: 320px) {
    nav {
      padding: 8px 16px;
    }

    header h1 {
      font-size: 1.2rem;
    }

    section h2 {
      font-size: 1.2rem;
    }
  }

