body {
      margin: 0;
      font-family: "Helvetica Neue", sans-serif;
      background-color: #f0f3f8;
      color: #2a2a3c;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background-color: #2D3436;
      color: #e0e6f1;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    header h1 {
      margin: 0;
      color: #E0E6F1;
      font-weight: 600;
      font-size: 1.8rem;
      letter-spacing: 1px;
    }

    nav a {
      color: #cfd9f3;
      text-decoration: none;
      margin-left: 1.6rem;
      font-weight: 500;
      font-size: 1rem;
      transition: color 0.25s ease;
    }

    nav a:hover {
      color: #66a6ff;
    }

    .hero {
      height: 42vh;
      background: url('../assets/starscape.png') no-repeat center center / cover;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #f0f3f8;
      text-shadow: 0 0 8px rgba(0,0,0,0.8);
    }

    .hero h2 {
      font-size: 2.8rem;
      background: rgba(16, 40, 64, 0.6);
      padding: 1.5rem 3rem;
      border-radius: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
    }

    .sections {
      max-width: 1200px;
      margin: 3rem auto 4rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2.4rem;
      padding: 0 2rem;
    }

    .section-card {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 2.4rem;
      box-shadow: 0 6px 15px rgba(16, 40, 64, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: default;
    }

    .section-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 25px rgba(16, 40, 64, 0.15);
    }

    .section-card h3 {
      color: #2a3a62;
      margin-bottom: 1rem;
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: 0.5px;
    }

    .section-card p {
      color: #5a6173;
      line-height: 1.6;
      font-size: 1rem;
    }

.sections a.section-card {
  text-decoration: none;
  color: inherit;
  display: block;
}


    footer {
      background-color: #ffffff;
      color: #2a2a3c;
      text-align: center;
      padding: 2.4rem 1rem;
      font-size: 0.95rem;
      box-shadow: inset 0 1px 0 rgba(102, 166, 255, 0.15);
      user-select: none;
    }

    .contact-icons {
      margin-top: 1.6rem;
    }

    .contact-icons a {
      display: inline-block;
      margin: 0 10px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .contact-icons a img {
      width: 36px;
      height: 36px;
      border-radius: 0;
      padding: 0;
      background: none;
      box-shadow: none;
      transition: transform 0.3s ease;
      vertical-align: middle;
    }

    .contact-icons a:hover img {
      transform: scale(1.2);
    }

    .contact-icons a:active img {
      transform: scale(1.1);
    }

.slideshow {
  position: relative;
  height: 45vh;
  overflow: hidden;
}

.slide {
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 80%;
  color: #fff;
}


.caption a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.fade {
  animation: fadeEffect 1.2s;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* 左右切换按钮 */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.6rem;
  margin-top: -22px;
  color: #ffffff;
  font-weight: bold;
  font-size: 2rem;
  transition: 0.3s ease;
  border-radius: 4px;
  user-select: none;
  background-color: rgba(0,0,0,0.4);
  z-index: 1001;
}

.next {
  right: 12px;
}

.prev {
  left: 12px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}


@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
  }

  nav a {
    margin: 0.4rem 0.8rem 0.4rem 0;
    font-size: 0.95rem;
  }

  .hero h2 {
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }

  .sections {
    grid-template-columns: 1fr; /* 单列布局 */
    gap: 1.6rem;
    padding: 0 1rem;
  }

  .section-card {
    padding: 1.6rem;
  }

  .slide .caption {
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
  }

  .prev, .next {
    font-size: 1.6rem;
    padding: 0.4rem;
  }

  footer {
    font-size: 0.85rem;
    padding: 2rem 1rem;
  }

  .contact-icons a img {
    width: 30px;
    height: 30px;
  }
}