.not-found-page {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found-container {
  width: 100%;
  max-width: 580px;
  padding: 40px 24px;
  text-align: center;
}

.not-found-visual {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.not-found-visual svg {
  display: inline-block;
}

.not-found-text {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.not-found-code {
  display: block;
  font-size: 96px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.not-found-title {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.not-found-message {
  font-size: 16px;
  color: #6b6b6b;
  line-height: 1.7;
  margin: 0;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.not-found-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.not-found-btn-primary {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid #1a1a1a;
}

.not-found-btn-primary:hover {
  background: #000000;
  color: #ffffff;
}

.not-found-btn-secondary {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #d4d4d4;
}

.not-found-btn-secondary:hover {
  background: #fafafa;
  border-color: #1a1a1a;
}

.not-found-suggestions {
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.not-found-suggestions-title {
  font-size: 13px;
  font-weight: 600;
  color: #8a8a8a;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.not-found-link {
  display: inline-block;
  padding: 10px 20px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 100px;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.not-found-link:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* ================================================================
   暗夜模式适配
   ================================================================ */

[data-theme="dark"] .not-found-page {
  background: #000000 !important;
  background-color: #000000 !important;
}

[data-theme="dark"] .not-found-code {
  color: #ffffff !important;
}

[data-theme="dark"] .not-found-title {
  color: #ffffff !important;
}

[data-theme="dark"] .not-found-message {
  color: #a1a1aa !important;
}

[data-theme="dark"] .not-found-btn-primary {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

[data-theme="dark"] .not-found-btn-primary:hover {
  background: #e4e4e7 !important;
}

[data-theme="dark"] .not-found-btn-secondary {
  background: #111113 !important;
  color: #a1a1aa !important;
  border-color: #27272a !important;
}

[data-theme="dark"] .not-found-btn-secondary:hover {
  background: #18181b !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

[data-theme="dark"] .not-found-suggestions {
  border-top-color: #27272a !important;
}

[data-theme="dark"] .not-found-suggestions-title {
  color: #6b6b6b !important;
}

[data-theme="dark"] .not-found-link {
  background: #111113 !important;
  background-color: #111113 !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

[data-theme="dark"] .not-found-link:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

[data-theme="dark"] .not-found-visual svg [stroke="#1a1a1a"] {
  stroke: #a1a1aa !important;
}

[data-theme="dark"] .not-found-visual svg [fill="#1a1a1a"] {
  fill: #a1a1aa !important;
}
