body {
  font-family: Georgia, serif;
  background-color: #f3f1ec; /* soft warm gray/tan background */
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

body {
  background: radial-gradient(circle, #f3f1ec, #e5e2d9);
}

#game-container {
  background: white;
  padding: 2em;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

input {
  padding: 0.5em;
  width: 60%;
  margin-right: 1em;
}

.button {
  background-color: #c99c33;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: #3282cd;
}

.button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#quote-progress {
  font-weight: bold;
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.5rem;
}

#quote-area{ 
  font-family: Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.6;
  background-color: #fff8e7; /* a soft parchment-like tone */
  border-left: 4px solid #c99c33; /* subtle gold stripe */
  padding: 1rem 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

#quote-progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

#quote-progress {
  font-weight: bold;
  font-size: 1rem;
  color: #444;
  margin: 0;
}

#next-quote-button {
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  background-color: #817f79;
  color: white;
  border: none;
  opacity: 0.4;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

#next-quote-button.active {
  opacity: 1;
  cursor: pointer;
  background-color: #c99c33;
  box-shadow: 0 0 8px #c99c33;
}


#message {
  font-weight: lighter;
  color: #c00;
  font-size: 1.2rem;
}

#correct-list {
  list-style-type: none;
  padding-left: 0;
}

#correct-list li {
  font-style: italic;
  margin-bottom: 6px;
}

#correct-list li::before {
  content: "—";
  color: #085196;
  font-weight: bold;
  font-size: 20px;
  margin-right: 6px;
}

#scoreboard {
  margin-top: 1em;
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
