.reading-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.book-layout {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    position: relative;
}

.book-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2d3748;
}

.text-content {
    cursor: pointer;
}

.text-content::selection {
    background-color: rgba(237, 137, 54, 0.2);
}

.speech-bubble {
    position: absolute;
    background: white;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    color: #2d3748;
    z-index: 1000;
    animation: bubblePopup 0.3s ease-out;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: white transparent transparent;
}

@keyframes bubblePopup {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.book-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.book-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.book-header h3 {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 1rem;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.book-summary {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #ed8936;
}

.book-summary h4 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.book-summary p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.translation-text {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.translation-text h4 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.translation-text div {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .book-layout {
        padding: 1.5rem;
    }
    .book-content {
        font-size: 1.1rem;
    }
    .book-header h1 {
        font-size: 1.5rem;
    }
    .book-header h3 {
        font-size: 1rem;
    }
    .book-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .book-summary {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .reading-container {
        padding: 0 0.5rem;
    }
    .book-layout {
        padding: 1rem;
        border-radius: 10px;
    }
    .book-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
}