/* -------------------------------------------------
   GLOBAL LAYOUT
------------------------------------------------- */
body .content {
    background: none;
    padding: 0px;
}


/* -------------------------------------------------
   BOXER NAME
------------------------------------------------- */
.boxer-name-box {
    background: rgba(30, 30, 30, 0.7);
    padding: 18px 25px;
    margin-bottom: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.boxer-name {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.boxer-name .alias {
    color: #969696;
    font-weight: 600;
}

.boxer-name .real-name {
    color: #eee;
}

.legend-tag {
    width: 100px;
    padding: 6px 0;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    background: #eee;
    color: rgba(50, 50, 50, 1);
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* -------------------------------------------------
   CAREER SWITCH
------------------------------------------------- */
.boxer-career-box {
    background: rgba(30, 30, 30, 0.7);
    padding: 8px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.career-btn {
    width: 100px;
    padding: 6px 0;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background: rgba(50, 50, 50, 0.7);
    color: #eee;
    transition: 0.2s;
    text-align: center;
}

.career-btn:hover {
    background: #444;
}

.career-btn.active {
    background: #980000;
    color: #eee;
    cursor: default;
}


/* -------------------------------------------------
   PROFILE CONTAINER
------------------------------------------------- */
.boxer-profile-container {
    display: flex;
    gap: 5px;
    background: rgba(30, 30, 30, 0.7);
    padding: 10px;
    border-radius: 12px;
    min-height: 300px;
    align-items: center;
    justify-content: center;
}

/* Boxer Image */
.boxer-image-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.boxer-image {
    width: 220px;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
}

.image-copyright {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #eee;
    background: rgba(0,0,0,0.5);
    padding: 2px 6px;
    border-radius: 9999px;
}

/* Info Columns */
.boxer-info {
    display: flex;
    flex: 1;
    gap: 60px;
    justify-content: center;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Info Rows */
.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-label {
    width: 120px;
    text-align: right;
    font-weight: 600;
    color: #ccc;
}

.info-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    text-align: left;
}

/* Flags */
.flag-icon {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.info-value a {
    color: #969696;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}


/* -------------------------------------------------
  PROMOTION
------------------------------------------------- */
.promo-image-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.promo-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
}


/* -------------------------------------------------
   RECORD + TITLES SECTION
------------------------------------------------- */
.record-titles-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.record-box,
.titles-box {
    flex: 1;
    background: rgba(30, 30, 30, 0.7);
    padding: 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 14px;
}


/* -------------------------------------------------
   RECORD GRID
------------------------------------------------- */
.record-top-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.record-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.record-item {
    width: 80px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
}

.record-item.wins { border: 3px solid #009041; }
.record-item.losses { border: 3px solid #980000; }
.record-item.draws { border: 3px solid #0064c2; }

.ko-item {
    width: 80px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ko-item.wins-ko { border: 2px solid #009041; }
.ko-item.losses-ko { border: 2px solid #980000; }


/* -------------------------------------------------
   TITLES LIST
------------------------------------------------- */
.titles-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: center;
    width: auto;
    max-width: 90%;
}

.title-entry {
    font-size: 1.1rem;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

/* TITLES TOGGLE (DESKTOP HIDDEN) */
.titles-toggle-btn {
    display: none;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 12px;
    border: none;
    background: rgba(50, 50, 50, 0.7);
    color: #eee;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
}

.titles-toggle-btn.open {
    background: rgba(80, 80, 80, 0.8);
}


/* -------------------------------------------------
   FIGHT HISTORY
------------------------------------------------- */
.fight-history-container {
    background: rgba(30, 30, 30, 0.7);
    padding: 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.fight-entry {
    display: grid;
    grid-template-columns:
        70px    /* Date     */
        1fr     /* Venue    */
        280px   /* Opponent */
        60px    /* Result   */
        80px    /* Round    */
        40px    /* Title    */
        40px;   /* Info     */
    align-items: center;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 8px 10px;
    transition: background 0.2s;
    gap: 8px;
}

.fight-entry:hover {
    background: rgba(255,255,255,0.05);
}

.fight-flag {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.fight-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
}

.arena, .opponent {
    display: flex;
    flex-direction: column;
    padding-left: 6px;
}

.opponent-name {
    font-weight: 600;
}

.opponent-city, .arena-city {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
}

.opponent-city .flag, .arena-city .flag {
    width: 15px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.opponent-name a,
.arena-name a {
    text-decoration: none;
}

.opponent-name a:hover,
.arena-name a:hover {
    color: #969696;
    text-decoration: underline;
}

.fight-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 70px;
    border-radius: 8px;
    font-weight: 600;
    color: #eee;
    text-align: center;
}

.fight-result small {
    font-size: 0.8rem;
}

.fight-round {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fight-round small {
    font-size: 0.75rem;
    color: #ccc;
}

.fight-title {
    text-align: center;
}

.fight-result.W { background: #009041; }
.fight-result.L { background: #980000; }
.fight-result.D { background: #0064c2; }
.fight-result.NC { background: #515151; }
.fight-result.VS { background: #d78c00; }

.fight-info-sign {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fight-info-sign span {
    font-size: 1.2rem;
}


/* -------------------------------------------------
   MOBILE
------------------------------------------------- */
@media (max-width: 900px) {

    .boxer-name {
        font-size: 1.6rem;
        gap: 6px;
    }

    .boxer-profile-container {
        flex-direction: column;
        align-items: center;
    }

    .boxer-info {
        flex-direction: column;
        width: 100%;
        max-width: 330px;
        gap: 28px;
        align-items: center;
        margin: 0 auto;
    }

    .info-column {
        align-items: center;
        width: 100%;
    }

    .info-row {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info-label {
        width: 40%;
        text-align: right;
    }

    .info-value {
        width: 60%;
        justify-content: flex-start;
    }

    .record-titles-container {
        flex-direction: column;
    }

    /* (Default) Hide Titles on Mobile */
    .titles-list {
        display: none;
    }

    /* Mobile-Only Toggle */
    .titles-toggle-btn {
        display: block;
    }

    .fight-entry {
        grid-template-columns:
            55px    /* Date      */
            1fr     /* Opponent  */
            60px    /* Result    */
            35px;   /* Info Icon */

        padding: 10px 12px;
        gap: 10px;
    }

    .arena,
    .fight-round,
    .fight-title {
        display: none !important;
    }

    .opponent-name {
        font-size: 0.95rem;
    }

    .opponent-city {
        font-size: 0.7rem;
    }

    .fight-result {
        width: 55px;
        height: 40px;
        font-size: 1rem;
    }

    .fight-result small {
        font-size: 0.7rem;
    }

    .fight-date {
        font-size: 0.9rem;
        line-height: 1.1rem;
    }

    .fight-info-sign span {
        font-size: 1.3rem;
    }    
}