
  /* 全局样式设置，包括字体、背景和基本布局 */
  body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A2640, #CDD3D9);
    color: #FFFFFF;
    line-height: 1.6;
  }

  /* 导航栏样式，固定在顶部，带有玻璃拟态效果 */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 38, 64, 0.8); /* 主色调 */
    backdrop-filter: blur(10px); /* 背景模糊 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影效果 */
  }

  /* 导航链接样式 */
  .navbar a {
    color: #CDD3D9; /* 辅色 */
    text-decoration: none;
    margin: 0 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: color 0.3s ease;
  }

  /* 导航链接悬停效果 */
  .navbar a:hover {
    color: #8EC3B0; /* 点缀色 */
  }

  /* 主内容区域的网格布局，响应式设计 */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    padding: 100px 20px 20px; /* 上方留出导航栏空间 */
  }

  /* 玻璃拟态卡片样式 */
  .glass-card {
    background: rgba(255, 255, 255, 0.2); /* 半透明背景 */
    border-radius: 15px; /* 圆角 */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* 阴影 */
    backdrop-filter: blur(8px); /* 背景模糊 */
    -webkit-backdrop-filter: blur(8px); /* 兼容性 */
    border: 1px solid rgba(255, 255, 255, 0.18); /* 边框 */
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑过渡 */
  }

  /* 玻璃卡片悬停效果 */
  .glass-card:hover {
    transform: scale(1.05); /* 放大效果 */
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.5); /* 阴影加深 */
  }

  /* 文章标题样式 */
  h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #8EC3B0; /* 点缀色 */
    margin-bottom: 10px;
    font-size: 18px;
  }

  /* 文章正文样式 */
  p {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-align: justify; /* 两端对齐 */
  }

  /* 代码块样式 */
  pre {
    background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    padding: 10px;
    border-radius: 8px;
    overflow: auto;
    font-size: 15px;
    margin-bottom: 15px;
  }

  code {
    font-family: 'Courier New', Courier, monospace;
    color: #A78BFA; /* 点缀色 */
  }

  /* 图片样式，带有圆角和阴影 */
  img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
  }

  /* 图片悬停效果 */
  img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }

  /* 响应式设计，适配不同屏幕宽度 */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: center;
      padding: 20px;
    }

    .navbar a {
      margin: 10px 0;
      font-size: 18px;
    }

    .grid-container {
      grid-template-columns: 1fr;
      padding: 120px 20px 20px; /* 增加上方间距 */
    }
  }

  /* 提示文字样式，位于页面显著位置 */
  .notice {
    text-align: center;
    font-size: 20px;
    margin: 30px 0;
    color: #F6AD57; /* 点缀色 */
    font-weight: bold;
  }

  /* 链接样式，确保所有内部链接带有 rel="nofollow" */
  a[rel="nofollow"] {
    /* 可以根据需要添加额外样式 */
  }

  /* 其他辅助样式，如列表、引用等 */
  ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
  }

  blockquote {
    border-left: 5px solid #8EC3B0;
    padding-left: 15px;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-style: italic;
  }

  /* 折叠区域样式 */
  details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
  }

  summary {
    cursor: pointer;
    font-weight: bold;
    color: #A78BFA;
  }

  /* 按钮样式，若有需要 */
  button {
    background: #8EC3B0;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
  }

  button:hover {
    background: #A78BFA;
  }

  /* 代码块标题样式 */
  pre code::before {
    content: '代码示例';
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #F6AD57;
  }

  /* 确保代码内容不被遮挡 */
  pre code {
    overflow: visible;
  }

  /* 表格样式，若有需要 */
  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
  }

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

  th {
    background: rgba(142, 195, 176, 0.3);
    color: #FFFFFF;
  }

  td {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
  }

  /* 更多样式可以根据需要添加，以增强页面美观和功能性 */

