/**
 * Midnight Expansion - Lore Module Styles
 */

.lore-module {
    color: #e2e8f0;
}

.lore-module .module-header {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 24px;
}

.lore-module h1 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
    margin-bottom: 1rem;
}

.lore-module .module-intro {
    font-size: 1.3rem;
    color: #c4b5fd;
    margin-bottom: 1rem;
}

.lore-module .section-title {
    font-size: 2rem;
    color: #a78bfa;
    margin: 3rem 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.lore-module .lore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.lore-module .lore-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.lore-module .lore-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.2);
}

.lore-module .lore-card-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #7c3aed;
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.lore-module .lore-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lore-module .lore-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
    flex: 1;
}

.lore-module .lore-card-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lore-module .read-more {
    font-size: 0.85rem;
    color: #8b5cf6;
    font-style: italic;
}

.lore-module strong {
    color: #ddd6fe;
}

@media (max-width: 768px) {
    .lore-module h1 {
        font-size: 2.2rem;
    }

    .lore-module .lore-grid {
        grid-template-columns: 1fr;
    }
}