
  /* 全局样式 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto', 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
  }
  
  h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    margin-bottom: 15px;
  }
  
  h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  
  h3 {
    font-size: 1.75rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  
  h4 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  
  p {
    margin-bottom: 15px;
    font-size: 1rem;
  }
  
  a {
    color: #ffdd57;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: #ffffff;
  }
  
  pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
  }
  
  code {
    color: #ffdd57;
    font-family: 'Courier New', Courier, monospace;
  }
  
  ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
  }
  
  /* 渐变背景 */
  .gradient-background {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
  }
  
  /* 动态网格布局 */
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .grid-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }
  
  /* 代码块样式 */
  .code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
  }
  
  .code-block code {
    color: #00ffea;
    font-family: 'Courier New', Courier, monospace;
  }
  
  /* 响应式设计 */
  @media (max-width: 1440px) {
    h1 {
      font-size: 2.2rem;
    }
    h2 {
      font-size: 1.8rem;
    }
    h3 {
      font-size: 1.6rem;
    }
    h4 {
      font-size: 1.4rem;
    }
    p {
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 1200px) {
    h1 {
      font-size: 2rem;
    }
    .grid-container {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
  }
  
  @media (max-width: 1024px) {
    body {
      padding: 15px;
    }
    h1 {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 768px) {
    h1 {
      font-size: 1.5rem;
    }
    .grid-container {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 480px) {
    h1 {
      font-size: 1.3rem;
    }
    h2 {
      font-size: 1.5rem;
    }
    h3 {
      font-size: 1.3rem;
    }
    h4 {
      font-size: 1.2rem;
    }
    p {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 320px) {
    body {
      padding: 10px;
    }
    h1 {
      font-size: 1.1rem;
    }
  }
  
  /* 特效动画 */
  .cube {
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
    margin: 20px auto;
  }
  
  @keyframes rotate {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
  }
  
  .cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #ffffff;
  }
  
  /* 提示信息 */
  .reference-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    color: #ffdd57;
  }
  
  /* 图片样式 */
  .decorative-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
  }
  
  .decorative-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  
  .decorative-images img:hover {
    transform: scale(1.1);
  }

