#slot-wrapper {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 20px auto;
    text-align: center;
}

#slot-container {
    display: flex;
    justify-content: center;
    background: #222;
    padding: 20px;
    border-radius: 15px;
    color: #fff;
}

#slot-grid {
    display: grid;
    grid-template-columns: repeat(5, 60px);
    grid-gap: 5px;
    margin-right: 20px;
}

.cell {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 8px;
    border: 2px solid #333;
    font-size: 16px;
}

/* Symbol colors */
.zero { background: #eee; color: #000; }
.pos { background: #6f6; }
.mid { background: #4cf; }
.big { background: #fc0; color: #000; }
.neg { background: #f99; }
.loss { background: #f66; color: #fff; }
.deadly { background: #900; color: #fff; }

#legend {
    text-align: left;
}

.legend-row {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
#legend .cell {
    width: auto;
    padding: 2px 8px;
    font-size: 14px;
    border: 1px solid #222;
}

#controls {
    margin-top: 15px;
}

button {
    padding: 8px 16px;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background: #444;
    color: #fff;
}

button:hover {
    background: #222;
}

#balance, #result {
    margin-top: 10px;
    font-size: 18px;
}
