.card {
    background: #1e403a;
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid #2f9f8f;
}

canvas {
    display: block;
    width: 1000px;
    height: 600px;
    border-radius: 24px;
    background: #1d312c;
    box-shadow: inset 0 0 30px #0a1f1a, 0 0 0 1px #3fbfa0;
    cursor: crosshair;
    place-self: center;
}

.stats-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    color: #c6f0e5;
    gap: 20px;
}

.stats {
    display: flex;
    gap: 20px;
    background: #1f554a;
    padding: 12px 28px;
    border-radius: 48px;
    border: 1px solid #2fd0b0;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 10em;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #9ed9d0;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f4ffc0;
}

.legend {
    display: flex;
    gap: 24px;
    background: #1f554a;
    padding: 8px 24px;
    border-radius: 40px;
    border: 1px solid #2fd0b0;
}

.dot-demo {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px;
}

button {
    background: #1e8a72;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 40px;
    cursor: pointer;
    border: 1px solid #3fe6c8;
    box-shadow: 0 6px 12px #0b453a;
    transition: all 0.15s;
}

button:hover {
    background: #28b097;
    transform: translateY(-2px);
}

.control-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
    align-items: center;
    background: #1e403a;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #2f9f8f;
}

.slider-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b2f0e0;
}

input[type=range] {
    width: 110px;
    background: #1f554a;
    height: 6px;
    border-radius: 10px;
}

footer {
    font-size: 0.8rem;
    color: #7bb2aa;
    margin-top: 10px;
    text-align: center;
}