/* Font Awesome optimization - suppress glyph bbox warnings */
.fa, .fas, .far, .fal, .fab {
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background gradient effect */
.bg-gradient-animate {
    background: linear-gradient(-45deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

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

/* Blob animation */
.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

/* Floating animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Pulse animation */
.animate-pulse-subtle {
    animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Slide up animation */
.animate-slide-up {
    animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fade in animation */
.animate-fade-in {
    animation: fade-in 0.5s ease-out forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Common layout styles */
.page-container {
    min-height: 100vh;
    background-color: rgb(15, 23, 42);
    color: rgb(209, 213, 219);
}

.content-wrapper {
    padding-top: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

/* Card styles */
.glass-card {
    background-color: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Button styles */
.btn-primary {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: rgba(37, 99, 235, 0.2);
    color: rgb(96, 165, 250);
    border: 1px solid rgba(37, 99, 235, 0.3);
    transition: all 300ms;
}

.btn-primary:hover {
    background-color: rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: rgba(51, 65, 85, 0.5);
    color: rgb(209, 213, 219);
    transition: all 300ms;
}

.btn-secondary:hover {
    background-color: rgba(51, 65, 85, 0.8);
    color: white;
}

/* Link styles */
.nav-link {
    color: rgb(209, 213, 219);
    transition: color 300ms;
}

.nav-link:hover {
    color: rgb(96, 165, 250);
}

/* Grid layouts */
.grid-cols-auto-fit {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
