body {
  font-family: "Poppins", Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
  margin: 0;
}

.container {
  background: #fff;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: center;
  width: 90%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
}

h1 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
}

.input{
    display: flex;
    justify-content: center;
}

#text-display {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 15px;
  margin: 15px 0;
  font-weight: bold;
  color: #444;
  min-height: 40px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  outline: none;
  margin-top: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
  border-color: #66a6ff;
  box-shadow: 0 0 5px rgba(102,166,255,0.5);
}

.stats {
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  color: #555;
}

button, #play {
  background: #66a6ff;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  padding: 10px 25px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover, #play:hover {
  background: #4a8be6;
  transform: scale(1.05);
}

#result {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #222;
}

@media (max-width: 768px) {
  .container {
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
  }
}
