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

  body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1e0066, #4a00e0);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
  }

  a {
    color: #39ff14;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  a:hover {
    color: #ff7f50;
  }

  header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(45deg, #4a00e0, #8e2de2);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
  }

  header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  }

  header p {
    font-size: 1.2em;
    color: #d1d1d1;
  }

  nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
  }

  nav a {
    font-size: 1em;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }

  .container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .sidebar {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .sidebar img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .main-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .main-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #39ff14;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  }

  .main-content p {
    margin-bottom: 20px;
  }

  .main-content pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
  }

  .main-content code {
    color: #ff7f50;
    font-family: 'Courier New', Courier, monospace;
  }

  .example-article {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 40px;
  }

  .example-article h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ff7f50;
    text-align: center;
  }

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

  .example-article code {
    color: #39ff14;
    font-family: 'Courier New', Courier, monospace;
  }

  footer {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  footer p {
    color: #d1d1d1;
  }

  /* 响应式设计 */
  @media (max-width: 1440px) {
    .container {
      grid-template-columns: 1fr 3fr;
    }
  }

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

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

    nav {
      flex-direction: column;
      align-items: center;
    }
  }

  @media (max-width: 768px) {
    header h1 {
      font-size: 2.5em;
    }

    header p {
      font-size: 1em;
    }
  }

  @media (max-width: 480px) {
    nav a {
      padding: 8px 16px;
      font-size: 0.9em;
    }

    .main-content h2 {
      font-size: 1.5em;
    }
  }

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

    header h1 {
      font-size: 2em;
    }

    .container {
      grid-template-columns: 1fr;
    }
  }

  /* 动画效果 */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .dynamic-text {
    animation: fadeIn 2s ease-in-out;
  }

  .button-hover:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #39ff14, #ff7f50);
  }

  /* 视觉提示 */
  .reference-note {
    text-align: center;
    font-size: 1em;
    color: #d1d1d1;
    margin-bottom: 20px;
  }

