* {
  box-sizing: border-box;
}

html {
  font-size: 110%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #020617 100%);
  color: #e5e7eb;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}


.nav-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 20px;
  background-color: #020617;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
  margin-bottom: 28px;
}

.nav-bar img {
  height: 40px;
}

.nav-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #9ca3af;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nav-bar a:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #e5e7eb;
  transform: translateY(-1px);
}

.nav-bar a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.search-form {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.search-form input {
  background: #020617;
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 999px;
  padding: 8px 12px;
  color: #6b7280;
}

.search-form button {
  border-radius: 999px;
  border: none;
  padding: 8px 10px;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #020617;
}

.notfound-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.notfound-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #cbd5f5;
}

.notfound-subtitle {
  margin-top: 8px;
  font-size: 16px;
  color: #9ca3af;
}

.notfound-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
  text-decoration: none;
}

.notfound-link:hover {
  opacity: 0.85;
}

.footer {
  margin-top: 0px;
  padding-top: 32px;
  text-align: center;
  font-size: 16px;
  color: #6b7280;
}

@media (max-width: 640px) {
  .notfound-title {
    font-size: 32px;
  }
}
