body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

h1 {
    color: #bb86fc;
    margin-bottom: 10px;
}

p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    color: #03dac6;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9em;
    position: absolute;
    top: 20px;
    left: 20px;
}

.back-link:hover {
    text-decoration: underline;
}

canvas {
    background-color: #1e1e1e;
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    margin-top: 20px;
    cursor: crosshair;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background-color: #2c2c2c;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 150px;
    border-right: 1px solid #444;
    padding-right: 20px;
}

.stats p {
    margin: 5px 0;
    font-weight: bold;
}

label {
    font-size: 0.9em;
    margin-bottom: 5px;
    color: #cf6679;
}

input[type="range"] {
    width: 100%;
    accent-color: #bb86fc;
}

button {
    background-color: #03dac6;
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    align-self: center;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #018786;
}

span {
    color: #ffffff;
}
