
  /* 全局样式设置 */
  body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background: linear-gradient(135deg, #2c3e50 70%, #34495e 25%, #3498db 5%);
    color: #ffffff;
    transition: background 0.5s ease;
  }
  
  /* 导航栏样式 */
  .navbar {
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s ease;
  }
  
  .navbar a:hover {
    color: #ffa500;
  }
  
  /* 章节导航样式 */
  .toc {
    position: fixed;
    top: 80px;
    left: 20px;
    background: rgba(44, 83, 100, 0.8);
    padding: 20px;
    border-radius: 10px;
  }
  
  .toc ul {
    list-style: none;
    padding: 0;
  }
  
  .toc ul li {
    margin-bottom: 10px;
  }
  
  .toc ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
  }
  
  .toc ul li a:hover {
    color: #ffa500;
  }
  
  /* 容器样式 */
  .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 100px 20px 20px 20px;
    max-width: 1920px;
    margin: 0 auto;
  }
  
  /* 区块样式 */
  .section {
    grid-column: span 12;
    padding: 20px;
    background: rgba(44, 83, 100, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
  }
  
  /* 标题样式 */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  
  /* 图片样式 */
  .section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
  }
  
  .section img:hover {
    transform: scale(1.05);
  }
  
  /* 代码块样式 */
  pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
  }
  
  code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
  }
  
  /* 按钮样式 */
  .button {
    background: #2c5364;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    margin-top: 10px;
  }
  
  .button:hover {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
  }
  
  .button:active {
    transform: scale(0.95);
  }
  
  /* 卡片样式 */
  .card {
    background: #2c5364;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
  }
  
  /* 折叠内容样式 */
  .collapsible {
    background-color: #2c5364;
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
  }
  
  .active, .collapsible:hover {
    background-color: #ffa500;
  }
  
  .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #34495e;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  /* 主题切换按钮 */
  .theme-toggler {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }
  
  .theme-toggler button {
    background: #32cd32;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .theme-toggler button:hover {
    background: #228b22;
  }
  
  /* 响应式设计 */
  @media (max-width: 1200px) {
    .section {
      grid-column: span 12;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      grid-template-columns: repeat(6, 1fr);
    }
    .toc {
      display: none;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      grid-template-columns: repeat(2, 1fr);
    }
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  }

