.shutter-slice {
    transform-origin: bottom;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.shutter-slice:nth-child(odd) {
    transform-origin: top;
}

/* Text Stroke for Watermark */
.text-stroke {
    -webkit-text-stroke: 1px #a9a9a9;
    color: transparent;
    opacity: 0.2;
}

/* Infinite Scroll Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Moves half way (one set of items) */
}

.animate-marquee-infinite {
    animation: marquee 40s linear infinite;
    width: max-content;
    /* Ensure container fits all items */
}

/* Pause on Hover */
.hover\:pause:hover {
    animation-play-state: paused;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.skeleton {
    background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
    background-size: 1000px 100%;
}

/* Book Spine Effect */
.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 10;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Text Stroke */
.text-stroke {
    -webkit-text-stroke: 1px #a9a9a9;
    color: transparent;
    opacity: 0.2;
}

.skeleton {
    background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
    background-size: 1000px 100%;
}

/* Drawer Transitions */
.drawer-open {
    transform: translateX(0);
}

.drawer-closed {
    transform: translateX(100%);
}

.backdrop-open {
    opacity: 1;
    pointer-events: auto;
}

.backdrop-closed {
    opacity: 0;
    pointer-events: none;
}

/* Pagination Active State */
.page-btn.active {
    color: #008a8a;
    font-weight: bold;
    border-color: #008a8a;
}

