body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #eee;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

#controls {
    background-color: #2d2d2d;
    padding: 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #444;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 150px;
}

label {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #bbb;
}

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

.button-group {
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background-color: #0056b3;
}

button.secondary {
    background-color: #495057;
}

button.secondary:hover {
    background-color: #343a40;
}

canvas {
    flex-grow: 1;
    background-color: #f8f9fa;
}