* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
  background: rgba(0, 150, 57, 0.04);
  color: #009639;
}

body {
  font-family: "Segoe UI", "PingFang SC", Roboto, "Helvetica Neue", sans-serif;
  background: #f2f6fc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  color: #1e293b;
}

.container {
  max-width: 1200px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  background: linear-gradient(145deg, #f0fdf4 0%, #e6f7ff 100%);
  border-radius: 40px;
  padding: 3rem 2rem 2.8rem;
  text-align: center;
  margin-bottom: 3.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 150, 57, 0.08);
  border: 1px solid rgba(0, 150, 57, 0.06);
}

.hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 200, 80, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 180, 216, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(3.8rem, 15vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  display: inline-block;
  background: linear-gradient(135deg, #009639 0%, #00b4d8 45%, #009639 80%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientMove 6s ease-in-out infinite alternate;
  text-shadow: 0 8px 40px rgba(0, 150, 57, 0.15);
  filter: drop-shadow(0 4px 20px rgba(0, 150, 57, 0.1));
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-underline {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 0.2rem;
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #009639, #00b4d8, #009639);
  border-radius: 10px;
  background-size: 200% 100%;
  animation: gradientMove 4s ease-in-out infinite alternate;
  opacity: 0.6;
}

.hero-sub {
  position: relative;
  z-index: 1;
  margin-top: 1.2rem;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: #475569;
  letter-spacing: 0.3em;
  opacity: 0.85;
}

.hero-sub span {
  display: inline-block;
  padding: 0 1rem;
  position: relative;
}

.hero-sub span::before,
.hero-sub span::after {
  content: "•";
  color: #009639;
  opacity: 0.4;
  margin: 0 0.6rem;
}

.links-section {
  flex: 1;
  margin-bottom: 3rem;
}

.links-section .section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.links-section .section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 150, 57, 0.15), transparent);
  border-radius: 2px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.2rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 0.8rem 1.4rem;
  background: #ffffff;
  border-radius: 20px;
  text-decoration: none;
  color: #1e293b;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  will-change: transform;
  position: relative;
  min-height: 120px;
}

.link-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 16px 48px rgba(0, 150, 57, 0.1),
    0 6px 20px rgba(0, 150, 57, 0.04);
  border-color: rgba(0, 150, 57, 0.2);
  background: #fafffe;
}

.link-card .icon {
  font-size: 2.2rem;
  color: #009639;
  margin-bottom: 0.6rem;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.3s ease;
  line-height: 1;
}

.link-card:hover .icon {
  transform: scale(1.12) rotate(-2deg);
  color: #00b4d8;
}

.link-card .label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e293b;
  text-align: center;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.link-card:hover .label {
  color: #009639;
}

.link-card .arrow-hint {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.7rem;
  color: rgba(0, 150, 57, 0);
  transition:
    color 0.35s ease,
    transform 0.35s ease;
  transform: translateX(-4px);
}

.link-card:hover .arrow-hint {
  color: rgba(0, 150, 57, 0.25);
  transform: translateX(0);
}

.footer {
  margin-top: 1.5rem;
  padding: 1.8rem 0 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
}

.footer .beian {
  padding: 0.2rem 1rem;
  background: rgba(0, 0, 0, 0.01);
  border-radius: 30px;
  transition: background 0.25s ease;
}

.footer .beian i {
  margin-right: 0.4rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  body {
    padding: 1rem 0.8rem;
  }

  .hero {
    padding: 2rem 1.2rem 2rem;
    border-radius: 28px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .hero-underline {
    width: 80px;
    height: 4px;
  }

  .hero-sub {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }

  .hero-sub span::before,
  .hero-sub span::after {
    margin: 0 0.3rem;
  }

  .links-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.9rem;
  }

  .link-card {
    min-height: 100px;
    padding: 1.2rem 0.6rem 1rem;
  }

  .link-card .icon {
    font-size: 1.8rem;
  }

  .link-card .label {
    font-size: 0.82rem;
  }

  .links-section .section-title {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .footer {
    font-size: 0.75rem;
    padding: 1.2rem 0 0.4rem;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .link-card {
    min-height: 88px;
    padding: 1rem 0.4rem 0.8rem;
    border-radius: 16px;
  }

  .link-card .icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }

  .link-card .label {
    font-size: 0.75rem;
  }

  .link-card .arrow-hint {
    display: none;
  }

  .hero {
    padding: 1.5rem 0.8rem 1.5rem;
    border-radius: 20px;
  }

  .hero-underline {
    width: 56px;
    height: 3px;
  }
}
