body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background:
    linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.75)),
    url("bg.svg") center / cover no-repeat;
  animation: backgroundMove 18s ease-in-out infinite alternate;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

main {
  text-align: center;
  width: 90%;
  max-width: 620px;
  line-height: 1.4;
}

h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

p {
  font-size: 1.3rem;
  color: #cbd5f5;
  margin: 0.5rem 0;
}

p:first-of-type {
  font-size: 1.4rem;
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

input,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #22c55e;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  border: none;
  border-radius: 8px;
  background: #22c55e;
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

@keyframes backgroundMove {
  from {
    background-position: center;
    background-size: 100%;
  }

  to {
    background-position: center 8%;
    background-size: 108%;
  }
}

@media (max-width: 768px) {
  body {
    background-size: auto 100%;
    background-position: center center;
    animation: mobileBackgroundMove 10s ease-in-out infinite alternate;
  }
}

@keyframes mobileBackgroundMove {
  from {
    background-position: 45% center;
  }

  to {
    background-position: 55% center;
  }
}

.sequence span {
  opacity: 0;
  display: inline-block;
  margin-right: 6px;
  animation: fadeInUp 0.6s ease forwards;
}

.sequence span:nth-child(1) {
  animation-delay: 0.4s;
}

.sequence span:nth-child(2) {
  animation-delay: 0.8s;
}

.sequence span:nth-child(3) {
  animation-delay: 1.2s;
}

.sequence span {
  opacity: 0;
  display: inline-block;
  margin-right: 6px;
  animation: fadeInUp 0.6s ease forwards;
}

.sequence span:nth-child(1) {
  animation-delay: 0.4s;
  color: #4ade80;
}

.sequence span:nth-child(2) {
  animation-delay: 0.8s;
  color: #60a5fa;
}

.sequence span:nth-child(3) {
  animation-delay: 1.2s;
  color: #c084fc;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #22c55e;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  opacity: 0.8;
}
