/* ============================================================
   style-404.css — 404 页（独立布局：巨圆数字 + 入口圆阵）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：巨圆 404 ---------- */
.e404-hero {
  position: relative;
  background: var(--white);
  padding: 190px 0 80px;
  overflow: hidden;
  text-align: center;
}
.e404-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.055), transparent 64%);
  pointer-events: none;
}
.e404-hero::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  pointer-events: none;
}
.e404-orbit {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  animation: e404Spin 52s linear infinite;
  pointer-events: none;
}
.e404-orbit::before,
.e404-orbit::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
}
.e404-orbit::before { left: -7px; top: 34%; }
.e404-orbit::after { right: 4px; bottom: 22%; background: var(--gray-400); }
@keyframes e404Spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.e404-inner { position: relative; z-index: 2; }
.e404-disc {
  width: 240px; height: 240px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.e404-disc::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
}
.e404-inner h1 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; color: var(--ink); }
.e404-inner p { margin: 18px auto 34px; font-size: 15.5px; color: var(--ink-mute); line-height: 1.9; max-width: 540px; }
.e404-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- 常用入口圆阵 ---------- */
.e404-entry { background: var(--gray-50); overflow: hidden; position: relative; }
.e404-entry::before {
  content: "";
  position: absolute;
  right: -160px; bottom: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%);
  pointer-events: none;
}
.e404-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.e404-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px 22px;
  transition: all var(--transition);
}
.e404-card:nth-child(2) { transform: translateY(22px); }
.e404-card:nth-child(4) { transform: translateY(22px); }
.e404-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.e404-card:nth-child(2):hover, .e404-card:nth-child(4):hover { transform: translateY(-4px); }
.e404-circle {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  transition: all var(--transition);
}
.e404-card:hover .e404-circle { background: var(--ink); color: #fff; }
.e404-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.e404-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 联系条 ---------- */
.e404-contact { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.e404-contact::before {
  content: "";
  position: absolute;
  left: 50%; top: -220px;
  transform: translateX(-50%);
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
}
.e404-contact-inner { position: relative; z-index: 2; text-align: center; }
.e404-contact-inner h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
.e404-contact-inner p { margin: 16px 0 30px; font-size: 15px; color: rgba(255,255,255,.72); }
.e404-contact-inner a.tel { font-size: 30px; font-weight: 800; color: #fff; }
.e404-contact-inner .tip { display: block; margin-top: 10px; font-size: 13px; color: #B9B9B2; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .e404-hero { padding-top: 156px; }
  .e404-grid { grid-template-columns: repeat(2, 1fr); }
  .e404-card:nth-child(2), .e404-card:nth-child(4) { transform: none; }
}
@media (max-width: 640px) {
  .e404-hero { padding: 136px 0 56px; }
  .e404-disc { width: 180px; height: 180px; font-size: 72px; }
  .e404-grid { grid-template-columns: 1fr; }
  .e404-orbit { width: 320px; height: 320px; }
}
