body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0e0e0e;
  color: white;
  display: flex;
  height: 100vh;
}

#wrapper {
  display: flex;
  width: 100%;
}

#sidebar {
  width: 220px;
  background: #181818;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.6);
}

#sidebar h1 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #00ff88;
}

nav .tab {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  background: #222;
  border: none;
  color: white;
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
}

nav .tab:hover,
.tab.active {
  background: #00ff88;
  color: black;
}

main {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.tabContent {
  display: none;
}

.tabContent.active {
  display: block;
}

.board-container {
  background: #111;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
  height: 300px;
  position: relative;
}

#plinkoBoard {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  height: 100%;
  position: relative;
}

.peg {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  margin: auto;
}

.ball {
  width: 20px;
  height: 20px;
  background: gold;
  border-radius: 50%;
  position: absolute;
  top: 0;
  transition: top 0.1s, left 0.1s;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chips {
  display: flex;
  gap: 10px;
}

.chip {
  padding: 10px;
  border-radius: 50%;
  background: gold;
  color: black;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px gold;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type="number"] {
  width: 80px;
  padding: 5px;
  border-radius: 5px;
  border: none;
}

button {
  padding: 8px 12px;
  background: #00ff88;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #00cc66;
}

.locked {
  color: red;
  font-weight: bold;
  display: none;
}
