/* Public 404 — used by root and (public) not-found pages */
.page-not-found {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(147, 128, 72, 0.22), transparent 60%),
    var(--color-black, #000);
}

.page-not-found__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding: 64px 20px;
  text-align: center;
}

.page-not-found__code {
  margin: 0 0 8px;
  font-family: var(--font-family-arial-black, 'Arial Black', Arial, sans-serif);
  font-size: clamp(4.5rem, 14vw, 7.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(147, 128, 72, 0.35);
  user-select: none;
}

.page-not-found__title {
  margin: 0 0 12px;
  font-family: var(--font-family-arial-black, 'Arial Black', Arial, sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white, #fff);
}

.page-not-found__title span {
  color: var(--color-golden, #938048);
}

.page-not-found__copy {
  margin: 0 auto 28px;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-content, #a0a0a0);
}

.page-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.page-not-found__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: var(--color-white, #fff);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-not-found__ghost:hover {
  border-color: var(--color-golden, #938048);
  color: var(--color-golden, #938048);
}
