html, body {
    margin: 0;
    height: 100%;
    background: black;
    overflow: hidden;
    font-family: monospace;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
  }
  #loading-screen {
    position: absolute;
    color: #00ff00;
    font-size: 18px;
    text-align: center;
    white-space: pre-wrap;
    opacity: 1;
    transition: opacity 1s ease-in-out;
  }
  .hidden {
    opacity: 0 !important;
    visibility: hidden;
  }
  .terminal-window {
    display: none;
    position: absolute;
    width: 700px;
    height: 400px;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    flex-direction: column;
    z-index: 1;
    box-shadow: 0 0 20px #00ff00aa;
  }
  .title-bar {
    height: 30px;
    background: #222;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
  }
  .title-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
  }
  .close { background: #ff5f57; }
  .minimize { background: #ffbd2e; }
  .terminal-body {
    flex-grow: 1;
    padding: 10px;
    color: #00ff00;
    font-size: 14px;
    overflow-y: auto;
    white-space: pre-wrap;
  }
  input.terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #00ff00;
    width: 100%;
    font-family: monospace;
    font-size: 14px;
  }
  .python-prompt {
    color: #4e9a06;
  }
  .python-output {
    color: #729fcf;
  }
  .python-error {
    color: #ef2929;
  }