
/* Animated gradient background */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animation classes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.animate-fade-in-down {
    animation: fadeInDown 0.3s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.3s ease-out forwards;
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(-45deg, #9b5de5, #f15bb5, #fee440, #00bbf9, #00f5d4);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
    margin: 0;
    color: white;
    transition: background 0.3s ease;
    opacity: 0;
    transition: opacity 0.5s ease;
}
/* Dark mode styles */
.dark body {
    background: linear-gradient(-45deg, #1a1a2e, #4a148c, #880e4f, #01579b, #006064);
color: #f8f9fa;
}

.dark .bg-white {
    background-color: rgba(26, 32, 44, 0.8) !important;
    border-color: rgba(74, 85, 104, 0.5);
}
/* Override text colors for better visibility */
.text-gray-900, .text-gray-700, .text-gray-500 {
    color: white !important;
}

/* Card backgrounds with slight transparency */
.bg-white {
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer background */
.footer {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom code block styling */
code {
    font-family: 'Fira Code', monospace;
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

/* Custom shadow for cards */
.shadow-custom {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}