/* ---------- 404 PAGE ---------- */
.lost {
  display: grid;
  place-items: center;
  padding: 40px 0 20px;
}

.lost-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 34px 28px 30px;
  text-align: center;
  background: var(--white);
  border: 4px double var(--pink-dark);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--pink-soft), 14px 14px 0 var(--pink-main);
}

.lost-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--pink-dark);
  font-family: 'Silkscreen', cursive;
  font-size: 88px;
  line-height: 1;
  text-shadow: 4px 4px 0 var(--pink-soft);
}

.lost-ghost {
  display: inline-block;
  font-size: 76px;
  text-shadow: none;
  animation: lostFloat 2.6s ease-in-out infinite;
}

.lost-card h1 {
  margin: 14px 0 10px;
  color: var(--pink-dark);
  font-family: 'Silkscreen', cursive;
  font-size: 20px;
}

.lost-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.lost-url {
  display: inline-block;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 4px 12px;
  overflow: hidden;
  color: var(--pink-dark);
  background: var(--pink-light);
  border: 2px solid var(--pink-main);
  border-radius: 10px;
  font-family: monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lost-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

@keyframes lostFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}

@media (max-width: 480px) {
  .lost-code {
    font-size: 60px;
  }

  .lost-ghost {
    font-size: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lost-ghost {
    animation: none;
  }
}
