/* Chapter Explorer Page Styles */

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2) !important;
}

.chapter-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.chapter-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.chapter-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.sura-number-badge {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    backdrop-filter: blur(5px);
}

.revelation-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meccan-badge {
    background: rgba(255,193,7,0.2);
    color: #FFC107;
    border: 1px solid rgba(255,193,7,0.3);
}

.medinan-badge {
    background: rgba(76,175,80,0.2);
    color: #4CAF50;
    border: 1px solid rgba(76,175,80,0.3);
}

.stat-mini {
    padding: 8px 12px;
    background: #F8F9FA;
    border-radius: 10px;
    text-align: center;
}

.stat-mini-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2C3E50;
}

.stat-mini-label {
    font-size: 0.7rem;
    color: #7F8C8D;
    text-transform: uppercase;
}

.character-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #F0F0F0;
    border-radius: 15px;
    font-size: 0.75rem;
    margin: 2px;
    transition: all 0.2s ease;
}

.character-chip:hover {
    background: #E0E0E0;
    transform: scale(1.05);
}

.need-bar {
    height: 8px;
    border-radius: 4px;
    background: #E9ECEF;
    overflow: hidden;
}

.need-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.view-toggle-btn {
    border: 2px solid #2E7D32;
    background: transparent;
    color: #2E7D32;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-toggle-btn.active, .view-toggle-btn:hover {
    background: #2E7D32;
    color: white;
}
