body {
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background: #050816;
    color: white;
  }

  #mainContainer {
    width: 100%;
    height: 72vh;
    position: relative;
    background: radial-gradient(circle at top, #1d2b64, #050816 70%);
  }

  #sceneContainer {
    width: 100%;
    height: 100%;
  }

  .panel {
    position: absolute;
    top: 18px;
    width: 265px;
    padding: 14px;
    background: rgba(5, 12, 35, 0.72);
    border: 1px solid rgba(135, 206, 250, 0.45);
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(0, 200, 255, 0.25);
    backdrop-filter: blur(8px);
    z-index: 10;
  }

  #leftPanel {
    left: 18px;
  }

  #rightPanel {
    right: 18px;
  }

  .panelTitle {
    font-size: 18px;
    font-weight: bold;
    color: #8ee7ff;
    margin-bottom: 10px;
    text-align: center;
  }

  .readout {
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 7px 9px;
    margin: 6px 0;
    font-size: 14px;
  }

  label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #d7f6ff;
  }

  input[type="range"] {
    width: 100%;
  }

  .btnRow {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }

  button {
    flex: 1;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #0077ff, #00c6ff);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  }

  button:hover {
    transform: translateY(-2px);
  }

  #bottomContent {
    padding: 26px 9%;
    background: #ffffff;
    color: #111;
    line-height: 1.65;
  }

  #bottomContent h1 {
    text-align: center;
    color: #063970;
  }

  #bottomContent h2 {
    color: #0b5ea8;
    margin-top: 25px;
  }

  .equationBox {
    background: #eef7ff;
    border-left: 5px solid #0b8bdc;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 18px;
  }
.sceneLabel {
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  white-space: normal;
  max-width: 360px;
  line-height: 1.25;
  pointer-events: none;
  text-shadow:
    -2px -2px 3px rgba(255,255,255,1),
     2px -2px 3px rgba(255,255,255,1),
    -2px  2px 3px rgba(255,255,255,1),
     2px  2px 3px rgba(255,255,255,1);
}

footer {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #1d3557;
  color: white;
  text-align: center;
}

footer a {
  color: #ffd166;
}

  @media (max-width: 900px) {
    .panel {
      width: 220px;
      font-size: 12px;
    }
  }
