/* ========================================
   404页面样式
   ======================================== */

.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: #0f172a;
  color: #fff;
}

.error-code {
  font-size: 120px;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin: 0 0 0 0;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.error-desc {
  font-size: 16px;
  color: #cbd5f5;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 30px;
}

.error-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
}

.error-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.error-btn-primary {
  background: #38bdf8;
  color: #000;
}

.error-btn-primary:hover {
  background: #0ea5e9;
}

.error-btn-outline {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.error-btn-outline:hover {
  background: rgba(56, 189, 248, 0.1);
}

.error-products {
  width: 100%;
  max-width: 900px;
}

.error-products h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.error-product-links a {
  display: inline-block;
  margin: 10px 15px;
  color: #38bdf8;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.error-product-links a:hover {
  color: #0ea5e9;
}

.error-footer {
  margin-top: 60px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.8;
}

/* 响应式 */
@media (max-width: 640px) {
  .error-code {
    font-size: 80px;
  }
  .error-title {
    font-size: 22px;
  }
  .error-desc {
    font-size: 14px;
  }
  .error-products h2 {
    font-size: 22px;
  }
  .error-product-links a {
    margin: 8px 10px;
    font-size: 13px;
  }
}
