body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  background: linear-gradient(
    90deg,
    rgba(239, 241, 243, 0) 0%,
    rgba(239, 241, 243, 0.3) 70%,
    rgb(246, 246, 241) 100%
  );
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

.topH {
  height: 100px;
}

.text3cnDiv {
  height: 6rem;
  line-height: 6rem;
  border-radius: 4px;
  position: relative;
  width: 350px;
  margin: 0 auto;
}

.text3cnDiv::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 100;
  filter: blur(2px);
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  opacity: 1;
  background: linear-gradient(
      40deg,
      rgb(255, 0, 0),
      rgb(255, 115, 0),
      rgb(255, 251, 0),
      rgb(72, 255, 0),
      rgb(0, 255, 213),
      rgb(122, 0, 255),
      rgb(255, 0, 200),
      rgb(255, 0, 0)
    )
    0% 0% / 400%;
  animation: glowingInTheDark 20s linear 0s infinite normal none running;
  transition: opacity 0.3s ease-in-out 0s;
  border-radius: 4px;
}

.text3cnDiv::after {
  z-index: 101;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  left: 0px;
  top: 0px;
}

.text3cn {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  background: -webkit-linear-gradient(
    10deg,
    #636161 50%,
    rgb(189, 188, 187) 60%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 1em;
  position: relative;
  z-index: 110;
}

.hello {
  text-align: center;
  font-weight: 900;
  font-size: 4.5rem;
  background: -webkit-linear-gradient(
    80deg,
    #ff5f5f 30%,
    var(--color-yellow) 66%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.3em;
}

.helloDesc {
  text-align: center;
  color: #666;
  font-size: 1.4rem;
  font-weight: normal;
  width: 70%;
  margin: 0.2em auto 0.5em;
}

.footer {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #eee;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

.footer-beian {
  color: #555;
}

.footer-beian a {
  color: #99d209;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-beian a:hover {
  color: #7aa108;
}

/* 导航栏样式 */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: bold;
  color: #ff7500;
}

.nav-logo-text {
  font-size: 26px;
  line-height: 1;
  font-style: italic;
  transform: skew(-10deg);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  margin-left: -9px;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #ff5f5f;
}

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.nav-mobile-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #666;
  transition: all 0.3s ease;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/************************** mobile *****************************/
@media only screen and (max-width: 768px) {
  .content {
    padding: 60px 15px 0;
  }

  .topH {
    height: 60px;
  }

  .text3cnDiv {
    width: 280px;
    height: 5rem;
    line-height: 5rem;
  }

  .text3cn {
    font-size: 2.4rem;
  }

  .hello {
    font-size: 3.6rem;
    margin-top: 0.5em;
  }

  .helloDesc {
    width: 90%;
    font-size: 1.2rem;
    margin: 0.5em auto 1em;
  }

  .footer {
    padding: 12px 0;
    margin-top: 0;
  }

  .footer-links {
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-links .divider {
    margin: 0 6px;
    font-size: 10px;
  }

  .footer-beian a {
    font-size: 12px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    display: flex;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 10px;
    font-size: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-mobile-btn {
    display: flex;
  }

  .nav-mobile-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-mobile-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-mobile-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* 超小屏幕适配 */
@media only screen and (max-width: 320px) {
  .text3cnDiv {
    width: 240px;
    height: 4rem;
    line-height: 4rem;
  }

  .text3cn {
    font-size: 2rem;
  }

  .hello {
    font-size: 3rem;
  }

  .helloDesc {
    width: 95%;
    font-size: 1.1rem;
  }
}

@keyframes glowingInTheDark {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
