/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Enhanced Color Palette */
    --primary-color: #0d2b47; /* Deep navy */
    --primary-light: #1a4d7a; /* Medium blue */
    --primary-dark: #081a2a; /* Darker navy */
    --secondary-color: #d4af37; /* Rich gold */
    --secondary-light: #f4d03f; /* Light gold */
    --secondary-dark: #b8941f; /* Dark gold */
    --accent-color: #4a90e2; /* Soft blue */
    --accent-light: #6ba3e8; /* Light blue */
    --accent-dark: #2c5f8d; /* Dark blue */
    
    /* Semantic Colors */
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --info-color: #3498db;
    
    /* Text Colors */
    --text-color: #2c3e50;
    --text-light: #5a6c7d;
    --text-lighter: #7f8c9a;
    --text-on-dark: #ffffff;
    
    /* Background Colors */
    --bg-color: #fafbfc;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    
    /* Border Colors */
    --border-color: #e1e8ed;
    --border-light: #f0f4f8;
    --border-dark: #cbd5e0;
    
    /* Enhanced Shadow System */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-blue: 0 4px 20px rgba(74, 144, 226, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 43, 71, 0.95) 0%, rgba(26, 77, 122, 0.9) 50%, rgba(74, 144, 226, 0.85) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-gradient);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    line-height: 1.8;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Glassmorphism Effect */
.navbar {
    background: rgba(13, 43, 71, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-secondary);
    opacity: 0.8;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-base);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: var(--shadow-gold);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
        transform: scale(1.05);
    }
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.logo-icon::before {
    content: '✝';
    position: absolute;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-base);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo a:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
    font-weight: 500;
    font-size: 1rem;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Hero Section - Enhanced Design */
.hero {
    position: relative;
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.1);
    transition: transform 20s ease-out;
    filter: brightness(0.7) contrast(1.1);
}

.hero:hover .hero-image {
    transform: scale(1.15);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-gold);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Features Section - Enhanced Cards */
.features {
    padding: 6rem 0;
    background: var(--bg-gradient);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.features h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: var(--secondary-color);
}

/* Verse of the Day - Enhanced Design */
.verse-of-day {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.verse-of-day::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.verse-of-day h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.verse-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.verse-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.verse-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 2;
    position: relative;
    padding: 0 2rem;
}

.verse-text::before,
.verse-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    font-family: 'Georgia', serif;
}

.verse-text::before {
    left: -1rem;
    top: -1rem;
}

.verse-text::after {
    right: -1rem;
    bottom: -2rem;
}

.verse-reference {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Footer - Enhanced Design */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-base);
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-section a:hover::before {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* About Page Styles - Enhanced */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.page-header-text {
    text-align: center;
}

.page-header-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    color: var(--secondary-color);
}

.about-content {
    padding: 4rem 0;
}

.mission-section {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.mission-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.mission-statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.mission-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.features-explanation {
    margin-bottom: 4rem;
}

.features-explanation h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.feature-explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-explanation-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-explanation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-explanation-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-explanation-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.values-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 10px;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.cta-section {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--bg-light);
    border-radius: 10px;
    margin-top: 4rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Coming Soon / Tools Content */
.tools-content {
    padding: 4rem 0;
}

.coming-soon {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.coming-soon h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.coming-soon p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.coming-soon-list {
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
    list-style: none;
    padding: 0;
}

.coming-soon-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: white;
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.coming-soon-list li:hover {
    transform: translateX(5px);
}

/* Bible Study Tools Styles */
.tool-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.tool-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Bible Search Styles */
.bible-search-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.version-selector {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--bg-white);
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
    box-shadow: var(--shadow-xs);
}

.version-selector:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.version-selector:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 43, 71, 0.1);
    transform: translateY(-1px);
}

.search-input-group {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    transition: all var(--transition-base);
    background: var(--bg-white);
    color: var(--text-color);
    box-shadow: var(--shadow-xs);
}

.search-input:hover {
    border-color: var(--border-dark);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 43, 71, 0.1), var(--shadow-sm);
    transform: translateY(-1px);
    background: var(--bg-white);
}

.search-results {
    margin-top: 2rem;
    min-height: 100px;
}

.verse-result {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 6px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.verse-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.verse-result:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-light);
}

.verse-result h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.version-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.verse-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.verse-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-message {
    color: #d32f2f;
    text-align: center;
    padding: 1rem;
    background-color: #ffebee;
    border-radius: 5px;
}

.loading-message {
    color: var(--primary-color);
    text-align: center;
    padding: 1rem;
    background-color: #e3f2fd;
    border-radius: 5px;
    font-style: italic;
}

/* Reading Plans Styles */
.reading-plans-image-container {
    margin-bottom: 3rem;
    text-align: center;
}

.reading-plans-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.reading-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all var(--transition-bounce);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.plan-card:hover .plan-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.3));
}

.plan-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.plan-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.plan-details {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 5px;
}

.plan-duration,
.plan-pages {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.reading-plan-display {
    margin-top: 2rem;
}

.active-plan {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.active-plan h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.plan-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.plan-description {
    margin-bottom: 1.5rem;
}

.plan-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

/* Enhanced Reading Plan Styles */
.enhanced-plan {
    margin-top: 2rem;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.plan-progress-bar {
    position: relative;
    width: 100%;
    height: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1;
}

.todays-reading {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.todays-reading h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.reading-passages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.passage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.passage-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.passage-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1;
}

.passage-link:hover {
    color: var(--secondary-color);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 0.5rem;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.reading-description {
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.no-reading {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

.plan-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.plan-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.plan-start-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Comparison Styles */
.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.comparison-results {
    margin-top: 2rem;
}

.comparison-results h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.comparison-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.comparison-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.comparison-item p {
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
}

.comparison-note {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.comparison-note .note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

/* Home Search Section */
.home-search-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.02) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.home-search-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.home-search-section .enhanced-search-section {
    margin-bottom: 0;
}

/* Quick Access Sidebar */
.quick-access-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-access-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.quick-access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.quick-access-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.quick-access-card:hover::before {
    transform: scaleY(1);
}

.quick-access-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.quick-access-card .btn-small {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.9rem;
}

#bookmarksContainer,
#searchHistoryContainer {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

#bookmarksContainer .bookmarks-list,
#searchHistoryContainer .search-history-list {
    max-height: 250px;
    overflow-y: auto;
}

/* Responsive adjustments for home search */
@media (max-width: 1024px) {
    .home-search-wrapper {
        grid-template-columns: 1fr;
    }
    
    .quick-access-sidebar {
        order: -1;
    }
    
    .quick-access-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .quick-access-sidebar {
        grid-template-columns: 1fr;
    }
    
    .home-search-section {
        padding: 2rem 0;
    }
}

/* Enhanced Search Styles */
.enhanced-search-section {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.enhanced-search-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.enhanced-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f4d03f 100%);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.enhanced-search-container {
    max-width: 1000px;
    margin: 0 auto;
}

.enhanced-search-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.enhanced-search-box:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.enhanced-search-input {
    width: 100%;
    min-height: 140px;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-family: inherit;
    resize: vertical;
    transition: all var(--transition-base);
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    color: var(--text-color);
    line-height: 1.7;
}

.enhanced-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(13, 43, 71, 0.1);
    transform: translateY(-2px);
}

.enhanced-search-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.enhanced-search-actions .version-selector {
    flex: 1;
}

.enhanced-search-results {
    margin-top: 2rem;
    min-height: 100px;
}

.enhanced-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.enhanced-result-header {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.enhanced-result-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.enhanced-result-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.enhanced-query {
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.enhanced-explanation {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.enhanced-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.enhanced-explanation p,
.enhanced-explanation-content {
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

.enhanced-explanation-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.enhanced-verses {
    margin-bottom: 1.5rem;
}

.enhanced-verses h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.enhanced-verse-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.enhanced-verse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.enhanced-verse-ref {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.enhanced-verse-version {
    color: var(--text-light);
    font-size: 0.9rem;
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.enhanced-verse-text {
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    font-size: 1.05rem;
}

.enhanced-note {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.enhanced-note p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.enhanced-note ul {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.enhanced-note li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.enhanced-suggestions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.enhanced-suggestions h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.suggestion-chip {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.suggestion-chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.suggestion-chip:hover {
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.suggestion-chip:hover::before {
    width: 300px;
    height: 300px;
}

.suggestion-chip span {
    position: relative;
    z-index: 1;
}

/* Community Page Styles */
.community-content {
    padding: 3rem 0;
}

.community-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all var(--transition-bounce);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.3));
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.thread-count {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.create-post-section {
    text-align: center;
    margin-bottom: 3rem;
}

.threads-section {
    margin-top: 3rem;
}

.threads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.threads-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
}

.thread-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-color);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.threads-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thread-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.thread-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-secondary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.thread-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.thread-card:hover::before {
    transform: scaleY(1);
}

.thread-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-prayer {
    background: #e8f5e9;
    color: #2e7d32;
}

.category-sermons {
    background: #e3f2fd;
    color: #1565c0;
}

.category-verses {
    background: #fff3e0;
    color: #e65100;
}

.category-general {
    background: #f3e5f5;
    color: #6a1b9a;
}

.thread-content {
    flex: 1;
}

.thread-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.thread-preview {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.thread-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.thread-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    min-width: 80px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.stat-icon {
    font-size: 1.1rem;
}

.no-threads {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-white);
    margin: 5% auto;
    padding: 3rem;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-large {
    max-width: 800px;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-family: inherit;
    transition: all var(--transition-base);
    background: var(--bg-white);
    color: var(--text-color);
    box-shadow: var(--shadow-xs);
}

.form-input:hover {
    border-color: var(--border-dark);
    box-shadow: var(--shadow-sm);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 43, 71, 0.1), var(--shadow-sm);
    transform: translateY(-1px);
    background: var(--bg-white);
}

.form-input::placeholder {
    color: var(--text-lighter);
    opacity: 0.7;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Thread Detail Styles */
.thread-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.thread-detail-header h2 {
    color: var(--primary-color);
    margin: 1rem 0;
}

.thread-detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.thread-detail-content {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.05rem;
}

.thread-detail-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.thread-replies h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.replies-list {
    margin-bottom: 2rem;
    min-height: 100px;
}

.no-replies {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
}

.reply-form {
    margin-top: 2rem;
}

.reply-form textarea {
    margin-bottom: 1rem;
}

/* Donation Page Styles */
.donation-content {
    padding: 3rem 0;
}

.donation-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.donation-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.donation-intro > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all var(--transition-bounce);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.3));
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.donation-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.donation-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.donation-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.donation-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.donation-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.donation-type-btn {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.donation-type-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.donation-type-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.donation-amounts {
    margin-bottom: 2rem;
}

.donation-amounts h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.amount-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.amount-btn:hover {
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.amount-btn:hover::before {
    width: 300px;
    height: 300px;
}

.amount-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.amount-btn span {
    position: relative;
    z-index: 1;
}

.custom-amount-input {
    margin-top: 1rem;
}

.custom-amount-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.donation-purpose {
    margin-bottom: 2rem;
}

.donation-purpose h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.payment-method {
    margin-bottom: 2rem;
}

.payment-method h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
}

.payment-icon {
    font-size: 1.5rem;
}

.donor-info {
    margin-bottom: 2rem;
}

.donor-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.donation-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.security-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.donation-summary {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.donation-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 2px solid var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.donation-impact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.donation-impact h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.donation-impact p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.thank-you-content {
    text-align: center;
    padding: 1rem;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.thank-you-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.thank-you-details p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Contact Page Styles */
.contact-content {
    padding: 3rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.contact-method:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-method h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-method p {
    color: var(--text-light);
    margin: 0;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--secondary-color);
}

.contact-note {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 6px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.contact-note h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-note ul {
    list-style: none;
    padding: 0;
}

.contact-note li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.contact-note li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-note a:hover {
    color: var(--secondary-color);
}

.contact-form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-success {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    font-weight: bold;
}

.contact-success h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-success p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Daily Devotional Section - Enhanced */
.daily-devotional {
    padding: 6rem 0;
    background: var(--bg-gradient);
    position: relative;
}

.daily-devotional h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.daily-devotional h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
}

.devotional-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.devotional-loading {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
}

/* Testimonies Section - Enhanced */
.testimonies {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
}

.testimonies h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.testimonies .section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-size: 1.15rem;
}

.testimonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimony-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.testimony-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.testimony-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.testimony-card:hover::before {
    transform: scaleX(1);
}

.testimony-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all var(--transition-bounce);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.testimony-card:hover .testimony-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.3));
}

.testimony-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding: 0 1rem;
}

.testimony-text::before,
.testimony-text::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    font-family: 'Georgia', serif;
}

.testimony-text::before {
    left: -0.5rem;
    top: -1rem;
}

.testimony-text::after {
    right: -0.5rem;
    bottom: -1.5rem;
}

.testimony-author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
}

/* Scroll to Top Button - Enhanced */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-base);
    opacity: 0.95;
    font-weight: bold;
}

#scrollTopBtn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-gold);
    opacity: 1;
}

#scrollTopBtn:active {
    transform: translateY(-2px) scale(1.05);
}

/* Responsive adjustments for Bible Tools */
@media (max-width: 768px) {
    .page-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .search-input-group {
        flex-direction: column;
    }

    .comparison-controls {
        flex-direction: column;
    }

    .reading-plans-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .plan-stats {
        grid-template-columns: 1fr;
    }

    .plan-stats-grid {
        grid-template-columns: 1fr;
    }

    .plan-actions {
        flex-direction: column;
    }

    .plan-actions .btn {
        width: 100%;
    }

    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .passage-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .community-categories {
        grid-template-columns: 1fr;
    }

    .threads-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .thread-card {
        flex-direction: column;
    }

    .thread-stats {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .donation-form-container {
        grid-template-columns: 1fr;
    }

    .donation-summary {
        position: static;
        margin-top: 2rem;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .features h2,
    .verse-of-day h2 {
        font-size: 2rem;
    }

    .verse-text {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-statement {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .feature-explanation-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Verse Features Styles */
.verse-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.verse-actions .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Audio Accessibility Styles */
.btn-audio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-audio:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-audio:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.btn-audio.speaking {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.btn-audio .audio-icon {
    font-size: 1.1rem;
    display: inline-block;
}

.btn-audio .audio-text {
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Audio button in verse results */
.verse-result .btn-audio,
.enhanced-verse-item .btn-audio {
    margin-top: 0.5rem;
}

/* Accessibility: Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.bookmark-btn.bookmarked {
    background: var(--accent-color);
    color: white;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: color 0.3s;
}

.btn-icon:hover {
    color: var(--primary-color);
}

/* Note Dialog */
.note-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.note-dialog {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.note-dialog h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.note-input {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin: 1rem 0;
}

.note-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.note-dialog-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Bookmarks and History */
.bookmarks-list,
.search-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bookmark-item,
.history-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: box-shadow 0.3s;
}

.bookmark-item:hover,
.history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.bookmark-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.bookmark-ref {
    font-weight: bold;
    color: var(--primary-color);
}

.bookmark-version {
    color: var(--text-light);
    font-size: 0.9rem;
}

.bookmark-text {
    color: var(--text-color);
    margin: 0.5rem 0;
    line-height: 1.6;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-query {
    color: var(--text-color);
    flex: 1;
}

.history-time {
    color: var(--text-light);
    font-size: 0.85rem;
}

.empty-state {
    text-align: center;
    color: var(--text-light);
    padding: 1rem;
    font-style: italic;
    font-size: 0.9rem;
}

.bookmark-count,
.history-count {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0.5rem 0;
    font-style: italic;
}

/* Streak Card */
.streak-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.2) 100%);
    border: 2px solid var(--accent-color);
}

.streak-card .stat-number {
    color: var(--accent-color);
}

/* Responsive adjustments for verse features */
@media (max-width: 768px) {
    .verse-actions {
        flex-direction: column;
    }
    
    .verse-actions .btn {
        width: 100%;
    }
    
    .note-dialog {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
}

/* Social Links Styles */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.social-links a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icon {
    font-size: 1.2rem;
}

/* Quick Verse Widget Styles */
.quick-verse-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    font-family: var(--body-font);
}

.widget-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-toggle:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.widget-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 4rem);
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.widget-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.widget-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.widget-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.widget-body {
    padding: 1.5rem;
}

.widget-input,
.widget-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: var(--body-font);
}

.widget-search-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.widget-result {
    min-height: 50px;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 5px;
    font-size: 0.9rem;
}

.widget-verse {
    text-align: center;
}

.widget-verse-ref {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.widget-verse-version {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.widget-verse-text {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.widget-verse-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.widget-loading,
.widget-error {
    text-align: center;
    padding: 1rem;
    color: var(--text-muted);
}

.widget-error {
    color: var(--error-color, #e74c3c);
}

@media (max-width: 768px) {
    .quick-verse-widget {
        bottom: 1rem;
        right: 1rem;
    }
    
    .widget-content {
        width: calc(100vw - 2rem);
        max-width: 350px;
    }
}

