/**
 * Midnight Expansion - Delves Module Styles
 */

.delves-module {
    color: #f8fafc;
}

.delves-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.delve-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.delve-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.delve-card h4 {
    margin: 0;
    color: #a78bfa;
    font-size: 1.25rem;
}

.delve-type {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Companion Section */
.companion-section {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.2), rgba(30, 41, 59, 0.4));
    border-radius: 20px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.companion-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.companion-image-wrapper {
    flex-shrink: 0;
    width: 350px;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(167, 139, 250, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.companion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.companion-image-wrapper:hover .companion-img {
    transform: scale(1.05);
}

.companion-info h3 {
    font-size: 2.2rem;
    color: #a78bfa;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.companion-subtitle {
    font-size: 1.1rem;
    color: #fb7185;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: block;
}

.companion-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.companion-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #a78bfa;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

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

@media (max-width: 992px) {
    .companion-layout {
        flex-direction: column;
        text-align: center;
    }

    .companion-image-wrapper {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    .companion-stats {
        text-align: left;
    }
}