
  /* 全局样式 */
  :root {
    --bg-color: #0F172A; /* 深蓝色背景 */
    --accent-color-1: #4F46E5; /* 霓虹蓝 */
    --accent-color-2: #8B5CF6; /* 霓虹紫 */
    --accent-color-3: #10B981; /* 霓虹绿 */
    --text-color: #FFFFFF; /* 白色文本 */
    --card-bg: rgba(255, 255, 255, 0.1); /* 磨砂玻璃效果背景 */
    --transition-speed: 0.3s;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    background: linear-gradient(135deg, var(--bg-color), #37306B);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    padding: 20px;
  }

  h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: bold;
    margin-bottom: 15px;
  }

  h2 {
    color: var(--accent-color-1);
  }

  h3 {
    color: var(--accent-color-2);
  }

  h4 {
    color: var(--accent-color-3);
  }

  p {
    margin-bottom: 15px;
    letter-spacing: 0.5px;
  }

  pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 15px;
  }

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

  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  table, th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  th, td {
    padding: 10px;
    text-align: left;
  }

  th {
    background: rgba(255, 255, 255, 0.2);
  }

  /* 磨砂玻璃效果 */
  .frosted-glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
  }

  /* 卡片样式 */
  .card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform var(--transition-speed) ease;
  }

  .card:hover {
    transform: scale(1.05);
  }

  /* 按钮样式 */
  button {
    background: var(--accent-color-1);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
    font-family: var(--font-secondary);
  }

  button:hover {
    background: #3C378F;
    transform: scale(1.1);
  }

  /* 图标样式 */
  .icon {
    width: 30px;
    height: 30px;
    fill: var(--text-color);
    transition: transform var(--transition-speed) ease;
  }

  .icon:hover {
    transform: rotate(45deg);
  }

  /* 布局容器 */
  .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  /* 视差效果 */
  .parallax {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* 响应式设计 */
  @media (max-width: 320px) {
    body {
      padding: 10px;
    }
    h1 {
      font-size: 24px;
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 28px;
    }
  }

  @media (max-width: 768px) {
    .container {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 1024px) {
    h2 {
      font-size: 24px;
    }
  }

  @media (min-width: 1200px) {
    body {
      padding: 40px;
    }
  }

  @media (min-width: 1440px) {
    h1 {
      font-size: 36px;
    }
  }

  /* 图片样式 */
  img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  /* 动态导航栏 */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background var(--transition-speed) ease;
  }

  .navbar:hover {
    background: rgba(15, 23, 42, 1);
  }

  .navbar a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
    transition: color var(--transition-speed) ease;
  }

  .navbar a:hover {
    color: var(--accent-color-1);
  }

  /* 提示信息样式 */
  .tooltip {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: var(--accent-color-2);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-family: var(--font-secondary);
  }

