body {
      margin: 0;
      font-family: 'Arial', sans-serif;
/* 深邃暗夜底色 */
background-color: #050814;
 /* 使用本地图片作为背景，并叠加一层深色遮罩保证文字清晰 */
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
  color: #f8fafc;
    }
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      backdrop-filter: blur(10px);
      background-color: rgba(5, 8, 20, 0.8);
    }
    .logo {
      font-size: 24px;
      font-weight: bold;
      color: #61dafb;
    }
    .nav-links {
      display: flex;
    }
    .nav-link {
      color: #d4d4d4;
      margin-left: 20px;
      text-decoration: none;
      font-size: 16px;
    }
    .nav-link:hover {
      color: #61dafb;
    }
    .hero {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100vh;
      background: transparent;
    }
    .hero h1 {
      font-size: 48px;
      margin: 0;
      text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
    .hero p {
      font-size: 24px;
      margin: 20px 0;
    }
    .project-section {
      padding: 40px;
      background-color: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(12px);
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .project-title {
      font-size: 32px;
      text-align: center;
      margin-bottom: 20px;
      text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
    .project-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      padding: 20px;
    }
    .project-card {
      background-color: rgba(15, 23, 42, 0.7) !important;
      backdrop-filter: blur(12px);
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .project-card:hover {
      transform: scale(1.02);
      box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    }
    .project-card h3 {
      margin: 10px 0;
      color: #ffffff;
    }
    .project-card p {
      margin: 0;
      color: #94a3b8;
    }
    .footer {
      text-align: center;
      padding: 20px;
      background-color: #1c1c1c;
      color: #d4d4d4;
    }