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

  /* 全局字体与背景 */
  body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A192F, #6C5CE7);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
  }

  /* 导航栏样式 */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.9);
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }

  header nav a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 25px;
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  header nav a:hover {
    color: #FF6F61;
  }

  /* 主要内容区域 */
  main {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }

  /* 每个区块的样式 */
  section {
    background: rgba(24, 32, 44, 0.85);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
  }

  section:hover {
    transform: translateY(-5px);
  }

  /* 标题样式 */
  h1, h2, h3 {
    color: #6C5CE7;
    margin-bottom: 15px;
    font-weight: bold;
  }

  h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  /* 段落与文本 */
  p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #f0f0f0;
  }

  /* 链接样式 */
  a {
    color: #6C5CE7;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #FF6F61;
  }

  /* 按钮样式 */
  button {
    background-color: #6C5CE7;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  button:hover {
    transform: scale(1.05);
    background-color: #FF6F61;
  }

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

  /* 示例文章展示 */
  .sample-article {
    background: rgba(30, 39, 46, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  }

  .sample-article h2 {
    color: #FF6F61;
  }

  /* 代码块样式 */
  code {
    background: #1E272E;
    color: #FF6F61;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
  }

  pre {
    background: #1E272E;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 15px;
  }

  pre code {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
  }

  /* 浮动操作菜单 */
  .floating-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .floating-menu a {
    background-color: #FF6F61;
    color: #ffffff;
    padding: 12px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .floating-menu a:hover {
    background-color: #6C5CE7;
    transform: scale(1.1);
  }

  /* 提示文字样式 */
  .reference-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    color: #f0f0f0;
  }

  /* 响应式设计 */
  @media (max-width: 1440px) {
    main {
      padding: 15px;
    }
  }

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

  @media (max-width: 1024px) {
    header nav a {
      margin-right: 20px;
      font-size: 0.95rem;
    }

    h1 {
      font-size: 2.2rem;
    }

    h2 {
      font-size: 1.8rem;
    }
  }

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

    h2 {
      font-size: 1.5rem;
    }

    .floating-menu {
      flex-direction: row;
      bottom: 20px;
      right: 50%;
      transform: translateX(50%);
    }
  }

  @media (max-width: 480px) {
    body {
      padding: 10px;
    }

    header {
      padding: 10px 20px;
    }

    header nav a {
      margin-right: 15px;
      font-size: 0.9rem;
    }

    h1 {
      font-size: 1.8rem;
    }

    h2 {
      font-size: 1.4rem;
    }

    button {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }

  @media (max-width: 320px) {
    h1 {
      font-size: 1.6rem;
    }

    h2 {
      font-size: 1.2rem;
    }

    .floating-menu a {
      padding: 10px;
      font-size: 1rem;
    }
  }

