.flipbook-container-0f07d067 {
    --book-width: 1000px;
    --book-height: 600px;
    --image-fit: cover;
    
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    perspective: 2500px;
}

.flipbook-wrapper-0f07d067 {
    width: 100%;
    max-width: var(--book-width);
    aspect-ratio: var(--book-width) / var(--book-height);
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.flipbook-0f07d067 {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
    transform-style: preserve-3d;
}

.leaf-0f07d067 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.leaf-0f07d067.flipped-0f07d067 {
    transform: rotateY(-180deg);
}

.page-0f07d067 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    background: #fff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-back-0f07d067 {
    transform: rotateY(180deg);
}

.page-0f07d067 img {
    width: 100%;
    height: 100%;
    object-fit: var(--image-fit);
    display: block;
    pointer-events: none;
}

.page-shadow-0f07d067 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: background 0.8s ease;
}

/* Subtle shadows along the spine */
.page-front-0f07d067 .page-shadow-0f07d067 {
    background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 10%);
}
.page-back-0f07d067 .page-shadow-0f07d067 {
    background: linear-gradient(to left, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 10%);
}

.leaf-0f07d067.flipped-0f07d067 .page-front-0f07d067 .page-shadow-0f07d067 {
    background: rgba(0,0,0,0.15);
}
.leaf-0f07d067:not(.flipped-0f07d067) .page-back-0f07d067 .page-shadow-0f07d067 {
    background: rgba(0,0,0,0.15);
}
