/* Bible Live Custom Styles */

/* ═══════════════════  LANDING PAGE  ═══════════════════ */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5aa0 50%, #3a7bd5 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-date {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
}
.hero-verse {
    border-left: 3px solid rgba(255,255,255,0.5);
    padding-left: 1rem;
    font-size: 1.05rem;
}
.hero-icon {
    font-size: 8rem;
    opacity: 0.12;
}

/* Stats bar */
.stat-card {
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Feature cards */
.feature-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.feature-card {
    border-top: 3px solid transparent;
}
.feature-card-prayer  { border-top-color: #2c5aa0; }
.feature-card-research { border-top-color: #198754; }
.feature-card-act      { border-top-color: #ffc107; }

/* Purple helper (used for music icon) */
.text-purple { color: #7c3aed; }

/* ═══════════════════  PLAYER / EMBED  ═══════════════════ */

/* Music Player Enhancements */
.music-icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.music-icon-container:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Enhanced Embed Container */
.embed-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.embed-wrapper iframe {
    border-radius: 8px;
}

.youtube-iframe {
    display: block;
    width: 100%;
    height: 315px;
}

/* Responsive 16:9 ratio container */
.ratio-16x9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.ratio-16x9 > .youtube-iframe,
.ratio-16x9 > iframe,
.ratio-16x9 > .embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Daily Content Cards */
.content-card {
    transition: transform 0.2s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Daily Praise Specific Styles */
.daily-praise-player {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
}

.lyrics-content {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    border-radius: 4px;
    font-style: italic;
    line-height: 1.6;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .music-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .embed-container iframe {
        height: 200px;
    }
}

/* YouTube Button Enhancements */
.btn-youtube {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255,0,0,0.3);
    color: white;
}

/* Loading and fallback states */
.embed-fallback {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

/* Spiritual content theming */
.daily-section {
    position: relative;
}

.daily-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    border-radius: 2px;
}

/* ═══════════════════  WALK DAILY PAGE  ═══════════════════ */

/* Hero / Date Nav */
.walk-hero {
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5aa0 50%, #3a7bd5 100%);
    position: relative;
    overflow: hidden;
}
.walk-hero::before {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.walk-hero-date {
    font-size: 0.95rem;
    opacity: 0.85;
}
.walk-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Streak card */
.walk-streak-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 50%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.walk-streak-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Progress bar */
.walk-progress {
    height: 10px;
    border-radius: 5px;
}

/* Section cards */
.walk-card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.walk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.walk-card .card-header {
    border-bottom: none;
    font-weight: 600;
}
.walk-card-verse   .card-header { background: linear-gradient(135deg, #2c5aa0, #3a7bd5); color: #fff; }
.walk-card-reading .card-header { background: linear-gradient(135deg, #198754, #28a745); color: #fff; }
.walk-card-praise  .card-header { background: linear-gradient(135deg, #e6a800, #ffc107); color: #212529; }
.walk-card-story   .card-header { background: linear-gradient(135deg, #5c636a, #6c757d); color: #fff; }
.walk-card-prayer  .card-header { background: linear-gradient(135deg, #0aa2c0, #0dcaf0); color: #fff; }
.walk-card-reflection .card-header { background: linear-gradient(135deg, #6f42c1, #9b59b6); color: #fff; }

/* Blockquote in verse */
.walk-blockquote {
    border-left: 4px solid rgba(44,90,160,0.3);
    padding-left: 1.2rem;
    font-size: 1.15em;
    line-height: 1.7;
}

/* Prayer text styling */
.walk-prayer-body {
    white-space: pre-line;
    font-style: italic;
    line-height: 1.7;
}

/* Plan selector in header */
.walk-plan-select {
    max-width: 160px;
    font-size: 0.8rem;
}

/* Mood selector buttons */
.walk-mood-btn {
    font-size: 0.85rem;
}

/* Share buttons */
.walk-share-btn {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
}
.walk-share-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.walk-card-praise .walk-share-btn {
    border-color: rgba(0,0,0,0.2);
    color: rgba(0,0,0,0.5);
}
.walk-card-praise .walk-share-btn:hover {
    background: rgba(0,0,0,0.05);
    color: #000;
}

/* Mark-as-read buttons – visible on all card-header colours */
.walk-card .card-header .walk-complete-btn.btn-outline-success {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
    background: transparent;
}
.walk-card .card-header .walk-complete-btn.btn-outline-success:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}
.walk-card .card-header .walk-complete-btn.btn-success {
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.92);
    color: #198754;
}
.walk-card .card-header .walk-complete-btn.btn-success:hover {
    background: #fff;
    border-color: #fff;
    color: #157347;
}
/* Praise card uses dark text */
.walk-card-praise .card-header .walk-complete-btn.btn-outline-success {
    border-color: rgba(0,0,0,0.25);
    color: rgba(0,0,0,0.55);
}
.walk-card-praise .card-header .walk-complete-btn.btn-outline-success:hover {
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.75);
    border-color: rgba(0,0,0,0.4);
}
.walk-card-praise .card-header .walk-complete-btn.btn-success {
    background: #198754;
    border-color: #198754;
    color: #fff;
}
.walk-card-praise .card-header .walk-complete-btn.btn-success:hover {
    background: #157347;
    border-color: #157347;
    color: #fff;
}
/* Brief pulse when toggled */
@keyframes walkCompletePulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}
.walk-complete-btn.walk-pulse {
    animation: walkCompletePulse 0.35s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .walk-hero h1 { font-size: 1.4rem; }
    .walk-plan-select { max-width: 120px; }
    .walk-blockquote { font-size: 1em; }
}

/* ═══════════════════  HOLY BIBLE PAGE  ═══════════════════ */

/* Quick-search bar */
.hb-search-bar .form-control:focus { box-shadow: none; border-color: #2c5aa0; }

/* Passage card */
.hb-passage-card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}
.hb-passage-card .card-header {
    background: linear-gradient(135deg, #2c5aa0, #3a7bd5);
    color: #fff;
}
.hb-passage-card .card-header a,
.hb-passage-card .card-header .btn-outline-secondary {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.35);
}
.hb-passage-card .card-header a:hover,
.hb-passage-card .card-header .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.hb-passage-card .card-header .btn-warning { color: #212529; }

/* Passage text */
.hb-passage-body { line-height: 1.8; }
.hb-passage-text { line-height: 2; }

/* Verse wrapping & highlight colors */
.verse-wrapper {
    padding: 2px 0;
    border-radius: 3px;
    transition: background-color 0.2s;
    cursor: pointer;
    position: relative;
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    /* Prevent text selection on long-press (touch) */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-tap-highlight-color: transparent; /* Prevent default tap overlay on Android Chrome */
    touch-action: manipulation; /* Prevent browser long-press/double-tap handling */
}
/* Allow selection for desktop (mouse) users */
@media (pointer: fine) {
    .verse-wrapper {
        -webkit-user-select: auto;
        -moz-user-select: auto;
        -ms-user-select: auto;
        user-select: auto;
    }
}
.verse-highlight-yellow { background-color: rgba(255, 235, 59, 0.4); }
.verse-highlight-green  { background-color: rgba(139, 195, 74, 0.4); }
.verse-highlight-blue   { background-color: rgba(33, 150, 243, 0.3); }
.verse-highlight-pink   { background-color: rgba(244, 143, 177, 0.4); }
.verse-highlight-orange { background-color: rgba(255, 152, 0, 0.4); }

.verse-has-note::after {
    content: '\1F4DD';
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.7;
}

.verse-number {
    display: inline-block;
    min-width: 22px;
    font-size: 0.85em;
    color: #666;
    margin-right: 3px;
    user-select: none;
}

/* Hide highlights / notes when toggled off */
#passageText.hide-highlights .verse-highlight-yellow,
#passageText.hide-highlights .verse-highlight-green,
#passageText.hide-highlights .verse-highlight-blue,
#passageText.hide-highlights .verse-highlight-pink,
#passageText.hide-highlights .verse-highlight-orange,
.wd-passage.hide-highlights .verse-highlight-yellow,
.wd-passage.hide-highlights .verse-highlight-green,
.wd-passage.hide-highlights .verse-highlight-blue,
.wd-passage.hide-highlights .verse-highlight-pink,
.wd-passage.hide-highlights .verse-highlight-orange {
    background-color: transparent !important;
}
#passageText.hide-notes .verse-has-note::after,
.wd-passage.hide-notes .verse-has-note::after { display: none !important; }

/* Color-picker buttons */
.hb-color-btn {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    padding: 0;
    background: transparent;
}
.hb-color-btn:hover { transform: scale(1.2); }
.hb-color-btn.active { box-shadow: 0 0 0 3px rgba(44,90,160,0.35); border-color: #2c5aa0; }
.hb-color-btn[data-color="yellow"]  { background: #ffeb3b; }
.hb-color-btn[data-color="green"]   { background: #8bc34a; }
.hb-color-btn[data-color="blue"]    { background: #2196f3; }
.hb-color-btn[data-color="pink"]    { background: #f48fb1; }
.hb-color-btn[data-color="orange"]  { background: #ff9800; }

/* Holy Bible popup color-picker buttons */
.hb-pop-color-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    padding: 0;
}
.hb-pop-color-btn:hover { transform: scale(1.2); box-shadow: 0 0 6px rgba(0,0,0,.3); }
.hb-pop-color-btn[data-color="yellow"] { background: #fff9c4; }
.hb-pop-color-btn[data-color="green"]  { background: #8bc34a; }
.hb-pop-color-btn[data-color="blue"]   { background: #2196f3; }
.hb-pop-color-btn[data-color="pink"]   { background: #f48fb1; }
.hb-pop-color-btn[data-color="orange"] { background: #ff9800; }

/* Walk Daily color-picker buttons (.wd-color-btn in toolbar, .wd-pop-color-btn in action popover) */
.wd-color-btn, .wd-pop-color-btn {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    padding: 0;
    background: transparent;
}
.wd-color-btn:hover, .wd-pop-color-btn:hover { transform: scale(1.2); }
.wd-color-btn.active { box-shadow: 0 0 0 3px rgba(44,90,160,0.35); border-color: #2c5aa0; }
.wd-color-btn[data-color="yellow"], .wd-pop-color-btn[data-color="yellow"]  { background: #ffeb3b; }
.wd-color-btn[data-color="green"],  .wd-pop-color-btn[data-color="green"]   { background: #8bc34a; }
.wd-color-btn[data-color="blue"],   .wd-pop-color-btn[data-color="blue"]    { background: #2196f3; }
.wd-color-btn[data-color="pink"],   .wd-pop-color-btn[data-color="pink"]    { background: #f48fb1; }
.wd-color-btn[data-color="orange"], .wd-pop-color-btn[data-color="orange"]  { background: #ff9800; }

/* Share per-verse button */
.hb-verse-share-btn {
    background: none;
    border: none;
    color: rgba(0,0,0,0.25);
    font-size: 0.7rem;
    padding: 0 0 0 4px;
    cursor: pointer;
    vertical-align: super;
    transition: color 0.2s;
}
.hb-verse-share-btn:hover { color: #2c5aa0; }

/* Commentary cards */
.hb-commentary-card {
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Onboarding overlay */
.hb-onboarding {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hb-onboarding-card {
    background: #fff;
    max-width: 540px;
    width: 90%;
}

/* Theme variants */
.hb-passage-body[style*="background: #f4ecd8"] .verse-number { color: #8b7355; }
.hb-passage-body[style*="background: #1e1e1e"] .verse-number { color: #999; }
.hb-passage-body[style*="background: #1e1e1e"] .hb-verse-share-btn { color: rgba(255,255,255,0.25); }

/* Bookmarks page */
.hb-bookmark-card {
    border: none;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: transform 0.15s;
}
.hb-bookmark-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* Responsive tweaks */
@media (max-width: 768px) {
    .hb-search-bar { font-size: 0.9rem; }
    .hb-passage-text { line-height: 1.7; }
    .hb-verse-share-btn { font-size: 0.65rem; }
}

/* ══════════════════════════════════════════
   PRAY PAGE
   ══════════════════════════════════════════ */

/* Hero */
.pray-hero {
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5aa0 50%, #3a7bd5 100%);
    color: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
}
.pray-hero h1 { font-weight: 700; }
.pray-hero .lead { opacity: .88; }

/* Stats bar */
.pray-stat-card {
    border: none;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    text-align: center;
    transition: transform .15s;
}
.pray-stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.10); }
.pray-stat-card h3 { color: #2c5aa0; font-weight: 700; }

/* Daily prayer card */
.pray-daily-card {
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pray-daily-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}

/* Navigation cards (Community / Resources) */
.pray-nav-card {
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .18s, box-shadow .18s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.pray-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
    color: inherit;
}
.pray-icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Feature cards */
.pray-feature-card {
    border: none;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    transition: transform .15s;
}
.pray-feature-card:hover { transform: translateY(-2px); }

/* CTA card */
.pray-cta-card {
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5aa0 100%);
    border: none;
    border-radius: 0.75rem;
}
.pray-cta-card .opacity-85 { opacity: .85; }

/* Request card in community */
.pray-request-card {
    border: none;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    transition: box-shadow .15s;
}
.pray-request-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.10); }

.pray-for-btn.btn-primary {
    animation: prayPulse .4s ease;
}
@keyframes prayPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .pray-hero { padding: 1.5rem 1rem; }
    .pray-hero h1 { font-size: 1.5rem; }
    .pray-icon-circle { width: 44px; height: 44px; font-size: 1.1rem; }
}