/* ==========================================================================
   JOYBEAN — 404 page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.error-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 42px) 0 clamp(52px, 6.4vw, 84px);
  background:
    radial-gradient(circle at 12% 8%, rgba(228, 33, 27, 0.08), transparent 34%),
    radial-gradient(circle at 88% 92%, rgba(228, 33, 27, 0.05), transparent 30%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}

.error-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  background: rgba(228, 33, 27, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.error-hero .container {
  position: relative;
  z-index: 1;
}

.error-hero-content {
  max-width: 720px;
  margin: 0 auto;
  padding-top: clamp(10px, 2vw, 26px);
  text-align: center;
}

.error-code {
  display: block;
  margin-bottom: clamp(4px, 1vw, 12px);
  color: var(--primary);
  font-size: clamp(5.5rem, 15vw, 10.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.error-hero-content h1 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.error-hero-content > p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

