:root {
  --primary-color: #FFA500; /* Orange */
  --secondary-color: #1E3A5F; /* Dark blue */
  --background-color: #FFF8E7; /* Light cream */
  --text-color: #333;
  --input-background: #FFFFFF;
  --box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background-color: var(--input-background);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 800px;
  margin: 2rem;
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
}

.container::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.1;
}

h1 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.input-description {
  font-size: 0.9rem;
  color: #666;
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

input[type="text"],
input[type="url"],
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2);
}

button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 1.5rem;
}

button:hover {
  background-color: #E69500;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

.loading {
  display: none;
  text-align: center;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 500;
}

#generatedMessage {
  width: 100%;
  min-height: 150px;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  background-color: #f9f9f9;
  margin-top: 1rem;
}

#resetForm {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 1rem;
  display: none;
}

#resetForm:hover {
  background-color: #15293F;
  transform: translateY(-2px);
}

#resetForm:active {
  transform: translateY(0);
}

.decorative-element {
  position: absolute;
  background-color: var(--primary-color);
  opacity: 0.1;
  border-radius: 50%;
}

.decorative-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  right: 5%;
}

.decorative-element:nth-child(2) {
  width: 60px;
  height: 60px;
  bottom: 15%;
  left: 8%;
}