.showcase {
    background-color: var(--neutral-50);
    padding: var(--space-3xl) 0;
}

.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.book-card {
    background-color: #fff;
    border-radius: 6px 12px 12px 6px;
    box-shadow: 0 8px 24px 0 rgba(0,0,0,0.12), 0 0 0 6px #fff inset, 6px 0 12px -6px #bfa16b inset;
    border-left: 8px solid #bfa16b;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1);
    cursor: pointer;
    position: relative;
    opacity: 1;
    z-index: 1;
}

.book-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 12px;
    height: 100%;
    background: linear-gradient(90deg, #fff 60%, #e6e0d6 100%);
    border-radius: 0 12px 12px 0;
    z-index: 2;
    box-shadow: 2px 0 6px 0 rgba(0,0,0,0.08);
    pointer-events: none;
}

.book-card:hover {
    transform: rotateY(8deg) rotateZ(2deg) scale(1.04);
    box-shadow: 0 16px 32px 0 rgba(0,0,0,0.18), 0 0 0 8px #fff inset, 8px 0 16px -8px #bfa16b inset;
    z-index: 2;
}

.book-image-container {
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.book-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.book-info {
    padding: var(--space-lg);
}

.book-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--neutral-800);
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    min-height: 3rem;
}

.book-date {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* Search and filter bar styles */
.books-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.books-filters input[type="text"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-200, #e0e0e0);
    font-size: 1rem;
    background: #fff;
    transition: border 0.2s;
}
.books-filters input[type="text"]:focus {
    border: 1.5px solid var(--primary-400, #7b61ff);
    outline: none;
}

.books-filters select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-200, #e0e0e0);
    font-size: 1rem;
    background: #fff;
    transition: border 0.2s;
}
.books-filters select:focus {
    border: 1.5px solid var(--primary-400, #7b61ff);
    outline: none;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .books-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .books-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--space-lg);
    }
    
    .book-info {
        padding: var(--space-md);
    }
    
    .book-title {
        font-size: 1.1rem;
    }

    .books-filters {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
}