* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Open Sans", Arial, sans-serif; font-size: 16px; background-color: #1A1625; min-height: 100vh; }
footer { margin-top: 16px; padding: 32px 12px; border-top: 2px solid #3A3449; background-color: #1A1625; text-align: center; color: #8A8196; font-size: 0.9rem; }
header { background-color: rgba(42, 37, 56, 0.7); backdrop-filter: blur(8px); color: #F8F7FC; padding: 16px; position: sticky; top: 0; z-index: 10; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
main { padding: 16px 16px 32px; }
svg { width: 20px; height: 20px; }

.back-button { padding: 4px; background: none; border: none; color: #C4BDD0; cursor: pointer; border-radius: 4px; display: flex; align-items: center; }
.back-button:hover { background-color: #3A3449; }
.back-button svg { fill: #C4BDD0; }
.book-card { background-color: #2A2538; padding: 12px; border-radius: 8px; text-align: left; cursor: pointer; border: none; width: 100%; transition: background-color 0.2s; }
.book-card:hover { background-color: #3A3449; }
.book-chapters { font-size: 12px; color: #8A8196; }
.book-name { font-weight: 500; color: #DDD8E4; margin-bottom: 4px; }
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.category-section { margin-bottom: 24px; }
.category-title { font-size: 12px; font-weight: 600; color: #8A8196; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.chapter-button { display: flex; position: relative; aspect-ratio: 1; background-color: #2A2538; color: #DDD8E4; border-radius: 8px; border: none; font-weight: normal; cursor: pointer; transition: background-color 0.2s; align-items: center; justify-content: center; font-size: 16px; text-decoration: none; }
.chapter-button:hover { background-color: #3A3449; }
.chapter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.chapter-nav { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0px; padding-top: 16px; padding-left: 16px; padding-right: 16px; max-width: 600px; margin: 0 auto; gap: 12px; }
.empty-state { text-align: center; padding: 48px 16px; color: #6b7280; }
.filter-button { padding: 6px 12px; border-radius: 9999px; border: none; font-size: 14px; cursor: pointer; transition: all 0.2s; background-color: #1A1625; color: #DDD8E4; }
.filter-button.active { background-color: #A79DB5; color: #1A1625; }
.footer-content p { margin: 8px 0; }
.header-content { display: flex; align-items: center; gap: 8px; }
.header-subtitle { font-size: 12px; color: #A79DB5; }
.header-title { font-size: 18px; font-weight: 600; }
.hidden { display: none !important; }
.logo-link { color: inherit; text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.logo-link svg { width: 24px; height: 24px; display: block; stroke: #F8F7FC; }
.nav-link { display: flex; align-items: center; gap: 8px; background-color: #2A2538; color: #DDD8E4; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 300; transition: background-color 0.2s, color 0.2s; flex: 1; justify-content: center; }
.nav-link:hover { background-color: #3A3449; color: #FFFFFF; }
.nav-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.note-date { font-size: 14px; color: #A79DB5; margin-top: 4px; }
.note-item { background-color: #2A2538; padding: 12px; border-radius: 8px; margin-bottom: 6px; }
.notes-list { display: none; }
.notes-list.expanded { display: block; }
.notes-section { margin-top: 8px; margin-left: 32px; }
.notes-toggle { display: flex; align-items: center; gap: 4px; background: none; border: none; color: #8A8196; font-size: 14px; font-weight: 500; cursor: pointer; padding: 4px; margin-bottom: 6px; }
.notes-toggle:hover { color: #C4BDD0; }
.note-text { font-size: 14px; color: #DDD8E4; }
.section-divider { border: 0; height: 2px; background: #3A3449; margin: 32px 0; width: 100%; }
.section-title { font-size: 14px; font-weight: 600; color: #C4BDD0; margin-bottom: 12px; }
.testament-filters { display: flex; gap: 8px; }
.verse-container { margin-bottom: 6px; }
.verse-content { display: flex; gap: 12px; padding: 8px; border-radius: 8px; background-color: #1F1B2E; cursor: pointer; transition: background-color 0.2s; }
.verse-content.has-notes { border-left: 2px solid #8A8196; }
.verse-content.selected { background-color: #2A2538; }
.verse-number { color: #8A8196; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.verse-text { color: #DDD8E4; font-size: 16px; line-height: 1.6; }

@media only screen and (min-width: 601px) and (max-width: 1024px) {
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chapter-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.testament-filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

@media only screen and (max-width: 600px) {
.books-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chapter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chapter-nav { padding: 16px 12px 0px; }
.nav-link { font-size: 13px; padding: 8px 12px; }
.notes-list { display: none; width: 100%; }
.notes-section { margin-top: 8px; margin-left: 16px; display: flex; flex-direction: column; align-items: flex-end; }
.notes-toggle { display: flex; align-items: center; gap: 4px; background: none; border: none; color: #8A8196; font-size: 14px; font-weight: 500; cursor: pointer; padding: 4px; margin-bottom: 6px; text-align: right; }
.testament-filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/*
Dark 11: #121212
Dark 10: #1A1625
Dark 09: #1F1B2E
Dark 08: #2A2538
Dark 07: #3A3449
Light 06: #8A8196
Light 05: #A79DB5
Light 04: #C4BDD0
Light 03: #DDD8E4
Light 02: #EEEAF3
Light 01: #F8F7FC
Light 00: #FFFFFF
*/
