body {
    margin: 0;
    padding: 20px;
    background-color: #f5f1e8;
    font-family: 'Times New Roman', serif;
}

.bookshelf {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #e0d5c5;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.book {
    display: inline-block;
    width: 150px;
    height: 220px;
    margin: 0 25px 25px 0;
    position: relative;
    vertical-align: top;
    transition: transform 0.3s;
}

.book-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    border-radius: 2px 5px 5px 2px;
    position: relative;
    overflow: hidden;
}

.book-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 20%);
}

.book-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    font-size: 14px;
}

.book:hover {
    transform: translateY(-10px);
}

h1 {
    text-align: center;
    color: #5a4a3a;
    margin-bottom: 30px;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: rgba(139, 115, 85, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    z-index: 100;
    transition: all 0.3s;
}

.back-button:hover {
    background: rgba(109, 95, 65, 0.9);
    transform: translateX(-3px);
}

.back-button::before {
    content: "←";
    margin-right: 5px;
}        
