/* =========================================================
   PDGH Tactical Command Center
   Player Detail Page
   Optischer Feinschliff
========================================================= */


/* =========================================================
   PLAYER HEADER
========================================================= */

.player-header {

    position: relative;

    display: grid;

    grid-template-columns: 1fr auto;

    column-gap: 24px;

    align-items: center;

    margin-bottom: 20px;

}

.player-header .player-name {

    grid-column: 1;

    margin: 0;

    color: #FFFFFF;

    font-size: 26px;

    font-weight: 700;

}

.player-header .player-role {

    grid-column: 1;

    margin: 5px 0 0;

    color: #9EA7B3;

    font-size: 14px;

}

.player-status-row {

    grid-column: 2;

    grid-row: 1 / span 2;

}

.player-meta {

    grid-column: 1 / -1;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 18px;

}

.player-meta-item {

    min-height: 42px;

    box-sizing: border-box;

}


/* =========================================================
   PERSONALAKTE
========================================================= */

.player-card {

    min-height: 100%;

}

.player-card hr {

    margin: 22px 0;

    border: 0;

    border-top: 1px solid rgba(255,255,255,.10);

}


/* =========================================================
   STATISTIKEN
========================================================= */

.stat-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 0;

}

.metric-card {

    min-height: 105px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 16px;

    background: rgba(32,41,50,.72);

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 12px;

    text-align: center;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;

}

.metric-card:hover {

    background: rgba(37,47,57,.88);

    border-color: rgba(76,152,69,.28);

    transform: translateY(-2px);

}

.metric-title {

    color: #9EA7B3;

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .45px;

}

.metric-value {

    margin-top: 7px;

    color: #F3F5F7;

    font-size: 29px;

    font-weight: 800;

    line-height: 1.1;

}

.metric-subtitle {

    margin-top: 6px;

    color: #8F99A5;

    font-size: 12px;

}


/* =========================================================
   AKTIVITÄT
========================================================= */

.metric-card .progress-wrapper {

    width: 100%;

    margin-top: 10px;

}

.metric-card .progress-track {

    height: 8px;

}


/* =========================================================
   BOLLWERK
========================================================= */

.metric-card .status-badge {

    margin-top: 9px;

}

.metric-card .status-icon {

    font-size: 13px;

}


/* =========================================================
   WN8 ANALYSE
========================================================= */

.wn8-card {

    position: relative;

    min-height: 100%;

    box-sizing: border-box;

    padding: 28px;

    justify-content: flex-start;

}

.wn8-card .tactical-title {

    align-self: flex-start;

    width: 100%;

    margin-bottom: 28px;

}

.wn8-score {

    font-size: 68px;

    font-weight: 800;

    line-height: 1;

}

.wn8-title {

    margin-top: 12px;

    color: #F2F4F6;

    font-size: 22px;

    font-weight: 700;

    text-align: center;

}

.wn8-rating {

    margin-top: 7px;

    color: #A8B0BA;

    font-size: 15px;

    text-align: center;

}

.wn8-card .progress-container {

    width: 100%;

    margin: 28px 0 22px;

}

.wn8-card .progress-bar {

    height: 12px;

}

.wn8-next {

    margin-top: 10px;

    color: #B4BCC6;

    font-size: 14px;

    line-height: 1.5;

}

.wn8-next strong {

    color: #E5E9ED;

}

.wn8-remaining {

    margin-top: 15px;

    color: #63B65B;

    font-size: 14px;

}


/* =========================================================
   COMBAT READINESS
========================================================= */

.tactical-card.fade-in {

    animation: none;

}

.tactical-card .tactical-title {

    margin-bottom: 22px;

}

.combat-layout {

    display: grid;

    grid-template-columns: 330px 1fr;

    gap: 42px;

    align-items: center;

}

.combat-summary {

    text-align: center;

}

.combat-circle {

    width: 170px;

    height: 170px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 6px solid #4C9845;

    border-radius: 50%;

    background: rgba(16,20,24,.35);

    box-shadow:
        inset 0 0 25px rgba(0,0,0,.20);

    color: #F4F6F8;

    font-size: 42px;

    font-weight: 800;

}

.combat-status-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 7px 15px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: 700;

}

.combat-summary strong {

    color: #DDE2E7;

    font-size: 14px;

}

.combat-summary ul {

    margin-left: 15px;

    padding-left: 18px;

    color: #AAB3BD;

    font-size: 13px;

    line-height: 1.7;

}

.combat-parts {

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.combat-row {

    width: 100%;

}

.combat-row-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 8px;

    color: #DDE2E7;

    font-size: 14px;

}

.combat-row-header strong {

    color: #F2F4F6;

    font-variant-numeric: tabular-nums;

}

.combat-row .progress-wrapper {

    width: 100%;

}

.combat-row .progress-track {

    height: 9px;

}


/* =========================================================
   FADE / HOVER
========================================================= */

.player-card,
.wn8-card,
.combat-card {

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}

.player-card:hover,
.wn8-card:hover,
.combat-card:hover {

    transform: none;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .stat-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

    .combat-layout {

        grid-template-columns: 260px 1fr;

        gap: 30px;

    }

}


@media (max-width: 900px) {

    .player-header {

        grid-template-columns: 1fr;

        gap: 12px;

    }

    .player-status-row {

        grid-column: 1;

        grid-row: auto;

    }

    .player-meta {

        grid-template-columns: 1fr;

    }

    .combat-layout {

        grid-template-columns: 1fr;

    }

    .combat-summary {

        padding-bottom: 10px;

    }

}


@media (max-width: 650px) {

    .stat-grid {

        grid-template-columns: 1fr;

    }

    .wn8-score {

        font-size: 56px;

    }

    .combat-circle {

        width: 145px;

        height: 145px;

        font-size: 36px;

    }

}