* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #fff7b2, #a8e063);
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            padding: 20px;
            overflow: hidden;
        }

        .book {
            position: relative;
            width: 300px;
            max-width: 90%;
            height: 400px;
            perspective: 1000px;
        }

        .cover {
            width: 100%;
            height: 100%;
            background-color: salmon;
            position: absolute;
            transform-origin: left;
            transform: rotateY(0deg);
            transition: transform 1s ease-in-out;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            z-index: 999;
        }
        .cover img {
            width: 300px;
            max-width: 90%;
            height: 400px;
            /*perspective: 1000px;*/
        }

        .book:hover .cover {
            transform: rotateY(-180deg);
        }

        .inner {
            width: 100%;
            height: 100%;
            background: white;
            position: absolute;
            left: 0;
            top: 0;
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
            padding: 20px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            text-align: center;
        }

        .inner h1 {
            font-size: 1.8rem;
            color: #2f4858;
            margin-bottom: 10px;
        }

        .inner p {
            font-size: 1rem;
            color: #555;
            margin-bottom: 20px;
        }

        .inner .details {
            margin-top: 15px;
            font-size: 0.9rem;
            color: #777;
        }
        .inner img {
            width: 230px;
        }
        .inner .osim {
            font-size: 11px;
            font-style: italic;
        }
        
        .popper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.book:hover .popper {
    opacity: 1;
}

.popper span {
    width: 6px;
    height: 6px;
    margin: 4px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #a8e063, #fff7b2);
    border-radius: 50%;
    animation: popper-anim 1s ease-out infinite;
}

.popper span:nth-child(odd) {
    animation-duration: 1.2s;
}

.popper span:nth-child(even) {
    animation-duration: 1.4s;
}

@keyframes popper-anim {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5) translateY(-10px);
    }
    100% {
        opacity: 0;
        transform: scale(2) translateY(-20px);
    }
}


        @media (max-width: 480px) {
            .inner h1 {
                font-size: 1.5rem;
            }

            .inner p {
                font-size: 0.9rem;
            }
        }