body {
  font-family: Arial, sans-serif;
  background: #111;
  margin: 0;
  padding: 0;
}

.container {
  background: rgba(80, 0, 120, 0.92); /* purple hue with some opacity */
  max-width: 600px;
  margin: 40px auto;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(80,0,120,0.4), 0 2px 8px rgba(0,0,0,0.3);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 1px;
}

#quote {
  font-size: 1.2em;
  margin-bottom: 20px;
  background: rgba(60, 0, 90, 0.7);
  padding: 15px;
  border-radius: 8px;
  min-height: 60px;
  color: #fff;
  font-family: monospace;
}

#quoteInput {
  width: 100%;
  font-size: 1em;
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid #a259ff;
  margin-bottom: 10px;
  resize: none;
  background: #181028;
  color: #fff;
  outline: none;
  transition: border 0.2s;
}

#quoteInput:focus {
  border: 2px solid #d580ff;
}

#showResultBtn {
  display: block;
  margin: 0 auto 20px auto;
  padding: 10px 28px;
  background: #000;
  color: #fff;
  border: 2px solid #a259ff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

#showResultBtn:hover,
.popup-content button:hover,
.paragraph-controls button:hover {
  background: #a259ff;
  color: #fff;
  border-color: #fff;
}

.info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #fff;
}

.paragraph-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.paragraph-controls button {
  padding: 8px 22px;
  border: 2px solid #a259ff;
  background: #000;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.paragraph-controls button:disabled {
  background: #222;
  color: #888;
  border: 2px solid #444;
  cursor: not-allowed;
}

.popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: rgba(80, 0, 120, 0.98);
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  min-width: 300px;
  color: #fff;
  box-shadow: 0 4px 24px rgba(80,0,120,0.4), 0 2px 8px rgba(0,0,0,0.3);
}

.popup-content button {
  margin-top: 20px;
  margin-right: 10px;
  padding: 10px 28px;
  background: #000;
  color: #fff;
  border: 2px solid #a259ff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

#quote span.correct {
  color: #28ffb3;
}
#quote span.incorrect {
  color: #ff4b7b;
}