@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.prose {
    color: #374151;
}

.prose a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.prose a:hover {
    text-decoration: underline;
}

.dark .prose {
    color: #e5e7eb;
}

.dark .prose a {
    color: #818cf8;
}

/* Animation for content cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth transitions for dark mode */
html {
    transition: background-color 0.3s ease;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4f46e5;
}

::-webkit-scrollbar-thumb:hover {
    background: #a5b4fc;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

/* Selection styles */
::selection {
    background: #c7d2fe;
    color: #1e1b4b;
}

.dark ::selection {
    background: #6366f1;
    color: #eef2ff;
}