body {
    background-color: #111827;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 20px 20px;
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, .font-cinzel {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #d4af37; /* subtle gold accent for mystical tone */
}

.tarot-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35), 0 0 20px rgba(147, 197, 253, 0.15);
}

.tarot-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(236, 179, 255, 0.5);
}

.btn-primary {
    background-color: #2b2340; /* deep indigo */
    color: #f8efc3; /* warm off-white */
    font-weight: 700;
    padding: 0.5rem 1.5rem; border-radius: 0.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.45), 0 0 8px rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.12); /* gold outline */
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-primary:hover { background-color: #6d28d9; transform: scale(1.03); box-shadow: 0 15px 25px rgba(0,0,0,0.35); }

.btn-primary[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.section-card {
    background: rgba(31,41,55,0.6);
    border: 1px solid #374151; border-radius: 0.75rem; padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
}

/* For animated card drawing */
.card-container-enter {
  opacity: 0;
  transform: translateY(20px);
}
.card-container-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease-in, transform 500ms ease-in;
}
.card-container-exit {
  opacity: 1;
}
.card-container-exit-active {
  opacity: 0;
  transition: opacity 300ms ease-in;
}

.ad-placeholder {
    background: rgba(55,65,81,0.5);
    border: 2px dashed #6b7280; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center; color: #9ca3af;
    padding: 1rem;
}