/* ══════════════════════════════════════════
   404 — NOT FOUND PAGE
   ══════════════════════════════════════════ */

/* ── Центрирующая обёртка ── */
.nf-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 0;
  min-height: calc(100vh - var(--header-h) - 220px);
}

/* ── Числа 404 — фоновый декор ── */
.nf-code {
  font-family: 'Unbounded', sans-serif;
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -6px;
  color: var(--purple);
  opacity: 0.08;
  user-select: none;
  pointer-events: none;
  margin-bottom: -80px;
}

/* ── Заяц ── */
.nf-rabbit {
  width: 110px;
  height: auto;
  position: relative;
  z-index: 1;
  animation: nf-float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(139,93,246,0.25));
  margin-bottom: 32px;
}

@keyframes nf-float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

/* ── Заголовок ── */
.nf-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

/* ── Подтекст ── */
.nf-text {
  font-size: 15px;
  color: var(--white-40);
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 40px;
}

/* ── Кнопка на главную ── */
.nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--purple);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(139,93,246,0.3);
  transition: filter 0.18s, transform 0.1s, box-shadow 0.18s;
}
.nf-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 28px rgba(139,93,246,0.45);
}
.nf-btn:active { transform: scale(0.97); }

/* ── Адаптив ── */
@media (max-width: 640px) {
  .nf-code { font-size: 110px; letter-spacing: -3px; margin-bottom: -55px; }
  .nf-rabbit { width: 88px; }
  .nf-title { font-size: 20px; }
  .nf-text { font-size: 14px; }
  .nf-wrap { padding-top: 40px; min-height: calc(100vh - 200px); }
}
