#book-details-view { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 4rem; max-width: 1400px; margin: 0 auto; width: 100%; } .book-top-nav { display: flex; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--border); } .back-btn-large { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: 0.2s; padding: 0.5rem 1rem; border-radius: var(--radius-md); } .back-btn-large:hover { color: var(--text-primary); background: var(--bg-surface-hover); } .book-layout-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; } .book-left-col { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 20px; } .book-poster-large { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 15px 40px rgba(0,0,0,0.6); aspect-ratio: 2/3; object-fit: cover; border: 1px solid var(--border); background: #111; } .book-title-sidebar { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin: 0; color: var(--text-primary); text-align: center; word-wrap: break-word; } .book-chapters-column { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; } .chapter-table-container { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; } .chapter-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.2s; } .chapter-row:last-child { border-bottom: none; } .chapter-row:hover { background: var(--bg-surface-hover); } .chapter-main-text { font-weight: 600; font-size: 1rem; color: var(--text-primary); } .chapter-sub-text { font-size: 0.9rem; color: var(--text-tertiary); } .pagination-bar { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 1rem; padding-top: 1rem; } .page-btn { background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-primary); padding: 0.5rem 1.5rem; border-radius: var(--radius-md); cursor: pointer; font-weight: 500; transition: 0.2s; } .page-btn:hover:not(:disabled) { background: var(--bg-surface-hover); border-color: var(--accent); } .page-btn:disabled { opacity: 0.4; cursor: not-allowed; } #reader-view { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 200; background: #0d0d0d; overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding-top: 60px; } .reader-page-img { max-width: 100%; width: auto; display: block; margin-bottom: 0; box-shadow: 0 0 20px rgba(0,0,0,0.5); } .reader-text-content { max-width: 900px; width: 95%; color: #e4e4e7; font-size: 1.1rem; line-height: 1.8; padding: 2rem; background: #18181b; margin-bottom: 4rem; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); } .reader-text-content p { margin-bottom: 1.5rem; } .reader-close-btn { position: fixed; top: 20px; left: 20px; z-index: 210; background: rgba(0,0,0,0.8); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 10px 20px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; backdrop-filter: blur(4px); } .reader-close-btn:hover { background: var(--accent); border-color: var(--accent); } .loading-state { text-align: center; padding: 4rem; color: var(--text-tertiary); } .image-entry[data-type="book"] { aspect-ratio: 2/3; background: #1a1a1a; display: block; position: relative; cursor: pointer; overflow: hidden; } .image-entry[data-type="book"] img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: filter 0.3s ease, transform 0.3s ease; } .image-entry[data-type="book"]:hover img { filter: blur(4px) brightness(0.7); transform: scale(1.05); } .book-read-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; color: white; z-index: 10; } .image-entry[data-type="book"]:hover .book-read-overlay { opacity: 1; } .book-read-overlay span { font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); } .book-read-overlay svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8)); color: var(--accent); } .image-entry[data-type="book"]::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.1); border-radius: inherit; pointer-events: none; }