@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Lato:wght@300;400;700&display=swap');

body {
    font-family: 'Lato', sans-serif;
    background-color: #fbfaf8; /* Warm parchment off-white */
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Cinzel', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #d8b4fe; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a855f7; 
}

/* Card Hover Effects */
.arcana-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.arcana-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.15), 0 8px 10px -6px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Sidebar "Book Spine" Effect */
.sidebar-nav {
    box-shadow: 5px 0 15px rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
}

/* Tool Container */
.tool-stage {
    min-height: 600px;
    background: white;
    border-radius: 1rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    border: 1px solid #f3f4f6;
}

.nav-item.active {
    background-color: #f3f4f6;
    color: #7c3aed;
    border-right: 3px solid #7c3aed;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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