
  /* 全局变量定义 */
  :root {
    --primary-bg: #0F172A;
    --secondary-bg: #000000;
    --accent-color: #8B5CF6;
    --highlight-color: #3B82F6;
    --text-color: #FFFFFF;
    --code-bg: #1E293B;
    --code-color: #F8FAFC;
    --link-color: #3B82F6;
    --hover-transform: scale(1.05);
    --transition-duration: 0.3s;
    --font-family: 'Inter', sans-serif;
  }

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

  body {
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    padding: 20px;
  }

  /* 标题样式 */
  h1, h2, h3, h4, h5, h6 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: bold;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  /* 段落样式 */
  p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-color);
  }

  /* 强调文本 */
  p b {
    color: var(--highlight-color);
  }

  /* 链接样式 */
  a {
    color: var(--link-color);
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }

  /* 预格式化文本与代码块 */
  pre {
    background-color: var(--code-bg);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
  }

  code {
    color: var(--code-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
  }

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

  th, td {
    border: 1px solid var(--highlight-color);
    padding: 0.75rem;
    text-align: left;
  }

  th {
    background-color: var(--highlight-color);
    color: var(--secondary-bg);
  }

  /* 图片样式 */
  img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
  }

  /* 容器样式 */
  .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
  }

  .item {
    background-color: var(--secondary-bg);
    padding: 1rem;
    border-radius: 10px;
    transition: transform var(--transition-duration) ease-in-out;
  }

  .item:hover {
    transform: var(--hover-transform);
  }

  /* 示例展示样式 */
  .example-display {
    border: 2px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.8);
    margin-bottom: 2rem;
  }

  .example-display h2 {
    color: var(--highlight-color);
  }

  /* 动画效果 */
  @keyframes aurora-move {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .animated-background {
    background: radial-gradient(circle, rgba(255, 87, 34, 0.7), transparent);
    animation: aurora-move 15s linear infinite;
  }

  /* 响应式设计 */
  @media (max-width: 320px) {
    body {
      padding: 10px;
    }
    h1 {
      font-size: 1.8rem;
    }
    h2 {
      font-size: 1.5rem;
    }
    p, code {
      font-size: 0.9rem;
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 2rem;
    }
    h2 {
      font-size: 1.6rem;
    }
    p, code {
      font-size: 1rem;
    }
  }

  @media (max-width: 768px) {
    .container {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
    }
    h1 {
      font-size: 2.2rem;
    }
    h2 {
      font-size: 1.8rem;
    }
  }

  @media (max-width: 1024px) {
    .container {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    h1 {
      font-size: 2.4rem;
    }
  }

  @media (max-width: 1200px) {
    .container {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  @media (min-width: 1440px) {
    body {
      padding: 40px;
    }
    h1 {
      font-size: 3rem;
    }
    h2 {
      font-size: 2.5rem;
    }
    p, code {
      font-size: 1.1rem;
    }
  }

  /* 无外部链接样式 */
  a[rel="nofollow"]::after {
    content: "";
  }

  /* 提示样式 */
  .reference-note {
    font-size: 1rem;
    color: var(--highlight-color);
    margin-bottom: 2rem;
    text-align: center;
  }


