.not-found {
  padding: 48px 0 72px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(252, 195, 28, 0.08), transparent 60%),
    var(--color-black-deep);
  color: var(--color-text-light);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

.not-found__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.not-found__art {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(135deg, rgba(252, 195, 28, 0.06), transparent 55%),
    #111110;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.not-found__art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(252, 195, 28, 0.22);
  border-radius: 2px;
  pointer-events: none;
}

.not-found__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.not-found__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: var(--radius-small);
  background: rgba(11, 11, 10, 0.82);
  border: 1px solid var(--color-border-dark);
  color: #bfbfb9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.not-found__content {
  max-width: 520px;
}

.not-found__code {
  margin: 0 0 10px;
  color: var(--color-yellow-bright);
  font-family: var(--font-heading);
  font-size: clamp(72px, 12vw, 112px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.not-found__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  text-transform: uppercase;
}

.not-found__text {
  margin: 0 0 10px;
  color: #c8c8c2;
  font-size: 15px;
  line-height: 1.55;
}

.not-found__hint {
  margin: 0 0 28px;
  color: #9f9f99;
  font-size: 13px;
  line-height: 1.5;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.not-found__actions .button--outline {
  border-color: var(--color-yellow-bright);
  color: var(--color-yellow-bright);
}

.not-found__actions .button--outline:hover {
  background: rgba(252, 195, 28, 0.08);
}

@media (max-width: 977px) {
  .not-found {
    padding-top: 32px;
    min-height: auto;
  }

  .not-found__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .not-found__content {
    max-width: none;
    text-align: center;
  }

  .not-found__actions {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .not-found__actions {
    flex-direction: column;
  }

  .not-found__actions .button {
    width: 100%;
  }
}
