.stc-wrapper-51fabaee {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
    padding: 40px 0;
}

.stc-stack-51fabaee {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.stc-card-51fabaee {
    position: absolute;
    width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
    cursor: pointer;
    user-select: none;
    will-change: transform, opacity;
}

.stc-image-area-51fabaee {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.stc-image-area-51fabaee img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.stc-content-area-51fabaee {
    padding: 24px;
}

.stc-header-51fabaee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stc-title-51fabaee {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.stc-rating-51fabaee {
    color: #FFC107;
    font-size: 18px;
}

.stc-star-empty {
    opacity: 0.3;
}

.stc-desc-51fabaee {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-style: italic;
    opacity: 0.9;
}

/* Transition classes */
.stc-card-51fabaee.is-top {
    transform: translateZ(50px) rotate(0deg) scale(1);
    z-index: 10;
    opacity: 1;
}

.stc-card-51fabaee.is-middle {
    transform: translateZ(25px) translateY(-15px) rotate(-3deg) scale(0.95);
    z-index: 9;
    opacity: 0.8;
}

.stc-card-51fabaee.is-bottom {
    transform: translateZ(0) translateY(-30px) rotate(3deg) scale(0.9);
    z-index: 8;
    opacity: 0.6;
}

.stc-card-51fabaee.is-hidden {
    transform: translateZ(-25px) translateY(-45px) scale(0.85);
    z-index: 7;
    opacity: 0;
    pointer-events: none;
}

/* Exit Animations */
.stc-wrapper-51fabaee[data-direction="left"] .stc-card-51fabaee.is-exiting {
    transform: translateX(-150%) translateY(100px) rotate(-15deg);
    opacity: 0;
    z-index: 11;
}

.stc-wrapper-51fabaee[data-direction="right"] .stc-card-51fabaee.is-exiting {
    transform: translateX(150%) translateY(100px) rotate(15deg);
    opacity: 0;
    z-index: 11;
}