body {
  margin: 0;
  background: #0b111a;
  color: #fff;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
}
.roulette-container {
  display: flex;
  background: #131b26;
  border-radius: 10px;
  max-width: 1200px;
  width: 100%;
  gap: 30px;
}

/* LEFT PANEL */
.roulette-left {
  background: #0f1620;
  width: 280px;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tabs {
  display: flex;
  justify-content: space-between;
}
.tabs button {
  flex: 1;
  background: none;
  border: none;
  color: #aaa;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
}
.tabs button.active {
  color: #41e07f;
  border-bottom: 2px solid #41e07f;
}
.bet-btn {
  background: linear-gradient(90deg, #41e07f, #00b86e);
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

/* RIGHT PANEL */
.roulette-right {
  flex: 1;
  background: #0f1620;
  border-radius: 10px;
  padding: 20px;
}
.game-result {
  background: #111821;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  color: #aaa;
  margin-bottom: 20px;
  font-weight: 600;
}

/* WHEEL AREA */
.wheel-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.wheel {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: url("https://upload.wikimedia.org/wikipedia/commons/7/7c/Roulette_wheel_english_37.svg") no-repeat center;
  background-size: cover;
  transition: transform 5s cubic-bezier(.2,.9,.2,1);
}
.ball {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 5s cubic-bezier(.2,.9,.2,1);
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
}

/* BET BOARD */
.bet-board {
  margin-top: 10px;
}
.neighbors {
  background: #111821;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}
.board {
  display: flex;
  gap: 8px;
}
.col-zero {
  display: flex;
  align-items: center;
}
.cell {
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  min-width: 32px;
}
.green {
  background: #05b274;
  color: #001;
}
.red {
  background: #e33b3b;
}
.black {
  background: #0b0b0b;
}
.number-grid {
  flex: 1;
}
.row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

/* bottom bets */
.extra-bets {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.extra-bets button {
  background: #111821;
  border: none;
  color: #ddd;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
}
.red-square {
  background: #e33b3b;
}
.black-square {
  background: #0b0b0b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  body { padding: 10px; }
  .roulette-container { flex-direction: column; }
  .roulette-left { width: 100%; order: 2; }
  .roulette-right { order: 1; }
  .wheel { width: 280px; height: 280px; }
}
