/* Samuel's Index - Styling Design System */

:root {
    /* Color Palette - Premium Slate & Purple Gold */
    --bg-primary: #0a0f1d;
    --bg-secondary: rgba(20, 26, 45, 0.65);
    --bg-card: rgba(30, 41, 59, 0.45);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-color: #8b5cf6; /* Indigo/Purple */
    --accent-light: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.15);
    
    --highlight-text: #f59e0b; /* Amber/Gold */
    --highlight-bg: rgba(245, 158, 11, 0.12);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 60px; /* footer offset */
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* APP HEADER */
.app-header {
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 70px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-icon {
    font-size: 24px;
    color: var(--accent-light);
    filter: drop-shadow(0 0 8px var(--accent-color));
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-text .tagline {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* MAIN CONTAINER */
.main-container {
    max-width: 1400px;
    margin: 100px auto 0;
    padding: 0 40px;
}

/* SECTIONS */
.app-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.app-section.active-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title .subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

/* EXPLORER SECTION STYLE */
.hero-text {
    text-align: center;
    margin: 40px auto 30px;
    max-width: 700px;
}

.hero-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* SEARCH BOX */
.search-card-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-box-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.search-box-wrapper:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.search-icon {
    font-size: 18px;
    color: var(--text-muted);
    margin-right: 15px;
}

#search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-sans);
    flex-grow: 1;
    outline: none;
    height: 48px;
}

#search-btn {
    background: var(--accent-color);
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    padding: 0 30px;
    height: 44px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#search-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* SUGGESTIONS DROPDOWN */
.suggestions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(139, 92, 246, 0.08);
    z-index: 50;
    display: none;
    overflow: hidden;
    max-height: 380px;
    overflow-y: auto;
}

.suggestions-dropdown.visible {
    display: block;
    animation: fadeIn 0.15s ease;
}

/* Header: shows match count */
.suggestion-header {
    padding: 8px 20px 6px;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-light);
    opacity: 0.7;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1;
}

.suggestion-item {
    padding: 10px 20px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    font-size: 14px;
    font-family: var(--font-sans);
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.suggestion-item:last-of-type {
    border-bottom: none;
}

/* Bold the typed portion */
.suggestion-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

.suggestion-item:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-primary);
    padding-left: 26px;
}

/* Loading state shown while word list fetches */
.suggestion-loading {
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
    text-align: center;
}

/* Footer: "+N more — keep typing" */
.suggestion-more {
    padding: 8px 20px;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(15, 23, 42, 0.98);
    position: sticky;
    bottom: 0;
}

/* Single word vs 2-word phrase items */
.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.suggestion-label {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 2-word phrases: same style as single words */
.suggestion-phrase {
    color: var(--text-secondary);
}
.suggestion-phrase:hover {
    color: var(--text-primary);
}

/* Occurrence count badge */
.suggestion-occ {
    flex-shrink: 0;
    font-size: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 1px 7px;
    letter-spacing: 0.02em;
}




/* META INFO & TOGGLE */
.results-meta-container {
    max-width: 1320px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.stats-left {
    color: var(--text-secondary);
    font-size: 14px;
}

#searched-word-display {
    color: var(--accent-light);
    font-weight: 600;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.view-toggle-buttons {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3px;
    display: flex;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active-toggle {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.25);
}

/* LOADER */
.loader-container {
    text-align: center;
    margin: 80px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--accent-light);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESULTS TABLES */
.results-table-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.4s ease;
}

.concordance-table-view {
    width: 100%;
    overflow-x: auto;
}

.concordance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

.concordance-table th, 
.concordance-table td {
    padding: 14px 20px;
    vertical-align: middle;
}

.concordance-table th {
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-secondary);
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.concordance-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background-color 0.2s ease;
}

.concordance-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Table Column Widths & Layouts */
.col-ref {
    width: 120px;
}
.col-left-ctx {
    width: 50%;
}
.col-right-ctx {
    width: 50%;
}

.concordance-table .ref-link {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 6px;
}

.concordance-table .ref-link:hover {
    color: var(--text-primary);
    background: var(--accent-color);
}

.concordance-table td.col-left-ctx {
    font-family: var(--font-serif);
    font-size: 15px;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    white-space: pre-wrap;
    text-align: right;
}

.concordance-table td.col-right-ctx {
    font-family: var(--font-serif);
    font-size: 15px;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

/* Highlight Target Word */
.target-highlight {
    color: var(--highlight-text);
    background: var(--highlight-bg);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Words of Jesus Christ in Red */
.words-in-red {
    color: #ff4a4a;
    font-weight: 500;
}

/* Load More Button Wrapper */
.load-more-wrapper {
    padding: 30px;
    text-align: center;
}

.secondary-btn {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--accent-light);
}

/* EMPTY STATE Placeholder */
.empty-state-container {
    text-align: center;
    margin: 80px auto;
    max-width: 500px;
    color: var(--text-secondary);
    animation: fadeIn 0.4s ease;
}

.empty-icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.empty-state-container h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.empty-state-container p {
    font-size: 14px;
}

/* 3D BOOK SHOWCASE */
.store-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-top: 40px;
}

.book-showcase-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 20px;
}

.book-card-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.book-3d {
    width: 150px;
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-15deg);
    transition: transform 0.6s ease;
    cursor: pointer;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
}

.book-card-3d:hover .book-3d {
    transform: rotateY(-30deg) rotateX(10deg);
}

.book-3d .cover {
    position: absolute;
    width: 150px;
    height: 220px;
    left: 0;
    top: 0;
    z-index: 5;
    background: #2e1065; /* Deep Purple */
    border-radius: 2px 6px 6px 2px;
    transform-origin: left center;
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.book-3d.vol-1 .cover {
    background: linear-gradient(135deg, #3b0764, #1e1b4b);
}

.book-3d.vol-2 .cover {
    background: linear-gradient(135deg, #1e1b4b, #030712);
}

.book-3d .title-strip {
    border: 1px solid #f59e0b;
    border-radius: 4px;
    width: 120px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #f59e0b;
    padding: 10px;
    text-align: center;
}

.vol-tag {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.title-strip h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.2;
}

.title-strip p {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.book-3d .spine {
    position: absolute;
    width: 30px;
    height: 220px;
    background: #120024;
    left: -15px;
    top: 0;
    z-index: 4;
    transform: rotateY(-90deg) translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-text {
    transform: rotate(-90deg);
    color: #f59e0b;
    font-size: 9px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.book-3d .page-side {
    position: absolute;
    width: 30px;
    height: 216px;
    background: #fafaf9;
    right: -15px;
    top: 2px;
    z-index: 3;
    transform: rotateY(90deg) translateZ(135px);
    box-shadow: inset 2px 0 5px rgba(0,0,0,0.1);
    border-radius: 0 4px 4px 0;
}

.book-details {
    margin-top: 25px;
    text-align: center;
    max-width: 200px;
}

.book-details h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.book-details p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.book-details .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-light);
    font-family: var(--font-heading);
}

/* E-COMMERCE CHECKOUT CARD */
.purchase-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.purchase-info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.purchase-info-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}

.features-list {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: #10b981; /* Green check */
    font-size: 16px;
}

.feature-item span {
    font-size: 13px;
    color: var(--text-primary);
}

.pricing-bundle {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.bundle-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.bundle-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.old-price {
    font-size: 18px;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
}

.primary-btn {
    background: var(--accent-color);
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}

.primary-btn:hover {
    background: var(--accent-light);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

/* ABOUT SECTION */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.about-card ul {
    list-style-position: inside;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card li {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-card li strong {
    color: var(--text-primary);
}

/* MODAL OVERLAY & POPUP */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content-card {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    position: relative;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    background: rgba(15, 23, 42, 0.5);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    color: var(--accent-light);
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
}

.context-verse-item {
    margin-bottom: 18px;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.context-verse-item.target-verse {
    opacity: 1;
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
}

.verse-ref-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
    margin-bottom: 4px;
}

.verse-text-body {
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.6;
}

/* FOOTER */
/* ═══════════════════════════════════════════════
   PRAYER SECTION
═══════════════════════════════════════════════ */
.prayer-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
}

.prayer-header {
    margin-bottom: 2.5rem;
}

.prayer-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #f6d365, #fda085);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
    animation: prayerGlow 3s ease-in-out infinite alternate;
}

@keyframes prayerGlow {
    from { filter: drop-shadow(0 0 6px rgba(246, 211, 101, 0.3)); }
    to   { filter: drop-shadow(0 0 18px rgba(253, 160, 133, 0.6)); }
}

.prayer-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.prayer-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
}

/* The card */
.lords-prayer-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(246,211,101,0.04) 100%);
    border: 1px solid rgba(246, 211, 101, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2.8rem;
    text-align: left;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.lords-prayer-card::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: 1.2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 8rem;
    color: rgba(246, 211, 101, 0.08);
    line-height: 1;
    pointer-events: none;
}

.prayer-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(246, 211, 101, 0.7);
    margin-bottom: 0.8rem;
}

.prayer-title-line {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(246, 211, 101, 0.15);
}

.prayer-body {
    font-family: 'Playfair Display', Georgia, serif;
}

.prayer-line {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin: 0;
}

.prayer-stanza {
    margin-top: 1.1rem;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(246, 211, 101, 0.25);
}

.prayer-verse-num {
    font-size: 0.65rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: rgba(246, 211, 101, 0.8);
    vertical-align: super;
    margin-right: 0.25rem;
    letter-spacing: 0.02em;
}

.prayer-amen {
    margin-top: 1.8rem;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 600;
    color: rgba(246, 211, 101, 0.9);
    text-align: right;
}

/* Footnote quote */
.prayer-footnote {
    margin-top: 2rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}

.prayer-footnote .fa-dove {
    color: rgba(246, 211, 101, 0.6);
    margin-right: 0.4rem;
}

/* ─────────────────────────────────── */
.app-footer {

    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.footer-about-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-about-link:hover {
    color: var(--text-secondary);
}

.nav-svg-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
}

/* ANIMATIONS & STATES */
.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .store-layout {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .main-container {
        padding: 0 20px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .view-toggle-buttons {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .toggle-btn {
        border-radius: 10px;
    }
    
    .book-showcase-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================================================
   BIBLE READER SECTION STYLING
   ========================================================================== */
.reader-controls-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-group label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.reader-dropdown {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    min-width: 180px;
    transition: all 0.3s ease;
}

.reader-dropdown:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-glow);
}

.navigation-buttons {
    display: flex;
    gap: 12px;
}

.nav-arrow-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.nav-arrow-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.reader-text-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 50px auto;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#reader-title-display {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.reader-verses-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.reader-verse-item {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-primary);
    letter-spacing: 0.01px;
    padding: 2px 0;
}

/* Red-letter: words of Jesus Christ */
.red-letter {
    color: #c0392b;
}

.reader-verse-num {
    color: var(--accent-light);
    font-weight: 700;
    margin-right: 10px;
    font-size: 0.8em;
    vertical-align: super;
    font-family: 'Outfit', sans-serif;
}

/* ── Verse-Opening / Verse-Closing Divider Rows ───────────────────────── */
.divider-row td.divider-cell {
    padding: 6px 12px;
    text-align: center;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.10), transparent);
    border-top: 1px solid rgba(139, 92, 246, 0.25);
    border-bottom: 1px solid rgba(139, 92, 246, 0.25);
}

.divider-section-break td.divider-cell {
    background: linear-gradient(90deg, transparent, rgba(100, 116, 139, 0.10), transparent);
    border-top: 1px solid rgba(100, 116, 139, 0.20);
    border-bottom: 1px solid rgba(100, 116, 139, 0.20);
}

.divider-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    opacity: 0.75;
}

.divider-section-break .divider-label {
    color: var(--text-muted);
}

/* Tinted background for verse-opening / verse-closing entry rows */
.verse-boundary-row {
    background: rgba(139, 92, 246, 0.045) !important;
}
.verse-boundary-row:hover {
    background: rgba(139, 92, 246, 0.09) !important;
}

