html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f5f0ff;
  background: linear-gradient(160deg, #1a0b2e 0%, #3b1b6e 45%, #7b2ff7 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("./cover.jpg") center/cover no-repeat fixed;
}

.page-overlay::after,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    170deg,
    rgba(18, 8, 38, 0.88) 0%,
    rgba(70, 20, 120, 0.72) 50%,
    rgba(123, 47, 247, 0.6) 100%
  );
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  box-sizing: border-box;
  background: rgba(18, 8, 38, 0.55);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-shadow: 0 0 18px rgba(180, 100, 255, 0.6);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(150, 60, 255, 0.45);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(245, 240, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d9b3ff;
}

.banner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6vw;
  padding: 120px 8vw 80px;
  box-sizing: border-box;
}

.banner-content {
  max-width: 560px;
  flex: 1 1 420px;
}

.banner-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0 0 18px;
  background: linear-gradient(120deg, #e3d5ff 0%, #b56bff 55%, #8a2be2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f0e3ff;
  margin: 0 0 12px;
}

.banner-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 232, 255, 0.85);
  margin: 0 0 32px;
}

.btn {
  display: inline-block;
  padding: 13px 36px;
  border-radius: 999px;
  background: linear-gradient(120deg, #5b21a8 0%, #8b2fd6 60%, #a855f7 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 30px rgba(139, 47, 214, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.55);
}

.banner-media {
  flex: 1 1 380px;
  max-width: 520px;
}

.banner-media img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(160, 70, 255, 0.25);
  border: 1px solid rgba(200, 150, 255, 0.25);
}

.about {
  padding: 90px 8vw;
  text-align: center;
}

.about-inner {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(25, 12, 50, 0.55);
  border: 1px solid rgba(180, 120, 255, 0.3);
  border-radius: 28px;
  padding: 48px 40px;
  backdrop-filter: blur(8px);
}

.about h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 16px;
  background: linear-gradient(120deg, #e9dbff, #b56bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(240, 232, 255, 0.9);
  margin: 0;
}

.intro {
  padding: 80px 6vw 120px;
}

.intro h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  margin: 0 0 60px;
  background: linear-gradient(120deg, #e9dbff, #b56bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-card {
  background: rgba(22, 10, 46, 0.5);
  border: 1px solid rgba(180, 120, 255, 0.25);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.intro-card.row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

.intro-card.row:nth-of-type(2) {
  flex-direction: row-reverse;
  text-align: right;
}

.intro-card.row img {
  width: 300px;
  max-width: 32%;
  flex-shrink: 0;
  border-radius: 18px;
}

.intro-card.row .row-text {
  flex: 1;
}

.intro-card.row h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.intro-card.row p {
  font-size: 0.98rem;
  line-height: 1.8;
}

.intro-card.row:hover {
  transform: none;
  box-shadow: none;
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(120, 40, 220, 0.35);
}

.intro-card img {
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.intro-card h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
  color: #f5eaff;
}

.intro-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(234, 222, 255, 0.82);
}

.footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(190, 140, 255, 0.25);
  background: rgba(10, 4, 22, 0.6);
}

.footer a {
  color: #d9b3ff;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f0e3ff;
}

.footer p {
  margin: 10px 0 0;
  color: rgba(220, 208, 245, 0.8);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .navbar {
    padding: 14px 4vw;
  }

  .nav-links {
    gap: 16px;
  }

  .banner {
    flex-direction: column;
    text-align: center;
    padding: 110px 6vw 60px;
  }

  .banner-content {
    max-width: 640px;
  }

  .banner-media {
    max-width: 420px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.15rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .banner {
    padding: 100px 5vw 50px;
    gap: 36px;
  }

  .banner-text {
    font-size: 0.95rem;
  }

  .about {
    padding: 70px 5vw;
  }

  .about-inner {
    padding: 36px 22px;
  }

  .intro {
    padding: 60px 5vw 90px;
  }

  .intro-grid {
    gap: 24px;
  }

  .intro-card {
    padding: 16px;
  }

  .intro-card h3 {
    font-size: 1.05rem;
  }
}
