* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Playwrite DE Grund", sans-serif;
  background: #fafafa;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

main {
  max-width: 420px;
  width: 100%;
  margin: 60px auto;
  padding: 0 20px;
  animation: fadeSlideUp 0.6s ease-out;
}

h1 {
  font-family: "Bubbler One", sans-serif;
  color: #008000;
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 8px;
}

.subtitle {
  font-weight: 300;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 30px;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: #444;
  transition: color 0.2s ease;
}

label:hover {
  color: #008000;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color 0.2s ease;
}

input:focus {
  outline: none;
  border-color: #999;
}

button {
  font-family: "Funnel Display", sans-serif;
  margin-top: 10px;
  padding: 12px;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  background: #111;
  color: white;
  cursor: pointer;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}

button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

#status {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #555;
  animation: fadeIn 0.4s ease;
}

.output {
  margin-top: 30px;
  padding: 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  font-size: 0.9rem;
}

.output h3 {
  margin-top: 0;
  font-weight: 500;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}