/* Prayers Page Styles - Spiritual & Dynamic */
.prayers-page {
    overflow-x: hidden;
}

/* Hero spirituel avec effets divins */
.prayers-hero {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 30%, #7c3aed 70%, #d97706 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    background-size: 200px 200px, 300px 300px;
    animation: lightRays 8s ease-in-out infinite;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.2) 2px, transparent 2px),
        radial-gradient(circle at 85% 75%, rgba(255,255,255,0.15) 3px, transparent 3px),
        radial-gradient(circle at 45% 85%, rgba(217,119,6,0.2) 1px, transparent 1px),
        radial-gradient(circle at 75% 15%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 400px 400px, 350px 350px, 250px 250px, 300px 300px;
    animation: divineFloat 20s ease-in-out infinite;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-icon {
    margin-bottom: 2rem;
}

.divine-glow {
    font-size: 4rem;
    color: #fbbf24;
    animation: divineGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.6));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ffffff, #fbbf24, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 4s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-style: italic;
    color: #fbbf24;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Verset du jour */
.daily-verse {
    padding: 4rem 0;
    text-align: center;
}

.verse-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.05);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.verse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #1e3a8a, #7c3aed, #d97706);
    background-size: 200% 200%;
    animation: gradientFlow 3s ease-in-out infinite;
}

.verse-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.verse-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: iconPulse 2s ease-in-out infinite;
}

.verse-header h2 {
    color: #1e3a8a;
    margin: 0;
    font-weight: 700;
}

.verse-date {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.verse-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #374151;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 2rem;
}

.verse-text::before,
.verse-text::after {
    content: '"';
    font-size: 3rem;
    color: #d97706;
    position: absolute;
    font-family: serif;
}

.verse-text::before {
    top: -10px;
    left: 0;
}

.verse-text::after {
    bottom: -30px;
    right: 0;
}

.verse-reference {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    display: block;
    margin-bottom: 2rem;
}

.verse-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-verse-action {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

.btn-verse-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
}

/* Types de prières */
.prayer-types {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a8a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e3a8a, #d97706);
    border-radius: 2px;
}

.prayer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.prayer-type-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.prayer-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.prayer-type-card:hover::before {
    left: 100%;
}

.prayer-type-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(30, 58, 138, 0.15);
}

.prayer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.prayer-type-card:hover .prayer-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, #7c3aed, #d97706);
}

.prayer-type-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.prayer-examples {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.prayer-examples span {
    background: #f3f4f6;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Demande de prière */
.prayer-request {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.prayer-request-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.prayer-request-card h2 {
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 1rem;
}

.prayer-form .form-control,
.prayer-form .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.prayer-form .form-control:focus,
.prayer-form .form-select:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.btn-prayer-submit {
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    width: 100%;
    margin-top: 1rem;
}

.btn-prayer-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
}

/* Espace méditation */
.meditation-space {
    padding: 4rem 0;
}

.meditation-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.meditation-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.05);
}

.meditation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.meditation-header h3 {
    color: #1e3a8a;
    margin: 0;
}

.meditation-timer {
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: monospace;
    font-size: 1.1rem;
}

.verse-focus {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 2rem;
    border-left: 5px solid #d97706;
}

.guide-step {
    display: none;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    margin-bottom: 1rem;
    border-left: 4px solid #e5e7eb;
    transition: all 0.3s ease;
}

.guide-step.active {
    display: block;
    border-left-color: #1e3a8a;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.guide-step h4 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.meditation-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-meditation {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-meditation:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.meditation-ambiance {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 50px rgba(30, 58, 138, 0.1);
    height: fit-content;
}

.meditation-ambiance h4 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.ambiance-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ambiance-btn {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    padding: 1rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.ambiance-btn:hover,
.ambiance-btn.active {
    border-color: #1e3a8a;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

/* Prières communautaires */
.community-prayers {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.prayers-feed {
    max-width: 800px;
    margin: 0 auto;
}

.prayer-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.prayer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.12);
}

.prayer-item.urgent {
    border-left: 5px solid #ef4444;
    background: linear-gradient(135deg, #ffffff, #fef2f2);
}

.urgent-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: urgentPulse 2s ease-in-out infinite;
}

.prayer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.prayer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.prayer-info {
    flex: 1;
}

.prayer-name {
    font-weight: 600;
    color: #1e3a8a;
}

.prayer-time {
    font-size: 0.9rem;
    color: #6b7280;
}

.prayer-type-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.prayer-type-badge.health {
    background: #dcfce7;
    color: #166534;
}

.prayer-type-badge.work {
    background: #dbeafe;
    color: #1e40af;
}

.prayer-type-badge.family {
    background: #fef3c7;
    color: #92400e;
}

.prayer-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.prayer-actions {
    display: flex;
    gap: 1rem;
}

.prayer-action-btn {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.prayer-action-btn:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
}

.prayer-action-btn.prayed {
    background: #1e3a8a;
    color: white;
}

.load-more-prayers {
    text-align: center;
    margin-top: 2rem;
}

.btn-load-more {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

/* Ressources spirituelles */
.spiritual-resources {
    padding: 4rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.resource-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(30, 58, 138, 0.15);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.resource-card h4 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.btn-resource {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-resource:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
}

/* Animations */
@keyframes lightRays {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    50% { transform: translateX(20px) rotate(2deg); }
}

@keyframes divineFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes divineGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.6)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.8)); }
}

@keyframes titleShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

.animate-divine-in {
    animation: divineSlideUp 1.2s ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes divineSlideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .meditation-container {
        grid-template-columns: 1fr;
    }
    
    .prayer-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .verse-text {
        padding: 0 1rem;
    }
    
    .prayer-actions {
        flex-direction: column;
    }
}