
  /* 引入字体 */
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Quicksand:wght@500;700&display=swap');

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

  body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #A8E6CF, #DCE775, #FFD54F);
    color: #333;
    line-height: 1.6;
    padding: 20px;
  }

  header {
    text-align: center;
    padding: 50px 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 15px;
    margin-bottom: 30px;
  }

  header h1 {
    font-family: 'Quicksand', cursive;
    font-size: 48px;
    color: #4A148C;
    margin-bottom: 10px;
    letter-spacing: 2px;
  }

  header p {
    font-size: 18px;
    color: #6A1B9A;
  }

  main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  article {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
  }

  article::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #E0F7FA, transparent);
    animation: aurora-move 15s linear infinite;
    z-index: 0;
  }

  article > * {
    position: relative;
    z-index: 1;
  }

  article h2 {
    font-family: 'Quicksand', cursive;
    font-size: 36px;
    color: #00796B;
    margin-bottom: 20px;
    text-align: center;
  }

  article h3 {
    font-size: 28px;
    color: #00838F;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  article p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: justify;
  }

  article pre {
    background: #F5F5F5;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
  }

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

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

  article table, article th, article td {
    border: 1px solid #BDBDBD;
  }

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

  article th {
    background: #B2DFDB;
    color: #004D40;
  }

  .sample-display {
    background: #FFF3E0;
    padding: 20px;
    border-left: 5px solid #FFB74D;
    border-radius: 5px;
    margin-top: 30px;
  }

  .sample-display h4 {
    font-size: 20px;
    color: #E65100;
    margin-bottom: 10px;
  }

  .sample-display ul {
    list-style: disc;
    padding-left: 20px;
  }

  .sample-display li {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .images-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
  }

  .images-gallery img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .images-gallery img:hover {
    transform: scale(1.1);
  }

  .footer-note {
    text-align: center;
    font-size: 14px;
    color: #757575;
    margin-top: 40px;
  }

  /* 动画效果 */
  @keyframes aurora-move {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }

  /* 按钮样式 */
  .btn {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #4A148C;
    border-radius: 25px;
    color: #4A148C;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .btn:hover {
    background: #4A148C;
    color: #FFF;
    box-shadow: 0 0 10px rgba(74, 20, 140, 0.6);
  }

  /* 响应式设计 */
  @media (min-width: 320px) and (max-width: 479px) {
    header h1 {
      font-size: 28px;
    }

    header p {
      font-size: 14px;
    }

    article {
      padding: 20px;
    }

    article h2 {
      font-size: 28px;
    }

    article h3 {
      font-size: 22px;
    }

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

  @media (min-width: 480px) and (max-width: 767px) {
    header h1 {
      font-size: 32px;
    }

    header p {
      font-size: 16px;
    }

    article h2 {
      font-size: 32px;
    }

    article h3 {
      font-size: 24px;
    }

    .images-gallery img {
      width: 90px;
      height: 90px;
    }
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    main {
      grid-template-columns: 1fr 1fr;
    }

    article {
      padding: 25px;
    }

    article h2 {
      font-size: 40px;
    }

    .images-gallery img {
      width: 110px;
      height: 110px;
    }
  }

  @media (min-width: 1024px) and (max-width: 1199px) {
    main {
      grid-template-columns: 1fr 1fr 1fr;
    }

    article {
      padding: 35px;
    }

    article h2 {
      font-size: 42px;
    }

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

  @media (min-width: 1200px) and (max-width: 1439px) {
    main {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    article {
      padding: 40px;
    }

    article h2 {
      font-size: 44px;
    }

    .images-gallery img {
      width: 130px;
      height: 130px;
    }
  }

  @media (min-width: 1440px) {
    main {
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }

    article {
      padding: 50px;
    }

    article h2 {
      font-size: 48px;
    }

    .images-gallery img {
      width: 140px;
      height: 140px;
    }
  }

