/**
 * WARDOGS TRACKER - Homepage Command Center Stylesheet
 */

/* Section Headers */
.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 10px;
}
.home-section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #ffffff;
    text-transform: uppercase;
}
.home-section-title span {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(255, 179, 0, 0.35);
}
.home-section-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #8c9ba5;
    letter-spacing: 0.6px;
    margin-top: 4px;
}
.home-section-badge {
    background: rgba(255, 179, 0, 0.12);
    border: 1px solid rgba(255, 179, 0, 0.3);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ==========================================================================
   Section 2: Season 2 Class Specializations Grid
   ========================================================================== */
.class-mastery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 1200px) {
    .class-mastery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .class-mastery-grid { grid-template-columns: 1fr; }
}

.class-card {
    background: rgba(14, 18, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid var(--primary);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 4px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.class-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.class-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.class-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.class-icon-wrap {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    flex-shrink: 0;
}
.class-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(1.2);
}
.class-title-wrap {
    display: flex;
    flex-direction: column;
}
.class-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}
.class-role-desc {
    font-size: 10.5px;
    font-weight: 600;
    color: #79869a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.class-top-tag {
    font-size: 10px;
    font-weight: 800;
    color: #8c9ba5;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 0.8px;
}

/* Spotlight Operative #1 */
.class-spotlight {
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.class-spotlight-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.spotlight-rank-badge {
    background: #ffb300;
    color: #0b0e14;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255, 179, 0, 0.4);
}
.spotlight-avatar {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid rgba(255, 179, 0, 0.5);
    object-fit: cover;
    flex-shrink: 0;
}
.spotlight-info {
    min-width: 0;
    flex: 1;
}
.spotlight-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}
.spotlight-name:hover {
    color: var(--primary);
}
.spotlight-xp {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: #8c9ba5;
    font-weight: 600;
}
.spotlight-level-pill {
    background: rgba(255, 179, 0, 0.15);
    border: 1px solid rgba(255, 179, 0, 0.4);
    color: #ffb300;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Operatives #2 - #5 */
.class-sub-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.class-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    gap: 8px;
    transition: background 0.15s;
}
.class-sub-row:hover {
    background: rgba(255, 255, 255, 0.04);
}
.sub-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.sub-rank {
    font-size: 11px;
    font-weight: 700;
    color: #79869a;
    width: 16px;
    text-align: center;
}
.sub-avatar {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    flex-shrink: 0;
}
.sub-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #d1d5db;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}
.sub-name:hover {
    color: #ffffff;
}
.sub-row-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.sub-xp {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: #8c9ba5;
    font-weight: 500;
}
.sub-lvl {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
}

.class-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.class-view-btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #8c9ba5;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.15s, transform 0.15s;
}
.class-view-btn:hover {
    color: var(--primary);
    transform: translateX(2px);
}

/* ==========================================================================
   Section 3: Syndicate War Grid (3 Factions)
   ========================================================================== */
.syndicate-war-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
@media (max-width: 1024px) {
    .syndicate-war-grid { grid-template-columns: 1fr; }
}

.syndicate-card {
    background: rgba(14, 18, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 4px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s, border-color 0.2s;
}
.syndicate-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
}
.syndicate-card.lonestar { border-top: 3px solid #64c4f4; }
.syndicate-card.valkyra { border-top: 3px solid #ff4d4d; }
.syndicate-card.manticore { border-top: 3px solid #08a20e; }

.syndicate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.syndicate-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.syndicate-pill-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.syndicate-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}
.syndicate-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}
.syn-kpi-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #8c9ba5;
}
.syn-kpi-badge b {
    color: #fff;
    margin-left: 2px;
}

.syndicate-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.syndicate-table th {
    font-size: 11px;
    font-weight: 700;
    color: #79869a;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
}
.syndicate-table td {
    padding: 7px 8px;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.syndicate-table tbody tr:last-child td {
    border-bottom: none;
    padding-bottom: 4px;
}
.syndicate-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.syn-player-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.syn-player-link:hover {
    color: var(--primary);
}
.syn-avatar {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
}

.syndicate-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
}
.syndicate-footer a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.15s;
}
.syndicate-footer a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Section 5: Call To Action Banner
   ========================================================================== */
.home-cta-banner {
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.9) 0%, rgba(12, 16, 24, 0.95) 100%);
    border: 1px solid rgba(255, 179, 0, 0.3);
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(16px);
    border-radius: 4px;
    padding: 24px 30px;
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.cta-text-wrap {
    max-width: 720px;
}
.cta-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #ffffff;
    text-transform: uppercase;
}
.cta-title span {
    color: var(--primary);
}
.cta-desc {
    margin: 6px 0 0 0;
    font-size: 13.5px;
    color: #8c9ba5;
    line-height: 1.5;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #0b0e14;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.cta-btn:hover {
    background: #ffc400;
    box-shadow: 0 0 28px rgba(255, 179, 0, 0.6);
    transform: translateY(-2px);
    color: #000;
}
