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

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d3748;
}

.container {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  max-width: 28rem;
  margin: 1rem;
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.container:hover {
  transform: translateY(-5px);
}

.wide-container {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 84rem; /* 3x the width of the original container */
  width: 100%;
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: #4299e1;
  text-shadow: 2px 2px 0px #bee3f8;
  line-height: 1;
  margin-bottom: 1.5rem;
  animation: float 6s ease-in-out infinite;
}

.title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
}

.message {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  background: #4299e1;
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button:hover {
  background: #3182ce;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 2rem;
  }
  .error-code {
    font-size: 6rem;
  }
  .title {
    font-size: 1.5rem;
  }
}
