/* css/index.css */

/* ===================== */
/* index.html 専用デザイン */
/* ===================== */

/* ===================== */
/* タイトル・サブタイトル */
/* ===================== */

#game-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  letter-spacing: 4px;
  color: #ffcc00;
  text-shadow: 3px 3px 6px black, 0 0 12px #ff6600;
  text-align: center;
  margin: 10px 0;
}

#info-panel h2 {
  margin: 5px 0 15px;
  font-size: 1.2rem;
  text-align: center;
}

/* ===================== */
/* レイアウト調整 */
/* ===================== */

#top-container {
  display: flex;
  width: 100%;
  height: 100%;
}

#info-panel {
  flex: 6;
  padding: 20px;
  background: rgba(0,0,0,0.5);
}

#stage-panel {
  flex: 4;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  overflow-y: auto;
}

/* ===================== */
/* メニューボタン */
/* ===================== */

.menu-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.menu-buttons button {
  flex: 1;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  background: #ff9800;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.menu-buttons button:hover {
  background: #e68900;
}

/* ===================== */
/* ステージ関連 */
/* ===================== */

.stage-group {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
}

.stage-group h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.stage-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-options button {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

/* 🎃 ハロウィンカラー */
.stage-group.halloween button {
  background: #ff7f00;
}
.stage-group.halloween button:hover {
  background: #e56e00;
}

/* 🎄 クリスマスカラー */
.stage-group.christmas button {
  background: #33ccff;
}
.stage-group.christmas button:hover {
  background: #1ba9d8;
}

/* ===================== */
/* ハードモード広告BOX */
/* ===================== */

#hardmode-box {
  margin-top: 25px;
  background: rgba(0, 0, 0, 0.65);
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

#hardmode-box p {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #ffcc00;
  font-weight: bold;
  text-shadow: 1px 1px 4px #000;
}

#hardmode-box button {
  margin-top: 6px;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(180deg, #ff4444, #990000);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

#hardmode-box button:hover {
  background: linear-gradient(180deg, #ff6666, #b30000);
  transform: scale(1.05);
}

#hardmode-status {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #66ff99;
  font-weight: bold;
}

/* ===================== */
/* 💀 ハードモードボタン */
/* ===================== */

.hard-btn {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.85), rgba(0, 0, 0, 0.85)) !important;
  color: #fff;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 6px #000;
  box-shadow: 0 0 15px rgba(255, 50, 50, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulseGlow 1.8s infinite;
}

.hard-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(255,80,80,0.9), rgba(20,0,0,0.9)) !important;
  box-shadow: 0 0 25px rgba(255,100,100,0.8);
}

/* 光のゆらぎアニメーション */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 80, 80, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
  }
}

/* ===================== */
/* ハードモード背景演出 */
/* ===================== */

body.hard-active {
  background: radial-gradient(circle at center, rgba(255,0,0,0.15), rgba(0,0,0,0.9));
  transition: background 1s ease;
}

/* ===================== */
/* 共通：非表示制御 */
/* ===================== */

.hidden {
  display: none;
}

/* ===================== */
/* ハードモードエリア */
/* ===================== */
#hardmode-box {
  text-align: center;
  margin: 5px auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 475px;
}

#hardmode-status {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

#hardmode-box small {
  display: block;
  font-size: 0.85rem;
  color: #444;
  margin: 2px 0;
}

.hardmode-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hardmode-buttons button {
  border: none;
  border-radius: 8px;
  background: #ff9800;
  color: #fff;
  font-weight: bold;
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.2s;
}

.hardmode-buttons button:hover {
  opacity: 0.9;
  transform: scale(1.03);
}


