.notfound {
  position: absolute;
  width: 100%;
  top: 25vh;
  text-align: center;
  padding: 20px 0;
}
/* 로고와 404 텍스트가 있는 비주얼 */
.notfound__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.logo {
  max-width: 250px;
  height: auto;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: logoFloat 3s ease-in-out infinite alternate;
}

.error-code {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
}

.digit {
  font-size: 120px;
  font-weight: 800;
  color: #007bff;
  letter-spacing: -2px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: digitPulse 2s ease-in-out infinite alternate;
}

.digit:nth-child(1) {
  animation-delay: 0s;
}

.digit:nth-child(2) {
  animation-delay: 0.3s;
}

.digit:nth-child(3) {
  animation-delay: 0.6s;
}

/* 애니메이션 키프레임 */
@keyframes logoFloat {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

@keyframes digitPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* 애니메이션 정지 클래스 */
.animations-complete .logo {
  animation: none;
  transform: translateY(-4px);
  opacity: 1;
}

.animations-complete .digit {
  animation: none;
  transform: scale(1);
  opacity: 1;
}
.notfound__title {
  font-size: 30px;
  margin-top: 20px;
}
.notfound__content {
  color: var(--gray500);
  font-size: 16px;
  margin-top: 10px;
}
.notfound__button {
  margin-top: 45px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.notfound__button .btn {
  min-width: 180px;
}

/* 네이버 검색 안내 박스 (sign-in의 login-info 스타일 참고) */
.search-info {
  background: #f7f7f7;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 30px auto;
  border-radius: 5px;
  max-width: 600px;
  text-align: left;
}

.search-info__content {
  flex: 1;
}

.search-info p {
  font-size: 14px;
  color: #000;
  line-height: 22px;
  letter-spacing: -0.02em;
  margin: 0;
}

.search-info p strong {
  color: #007bff;
}

/* Apple-style Animations */
@keyframes slideUpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-slide-up {
  animation: slideUpFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}

/* 순차적 등장 애니메이션 */
.notfound__visual.animate-slide-up {
  animation-delay: 0.1s;
}

.notfound__title.animate-slide-up {
  animation-delay: 0.3s;
}

.notfound__content.animate-slide-up {
  animation-delay: 0.5s;
}

.search-info.animate-slide-up {
  animation-delay: 0.7s;
}

.notfound__button.animate-slide-up {
  animation-delay: 0.9s;
}

/* 버튼 호버 애니메이션 */
.btn-animate {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

.btn-animate:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-animate:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 검색 안내 박스 호버 효과 */
.search-info {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}

.search-info:hover {
  background: #f0f4ff;
  border: 1px solid #e3f2fd;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
}

/* 부드러운 페이지 로드 */
body {
  animation: fadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
