body {
    background: linear-gradient(to bottom right, #ffccd5, #ffe6e6, #f9e0ff);
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    color: #4b1e2f;
    transition: background 1s ease-in-out;
}

a {
  color: #c2185b;
}

.container { 
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

header {
margin-bottom: 40 px; 
}

h1 {
  font-size: 2.8rem;
  text-align: center;
  color: #c2185b;
  margin-bottom: 20px;
}

.form-container{
  background-color: white;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0px 20px 60px rgba(65, 50, 100, 0.08);
  padding: 10px 10px 10px 10px;  
}

form {
   display: flex; 
}

.hint {
  line-height: 1.5;
  margin-top: 5px;
  opacity: 0.6;
  font-size: 12px;
  text-align: left;
}

.instructions {
    padding: 20px;
    border: 1px solid #3FBAC2;
    width: 80%; 
    font-size: 16px; 
    border-radius: 10px; 
    line-height: 20px; 
    color: black;
}

.submit-button {
  display: block;
  margin: 10px auto 0;
  padding: 12px 24px;
  font-size: 1rem;
  background: #c2185b;
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(240, 98, 146, 0.3);
}

.poem {
  font-style: italic;
  font-size: 16px;
  line-height: 2;
  padding: 20px;
  background: #fff0f5;
  border-left: 5px solid #f48fb1;
  border-right: 5px solid #f48fb1;
  border-radius: 10px;
  color: #5a2a3c;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}
.hidden {
    display: none;
}

.heart {
  text-align: center;
  font-size: 2rem;
  color: #e91e63;
  animation: pulse 2s infinite;
  margin-top: 20px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


footer {
    text-align: center;
    font-size: 12px;
    margin-top: 30px;
}

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

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