.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(249, 248, 240, 0.15) 45%,
        rgba(249, 248, 240, 0.25) 50%,
        rgba(249, 248, 240, 0.15) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn-shine:hover::after {
    transform: translateX(100%);
}

.nav-fade {
    opacity: 0;
}

#lightbox {
    opacity: 0;
    transition: opacity 0.3s ease;
}
#lightbox.active {
    display: flex !important;
    opacity: 1;
}
#lightbox img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes path-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}
.floating-paths path {
    animation: path-pulse var(--path-duration, 25s) ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-scroller,
    .floating-paths path {
        animation: none !important;
    }
}
