.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: slideDown 0.8s ease-out;
}

.ambient-shadow {
    box-shadow: 0 10px 40px rgba(113, 85, 118, 0.1);
}

.card-hover:hover {
    box-shadow: 0 20px 50px rgba(113, 85, 118, 0.15);
    transform: translateY(-4px);
}

/* ==================== KEYFRAME ANIMATIONS ==================== */

/* Slide Down - for navigation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In - general fade in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slide Up - content coming from bottom */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Left - content from left side */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right - content from right side */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Float - gentle vertical floating motion */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Bounce - bouncy entrance */
@keyframes bounce {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Rotate Float - spinning float effect */
@keyframes rotateFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Pulse Glow - glowing pulse effect */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(113, 85, 118, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(113, 85, 118, 0);
    }
}

/* Shimmer - light shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Swing - gentle swinging motion */
@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* ==================== ANIMATION UTILITIES ==================== */

/* Hero Section Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

.animate-float-slow {
    animation: float 5s ease-in-out infinite;
}

.animate-float-slower {
    animation: float 6s ease-in-out infinite;
}

.animate-rotate-float {
    animation: rotateFloat 4s ease-in-out infinite;
}

/* Entrance Animations */
.animate-bounce-in {
    animation: bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-pulse-glow {
    animation: pulseGlow 2s infinite;
}

.animate-swing {
    animation: swing 2s ease-in-out infinite;
}

/* Card Animation - Staggered */
.card-entrance {
    animation: slideUp 0.6s ease-out both;
}

.card-entrance:nth-child(1) { animation-delay: 0s; }
.card-entrance:nth-child(2) { animation-delay: 0.1s; }
.card-entrance:nth-child(3) { animation-delay: 0.2s; }
.card-entrance:nth-child(4) { animation-delay: 0.3s; }
.card-entrance:nth-child(5) { animation-delay: 0.4s; }
.card-entrance:nth-child(6) { animation-delay: 0.5s; }
.card-entrance:nth-child(7) { animation-delay: 0.6s; }
.card-entrance:nth-child(8) { animation-delay: 0.7s; }

/* Book Animation - Individual Floats */
.book-float-1 {
    animation: float 4s ease-in-out infinite;
}

.book-float-2 {
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.book-float-3 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

/* Smooth Hover Transitions */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-smooth-lg {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Animations */
.btn-pulse {
    animation: pulseGlow 2s infinite;
}

.btn-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(113, 85, 118, 0.2);
}

/* Icon Animations */
.icon-spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
