* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

canvas {
    display: block;
    cursor: crosshair;
}

.controls {
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(179, 179, 179, 0.35);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 12px;
    z-index: 10;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    margin: 5px;
    /* display: none; */
}

.control-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px;
    font-weight: bold;
}

input[type="range"] {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    border-radius: 2px;
    -webkit-appearance: none;
}


.value {
    display: inline-block;
    margin-left: 10px;
    color: #d6f4ff;
    font-weight: bold;
    min-width: 30px;
}

.toggle-btn {
    background: linear-gradient(45deg, #00a6ff, #8c00ff);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 0, 0.4);
}

.info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 10px;
    color: #00ffff;
    font-size: 12px;
    font-family: monospace;
}