* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f0f7ff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  max-width: 600px;
  width: 90%;
}

h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
}

.score-container {
  text-align: right;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sentence {
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 2rem;
  text-align: center;
}

.word {
  display: inline-block;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
}

.word:hover {
  background-color: #e8f4ff;
}

.word.selected {
  background-color: #ffe8e8;
}

.word.correct-noun {
  background-color: #d4edda;
  color: #155724;
}

.word.correct-adj {
  background-color: #cce5ff;
  color: #004085;
}

.word.incorrect {
  background-color: #f8d7da;
  color: #721c24;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn.noun {
  background-color: #28a745;
  color: white;
}

.btn.adj {
  background-color: #007bff;
  color: white;
}

.instructions {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 0.5rem;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

.instructions h2 {
  color: #856404;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.instructions ol {
  color: #856404;
  margin-left: 1.5rem;
}

.instructions li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.feedback {
  text-align: center;
  min-height: 2rem;
  margin-top: 1rem;
  font-size: 1.2rem;
}