body {
  background:
    radial-gradient(circle at top, rgba(192, 132, 252, 0.12), transparent 35%),
    #f6f1eb;
  font-family: Helvetica, Arial, sans-serif;
  color: #2f2a44;
}

a {
  color: #8b5cf6;
}

.container {
  margin: 120px auto;
  max-width: 700px;
}

header {
  margin-bottom: 30px;
}

h1 {
  text-align: center;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.5;
  color: #272044;
}

.form-container {
  background-color: #fffdfb;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(120, 90, 200, 0.08);
  padding: 20px;
}

form {
  display: flex;
}

.instructions {
  padding: 16px;
  border: 2px solid #c4b5fd;
  width: 80%;
  font-size: 16px;
  border-radius: 50px;
  line-height: 20px;
}

.instructions::placeholder {
  color: #8b88a8;
}

.submit-button {
  background: linear-gradient(135deg, #c084fc, #818cf8);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 14px 24px;
  font-size: 16px;
  width: 150px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 200ms ease-in-out;
}

.submit-button:hover {
  opacity: 0.92;
}

.hint {
  line-height: 1.5;
  margin-top: 8px;
  opacity: 0.6;
  font-size: 12px;
}

.result {
  background: #fffdfb;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 25px;
  line-height: 2;
  color: #3f3a57;
  border-left: 4px solid #a78bfa;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(120, 90, 200, 0.08);
  font-size: 17px;
}

.result strong {
  color: #8b5cf6;
}

.hidden {
  display: none;
}

.generating {
  animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

footer {
  color: #5b5675;
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.8;
}
