/* 全体設定（ダークテーマ） */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  background-color: #1e1e1e;
  color: #f5f5f5;
  box-sizing: border-box;
  text-align: center;
}

/* 見出し */
h1 {
  font-size: 2rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

h2, h3 {
  color: #ffffff;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

/* リンク */
a {
  color: #4fc3f7;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #81d4fa;
  text-decoration: underline;
}

a.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
}

a.button:hover {
  background-color: #0056b3;
}

/* リールのデザイン */
.reel {
  width: 80px;
  height: 240px;
  overflow: hidden;
  border: 2px solid #fff;
  margin: 0 10px;
  background: #000;
}

.reel-inner img {
  width: 100%;
  height: 80px;
  display: block;
}

/* リールとベット・ストップボタンの配置 */
#reels,
.bet-buttons,
.stop-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px auto;
}

/* ボタン共通 */
button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #1e70bf;
}

button:disabled {
  background-color: #666;
  cursor: not-allowed;
}

/* テキスト・フッター */
p {
  margin: 0.5rem 0;
}

/* スマホ表示対応（600px以下） */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  /* スロットリール横並び（wrap対応） */
  #reels,
  .bet-buttons,
  .stop-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .reel {
    width: 80px;
    height: 240px;
  }

  button {
    font-size: 14px;
    padding: 8px 12px;
  }

  a.button {
    width: 100%;
    box-sizing: border-box;
  }
}