
:root {
    --bg-color: #0f172a; 
    --surface-color: #1e293b;
    --accent-color: #38bdf8; 
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0; padding: 0;
    -webkit-font-smoothing: antialiased;
}

.app-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(30, 41, 59, 0.85);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr;
}

.book-selector, .lang-selector {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 8px; padding: 6px 12px;
    font-size: 1.15rem; font-weight: 700; cursor: pointer; outline: none;
    max-width: 200px; text-overflow: ellipsis;
}
.lang-selector { margin-left:10px; font-size: 1rem; }
.book-selector option, .lang-selector option { background: var(--surface-color); color: var(--text-primary); }
.book-selector optgroup { font-weight: bold; color: var(--accent-color); }

.header-subtitle { font-size: 0.85rem; color: var(--accent-color); margin: 4px 0 0 0; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.play-pause-btn {
    background: var(--accent-color); color: #0f172a; border: none; border-radius: 50%;
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4); cursor: pointer;
}
.play-pause-btn:active { transform: scale(0.95); }
.play-pause-btn .material-symbols-outlined { font-size: 36px; }

.playlist-container { padding: 20px 15px 120px 15px; max-width: 800px; margin: 0 auto; }

.chapter-item {
    background: var(--surface-color); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; margin-bottom: 20px; padding: 20px 25px;
    cursor: pointer; color: var(--text-primary); transition: all 0.2s;
}
.chapter-item.active {
    background: rgba(56, 189, 248, 0.05); border: 1px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.chapter-header { display:flex; align-items: center; margin-bottom: 15px; }
.chapter-icon { margin-right: 15px; color: var(--text-secondary); font-size: 28px; }
.chapter-item.active .chapter-icon { color: var(--accent-color); }
.chapter-title { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); }

.text-pane { margin-top: 15px; font-size: 1.15rem; line-height: 1.7; color: var(--text-secondary); }
.chapter-item.active .text-pane { color: #f8fafc; }

.fab {
    position: fixed; bottom: 30px; border: none; border-radius: 50%;
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    background: rgba(30, 41, 59, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--text-primary); box-shadow: 0 4px 15px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2);
    z-index: 900; cursor: pointer;
}
.fab:disabled { opacity: 0.3; cursor: not-allowed; }
.fab-prev { left: 20px; } .fab-next { right: 20px; }

p.verse { margin-bottom: 8px; }
sup.v-num { color: var(--accent-color); font-weight: bold; margin-right: 5px; font-size: 0.8em; }

/* Modal Styles Extracted */
.modal-content.app-modal {
    background: var(--surface-color);
    color: var(--text-primary);
}
.app-modal .instructions-list { color: var(--text-secondary); }
.app-modal-btn { background: var(--accent-color); color: var(--bg-color); }
.help-btn {
    background: transparent; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: color 0.2s, background 0.2s;
}
.help-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.1); }
.nav-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
