
  /* 引入字体 */
  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto&display=swap');

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

  body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A192F, #646FD4);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
  }

  /* 动态粒子背景 */
  .particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }

  .particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #FFFFFF;
    border-radius: 50%;
    animation: move-particles 10s infinite;
    opacity: 0.8;
  }

  @keyframes move-particles {
    0% {
      transform: translateY(0) translateX(0) scale(1);
      opacity: 0.8;
    }
    50% {
      transform: translateY(-100px) translateX(100px) scale(1.5);
      opacity: 0.4;
    }
    100% {
      transform: translateY(0) translateX(0) scale(1);
      opacity: 0.8;
    }
  }

  /* 标题样式 */
  header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
  }

  header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #39FF14, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  header p {
    font-size: 1.2rem;
    color: #CCCCCC;
  }

  /* 主容器 */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  /* 示例展示 */
  .example-display {
    background: rgba(25, 33, 71, 0.9);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  }

  .example-display h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #FFD700;
  }

  .example-display article {
    font-family: 'Roboto', sans-serif;
  }

  .example-display h3, .example-display h4 {
    font-family: 'Montserrat', sans-serif;
    color: #39FF14;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .example-display p {
    margin-bottom: 15px;
    color: #FFFFFF;
  }

  .example-display code {
    background: #1E2A47;
    padding: 2px 6px;
    border-radius: 4px;
    color: #39FF14;
    font-family: 'Courier New', Courier, monospace;
  }

  .example-display pre {
    background: #0A192F;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
  }

  .example-display table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  .example-display th, .example-display td {
    border: 1px solid #39FF14;
    padding: 10px;
    text-align: left;
  }

  .example-display th {
    background: #1E2A47;
    color: #FFD700;
  }

  /* 图片样式 */
  .images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0;
  }

  .images-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }

  .images-grid img:hover {
    transform: scale(1.05);
  }

  /* 提示信息 */
  .reference-note {
    text-align: center;
    font-size: 1rem;
    color: #FFD700;
    margin-top: 20px;
  }

  /* 内部链接样式 */
  a {
    color: #39FF14;
    text-decoration: none;
    position: relative;
  }

  a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s;
    position: absolute;
    bottom: -3px;
    left: 0;
  }

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

  /* 卡片样式 */
  .card {
    background-color: #1E2A47;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .card:hover {
    transform: scale(1.05);
    background-color: #0A192F;
  }

  /* 按钮样式 */
  .button {
    background-color: #646FD4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: 'Montserrat', sans-serif;
  }

  .button:hover {
    background-color: #39FF14;
    transform: scale(1.05);
  }

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

  @media (max-width: 1200px) {
    .container {
      padding: 15px;
    }
  }

  @media (max-width: 1024px) {
    .example-display {
      padding: 25px;
    }
  }

  @media (max-width: 768px) {
    header h1 {
      font-size: 2rem;
    }
    .example-display h2 {
      font-size: 1.8rem;
    }
  }

  @media (max-width: 480px) {
    header h1 {
      font-size: 1.8rem;
    }
    .example-display h2 {
      font-size: 1.6rem;
    }
    .images-grid {
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
  }

  @media (max-width: 320px) {
    header h1 {
      font-size: 1.5rem;
    }
    .example-display h2 {
      font-size: 1.4rem;
    }
    .button {
      padding: 8px 16px;
      font-size: 0.9rem;
    }
  }

