* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.container {
  background: #111;
  width: 420px;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  text-align: center;
}

h1 {
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.quote-box {
  background: #1e1e1e;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  min-height: 80px;
}

#quote span.correct {
  color: #4caf50;
}

#quote span.incorrect {
  color: #f44336;
  text-decoration: underline;
}

textarea {
  width: 100%;
  height: 90px;
  border-radius: 10px;
  border: none;
  outline: none;
  padding: 12px;
  font-size: 15px;
  resize: none;
  margin-bottom: 15px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stats div {
  background: #1e1e1e;
  padding: 10px;
  border-radius: 10px;
  width: 30%;
}

.stats span {
  font-size: 22px;
  font-weight: bold;
}

.stats small {
  display: block;
  opacity: 0.7;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.03);
}
