@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


body {
  
  background: linear-gradient(135deg, #fbcfe8, #fef3c7); 
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


main {
  display: grid;
  gap: 25px; 
  max-width: 650px; 
  margin: 40px auto;
  padding: 35px; 
  background-color: #fff;
  border-radius: 24px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05); 
  text-align: center;
  font-weight: 500;
}


header {
  
  background: linear-gradient(120deg, #a78bfa, #8b5cf6); 
  color: white;
  text-align: center;
  padding: 2.5rem; 
  border-radius: 0 0 35px 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

h1 {
  font-size: 2.2rem; 
  letter-spacing: 2px; 
  font-weight: 600;
}


textarea, select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 2px solid #e5e7eb; 
  border-radius: 8px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  color: #333; 
  resize: vertical; 
}

textarea:focus, select:focus {
  outline: none; 
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3); 
}


label {
  font-size: 1rem;
  color: #1f2937; 
  margin-bottom: 8px; 
  display: block;
  text-align: left; 
  font-weight: 600;
}


button {
  width: 100%;
  padding: 14px; 
  font-size: 1.05rem;
  font-weight: 700; 
  border-radius: 12px; 
  border: none;
 
  background: linear-gradient(135deg, #4f46e5, #6366f1); 
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

button:hover {
  transform: translateY(-3px); 
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4); 
}


#outputArea {
  display: flex;
  justify-content: center;
  align-items: center;
  
  border: 3px dashed #a5b4fc; 
  border-radius: 16px;
  padding: 25px;
  background-color: #f3f4ff; 
  min-height: 100px; 
  color: #374151;
  font-weight: 500;
  text-align: center;
}


footer {
  background: linear-gradient(120deg, #a78bfa, #8b5cf6); 
  color: white;
  text-align: center;
  padding: 1.8rem;
  font-size: 0.95rem;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}
