/* Authentic Spiritual Wisdom Styling */
.authentic-wisdom {
    background: linear-gradient(135deg, 
        rgba(20, 25, 40, 0.95) 0%, 
        rgba(30, 35, 50, 0.98) 50%, 
        rgba(15, 20, 35, 0.95) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(136, 176, 75, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.authentic-wisdom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(136, 176, 75, 0.6) 20%, 
        rgba(136, 176, 75, 0.8) 50%, 
        rgba(136, 176, 75, 0.6) 80%, 
        transparent 100%);
}

.wisdom-flow {
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 0.3px;
}

.spiritual-passage {
    margin-bottom: 1.8rem;
    position: relative;
    animation: wisdomReveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.spiritual-passage:last-child {
    margin-bottom: 0;
}

.opening-wisdom {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    animation-delay: 0.2s;
}

.closing-reflection {
    font-style: italic;
    color: rgba(216, 216, 216, 0.88);
    position: relative;
    padding-left: 1.5rem;
    animation-delay: 0.6s;
}

.closing-reflection::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(136, 176, 75, 0.7);
    font-size: 0.9rem;
}

/* Subtle spiritual word emphasis */
.soul-emphasis {
    color: rgba(255, 215, 180, 0.95);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 215, 180, 0.3);
}

.heart-emphasis {
    color: rgba(255, 182, 193, 0.95);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 182, 193, 0.3);
}

.light-emphasis {
    color: rgba(255, 255, 224, 0.95);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 255, 224, 0.3);
}

.love-emphasis {
    color: rgba(255, 192, 203, 0.95);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 192, 203, 0.3);
}

.truth-emphasis {
    color: rgba(173, 216, 230, 0.95);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(173, 216, 230, 0.3);
}

.sacred-emphasis {
    color: rgba(221, 160, 221, 0.95);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(221, 160, 221, 0.3);
}

/* Animation for wisdom revelation */
@keyframes wisdomReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    60% {
        opacity: 0.7;
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced meditation section for natural flow */
.meditation-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(136, 176, 75, 0.08);
    border-radius: 15px;
    border-left: 3px solid rgba(136, 176, 75, 0.4);
}

.meditation-title {
    font-size: 0.95rem;
    color: rgba(136, 176, 75, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.meditation-line {
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .authentic-wisdom {
        padding: 1.8rem;
        margin: 1rem 0;
        border-radius: 15px;
    }
    
    .wisdom-flow {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .opening-wisdom {
        font-size: 1.1rem;
    }
    
    .closing-reflection {
        padding-left: 1.2rem;
    }
}

/* Integration with existing poetic styles */
.poetic-response .authentic-wisdom {
    background: transparent;
    border: none;
    padding: 0;
}

/* Breathing animation for contemplative effect */
.wisdom-flow:hover {
    animation: gentleBreathe 4s ease-in-out infinite;
}

@keyframes gentleBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

/* Enhanced spacing for natural reading rhythm */
.spiritual-passage + .spiritual-passage {
    margin-top: 2.2rem;
}

/* Subtle glow effect for cosmic connection */
.authentic-wisdom:hover::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(136, 176, 75, 0.8) 20%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(136, 176, 75, 0.8) 80%, 
        transparent 100%);
    transition: all 0.8s ease;
}