
  /* 根定义颜色变量 */
  :root {
    --primary-color: #6a11cb; /* 深紫色 */
    --secondary-color: #2575fc; /* 浅蓝色 */
    --accent-color-1: #ffcc00; /* 亮黄色 */
    --accent-color-2: #ff4081; /* 霓虹粉色 */
    --text-color: #ffffff; /* 白色 */
    --background-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.3);
    --font-family: 'Poppins', 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
  }

  /* 全局样式 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: var(--font-family);
    background: var(--background-gradient);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
  }

  h1, h2, h3, h4, h5, h6 {
    color: var(--accent-color-1);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }

  p {
    margin-bottom: 15px;
    color: #f0f0f0;
  }

  a {
    color: var(--accent-color-2);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
  }

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

  /* 容器和布局 */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* 导航栏 */
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }

  .navbar a {
    margin-left: 20px;
    font-size: 16px;
  }

  /* 头部提示 */
  .header {
    text-align: center;
    margin-bottom: 40px;
  }

  .header h1 {
    font-size: 3em;
    animation: fadeIn 2s ease-in-out;
  }

  /* 文章部分 */
  article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 40px;
  }

  article h2 {
    font-size: 2em;
    margin-bottom: 15px;
  }

  article h3 {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  article h4 {
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  article p {
    margin-bottom: 10px;
  }

  article ul, article ol {
    margin-left: 20px;
    margin-bottom: 10px;
  }

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

  article table, article th, article td {
    border: 1px solid var(--border-color);
  }

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

  article pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
  }

  article code {
    color: var(--accent-color-2);
    font-family: 'Courier New', Courier, monospace;
  }

  /* 图像样式 */
  .images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
  }

  .images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform var(--transition-speed) ease;
  }

  .images img:hover {
    transform: scale(1.05);
  }

  /* 示例数据展示 */
  .example-data {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-left: 5px solid var(--accent-color-1);
    margin-bottom: 40px;
    border-radius: 5px;
  }

  .example-data h3 {
    margin-bottom: 10px;
  }

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

    .header h1 {
      font-size: 2.5em;
    }
  }

  @media (max-width: 1200px) {
    .navbar {
      padding: 15px 30px;
    }

    .header h1 {
      font-size: 2em;
    }
  }

  @media (max-width: 1024px) {
    .container {
      padding: 20px;
    }

    .images img {
      width: 120px;
      height: 120px;
    }
  }

  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: center;
    }

    .navbar a {
      margin: 10px 0;
    }

    .header h1 {
      font-size: 1.8em;
    }

    .images {
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    .container {
      padding: 15px;
    }

    .header h1 {
      font-size: 1.5em;
    }

    .images img {
      width: 100px;
      height: 100px;
    }

    article {
      padding: 20px;
    }
  }

  @media (max-width: 320px) {
    .navbar {
      padding: 10px 20px;
    }

    .header h1 {
      font-size: 1.2em;
    }

    .images img {
      width: 80px;
      height: 80px;
    }

    article {
      padding: 15px;
    }
  }

  /* 动画关键帧 */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes float {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-200px); opacity: 0; }
  }

  /* 按钮样式 */
  .button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    overflow: hidden;
    transition: background var(--transition-speed) ease;
  }

  .button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width var(--transition-speed) ease, height var(--transition-speed) ease;
  }

  .button:hover::after {
    width: 200px;
    height: 200px;
  }

  /* 浮动卡片 */
  .card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  }

