
  /* 重置部分默认样式 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* 设置全局字体与背景 */
  body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, rgba(209, 232, 249, 0.8), rgba(198, 244, 217, 0.8));
    color: #333;
    line-height: 1.6;
    padding: 20px;
  }

  /* 头部样式 */
  header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(74, 144, 226, 0.6);
    border-radius: 15px;
    margin-bottom: 30px;
  }

  header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 10px;
  }

  header p {
    font-size: 1.2em;
    color: #f9f9f9;
  }

  /* 主要内容区域 */
  .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  /* 示例展示部分 */
  .example-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .example-section h2 {
    font-family: 'Montserrat', sans-serif;
    color: #4A90E2;
    margin-bottom: 15px;
  }

  .example-section article {
    margin-bottom: 20px;
  }

  .example-section pre {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 15px;
  }

  .example-section code {
    background: #eaeaea;
    padding: 2px 4px;
    border-radius: 3px;
  }

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

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

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

  /* 按钮样式 */
  .btn {
    display: inline-block;
    background: #4A90E2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
  }

  .btn:hover {
    background: #FF6F61;
    transform: scale(1.1);
  }

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

  table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
  }

  table th {
    background: #4A90E2;
    color: #fff;
  }

  /* 响应式设计 */
  @media (max-width: 320px) {
    header h1 {
      font-size: 1.8em;
    }
    .btn {
      padding: 8px 16px;
      font-size: 0.9em;
    }
  }

  @media (max-width: 480px) {
    header h1 {
      font-size: 2em;
    }
    .btn {
      padding: 9px 18px;
      font-size: 1em;
    }
  }

  @media (max-width: 768px) {
    .images-grid {
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
  }

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

  @media (max-width: 1200px) {
    header {
      padding: 40px 15px;
    }
    .example-section {
      padding: 18px;
    }
  }

  @media (min-width: 1440px) {
    .container {
      max-width: 1200px;
      margin: 0 auto;
    }
    header h1 {
      font-size: 3em;
    }
  }

  /* 动画效果 */
  .button-animation {
    transition: all 0.3s ease;
  }

  .button-animation:hover {
    transform: scale(1.1);
    background-color: #4A90E2;
  }

  /* 提示信息样式 */
  .note {
    text-align: center;
    font-size: 1em;
    color: #555;
    margin-top: 20px;
  }

