/**
 * Midnight Expansion - Apex Talents Module Styles
 */

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

:root {
    --apex-gold: #fbbf24;
    --apex-purple: #8b5cf6;
    --apex-cosmic: #1e1b4b;
    --apex-glow: rgba(251, 191, 36, 0.4);
    --apex-border: rgba(251, 191, 36, 0.3);
}

.apex-module .glass-panel {
    background: rgba(15, 10, 30, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid var(--apex-border);
    border-radius: 30px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(251, 191, 36, 0.05);
}

.apex-module .module-header {
    text-align: center;
    border: 2px solid var(--apex-gold);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(15, 10, 30, 0.9));
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.apex-module .module-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.apex-module h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 40px var(--apex-glow);
    position: relative;
}

.apex-module h2 {
    color: var(--apex-gold);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.apex-module h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--apex-gold), transparent);
}

.beta-alert {
    background: rgba(251, 191, 36, 0.1);
    border: 2px dashed var(--apex-gold);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    color: var(--apex-gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Talents Table */
.talents-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.talents-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.talents-table th {
    text-align: left;
    color: var(--apex-gold);
    padding: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
}

.talents-table td {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    vertical-align: top;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.talents-table tr:hover td {
    background: rgba(251, 191, 36, 0.08);
    border-color: var(--apex-border);
}

.spec-name {
    font-weight: bold;
    color: var(--apex-purple);
    font-size: 1.1rem;
}

.talent-name {
    color: var(--apex-gold);
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.talent-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.talent-desc b {
    color: var(--apex-gold);
}

/* Class Headers in list */
.class-section {
    margin-top: 4rem;
}

.class-header {
    background: linear-gradient(90deg, var(--apex-cosmic), transparent);
    padding: 1rem 2rem;
    border-left: 5px solid var(--apex-gold);
    margin-bottom: 1.5rem;
}

.class-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 15px var(--apex-glow);
}

.enlargeable-cosmic {
    border-radius: 20px;
    border: 1px solid var(--apex-border);
    box-shadow: 0 0 30px var(--apex-glow);
    cursor: zoom-in;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enlargeable-cosmic:hover {
    transform: scale(1.03);
    box-shadow: 0 0 50px var(--apex-glow);
}

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

    .talents-table td,
    .talents-table th {
        padding: 1rem;
    }
}