body {
  font-family: 'Cinzel', serif;
  background: radial-gradient(#444, #111);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  text-align: center;
}

#title {
  font-size: 48px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #000;
}

#subtitle {
  font-size: 24px;
  margin-top: -10px;
  margin-bottom: 30px;
  text-shadow: 0 0 5px #000;
}

#menu {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
  margin-bottom: 20px;
}

#classPreview {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin-left: 10px;
}


#instructions {
  font-size: 18px;
  max-width: 800px;
  margin: 10px 0 20px;
}

button {
  background: #5c1a00;
  color: #fff;
  border: none;
  padding: 8px 16px;
  margin: 5px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 5px #000;
}

button:hover:not(:disabled) {
  background: #7a2b05;
}

button:disabled {
  opacity: 0.5;
}

#gameCanvas {
  background: #000;
  display: block;
  margin: 0 auto;
  position: relative;
  border: 2px solid #444;
  box-shadow: 0 0 10px #000 inset;
}

#resultModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#resultModal .modal-content {
  background: #222;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

#resultText {
  font-size: 32px;
  margin-bottom: 20px;
}

.win-text {
  color: #d4af37;
}

.lose-text {
  color: #f44336;
}
