* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #74ebd5, #acb6e5);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1s ease;
}

h1 {
  margin-bottom: 20px;
  color: #333;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #ddd;
  font-size: 1rem;
  resize: none;
  transition: border 0.3s ease;
}

textarea:focus {
  border-color: #74ebd5;
  outline: none;
}

.counterBox {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
  flex-wrap: wrap;
}

.counter {
  background-color: #f7f7f7;
  padding: 20px;
  margin: 10px;
  border-radius: 15px;
  width: 120px;
  transition: transform 0.3s ease;
  animation: popIn 0.6s ease;
}

.counter:hover {
  transform: scale(1.05);
}

.counter h2 {
  color: #333;
  font-size: 2.5rem;
  transition: color 0.3s ease;
}

.counter p {
  margin-top: 5px;
  color: #777;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
