/* Typography */
.font-serif { font-family: 'Cinzel', serif; }
.font-sans { font-family: 'Nunito', sans-serif; }

html {
    scroll-behavior: smooth;
}

/* Modal Animation */
.modal-anim {
    animation: fadeScale 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeScale {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* Custom Genshin Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent; 
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(211, 188, 142, 0.3); 
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(211, 188, 142, 0.8); 
}

/* Clean Hover Effects for the Grid Cards */
.card-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 2px transparent;
    transition: box-shadow 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}
.card-hover:hover::after {
    box-shadow: inset 0 0 0 2px #d3bc8e;
}