.notfound-page {
  width: 100%;
  min-height: calc(100dvh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
  background: linear-gradient(135deg, #071d33 0%, #0b2a4a 45%, #123a63 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.notfound-page::before,
.notfound-page::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.notfound-page::before {
  top: -96px;
  right: -96px;
  width: 288px;
  height: 288px;
  background: rgba(201, 162, 39, 0.12);
  filter: blur(60px);
}

.notfound-page::after {
  bottom: -128px;
  left: -96px;
  width: 320px;
  height: 320px;
  background: rgba(18, 58, 99, 0.8);
  filter: blur(60px);
}

.notfound-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 768px;
  text-align: center;
}

.notfound-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  border-radius: 9999px;
  border: 2px solid rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.1);
  color: #c9a227;
  font-size: 30px;
  font-weight: 800;
}

.notfound-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.notfound-lead {
  margin: 0 auto 8px;
  max-width: 640px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}

.notfound-hint {
  margin: 0 auto 40px;
  max-width: 520px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.notfound-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.notfound-btn-primary {
  background: #c9a227;
  color: #0b2a4a;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.2);
}

.notfound-btn-primary:hover {
  background: #b8932a;
  color: #0b2a4a;
}

.notfound-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.notfound-btn-secondary:hover {
  border-color: rgba(201, 162, 39, 0.5);
  color: #fff;
}

.notfound-links {
  margin: 0 auto;
  max-width: 640px;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.notfound-links-title {
  margin: 0 0 16px;
  color: #c9a227;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notfound-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.notfound-links-grid a {
  color: #e2e8f0;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.notfound-links-grid a:hover {
  color: #c9a227;
}

@media (max-width: 640px) {
  .notfound-page {
    min-height: calc(100dvh - 180px);
    padding: 48px 16px;
  }

  .notfound-lead {
    font-size: 16px;
  }

  .notfound-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .notfound-btn {
    width: 100%;
  }
}
