* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle, #0f0c29, #302b63, #24243e);
  font-family: "Poppins", sans-serif;
  color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.toolbar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toolbar h1 {
  font-size: 1.5em;
  color: #ffcc70;
  text-shadow: 0 0 15px #ffcc70;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="range"], input[type="color"] {
  cursor: pointer;
}

button {
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  background: linear-gradient(45deg, #00dbde, #fc00ff);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00dbde;
}

canvas {
  flex: 1;
  cursor: crosshair;
  display: block;
}
