body, html {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
  font-family: monospace;
}

#matrix-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#start-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10;
  color: #0f0;
  text-shadow: 0 0 10px #0f0;
}

#start-overlay.hidden {
  display: none;
}

h1 {
  font-size: 3rem;
  letter-spacing: 0.2rem;
  margin-bottom: 2rem;
}

#start-btn {
  padding: 1rem 2rem;
  font-size: 1.5rem;
  background: transparent;
  color: #0f0;
  border: 2px solid #0f0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: monospace;
  text-shadow: 0 0 5px #0f0;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

#start-btn:hover {
  background: rgba(0, 255, 0, 0.2);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

#settings-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 20, 0, 0.85);
  border: 1px solid #0f0;
  padding: 1.5rem;
  border-radius: 8px;
  color: #0f0;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#settings-menu.hidden {
  display: none;
}

#settings-menu h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  text-shadow: 0 0 5px #0f0;
  text-align: center;
}

#settings-menu label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.5rem;
}

#settings-menu input[type="range"] {
  accent-color: #0f0;
}

#settings-menu input[type="color"] {
  background: transparent;
  border: 1px solid #0f0;
  width: 100%;
  height: 30px;
  cursor: pointer;
}

#settings-menu input[type="text"] {
  background: transparent;
  border: 1px solid #0f0;
  color: #0f0;
  padding: 0.5rem;
  font-family: monospace;
}

#settings-menu select {
  background: rgba(0, 20, 0, 0.85);
  border: 1px solid #0f0;
  color: #0f0;
  padding: 0.5rem;
  font-family: monospace;
  outline: none;
  cursor: pointer;
}

#settings-menu select option {
  background: #000;
  color: #0f0;
}

#settings-menu input[type="checkbox"] {
  accent-color: #0f0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  background-color: #000;
  border: 1px solid #0f0;
}
