* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0d1117;
  color: #c9d1d9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.game-container {
  background: #161b22;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  text-align: center;
  width: 95%;
  max-width: 550px;
}

h1 {
  color: #58a6ff;
  margin-bottom: 20px;
}

.controls {
  margin-bottom: 20px;
}

button {
  background: linear-gradient(90deg, #238636, #2ea043);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  background: linear-gradient(90deg, #2ea043, #3fb950);
}

.image-area {
  margin: 20px 0;
}

.image-area img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #30363d;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.answer-area {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Modern cross-browser dropdown */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #30363d;
  background-color: #0d1117;
  color: #c9d1d9;
  font-size: 16px;
  min-width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%23c9d1d9' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

select:hover {
  border-color: #58a6ff;
  background-color: #161b22;
}

select:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 6px rgba(88,166,255,0.6);
}

select::-ms-expand {
  display: none; /* IE fallback */
}

#result {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
}

.status-bar {
  margin-top: 20px;
}

.progress {
  background: #30363d;
  border-radius: 10px;
  overflow: hidden;
  height: 12px;
  margin-top: 8px;
}

#progressBar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #58a6ff, #2ea043);
  transition: width 1s linear;
}

.score-board {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  font-size: 18px;
}

#correctScore {
  color: #3fb950;
  font-weight: bold;
}

#wrongScore {
  color: #f85149;
  font-weight: bold;
}