h1 {
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
  color: var(--text-color);
}

.description {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

textarea {
  display: block;
  width: 95%;
  max-width: 800px;
  height: clamp(100px, 16vh, 300px);
  margin: 0.5rem auto 1rem;
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--border-color, #ccc);
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

#result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem auto 2rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--card-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 800px;
}

#result p {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-top: 0.5rem;
}

html.dark-mode textarea {
  border-color: #555;
}

.logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}
