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

body {
    background: #000;
    color: #fff;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(0, 20, 40, 0.9);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

#header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #0ff;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 12px;
    color: #8af;
    opacity: 0.8;
}

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

.control-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #aef;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: rgba(0, 100, 200, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

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

button {
    background: rgba(0, 150, 255, 0.3);
    border: 1px solid rgba(0, 200, 255, 0.5);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

button:hover {
    background: rgba(0, 200, 255, 0.5);
    transform: translateY(-1px);
}

button:active {
    transform: translateY(1px);
}

#stats {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 20, 40, 0.9);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    font-size: 14px;
    z-index: 1000;
}

#stats div {
    margin-bottom: 5px;
}

#stats span {
    color: #0ff;
    font-weight: bold;
}