/**
 * Midnight Expansion - Endeavors Module Styles
 */

.endeavors-module {
    animation: fadeIn 0.6s ease-out;
    color: #e2e8f0;
}

.endeavors-module .glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(139, 92, 246, 0.1);
}

.endeavors-module .module-header {
    text-align: center;
    border: 2px solid rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(15, 23, 42, 0.9));
    padding: 3.5rem 2rem;
}

.endeavors-module h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    margin: 0;
}

.endeavors-module .module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.endeavors-module h2 {
    color: #a78bfa;
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid #8b5cf6;
    padding-left: 1.5rem;
}

.endeavors-module .content-img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-top: 1rem;
}

.endeavors-module .caption {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Choice List */
.choice-list {
    list-style: none;
    padding: 0;
}

.choice-list li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 12px;
    border-left: 3px solid #8b5cf6;
}

.choice-list strong {
    color: #c084fc;
}

/* Task Grid */
.task-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.task-card {
    padding: 1.2rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.task-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.1);
}

.task-card h4 {
    color: #a78bfa;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Rewards info */
.reward-highlight {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 1.5rem;
    border-radius: 18px;
    margin-top: 1.5rem;
}

.reward-highlight h4 {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.endeavors-module .alert-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    margin: 1.5rem 0;
}

.endeavors-module .warband-info.card {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .endeavors-module .module-grid {
        grid-template-columns: 1fr;
    }

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