/**
 * Midnight Expansion - Systems Module Styles
 */

.systems-module {
    color: #f8fafc;
}

.systems-module .module-header {
    margin-bottom: 2rem;
    text-align: center;
}

.systems-module h1 {
    color: #fbbf24;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.systems-module .module-intro {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Editions Grid */
.editions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.edition-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.edition-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.edition-card.featured {
    border-color: rgba(251, 191, 36, 0.6);
    background: rgba(251, 191, 36, 0.05);
}

.edition-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.base .edition-badge {
    color: #94a3b8;
}

.heroic .edition-badge {
    color: #34d399;
}

.epic .edition-badge {
    color: #a78bfa;
}

.edition-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    color: #fbbf24;
    margin-right: 10px;
    font-weight: bold;
}

/* Epic Extras */
.epic-extras {
    margin-top: 2rem;
    background: rgba(167, 139, 250, 0.05);
    border-color: rgba(167, 139, 250, 0.3);
}

.decor-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.decor-mini-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #c4b5fd;
    border-left: 3px solid #a78bfa;
}

/* Requirements Tabs */
.tabs-requirements {
    margin-top: 1.5rem;
}

.req-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.req-tab-btn {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 10px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.req-tab-btn.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #f8fafc;
}

.req-view {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.req-view.active {
    display: block;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.req-column h4 {
    color: #3b82f6;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

.req-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.req-list li strong {
    color: #f8fafc;
    margin-right: 5px;
}

.req-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #64748b;
}

.req-footer p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .editions-grid {
        grid-template-columns: 1fr;
    }
}