@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap");

body {
  font-family: "JetBrains Mono", monospace;
  margin: 0;
  padding: 20px;
  background-color: #0d0d0d;
  color: #f0f0f0;
  text-align: center;
}

.container {
  max-width: 600px;
  margin: auto;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.1);
}

.logo {
  max-width: 100px;
  margin-bottom: 10px;
  border-radius: 8px;
}

h1 {
  color: #90dcff;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.byline a {
  color: #90dcff;
  font-weight: 600;
  text-decoration: none;
}

.byline a:hover {
  text-decoration: underline;
}

#start-screen {
  margin-top: 20px;
}

#start-screen input {
  padding: 10px;
  font-size: 1em;
  width: 80%;
  margin-bottom: 10px;
  border-radius: 6px;
  border: none;
  font-family: "JetBrains Mono", monospace;
}

#start-screen button {
  padding: 10px 20px;
  background: #90dcff;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  margin: 5px;
}

#start-screen button:hover {
  background: #00e6a6;
}

/* Start screen button layout */
.start-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
}

#game {
  margin-top: 20px;
}

#question {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: left;
  line-height: 1.4;
}

#progress {
  width: 100%;
  height: 12px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: #333;
  accent-color: #90dcff;
}

.options button {
  display: block;
  width: 90%;
  margin: 12px auto;
  padding: 12px;
  font-size: 1em;
  background: #90dcff;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.1s;
  text-align: left;
  font-family: "JetBrains Mono", monospace;
}

.options button:hover {
  background: #00ddaa;
  transform: scale(1.02);
}

.options button:disabled {
  background: #666;
  color: #aaa;
  cursor: not-allowed;
}

.options button.correct {
  background: #90dcff !important;
  color: #000 !important;
}

.options button.incorrect {
  background: #fe11c5 !important;
  color: #fff !important;
}

.feedback {
  min-height: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  margin: 12px 0;
  text-align: left;
  line-height: 1.4;
  padding: 10px;
  border-radius: 6px;
  background: #2a2a2a;
}

.feedback.correct {
  color: #90dcff;
  border-left: 4px solid #90dcff;
}

.feedback.incorrect {
  color: #fe11c5;
  border-left: 4px solid #ff4c4c;
}

.status {
  margin-top: 10px;
  color: #ccc;
}

.buttons button {
  padding: 10px 20px;
  background: #90dcff;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 10px;
  font-weight: bold;
  font-family: "JetBrains Mono", monospace;
}

.buttons button:hover {
  background: #00e6a6;
}

.buttons button:disabled {
  background: #444;
  color: #999;
  cursor: not-allowed;
}

/* Back button styling */
.back-btn {
  background: #444 !important;
  color: #fff !important;
}

.back-btn:hover {
  background: #555 !important;
}

#leaderboard {
  margin-top: 30px;
}

#leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #90dcff;
}

#leaderboard-list li {
  margin: 6px 0;
  text-align: left;
}

.game-over {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px solid #90dcff;
}

@media (max-width: 600px) {
  .container {
    padding: 12px;
  }

  .options button {
    width: 95%;
  }

  .start-buttons {
    flex-direction: column;
  }
}
