
/* 全体のレイアウトと背景設定 */
body {
  margin: 0;
  padding: 20px;
  font-family: 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #1a0f2e, #3e2c66);
  color: #f0e6ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

/* タイトルの装飾 */
h1 {
  font-size: 1.6rem;
  text-align: center;
  margin: 20px 0 10px;
  color: #ffcc70;
  line-height: 1.4;
}

/* タロットカード画像 */
#card-img {
  width: 90%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 3 / 5;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: contain;
}

/* カード名 */
#card-name {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  color: #ffdd88;
}

/* 鑑定メッセージ本文 */
#card-message {
  font-size: 1rem;
  text-align: left;
  margin: 15px 5% 30px 5%;
  line-height: 1.8;
  white-space: pre-wrap;
  color: #f0e6ff;
  max-width: 720px;
  box-sizing: border-box;
}

/* フッター */
footer {
  font-size: 0.8rem;
  text-align: center;
  color: #bbbbbb;
  margin-top: auto;
  padding-bottom: 10px;
}
