body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background-color: #1c1f2b;
  color: #fff;
}

#start-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 1rem;
  text-align: center;
}

#start-screen .title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

#start-screen .subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.mode-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

.mode-buttons button {
  padding: 1rem;
  font-size: 1rem;
  background-color: #3f51b5;
  border: none;
  border-radius: 8px;
  color: white;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

#quiz-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

#score-area {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: flex-end;
}

#score {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 1rem;
}

#question {
  font-size: 2rem;
  background-color: #ffffff;
  color: #1c1f2b;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  word-break: keep-all;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 600px;
}

.choice-grid button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 8px;
  border: none;
  background-color: #3f51b5;
  color: white;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

#result {
  font-size: 1rem;
  margin-top: 1rem;
  text-align: center;
  height: 1.5rem;
}

#next-button {
  display: block;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #3f51b5;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

@media (max-width: 600px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  #score-area {
    justify-content: center;
  }

  #question {
    font-size: 1.6rem;
    padding: 1rem;
  }
}
