/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #121212;
    color: #E0E0E0;
    line-height: 1.8;
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s;
}

a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #FFA500;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid #333;
}

header h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F5F5F5;
}

.intro {
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: #CFCFCF;
}

.book {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 50px;
    border-left: 4px solid #444;
    padding-left: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.book:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.book img {
    width: 140px;
    height: 210px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.book img:hover {
    transform: scale(1.05);
}

.book-content {
    flex: 1;
}

.book-content h2 {
    color: #FFD700;
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.book-content p {
    margin-bottom: 10px;
    color: #D0D0D0;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding: 25px 0;
    border-top: 2px solid #333;
    color: #888;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .book img {
        width: 130px;
        height: 195px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    .book {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
        border-left: none;
        border-top: 4px solid #444;
        padding-top: 15px;
    }

    .book img {
        width: 150px;
        height: 225px;
        margin-bottom: 15px;
    }

    .book-content h2 {
        font-size: 1.4rem;
    }

    .intro {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .book-content h2 {
        font-size: 1.3rem;
    }

    .book img {
        width: 120px;
        height: 180px;
    }
}
