* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #050510;
  overflow: hidden;
}
canvas { display: block; position: fixed; top: 0; left: 0; }
#menu {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(14, 10, 30, 0.9);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(120, 90, 200, 0.5);
  font-family: Georgia, serif;
  font-size: 12px;
}
#menu a {
  color: #c0b8ff;
  text-decoration: none;
  margin: 0 8px;
  cursor: pointer;
}
#menu a:hover {
  color: #ffdc50;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 20;
}
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(14, 10, 30, 0.95);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(120, 90, 200, 0.5);
  max-width: 95%;
  max-height: 90%;
  min-height: 400px;
  overflow: auto;
  color: #c0b8ff;
  font-family: Georgia, serif;
  font-size: 14px;
}
.modal-content h2 {
  margin-top: 0;
  color: #ffdc50;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #c0b8ff;
  font-size: 20px;
  cursor: pointer;
}
.close:hover {
  color: #ffdc50;
}