body {
  font-family: 'Lato', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.container {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 600px;
  padding: 40px 48px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.12), 0 8px 15px -8px rgba(0, 0, 0, 0.08);
}

header {
  font-family: 'Nunito Sans', sans-serif;
  margin-bottom: 40px;
}

.title {
  font-size: 44px;
  font-weight: 800;
  color: #4A4A4A;
  margin: 0;
}

.tagline {
  font-size: 16px;
  font-weight: 400;
  color: #6B6B6B;
}

.versejoy-input {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  width: 100%;
  padding: 16px 17px;
  box-sizing: border-box;
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
}

.versejoy-input::placeholder {
  color: #9CA3AF;
}

.versejoy-input:focus {
  outline: none;
  border-color: #FFB085;
  box-shadow: 0 0 0 3px rgba(255, 176, 133, 0.35), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.versejoy-button {
  background-color: #FF8C69;
  padding: 16px 32px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 17px;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 140, 105, 0.35);
}

.versejoy-button:hover {
  background-color: #FF7256;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 15px rgba(255, 114, 86, 0.4);
}

.versejoy-button:active {
  transform: translateY(0px) scale(1);
  box-shadow: 0 2px 8px rgba(255, 140, 105, 0.3);
}

.poem-area {
  margin-top: 30px;
  padding: 32px 24px;
  background-color: #FAFDFE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed #FFDAB9;
  border-radius: 16px;
  transition: opacity 0.5s ease-in-out, border-color 0.3s ease;
  opacity: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.poem-area.visible {
  opacity: 1;
}

.hidden {
  display: none;
}

.versejoy-poem-text {
  font-size: 18px;
  line-height: 2;
  color: #333333;
  margin-bottom: 26px;
}

.copy-button {
  background-color: #B2DFDB;
  color: #2F4F4F;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.copy-button:hover {
  background-color: #A0D2DB;
  transform: translateY(-1px);
}

.copy-button.copied {
  background-color: #A7F3D0;
  color: #047857;
}

footer {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  line-height: 0.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

a {
  font-weight: 600;
  cursor: pointer;
  color: #FF8C69;
  text-decoration: underline;
  text-decoration-color: rgba(255, 140, 105, 0.5);
  text-underline-offset: 2px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

a:hover {
  color: #FF7256;
  text-decoration-color: rgba(255, 114, 86, 0.8);
}

.attribute {
  color: #888888;
  text-align: center;
}