/* style.css：TalkSea° 全体のデザイン */

/* 1. 最初の画面：背景のクラゲをふわふわ動かす */
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  background-image: url("wallpaper.png");
  background-size: 250px; /* クラゲの大きさ */
  animation: floatBackground 20s linear infinite; /* ふわふわ動かすアニメーション */
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* 背景が斜めにゆっくり動く魔法のコード */
@keyframes floatBackground {
  0% { background-position: 0 0; }
  100% { background-position: 250px 500px; }
}

/* 2. 真ん中の箱を「白で抜く」透明でおしゃれなデザイン */
.container {
  background: rgba(255, 255, 255, 0.85); /* 白で抜いて、後ろを少し透けさせる */
  padding: 30px;
  border-radius: 20px; /* 角を丸くして可愛く */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* 優しい影をつける */
  text-align: center;
  max-width: 400px;
  width: 90%;
}

/* 3. 【解決策】チャットが始まったら背景をすっきり無地にする */
body.in-chat {
  background-image: none !important;
  background-color: #f0f7f9; /* 目に優しいスッキリした薄い青無地 */
}

/* ボタンのデザイン（押しやすく可愛く） */
.start-btn {
  background-color: #ff4757;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}
.start-btn:active {
  transform: scale(0.95);
}
