.mystical-glow {
    box-shadow: 0 0 15px 5px rgba(125, 78, 250, 0.3);
}
.book-binding {
    border-left: 12px solid #7d4efa;
}
.oil-painting-frame {
    border: 8px solid #5b4300;
    outline: 2px solid #fabd00;
    box-shadow: 0 10px 20px rgba(0,0,0,0.8), inset 0 0 10px rgba(0,0,0,0.5);
}
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes float-animation {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(4deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.animate-float {
    animation: float-animation 6s ease-in-out infinite;
}
.animate-float-slow {
    animation: float-animation 8s ease-in-out infinite;
}
.animate-float-fast {
    animation: float-animation 4.5s ease-in-out infinite;
}

/* Sliding Underline Indicator */
#nav-indicator {
    bottom: -2px;
    height: 2px;
    background-color: #ffdf9e;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.scroll-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for card grids */
.scroll-stagger-1 { transition-delay: 0.1s; }
.scroll-stagger-2 { transition-delay: 0.2s; }
.scroll-stagger-3 { transition-delay: 0.3s; }
.scroll-stagger-4 { transition-delay: 0.4s; }

/* Scale-up variant for hero elements */
.scroll-hidden-scale {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-hidden-scale.scroll-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
