/* ═══════════════════════════════════════════
   MARMIK PATEL DESIGN: Verse Individual Page
   Sacred editorial × digital glass × ambient glow
   Prefix: bv- (bible verse)
   ═══════════════════════════════════════════ */

/* ── Ambient Orbs ── */
.bv-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.bv-orb--purple {
    top: -18%; right: -8%; width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(102,126,234,0.07) 0%, transparent 70%);
}
.bv-orb--pink {
    bottom: -12%; left: -6%; width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(240,147,251,0.05) 0%, transparent 70%);
}

/* ── Page container ── */
.bv-page {
    padding: var(--space-xl) 0 var(--space-3xl);
    position: relative;
    z-index: 1;
}

/* ── Scroll Reveal ── */
.bv-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.bv-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ HERO ═══ */
.bv-hero {
    text-align: center;
    padding: 52px 28px 44px;
    margin-bottom: 28px;
    background: linear-gradient(145deg, rgba(26,26,46,0.75) 0%, rgba(18,18,26,0.92) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bv-hero__glow {
    position: absolute;
    top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102,126,234,0.45), rgba(240,147,251,0.25), transparent);
}

.bv-hero__ghost-num {
    position: absolute;
    top: -28px; right: -16px;
    font-size: 170px; font-weight: 800; line-height: 1;
    font-family: var(--font-display);
    background: linear-gradient(135deg, rgba(102,126,234,0.04), rgba(240,147,251,0.025));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
    pointer-events: none;
}

/* Badge */
.bv-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px 5px 6px;
    background: rgba(102,126,234,0.07);
    border: 1px solid rgba(102,126,234,0.14);
    border-radius: var(--radius-full);
    margin-bottom: 26px;
}
.bv-hero__badge-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 27px; height: 27px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    font-size: 10px; font-weight: 800; color: #fff;
    font-family: var(--font-body);
    letter-spacing: 0.04em;
}
.bv-hero__badge-text {
    font-size: 12.5px; color: var(--text-secondary);
    letter-spacing: 0.03em; font-weight: 500;
    font-family: var(--font-body);
}

/* Title */
.bv-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 30px;
    line-height: 1.15;
    position: relative;
}

/* Quote */
.bv-hero__quote {
    font-family: var(--font-verse);
    font-size: clamp(1.15rem, 2.8vw, 1.6rem);
    line-height: 1.85;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 auto 22px;
    max-width: 600px;
    position: relative;
    padding: 0;
    border: none;
    font-style: normal;
    letter-spacing: -0.01em;
}
.bv-hero__quote-mark {
    position: absolute;
    top: -18px; left: -14px;
    font-size: 68px; line-height: 1;
    font-family: var(--font-verse);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(102,126,234,0.22), rgba(240,147,251,0.12));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Translation pills */
.bv-trans-pills {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 26px;
}
.bv-trans-pill {
    padding: 7px 18px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.04em;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    color: var(--text-muted);
}
.bv-trans-pill--active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3);
}
.bv-trans-pill:hover:not(.bv-trans-pill--active) {
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
}

/* Action buttons */
.bv-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.bv-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 13px; font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-secondary);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.bv-action-btn:hover {
    border-color: rgba(102,126,234,0.35);
    color: var(--text-primary);
    background: rgba(102,126,234,0.07);
    box-shadow: 0 0 20px rgba(102,126,234,0.08);
}
.bv-action-btn__icon {
    font-size: 15px;
    line-height: 1;
}

/* ═══ SECTION LABEL ═══ */
.bv-section {
    margin-bottom: 28px;
}
.bv-section__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.bv-section__label-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(102,126,234,0.08);
    color: var(--text-accent);
    font-size: 14px; font-weight: 600;
    flex-shrink: 0;
}
.bv-section__label h2 {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ═══ CONTEXT GRID ═══ */
.bv-context-grid {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 10px;
    align-items: stretch;
}
.bv-context-card {
    display: flex; flex-direction: column; gap: 5px;
    padding: 15px 18px;
    border-radius: 14px;
    background: rgba(26,26,46,0.5);
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.bv-context-card:hover {
    border-color: rgba(102,126,234,0.2);
    background: rgba(102,126,234,0.03);
    transform: translateY(-2px);
}
.bv-context-card--next {
    text-align: right;
}
.bv-context-card--empty {
    border: none; background: none;
}
.bv-context-card__num {
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 600;
    color: var(--text-accent);
    letter-spacing: 0.04em;
}
.bv-context-card__text {
    font-family: var(--font-verse);
    font-size: 13.5px; line-height: 1.6;
    color: #888;
    flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.bv-context-card__dir {
    font-size: 11px; color: var(--text-muted);
    font-family: var(--font-body);
}
.bv-context-card--next .bv-context-card__dir {
    text-align: right;
}
.bv-context-current {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.bv-context-current__num {
    font-family: var(--font-mono);
    font-size: 14px; font-weight: 700;
    color: var(--accent-cyan);
}
.bv-context-current__label {
    font-size: 9px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-top: 3px;
}

/* ═══ TRANSLATIONS ═══ */
.bv-translations {
    display: flex; flex-direction: column; gap: 10px;
}
.bv-trans-card {
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(26,26,46,0.5);
    border: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.bv-trans-card--active {
    background: rgba(102,126,234,0.05);
    border-color: rgba(102,126,234,0.18);
}
.bv-trans-card:hover:not(.bv-trans-card--active) {
    border-color: rgba(255,255,255,0.08);
}
.bv-trans-card__head {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 8px;
}
.bv-trans-card__name {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 500;
}
.bv-trans-card__abbr {
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
}
.bv-trans-card--active .bv-trans-card__abbr {
    background: var(--gradient-primary);
    color: #fff;
}
.bv-trans-card__text {
    font-family: var(--font-verse);
    font-size: 15px; line-height: 1.75;
    margin: 0;
    transition: color 0.3s ease;
    color: #777;
}
.bv-trans-card--active .bv-trans-card__text {
    color: var(--text-primary);
}

/* ═══ EXPLANATION ═══ */
.bv-explanation {
    margin-bottom: 28px;
    padding: 24px 26px;
    background: rgba(26,26,46,0.5);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
}
.bv-explanation__body p {
    font-family: var(--font-body);
    font-size: 14.5px; line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 10px;
}
.bv-explanation__body p:last-child { margin-bottom: 0; }
.bv-explanation__body a {
    color: var(--text-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(102,126,234,0.3);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}
.bv-explanation__body a:hover {
    border-bottom-color: var(--text-accent);
}

/* ═══ FAQ ═══ */
.bv-faq {
    display: flex; flex-direction: column; gap: 8px;
}
.bv-faq__item {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(26,26,46,0.5);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.bv-faq__item[open] {
    background: rgba(102,126,234,0.03);
    border-color: rgba(102,126,234,0.14);
}
.bv-faq__item summary {
    padding: 15px 22px;
    font-family: var(--font-body);
    font-size: 14.5px; font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex; align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}
.bv-faq__item summary::-webkit-details-marker { display: none; }
.bv-faq__item summary::after {
    content: '+'; font-size: 18px; color: var(--text-muted);
    transition: all 0.3s ease; flex-shrink: 0; margin-left: 10px;
}
.bv-faq__item[open] summary::after {
    content: '−'; color: var(--text-accent);
    transform: rotate(0deg);
}
.bv-faq__item summary:hover {
    background: rgba(255,255,255,0.02);
}
.bv-faq__item p {
    padding: 0 22px 16px;
    font-family: var(--font-verse);
    font-size: 14.5px; line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}
.bv-faq__item p a {
    color: var(--text-accent);
}

/* ═══ RELATED (Bento Grid) ═══ */
.bv-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 10px;
}
.bv-related-card {
    display: flex; flex-direction: column; gap: 5px;
    padding: 17px 19px;
    border-radius: 14px;
    background: rgba(26,26,46,0.5);
    border: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.bv-related-card--featured {
    grid-column: span 2;
}
.bv-related-card:hover {
    border-color: rgba(102,126,234,0.22);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(102,126,234,0.07);
}
.bv-related-card__ref {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 600;
    color: var(--text-accent);
}
.bv-related-card__preview {
    font-family: var(--font-verse);
    font-size: 13px; line-height: 1.55;
    color: var(--text-muted);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* ═══ CTA ═══ */
.bv-cta {
    text-align: center;
    padding: 20px 0 44px;
    display: flex; flex-direction: column;
    align-items: center; gap: 12px;
}
.bv-cta__primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 38px;
    border: none; border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 15px; font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(102,126,234,0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bv-cta__primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(102,126,234,0.38);
}
.bv-cta__ghost {
    display: inline-flex;
    padding: 11px 28px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px; font-weight: 500;
    font-family: var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.bv-cta__ghost:hover {
    border-color: rgba(102,126,234,0.25);
    color: var(--text-primary);
}

/* ═══ TOAST ═══ */
.bv-toast {
    position: fixed;
    bottom: 28px; left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: rgba(102,126,234,0.92);
    color: #fff;
    padding: 11px 26px;
    border-radius: var(--radius-full);
    font-size: 13.5px; font-weight: 600;
    letter-spacing: 0.02em;
    font-family: var(--font-body);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(102,126,234,0.32);
    pointer-events: none;
}
.bv-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ═══ MOBILE ═══ */
@media (max-width: 640px) {
    .bv-hero {
        padding: 36px 18px 32px;
        border-radius: 16px;
    }
    .bv-hero__title { font-size: 1.45rem; }
    .bv-hero__quote { font-size: 1.05rem; }
    .bv-hero__ghost-num { font-size: 120px; top: -20px; right: -10px; }
    .bv-hero__quote-mark { font-size: 48px; top: -12px; left: -8px; }

    .bv-actions { gap: 6px; }
    .bv-action-btn {
        padding: 8px 14px; font-size: 12px;
    }
    .bv-action-btn__label { display: none; }
    .bv-action-btn__icon { font-size: 17px; }

    .bv-context-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .bv-context-current {
        flex-direction: row; gap: 8px;
        order: -1; padding: 6px 0;
    }
    .bv-context-card--next { text-align: left; }
    .bv-context-card--next .bv-context-card__dir { text-align: left; }

    .bv-related-grid {
        grid-template-columns: 1fr;
    }
    .bv-related-card--featured {
        grid-column: span 1;
    }

    .bv-cta__primary,
    .bv-cta__ghost {
        width: 100%; justify-content: center;
    }

    .bv-orb--purple { width: 350px; height: 350px; }
    .bv-orb--pink { width: 280px; height: 280px; }
}

/* ═══ LIGHT THEME ═══ */
html[data-theme="light"] .bv-orb--purple {
    background: radial-gradient(circle, rgba(102,126,234,0.05) 0%, transparent 70%);
}
html[data-theme="light"] .bv-orb--pink {
    background: radial-gradient(circle, rgba(240,147,251,0.04) 0%, transparent 70%);
}
html[data-theme="light"] .bv-hero {
    background: linear-gradient(145deg, rgba(255,255,255,0.85) 0%, rgba(248,249,255,0.95) 100%);
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}
html[data-theme="light"] .bv-hero__glow {
    background: linear-gradient(90deg, transparent, rgba(102,126,234,0.25), rgba(240,147,251,0.15), transparent);
}
html[data-theme="light"] .bv-hero__ghost-num {
    background: linear-gradient(135deg, rgba(102,126,234,0.03), rgba(240,147,251,0.02));
    -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .bv-hero__badge {
    background: rgba(102,126,234,0.06);
    border-color: rgba(102,126,234,0.12);
}
html[data-theme="light"] .bv-hero__quote-mark {
    background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(240,147,251,0.08));
    -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .bv-trans-pills {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.06);
}
html[data-theme="light"] .bv-trans-pill {
    color: #888;
}
html[data-theme="light"] .bv-trans-pill:hover:not(.bv-trans-pill--active) {
    background: rgba(0,0,0,0.03);
}
html[data-theme="light"] .bv-action-btn {
    background: rgba(0,0,0,0.015);
    border-color: rgba(0,0,0,0.06);
    color: #666;
}
html[data-theme="light"] .bv-action-btn:hover {
    background: rgba(102,126,234,0.06);
    border-color: rgba(102,126,234,0.2);
    color: #333;
}

html[data-theme="light"] .bv-context-card,
html[data-theme="light"] .bv-trans-card,
html[data-theme="light"] .bv-explanation,
html[data-theme="light"] .bv-faq__item,
html[data-theme="light"] .bv-related-card {
    background: #fff;
    border-color: rgba(0,0,0,0.06);
}
html[data-theme="light"] .bv-context-card:hover,
html[data-theme="light"] .bv-related-card:hover {
    border-color: rgba(102,126,234,0.2);
    box-shadow: 0 4px 16px rgba(102,126,234,0.06);
}
html[data-theme="light"] .bv-trans-card--active {
    background: rgba(102,126,234,0.03);
    border-color: rgba(102,126,234,0.14);
}
html[data-theme="light"] .bv-trans-card__text {
    color: #999;
}
html[data-theme="light"] .bv-trans-card--active .bv-trans-card__text {
    color: #333;
}
html[data-theme="light"] .bv-faq__item[open] {
    background: rgba(102,126,234,0.02);
    border-color: rgba(102,126,234,0.12);
}
html[data-theme="light"] .bv-faq__item summary:hover {
    background: rgba(0,0,0,0.015);
}
html[data-theme="light"] .bv-cta__ghost {
    border-color: rgba(0,0,0,0.1);
}
html[data-theme="light"] .bv-cta__ghost:hover {
    border-color: rgba(102,126,234,0.3);
}
html[data-theme="light"] .bv-toast {
    background: rgba(90,111,214,0.92);
}
