.ebook-carousel-container-8f1759c5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.carousel-viewport-8f1759c5 {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-track-8f1759c5 {
    position: relative;
    width: 320px;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-card-8f1759c5 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s;
    backface-visibility: hidden;
    user-select: none;
    border: 1px solid rgba(0,0,0,0.05);
}

/* 3D Book Layout */
.book-3d-8f1759c5 {
    position: relative;
    width: 160px;
    height: 220px;
    transform-style: preserve-3d;
    transform: rotateY(-20deg) rotateX(10deg);
    transition: transform 0.5s ease;
    margin-bottom: 24px;
    cursor: pointer;
}

.carousel-card-8f1759c5:hover .book-3d-8f1759c5 {
    transform: rotateY(-5deg) rotateX(5deg) translateZ(20px);
}

.book-cover-8f1759c5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px 12px 12px 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    transform: translateZ(10px);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    z-index: 2;
}

.book-icon-8f1759c5 {
    font-size: 2.5rem;
    align-self: flex-start;
}

.book-title-8f1759c5 {
    font-size: 1.1rem;
    text-align: left;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
}

.book-subtitle-8f1759c5 {
    font-size: 0.75rem;
    opacity: 0.8;
    text-align: left;
    margin: 4px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-spine-8f1759c5 {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    transform: rotateY(-90deg) translateZ(10px);
    transform-origin: left;
    filter: brightness(0.85);
    border-radius: 4px 0 0 4px;
}

.book-pages-8f1759c5 {
    position: absolute;
    top: 3px;
    left: 10px;
    width: calc(100% - 12px);
    height: calc(100% - 6px);
    background: #fcf8f2;
    border-radius: 0 8px 8px 0;
    transform: translateZ(0px);
    box-shadow: inset -3px 0 5px rgba(0,0,0,0.1);
    border-right: 2px solid #e8e3da;
}

/* Card details */
.card-info-8f1759c5 h3 {
    font-size: 1.25rem;
    margin: 0 0 8px 0;
    color: #1e293b;
}

.card-info-8f1759c5 p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

.explore-btn-8f1759c5 {
    display: inline-block;
    padding: 8px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.explore-btn-8f1759c5:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Controls */
.carousel-controls-8f1759c5 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-btn-8f1759c5 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: background-color 0.2s, border-color 0.2s;
}

.nav-btn-8f1759c5:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.dots-container-8f1759c5 {
    display: flex;
    gap: 8px;
}

.dot-8f1759c5 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.dot-8f1759c5.active {
    background: #3b82f6;
    transform: scale(1.2);
}
