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

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: #1a1a2e;
    color: #eee;
    min-height: 100vh;
    padding: 20px;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    margin-bottom: 20px;
    color: #fff;
}

#controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #16213e;
    border-radius: 8px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-group label {
    color: #aaa;
    font-size: 14px;
}

select, button {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #0f3460;
    border-radius: 4px;
    background: #0a0a14;
    color: #eee;
    cursor: pointer;
}

button:hover {
    background: #0f3460;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: #16213e;
    border-radius: 8px;
}

.stat {
    font-size: 14px;
}

.stat .label {
    color: #888;
    margin-right: 8px;
}

#canvasContainer {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #0f3460;
    background: #000;
}

#canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

#benchmarkResults {
    padding: 15px;
    background: #16213e;
    border-radius: 8px;
}

#benchmarkResults h3 {
    margin-bottom: 10px;
    color: #fff;
}

#results {
    font-family: monospace;
    font-size: 13px;
    white-space: pre-wrap;
    color: #aaa;
}
