﻿.book-cover {
    width: 220px;
    height: 330px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes toRed {
    0% {
        background-color: rgba(0, 0, 0, 0.8);
    }

    100% {
        background-color: rgba(255, 0, 0, 0.8);
    }
}

@keyframes toDark {
    0% {
        background-color: rgba(255, 0, 0, 0.8);
    }

    100% {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

.audiobook-badge {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 8px 16px;
    border-radius: 32px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 0 8px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    transition: background-color 0.5s ease-in-out;
    zoom:65%;
}

    .audiobook-badge:hover {
        filter: brightness(1.1);
    }

@media (max-width: 500px) {
    .audiobook-badge {
        transform: translate(-50%, -50%) scale(1.0);
        padding: 6px 12px;
        bottom:0%;
    }
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

    .badge-icon i {
        font-size: 1.4rem;
        line-height: 1;
    }

.badge-label {
    font-size: 0.85rem;
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
}
