
body {
  background-image: url('/tarot/reading/bg-tarot.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  font-family: 'Sarabun', sans-serif;
  color: #2d1b00;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1 {
  text-align: center;
  font-size: 2rem;
  color: #6b3e26;
  margin-top: 1.5rem;
  text-shadow: 1px 1px 2px #dac8b5;
}

.draw-button {
  display: inline-block;
  margin: 20px auto;
  padding: 12px 24px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #ffb347, #ffcc33);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.draw-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.hidden {
    display: none !important;
}

.card-box {
  text-align: center;
  margin-top: 30px;
  padding: 10px;
  animation: cardFade 1s ease;
}

@keyframes cardFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-box img {
  width: 240px;
  border-radius: 12px;
  border: 3px solid #c2b49a;
  box-shadow: 0 0 15px rgba(136, 85, 36, 0.4);
  transition: transform 0.4s ease;
}

.card-box img:hover {
  transform: scale(1.03);
}

.card-box h2 {
  font-size: 1.5rem;
  color: #3d1f00;
  margin-top: 15px;
}

.result-link {
  display: inline-block;
  background: linear-gradient(135deg, #f6e2b3, #d1a754);
  border: 2px solid #a57e38;
  color: #5c3700;
  font-weight: bold;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 10px;
  font-family: 'Sarabun', serif;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  background-color: #fffdf7 ; /* ถ้ามีพื้นหลังลายไทย */
  background-size: cover;
  transition: all 0.3s ease;
}

.result-link:hover {
  background-color: #e5c27d;
  color: #3d2400;
  transform: scale(1.03);
  text-shadow: 1px 1px 1px #fff0d5;
}

