/* 404 页面 */
.nf-page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 58vh;
  padding: 0.4rem 0;
}

/* 左侧 404 图形 */
.nf-visual {
  position: relative;
  flex: none;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 26%, #eaf1ff 0%, #f6f9ff 62%, #ffffff 100%);
}

.nf-ring {
  position: absolute;
  top: 0.22rem;
  right: 0.22rem;
  bottom: 0.22rem;
  left: 0.22rem;
  border: 1px dashed rgba(26, 86, 219, 0.28);
  border-radius: 50%;
}

.nf-code {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nf-dot {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  border-radius: 50%;
  background: #1a56db;
  opacity: 0.5;
}

.nf-dot-1 {
  top: 0.62rem;
  left: 0.66rem;
}

.nf-dot-2 {
  right: 0.58rem;
  bottom: 0.96rem;
  width: 0.07rem;
  height: 0.07rem;
  opacity: 0.35;
}

.nf-dot-3 {
  left: 0.86rem;
  bottom: 0.5rem;
  width: 0.06rem;
  height: 0.06rem;
  opacity: 0.25;
}

/* 右侧文案 */
.nf-content {
  max-width: 5.4rem;
}

.nf-title {
  margin: 0 0 0.16rem;
  font-size: 0.34rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1d2129;
}

.nf-desc {
  margin: 0;
  font-size: 0.16rem;
  line-height: 1.8;
  color: #4e5969;
}

.nf-desc-sub {
  margin: 0.06rem 0 0.32rem;
  font-size: 0.14rem;
  line-height: 1.8;
  color: #86909c;
}

.nf-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.16rem;
}

.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.44rem;
  padding: 0 0.28rem;
  border: 1px solid #e5e6eb;
  border-radius: 0.06rem;
  background: #fff;
  color: #4e5969;
  font-size: 0.14rem;
  text-decoration: none;
  transition: all 0.2s;
}

.nf-btn:hover {
  border-color: #1a56db;
  color: #1a56db;
}

.nf-btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
}

.nf-btn-primary:hover {
  color: #fff;
  box-shadow: 0 0.06rem 0.16rem rgba(29, 78, 216, 0.25);
}

.nf-link {
  font-size: 0.14rem;
  color: #86909c;
  cursor: pointer;
  transition: color 0.2s;
}

.nf-link:hover {
  color: #1a56db;
}

@media screen and (max-width: 1366px) {
  .nf-page {
    gap: 0.4rem;
  }

  .nf-visual {
    width: 2.7rem;
    height: 2.7rem;
  }

  .nf-code {
    font-size: 0.78rem;
  }

  .nf-title {
    font-size: 0.3rem;
  }
}

@media screen and (max-width: 900px) {
  .nf-page {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
    padding: 0.3rem 0;
  }

  .nf-content {
    max-width: 100%;
  }

  .nf-actions {
    justify-content: center;
  }
}
