
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card {
  width: 110px;
  height: 160px;
  border-radius: 8px;
  border: 2px solid #ffcc00;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.shuffle-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0 3rem;
}

#shuffleButton {
  background-color: #b91c1c;
  color: white;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

#shuffleButton:hover {
  background-color: #991b1b;
}

.section-title {
  background-color: #e2e8f0;
  padding: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 2rem;
  border-radius: 8px;
}

.section-text {
  color: #4b5563;
  font-size: 1.125rem;
  margin-top: 1rem;
  text-align: left;
  line-height: 1.6;
}

.section-list {
  color: #4b5563;
  font-size: 1.125rem;
  margin: 1rem 0 3rem 2.5rem;
  list-style-type: decimal;
  line-height: 1.7;
}

/* Shuffle Animation */
@keyframes shuffleAnimation {
  0% { transform: translate(0, 0); }
  100% { transform: translate(var(--target-x), var(--target-y)); }
}

.shuffle-animation {
  animation: shuffleAnimation 1s ease-in-out;
}

@media (max-width: 768px) {
   .card {
   width: auto;
    height: 150px;
    border-radius: 8px;
    border: 2px solid #ffcc00;
    transition: transform 0.3s 
ease, box-shadow 0.3s 
ease;
    cursor: pointer;
}

}