/* Reset and basic styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: '微软雅黑', sans-serif;
    background: linear-gradient(to bottom, #e0f7fa, #ffecb3);
    color: #2e7d32;
    line-height: 1.6;
    padding: 20px;
    transition: background 0.5s ease;
  }

  a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #e65100;
  }

  /* Container */
  .container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  /* Navigation */
  nav {
    flex: 0 0 38.2%;
    padding-right: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
  }

  nav ul {
    list-style: none;
    background: rgba(46, 125, 50, 0.1);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  nav li {
    margin-bottom: 10px;
  }

  nav a {
    display: block;
    padding: 10px;
    border-radius: 4px;
    position: relative;
  }

  nav a::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #2e7d32;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
  }

  nav a:hover {
    background: #c8e6c9;
  }

  /* Main Content */
  main {
    flex: 1;
  }

  article {
    background: rgba(255, 235, 59, 0.05);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  h2, h3, h4 {
    color: #6d4c41;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    transition: transform 0.3s ease;
  }

  h2::before, h3::before, h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(to right, #2e7d32, #ff9800);
  }

  section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #2e7d32;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
  }

  section:hover {
    background: rgba(255, 255, 255, 0.9);
  }

  p {
    margin-bottom: 15px;
    font-size: 16px;
    position: relative;
  }

  p::selection {
    background: #ffcc80;
  }

  img {
    display: block;
    max-width: 900px;
    min-width: 500px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
    }

    nav {
      flex: none;
      padding-right: 0;
      margin-bottom: 20px;
    }

    nav ul {
      display: flex;
      overflow-x: auto;
    }

    nav li {
      margin-right: 10px;
    }

    nav a {
      padding: 10px 15px;
    }

    img {
      max-width: 100%;
      min-width: auto;
    }
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    color: #757575;
    font-size: 14px;
  }

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  h2, h3, h4, p, img {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
  }

  h2:nth-of-type(1), section:nth-of-type(1) p:nth-of-type(1) {
    animation-delay: 0.3s;
  }

  /* Golden Ratio Typography */
  h2 {
    font-size: 2.8em;
    margin-bottom: 0.618em;
  }

  h3 {
    font-size: 2em;
    margin-bottom: 0.618em;
  }

  h4 {
    font-size: 1.8em;
    margin-bottom: 0.618em;
  }

  p {
    font-size: 1em;
    margin-bottom: 0.618em;
  }

  /* Decorative Elements */
  .separator {
    height: 2px;
    background: linear-gradient(to right, #2e7d32, #ff9800);
    margin: 20px 0;
    border: none;
    border-radius: 2px;
  }

  /* Highlighted Text */
  .highlight {
    background: linear-gradient(90deg, rgba(255,152,0,0.3), rgba(46,125,50,0.3));
    padding: 2px 4px;
    border-radius: 4px;
  }

  /* Scroll Behavior */
  html {
    scroll-behavior: smooth;
  }
