body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-sizing: border-box;
}

canvas {
    width: 100vw;
    height: 100vh;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
}

#ui-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 200px;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    transition: opacity 0.3s;
}

#toggle-ui {
    display: none;
}

#controls-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#controls-panel.hidden {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.control-group {
    margin-bottom: 0;
}

.control-group label {
    display: flex;
    justify-content: space-between;
    color: #eee;
    font-family: sans-serif;
    font-size: 12px;
    margin-bottom: 5px;
    text-shadow: 0 0 3px #000;
}

.control-group input[type="range"] {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: #444;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e0f7fa;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(224, 247, 250, 0.8);
}