/* 全体背景と中央寄せ配置 */
body {
  margin: 0;
  padding: 0;
  background-color: #f0f8ea;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* 淡い緑のテーブル枠 */
.table {
  background-color: #d0e8c6;
  width: 500px;
  height: 600px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  position: relative;
}

/* 円形のホイール領域 */
.wheel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: transparent;
}

/* 中央の数字表示円 */
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 2px solid #333;
  border-radius: 50%;
  font-size: 40px;
  line-height: 100px;
  text-align: center;
  z-index: 2;
}

/* スロット配置領域（円周） */
.slots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* スロット（黄色い円） */
.slot {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: yellow;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  transition: background-color 0.3s;
  z-index: 1;
  transform: translate(-50%, -50%);
}

/* 回転中の赤く光るスロット */
.slot.active {
  background-color: red !important;
  color: white;
}

/* スタートボタン（中心円の下・控えめ配置） */
button {
  position: absolute;
  top: calc(50% + 100px);  /* 少し上に変更 */
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  font-size: 16px;
  background-color: #0078D4;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1;
}

button:hover {
  background-color: #005A9E;
}