.player-page-main {
    width: 100%;
    max-width: 1220px;
}

.player-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-page .logo {
    width: 150px;
}

.player-page h3 {
    color: #fff;
    font-size: 36px;
    text-align: center;
    padding: 10px 0 24px;
}

.player-content-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 20px 45px #00000025;
    padding: 30px 24px 40px;
    margin-top: 30px;
}

.player-header {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.player-summary-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 280px;
    padding: 28px 24px;
    border-radius: 20px;
    background: linear-gradient(150deg, var(--main-color), #310000 55%, var(--orange-color-secondary));
    box-shadow: 0 18px 35px #0000002f;
}

.player-summary-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    top: -80px;
    right: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.player-summary-top,
.player-summary-bottom {
    position: relative;
    z-index: 1;
}
.player-summary-bottom {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.player-summary-label {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    margin-bottom: 12px;
}

.player-summary-top h4 {
    color: #fff;
    font-size: 34px;
    line-height: 1.05;
}

.player-hero-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 80px;
    padding: 10px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 32px;
    font-weight: 800;
}

.player-team-logo,
.player-team-logo-static {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    text-decoration: none;
}

.player-team-logo img {
    width: 70px;
    flex-shrink: 0;
    background-color: #fff;
    height: 70px;
    border-radius: 5px;
    object-fit: contain;
}

.player-team-logo span,
.player-team-logo-static span {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.player-team-logo-static {
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.player-description-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    color: #000;
}

.player-description-main {
    width: 100%;
}

.player-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.player-about-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 112px;
    padding: 16px 18px;
    border: 1px solid #eee2da;
    border-radius: 16px;
    background: #faf7f5;
}

.player-about-item p {
    margin: 0;
    color: #7a675f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.text-bold-special {
    color: var(--main-color);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.player-description-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-tabs > div {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f2ebe8;
    color: var(--main-color);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 200ms ease;
}

.mini-tabs > div:hover {
    border-color: #dcc8bf;
}

.mini-tabs > div.mini-tabs-active {
    background: var(--main-color);
    color: #fff;
    box-shadow: 0 10px 20px #00000018;
}

.player-description-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.player-description-stats-inner > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 132px;
    padding: 18px 12px;
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 18px #0000000a;
}

.player-description-stats-inner > div span:first-child {
    color: var(--orange-color);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    padding-bottom: 12px;
}

.player-description-stats-inner > div span:last-child {
    color: #544740;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.players-games-container {
    margin-top: 34px;
}

.players-games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
}

.players-games-header h4 {
    color: var(--main-color);
    font-size: 30px;
}

.select-normal {
    min-width: 180px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dbc9c0;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 15px;
}

.players-games-table-wrap {
    overflow-x: auto;
}

.players-games-status {
    color: #555;
    font-style: italic;
    padding: 8px 2px;
}

.player-games-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0;
}

.player-games-table th {
    padding: 10px 8px;
    background-color: var(--orange-color);
    color: #fff;
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
}

.player-games-table thead tr th:first-child {
    border-top-left-radius: 10px;
}

.player-games-table thead tr th:last-child {
    border-top-right-radius: 10px;
}

.player-games-table tbody tr:nth-child(even) {
    background-color: #f7f4f2;
}

.player-games-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.player-games-table tbody td {
    color: #000;
    text-align: center;
    font-size: 15px;
    padding: 12px 8px;
    vertical-align: middle;
}

.player-game-name {
    color: #555;
    font-weight: 700;
}

.player-games-team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.player-games-team-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.player-games-team .player-games-team-item:first-child {
    justify-content: flex-end;
}
.player-games-team .player-games-team-item:last-child {
    justify-content: flex-start;
}

.player-games-team img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.player-games-team-name {
    font-size: 14px;
    line-height: 1.2;
}

.player-games-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 88px;
    font-size: 20px;
    font-weight: 600;
}

.player-games-score-strong {
    color: var(--main-color);
}

.player-game-stat {
    font-weight: 700;
}

.player-game-item-view a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #faf4ef;
    box-shadow: inset 0 0 0 1px #eadcd3;
    color: var(--main-color);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.player-game-item-view a:hover {
    background: var(--main-color);
    color: #fff;
}

.player-game-item-view svg {
    width: 16px;
    height: 16px;
}

@media screen and (max-width: 1100px) {
    .player-header {
        grid-template-columns: 1fr;
    }

    .player-summary-card {
        min-height: 0;
    }

    .player-description-stats-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .players-games-table-wrap {
        padding-bottom: 4px;
    }

    .player-games-table thead tr th:first-child,
    .player-games-table thead tr th:last-child {
        border-radius: 0;
    }
}

@media screen and (max-width: 767px) {
    .player-page h3 {
        font-size: 32px;
    }

    .player-content-container {
        padding: 22px 0 32px;
        border-radius: 0;
    }

    .player-header {
        gap: 22px;
        padding: 0 14px;
    }

    .player-summary-card {
        padding: 22px 18px;
    }

    .player-summary-top h4 {
        font-size: 28px;
    }

    .player-team-logo span,
    .player-team-logo-static span {
        font-size: 18px;
    }

    .player-team-logo img {
        width: 60px;
    }

    .player-details-grid {
        grid-template-columns: 1fr;
    }

    .player-about-item {
        min-height: 0;
    }

    .players-games-container {
        margin-top: 26px;
    }

    .players-games-header {
        flex-direction: column;
        align-items: stretch;
        padding: 0 14px 16px;
    }

    .players-games-header h4 {
        font-size: 26px;
        text-align: center;
    }

    .select-season-wrap {
        display: flex;
        justify-content: center;
    }

    .select-normal {
        width: 100%;
    }
}

@media screen and (max-width: 520px) {
    .player-description-stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .player-description-stats-inner > div span:first-child {
        font-size: 34px;
    }

    .player-games-team {
        gap: 6px;
    }

    .player-games-team-item {
        gap: 6px;
    }

    .player-games-team img {
        width: 48px;
        height: 48px;
    }

    .player-game-item-view a {
        padding: 8px 10px;
    }
}