/* =========================================================
   CLASSES.CSS - THE SOVEREIGN FORGE [CONSOLIDATED]
   ========================================================= */

/* 1. TABS - NAVIGATION */
.skill-tabs {
    display: flex;
    background: transparent;
    border-bottom: 3px solid var(--primary-green);
    box-shadow: var(--neon-glow);
    margin-bottom: 25px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--strobe-white);
    padding: 12px 30px;
    font-family: var(--crt-font);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.tab-btn.active {
    opacity: 1;
    background: rgba(9, 245, 48, 0.15);
    border-bottom: 4px solid var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
}

.tab-btn:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
}

/* 2. TABLE CORE STRUCTURE */
.skill-table {
    border: 1px solid var(--primary-green);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 0 20px rgba(9, 245, 48, 0.1);
    margin-bottom: 50px;
}

.table-header, .skill-row {
    display: grid;
    grid-template-columns: 120px 1fr 350px; /* LOCKED GRID WIDTHS */
    gap: 0;
    align-items: center;
}

/* 3. HEADER STYLING */
.table-header {
    background: rgba(9, 245, 48, 0.2); 
    color: var(--primary-green);
    font-family: var(--crt-font);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 12px 0; /* Tight Header */
    border-bottom: 2px solid var(--primary-green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.table-header .col-lvl {
    font-size: 0.7rem;
    opacity: 0.7;
    text-shadow: none;
    border-right: none;
}

/* 4. ROW STYLING [ULTRA-CONDENSED] */
.skill-row {
    border-bottom: 1px solid rgba(9, 245, 48, 0.2);
    transition: background 0.3s;
    padding: 0; /* Padding moved to internal columns */
}

.skill-row:hover {
    background: rgba(9, 245, 48, 0.08);
}

/* 5. COLUMN: LEVEL (RANK) */
.col-lvl {
    position: relative;
    font-family: "Georgia", serif;
    font-size: 2.2rem; /* Tightened from 3.5rem */
    font-weight: 900;
    color: var(--primary-green);
    text-shadow: var(--neon-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgba(9, 245, 48, 0.3);
    height: 100%;
    min-height: 80px;
}

.col-lvl::before {
    content: "LVL";
    font-family: var(--crt-font);
    font-size: 0.55rem;
    position: absolute;
    top: 8px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* 6. COLUMN: SKILL INFO */
.col-skill {
    display: flex;
    align-items: center;
    padding: 12px 20px; /* Tight vertical padding */
}

.skill-icon-box {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-green);
    box-shadow: var(--neon-glow);
    background: #000;
    margin-right: 20px;
    flex-shrink: 0;
}

.skill-info h3 { 
    font-family: "Georgia", serif !important; 
    color: var(--strobe-white); 
    font-size: 1.25rem; 
    text-transform: uppercase;
    margin: 0 0 2px 0; 
}

.skill-type { 
    font-family: var(--crt-font);
    color: var(--primary-green); 
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.skill-desc { 
    font-family: "Georgia", serif; 
    font-size: 0.95rem; 
    color: #ccc; 
    line-height: 1.3;
    max-width: 95%;
}

.skill-desc span { 
    color: var(--primary-green); 
    font-weight: bold;
}

/* 7. COLUMN: RUNES (VARIATIONS) */
.col-runes {
    padding: 12px 20px;
    border-left: 1px solid rgba(9, 245, 48, 0.3);
    height: 100%;
}

.col-runes ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.col-runes li { 
    font-family: var(--crt-font);
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.col-runes li:hover {
    border-left: 2px solid var(--primary-green);
    background: rgba(9, 245, 48, 0.15);
    color: var(--strobe-white);
    cursor: pointer;
}

/* 8. RESPONSIVE */
@media (max-width: 1100px) {
    .table-header, .skill-row {
        grid-template-columns: 100px 1fr;
    }
    .col-runes {
        grid-column: span 2;
        border-left: none;
        border-top: 1px solid rgba(9, 245, 48, 0.2);
    }
}