
  /* 基础样式 */
  body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgba(0, 4, 46, 1) 0%, rgba(28, 23, 56, 1) 100%);
    color: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* 容器 */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  /* 头部样式 */
  header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #1cb5e0, #000046);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(28, 181, 224, 0.5);
    animation: backgroundMove 15s linear infinite;
  }

  header h1 {
    font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    color: #e0f7fa;
    margin-bottom: 20px;
  }

  header p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
  }

  /* 导航菜单 */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 70, 0.9);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .menu {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .menu a {
    color: #1cb5e0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  .menu a:hover {
    color: #e0f7fa;
    text-decoration: underline;
  }

  /* 主体内容 */
  main {
    flex: 1;
    padding: 60px 0 20px;
  }

  article {
    background: rgba(28, 181, 224, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(28, 181, 224, 0.5);
    margin-bottom: 40px;
  }

  article h2, article h3 {
    color: #1cb5e0;
    font-family: 'Montserrat', sans-serif;
  }

  article h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  article h3 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  article p, article ul, article pre {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  article ul {
    list-style: inside square;
  }

  article pre {
    background: #000046;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
  }

  article code {
    color: #1cb5e0;
    font-family: 'Courier New', Courier, monospace;
  }

  /* 图片样式 */
  .images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
  }

  .images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }

  .images img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(28, 181, 224, 0.7);
  }

  /* 代码示例样式 */
  .code-preview {
    background: #1cb5e0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
  }

  .code-preview pre {
    background: #000046;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
  }

  .code-preview code {
    color: #e0f7fa;
    font-family: 'Courier New', Courier, monospace;
  }

  /* 按钮样式 */
  .button {
    background-color: #1cb5e0;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
  }

  .button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(28, 181, 224, 0.8);
  }

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

  /* 响应式设计 */
  @media (max-width: 320px) {
    header h1 {
      font-size: 2rem;
    }
    .menu a {
      font-size: 0.8rem;
    }
    article h2 {
      font-size: 2rem;
    }
    article h3 {
      font-size: 1.5rem;
    }
    article p, article ul, article pre {
      font-size: 1rem;
    }
    .images img {
      width: 100px;
      height: 100px;
    }
  }

  @media (min-width: 321px) and (max-width: 480px) {
    header h1 {
      font-size: 2.5rem;
    }
    .menu a {
      font-size: 0.9rem;
    }
    article h2 {
      font-size: 2.2rem;
    }
    article h3 {
      font-size: 1.6rem;
    }
    article p, article ul, article pre {
      font-size: 1.1rem;
    }
    .images img {
      width: 120px;
      height: 120px;
    }
  }

  @media (min-width: 481px) and (max-width: 768px) {
    .menu {
      gap: 20px;
    }
    header h1 {
      font-size: 2.8rem;
    }
    article h2 {
      font-size: 2.4rem;
    }
    article h3 {
      font-size: 1.7rem;
    }
  }

  @media (min-width: 769px) and (max-width: 1024px) {
    .container {
      padding: 40px;
    }
    article h1 {
      font-size: 3rem;
    }
  }

  @media (min-width: 1025px) and (max-width: 1200px) {
    .images img {
      width: 160px;
      height: 160px;
    }
    article h2 {
      font-size: 2.6rem;
    }
  }

  @media (min-width: 1201px) {
    .images img {
      width: 180px;
      height: 180px;
    }
    header h1 {
      font-size: 3.5rem;
    }
    article h2 {
      font-size: 3rem;
    }
  }

  /* 动画 */
  @keyframes backgroundMove {
    0% { background: linear-gradient(135deg, #1cb5e0, #000046); }
    50% { background: linear-gradient(135deg, #000046, #1cb5e0); }
    100% { background: linear-gradient(135deg, #1cb5e0, #000046); }
  }

  @keyframes auroraMove {
    0% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
    50% { background: radial-gradient(circle, rgb(34, 193, 195), transparent); }
    100% { background: radial-gradient(circle, rgb(255, 87, 34), transparent); }
  }

