/**
 * Midnight Expansion - Devourer Demon Hunter Module Styles
 */

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

/* Void Theme Colors */
:root {
    --void-primary: #a78bfa;
    --void-secondary: #7c3aed;
    --void-dark: #1e1b4b;
    --void-glow: rgba(167, 139, 250, 0.3);
}

.devourer-module .glass-panel {
    background: rgba(15, 10, 30, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(167, 139, 250, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.devourer-module .glass-panel:hover {
    border-color: rgba(167, 139, 250, 0.5);
}

.devourer-module .module-header {
    text-align: center;
    border: 2px solid var(--void-secondary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(15, 10, 30, 0.9));
    padding: 3.5rem 2rem;
}

.devourer-module h1 {
    font-size: 3.2rem;
    color: #fff;
    text-shadow: 0 0 30px var(--void-glow);
    margin: 0;
}

.devourer-module h2 {
    color: var(--void-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid var(--void-secondary);
    padding-left: 1.5rem;
}

/* Grid Layouts */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* Pros/Cons Table */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(30, 20, 50, 0.4);
    border-radius: 12px;
    overflow: hidden;
}

.stats-table th {
    background: rgba(124, 58, 237, 0.3);
    color: #fff;
    text-align: left;
    padding: 1rem;
}

.stats-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
    vertical-align: top;
}

.stats-table ul {
    margin: 0;
    padding-left: 1.2rem;
}

.stats-table li {
    margin-bottom: 0.5rem;
}

.pro-text {
    color: #4ade80;
}

.con-text {
    color: #f87171;
}

/* Ability Cards */
.ability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ability-card {
    background: rgba(40, 30, 70, 0.4);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.ability-card:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--void-primary);
    transform: translateY(-5px);
}

.ability-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

.ability-icon-small {
    font-size: 1.5rem;
}

/* Content Images */
.content-img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    margin: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.content-img:hover {
    transform: scale(1.02);
}

/* Highlight boxes */
.highlight-box {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box strong {
    color: var(--void-primary);
}

/* Requirements list */
.req-list {
    list-style: none;
    padding: 0;
}

.req-list li {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.req-list li:before {
    content: "🔸";
}

/* Comparison Table for Hero Talents */
.hero-talent-table {
    width: 100%;
    margin-top: 1.5rem;
}

.hero-talent-table td {
    padding: 0.8rem;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.hero-talent-table strong {
    color: var(--void-primary);
}

/* Apex Talents List */
.apex-talent-row {
    background: rgba(15, 10, 30, 0.4);
    margin-bottom: 1rem;
    border-radius: 10px;
    padding: 1rem;
    border-left: 4px solid var(--void-secondary);
}

.apex-title {
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
    display: block;
}

.apex-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

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

    .info-grid {
        grid-template-columns: 1fr;
    }
}