/* ---------------------------------------------------------------
   EXIGENCY HALL OF FAME PAGE
   --------------------------------------------------------------- */

/* -- Page wrapper ---------------------------------------------- */

.exigency-hof-page {
    background-color: #0A0A0A;
    min-height: 80vh;
}

.xig-hof-page-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

/* -- Header ---------------------------------------------------- */

.xig-hof-page-header {
    background-color: #000;
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid #1e1e1e;
}

.xig-hof-header-img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    width: auto;
}

.xig-hof-header-overlay {
    margin-top: 1.25rem;
}

.xig-hof-header-cta-link {
    display: inline-block;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    color: #39FF14;
    text-decoration: none;
    border: 1px solid rgba(57,255,20,0.35);
    border-radius: 2px;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-shadow: 0 0 6px rgba(57,255,20,0.4);
}

.xig-hof-header-cta-link:hover {
    background: rgba(57,255,20,0.08);
    border-color: #39FF14;
    box-shadow: 0 0 14px rgba(57,255,20,0.25);
    color: #39FF14;
}

.xig-hof-header-title {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.2em;
    text-shadow: 0 0 30px rgba(255,229,0,0.4);
    margin: 0 0 0.5rem;
}

.xig-hof-header-sub {
    font-size: 0.9rem;
    color: #888888;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* -- Section heading ------------------------------------------- */

.xig-hof-section-title {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    color: #FFE500;
    text-shadow: 0 0 8px rgba(255,229,0,0.5);
    text-transform: uppercase;
    margin: 2rem 0 1.25rem;
}

/* --------------------------------------------------------------
   HORIZONTAL TROPHY CARDS — vertical stack
   -------------------------------------------------------------- */

.xig-hof-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Card: full-width horizontal layout */
.xig-hof-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    gap: 0;
    background-color: #111111;
    border: 1px solid #1e1e1e;
    border-left: 4px solid var(--card-color, #FFE500);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 18px var(--card-shadow, rgba(255,229,0,0.1));
    transition: box-shadow 0.3s ease, transform 0.15s ease;
}

.xig-hof-card:hover {
    box-shadow: 0 0 30px var(--card-shadow, rgba(255,229,0,0.22));
    transform: translateX(3px);
}

/* -- LEFT COLUMN: rank badge + trophy image -------------------- */

.xig-hof-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1rem 0.5rem;
    background: #000000;
    border-right: 1px solid #1e1e1e;
    min-width: 210px;
    width: 210px;
    overflow: hidden;
}

/* Rank number */
.xig-hof-card-rank-num {
    display: none;
}

/* Medal label */
.xig-hof-card-medal {
    display: none;
}

/* Trophy image */
.xig-hof-card-trophy-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #000;
    padding: 0.5rem 0;
}

.xig-hof-card-trophy-img {
    display: block;
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* -- RIGHT COLUMN: all player data ----------------------------- */

.xig-hof-card-right {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Player name row */
.xig-hof-card-identity {
    border-bottom: 1px solid #1e1e1e;
    padding-bottom: 0.75rem;
}

.xig-hof-card-character {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.06em;
    margin: 0 0 0.15rem;
}

.xig-hof-card-player {
    font-size: 0.85rem;
    color: #888888;
    margin: 0 0 0.15rem;
    font-style: italic;
}

.xig-hof-card-location {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.68rem;
    color: #555555;
    letter-spacing: 0.06em;
    margin: 0;
}

/* Stats grid — 4 columns */
.xig-hof-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem 1rem;
}

.xig-hof-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.xig-hof-stat-label {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: #555555;
    text-transform: uppercase;
}

.xig-hof-stat-value {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.82rem;
    color: #CCCCCC;
    word-break: break-word;
}

.xig-hof-galactic {
    color: var(--card-color, #FFE500) !important;
    font-size: 1.1rem !important;
    font-weight: 700;
    text-shadow: 0 0 8px var(--card-shadow, rgba(255,229,0,0.5));
}

/* -- Empty card variant ---------------------------------------- */

.xig-hof-card-empty {
    opacity: 0.3;
}

.xig-hof-card-empty .xig-hof-card-character {
    color: #444444;
}

/* -- Divider --------------------------------------------------- */

.xig-hof-divider {
    width: 100%;
    display: block;
    margin: 0.5rem 0;
}

/* -- Table intro ----------------------------------------------- */

.xig-hof-table-intro {
    text-align: center;
    padding: 1.75rem 0 0.75rem;
}

.xig-hof-table-intro-title {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.88rem;
    letter-spacing: 0.18em;
    color: #FFE500;
    text-shadow: 0 0 8px rgba(255,229,0,0.4);
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}

.xig-hof-table-intro-sub {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.72rem;
    color: #555555;
    letter-spacing: 0.08em;
    margin: 0;
}

/* -- Ranks 6-50 table ------------------------------------------ */

.xig-hof-table-section {
    margin-top: 0.5rem;
}

.xig-hof-table-wrap {
    overflow-x: auto;
    border: 1px solid #1e1e1e;
    border-radius: 2px;
}

.xig-hof-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Mono', 'SF Mono', 'Consolas', 'Menlo', monospace;
    font-size: 0.6rem;
    background: #0d0d0d;
    letter-spacing: 0.03em;
}

.xig-hof-table thead tr {
    background: #000000;
    border-bottom: 2px solid #2a2a00;
}

.xig-hof-table th {
    color: #FFE500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.52rem;
    padding: 0.45rem 0.6rem;
    text-align: left;
    white-space: nowrap;
    font-family: 'Roboto Mono', 'SF Mono', 'Consolas', 'Menlo', monospace;
}

.xig-hof-table td {
    padding: 0.38rem 0.6rem;
    border-bottom: 1px solid #111111;
    color: #666666;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.6rem;
}

.xig-hof-table tbody tr:hover td {
    background: #121200;
    color: #AAAAAA;
}

.xig-hof-table .xig-tbl-empty td {
    color: #333333;
    font-style: italic;
    text-align: center;
    padding: 1.5rem;
    white-space: normal;
}

.xig-tbl-rank     { color: #555555; font-size: 0.65rem; }
.xig-tbl-name     { color: #CCCCCC; white-space: normal; min-width: 140px; }
.xig-tbl-galactic { color: #FFE500; font-weight: bold; }
.xig-tbl-real     { color: #555555; font-style: italic; }
.xig-tbl-prosperity { color: #39FF14; }
.xig-tbl-death    { color: #FF007F; }

.xig-hof-table-note {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.68rem;
    color: #444444;
    text-align: right;
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
}

/* -- Empty state ----------------------------------------------- */

.xig-hof-empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
}

.xig-hof-empty-icon  { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.xig-hof-empty-text  { font-family: 'Share Tech Mono', 'Courier New', monospace; color: #555555; font-size: 0.9rem; line-height: 1.8; }
.xig-hof-empty-text a { color: #FFE500; text-decoration: none; }
.xig-hof-empty-text a:hover { text-decoration: underline; }

/* -- Back link ------------------------------------------------- */

.xig-hof-back {
    margin-top: 2.5rem;
    border-top: 1px solid #1e1e1e;
    padding-top: 1.5rem;
    text-align: center;
}

/* -- Responsive ------------------------------------------------ */

@media (max-width: 720px) {
    .xig-hof-card {
        grid-template-columns: 1fr;
    }
    .xig-hof-card-left {
        flex-direction: row;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #1e1e1e;
        padding: 1rem 1.25rem;
        justify-content: center;
        min-width: unset;
    }
    .xig-hof-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xig-hof-table th,
    .xig-hof-table td { padding: 0.35rem 0.4rem; font-size: 0.58rem; }
}