* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #4facfe, #00f2fe);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease;
}

.container {
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 600px;
  max-width: 90%;
  animation: slideUp 1s ease;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.instruction {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
}

.test-area {
  border: 2px solid #4facfe;
  padding: 20px;
  border-radius: 10px;
  background: #f4f9ff;
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  min-height: 100px;
}

textarea {
  width: 100%;
  height: 100px;
  border-radius: 10px;
  border: 2px solid #00c6ff;
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 15px;
  resize: none;
  transition: all 0.3s;
}

textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 10px #80bdff;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

button {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  background: #00c6ff;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #007acc;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
