  html,
  body {
      margin: 0;
      padding: 0;
      overflow: hidden;
      background: #000;
  }

  canvas {
      display: block;
      width: 100vw;
      height: 100vh;
  }

  /* Glassmorphism utility */
  .glass {
      background: rgba(15, 15, 15, 0.7) !important;
      backdrop-filter: blur(15px) !important;
      -webkit-backdrop-filter: blur(15px) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  }

  /* Controls Panel */
  .controls {
      position: fixed;
      top: 20px;
      left: 20px;
      padding: 20px;
      border-radius: 12px;
      color: white;
      z-index: 1000;
      width: 280px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .controls h3 {
      margin: 0 0 20px 0;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #fff;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      padding-bottom: 10px;
  }

  .control-group {
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  .control-group label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #ccc;
      min-width: 100px;
  }

  input[type="range"] {
      width: 100px;
      height: 4px;
      background: #333;
      outline: none;
      border-radius: 2px;
      -webkit-appearance: none;
  }

  input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 16px;
      height: 16px;
      background: #4CAF50;
      cursor: pointer;
      border-radius: 50%;
      border: 2px solid #fff;
  }

  input[type="range"]::-moz-range-thumb {
      width: 16px;
      height: 16px;
      background: #4CAF50;
      cursor: pointer;
      border-radius: 50%;
      border: 2px solid #fff;
  }

  .control-group span {
      font-size: 12px;
      color: #4CAF50;
      font-weight: bold;
      min-width: 30px;
      text-align: right;
  }

  .presets {
      margin-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 15px;
  }

  .presets h4 {
      margin: 0 0 10px 0;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #ccc;
  }

  .preset-btn {
      display: inline-block;
      margin: 3px;
      padding: 6px 12px;
      background: #333;
      color: white;
      border: 1px solid #555;
      border-radius: 5px;
      cursor: pointer;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
  }

  .preset-btn:hover {
      background: #4CAF50;
      border-color: #4CAF50;
      transform: translateY(-1px);
  }

  .preset-btn:active {
      transform: translateY(0);
  }

  .default-btn {
      display: inline-block;
      margin: 3px;
      padding: 6px 12px;
      background: #2196F3;
      color: white;
      border: 1px solid #1976D2;
      border-radius: 5px;
      cursor: pointer;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
      font-weight: bold;
  }

  .default-btn:hover {
      background: #1976D2;
      border-color: #1565C0;
      transform: translateY(-1px);
  }

  .default-btn:active {
      transform: translateY(0);
  }

  /* Actions Section */
  .actions {
      margin-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 15px;
  }

  .actions h4 {
      margin: 0 0 10px 0;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #888;
  }

  .button-grid {
      display: flex;
      flex-direction: column;
      gap: 8px;
  }

  .action-btn {
      width: 100%;
      padding: 10px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #eee;
      border-radius: 6px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: left;
  }

  .action-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.3);
  }

  /* Intro Overlay */
  .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(5px);
      transition: opacity 0.5s ease;
  }

  .modal {
      max-width: 500px;
      width: 90%;
      padding: 40px;
      border-radius: 24px;
      text-align: center;
      animation: modalIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes modalIn {
      from {
          opacity: 0;
          transform: scale(0.9) translateY(20px);
      }

      to {
          opacity: 1;
          transform: scale(1) translateY(0);
      }
  }

  .modal h1 {
      font-size: 28px;
      margin-bottom: 20px;
      background: linear-gradient(to right, #fff, #999);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
  }

  .modal p {
      color: #aaa;
      line-height: 1.6;
      margin-bottom: 30px;
      font-size: 15px;
  }

  .features {
      text-align: left;
      margin-bottom: 35px;
      display: flex;
      flex-direction: column;
      gap: 15px;
  }

  .feature-item {
      font-size: 14px;
      color: #ddd;
  }

  .primary-btn {
      background: #4CAF50;
      color: white;
      border: none;
      padding: 15px 40px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  }

  .primary-btn:hover {
      background: #45a049;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  }

  /* Floating Help Button */
  .floating-btn {
      position: fixed;
      bottom: 20px;
      left: 20px;
      width: 48px;
      height: 48px;
      background: rgba(30, 30, 30, 0.8);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: #fff;
      font-size: 20px;
      font-weight: bold;
      cursor: pointer;
      z-index: 2000;
      transition: all 0.3s;
  }

  .floating-btn:hover {
      background: rgba(60, 60, 60, 0.9);
      transform: scale(1.1) rotate(10deg);
  }

  .hidden {
      opacity: 0;
      pointer-events: none;
      display: none !important;
  }

  /* links styles are by maxoffsky.com */
  .links {
      position: absolute;
      /* Positions the links block */
      list-style: none;
      /* Removes default list bullets */
      width: 180px;
      /* Sets the width of the links block */
      bottom: 40px;
      /* Positions it from the bottom */
      right: 20px;
      /* Positions it from the right */
      padding: 0;
      margin: 0;
  }

  .links li {
      border-bottom: #222 1px solid;
      /* Darker border for bottom */
      border-bottom: rgba(255, 255, 255, 0.1) 1px solid;
      /* Lighter, transparent border */
  }

  .links li a {
      transition: opacity 0.2s ease-out;
      /* Smooth opacity change on hover */
      -webkit-font-smoothing: antialiased;
      /* Font rendering optimization */
      -moz-osx-font-smoothing: grayscale;
      font-family: 'Dosis', sans-serif;
      /* Font family */
      text-transform: uppercase;
      /* Uppercase text */
      text-align: right;
      /* Right-align text */
      padding: 0.25em 0;
      /* Vertical padding */
      letter-spacing: 2px;
      /* Letter spacing */
      font-weight: 200;
      /* Light font weight */
      font-size: 12px;
      /* Font size */
      display: block;
      /* Makes the entire line clickable */
      width: 100%;
      /* Occupies full width of <li> */
      opacity: 0.4;
      /* Initial opacity (semi-transparent) */
      color: #FFF;
      /* White text color */
  }

  .links li a:hover {
      opacity: 0.8;
      /* Increased opacity on hover */
  }

  .links li .who:before {
      opacity: 0.5;
      /* Semi-transparent prefix */
      content: '@';
      /* Adds "@" before "by msurguy" */
      float: left;
      /* Floats the prefix to the left */
  }

  .links li .blog:before {
      opacity: 0.5;
      /* Semi-transparent prefix */
      content: '</>';
      /* Adds "&" before "Blog post" */
      float: left;
      /* Floats the prefix to the left */
  }