* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  background: linear-gradient(145deg, #f5f7fa, #c3cfe2);
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

main.container {
  text-align: center;
  padding: 2rem;
  animation: fadeIn 1s ease;
}

.error h1 {
  font-size: 10rem;
  font-weight: bold;
  color: #ff4d4f;
  animation: bounce 1.5s infinite;
}

.error p {
  font-size: 1.5rem;
  margin: 1rem 0;
}

button {
  background-color: #4e73df;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
}

button:hover {
  background-color: #2e59d9;
  transform: scale(1.05);
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
