﻿.page-pvp_statistics {
    display: grid;
    gap: 1.35rem;
}

.page-pvp_statistics .page-body {
    display: grid;
    gap: 1.35rem;
}

.page-pvp_statistics .pvp-shell {
    display: grid;
    gap: 1.25rem;
}

.page-pvp_statistics .pvp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.95fr);
    gap: 1rem;
    padding: 1.7rem;
    border: 1px solid rgba(255, 166, 77, 0.14);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 166, 77, 0.12), transparent 35%),
        radial-gradient(circle at left center, rgba(108, 144, 255, 0.12), transparent 38%),
        linear-gradient(145deg, rgba(13, 18, 30, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.page-pvp_statistics .pvp-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.88rem;
    border-radius: 999px;
    background: rgba(255, 166, 77, 0.08);
    border: 1px solid rgba(255, 166, 77, 0.16);
    color: #ffcf93;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-pvp_statistics .pvp-hero h3 {
    margin: 0.95rem 0 0;
    color: #fff4e7;
    font-size: clamp(1.9rem, 4vw, 3.3rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.page-pvp_statistics .pvp-hero p {
    max-width: 760px;
    margin: 0.95rem 0 0;
    color: rgba(234, 229, 222, 0.76);
    font-size: 0.98rem;
    line-height: 1.72;
}

.page-pvp_statistics .pvp-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.page-pvp_statistics .pvp-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 0.92rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(250, 232, 208, 0.86);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-pvp_statistics .pvp-hero__stats {
    display: grid;
    gap: 0.9rem;
}

.page-pvp_statistics .pvp-stat-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 166, 77, 0.12);
}

.page-pvp_statistics .pvp-stat-label {
    display: block;
    color: rgba(255, 205, 148, 0.68);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-pvp_statistics .pvp-stat-value {
    display: block;
    margin-top: 0.45rem;
    color: #fff2de;
    font-size: 1rem;
    line-height: 1.45;
}

.page-pvp_statistics .pvp-toolbar {
    padding: 1rem;
    border: 1px solid rgba(255, 166, 77, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 20, 33, 0.92) 0%, rgba(9, 13, 23, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.page-pvp_statistics .nav-pills {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0 !important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.page-pvp_statistics .nav-pills > li {
    margin: 0 !important;
}

.page-pvp_statistics .nav-pills .nav-link {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(244, 246, 251, 0.82);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-pvp_statistics .nav-pills .nav-link.active,
.page-pvp_statistics .nav-pills .nav-link:hover {
    background: linear-gradient(135deg, #ffb85d 0%, #ff8d2e 100%);
    color: #10151f;
    border-color: transparent;
}

.page-pvp_statistics .pvp-toolbar__realm {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: auto !important;
}

.page-pvp_statistics .pvp-toolbar__label {
    color: #ffcb88;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-pvp_statistics #realm-changer {
    min-width: 250px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 166, 77, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #f4f6fb;
}

.page-pvp_statistics .pvp-content {
    display: grid;
}

.page-pvp_statistics .pvp-table-wrap,
.page-pvp_statistics .pvp-empty-state {
    padding: 1.3rem;
    border: 1px solid rgba(255, 166, 77, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(13, 18, 30, 0.96) 0%, rgba(8, 12, 20, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 20px 40px rgba(0, 0, 0, 0.22);
}

.page-pvp_statistics .pvp-table-wrap__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-pvp_statistics .pvp-table-wrap__kicker {
    display: inline-flex;
    color: #ffcb88;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-pvp_statistics .pvp-table-wrap__head h4 {
    margin: 0.45rem 0 0;
    color: #fff3e3;
    font-size: 1.4rem;
    line-height: 1.1;
}

.page-pvp_statistics .pvp-table-wrap__head p {
    max-width: 420px;
    margin: 0;
    color: rgba(233, 237, 248, 0.68);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: right;
}

.page-pvp_statistics .pvp-table {
    border-radius: 18px;
    overflow: hidden;
}

.page-pvp_statistics .pvp-table thead th {
    border-bottom: 1px solid rgba(255, 166, 77, 0.14);
    color: #ffcc8a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.page-pvp_statistics .pvp-table tbody td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #e9edf8;
    vertical-align: middle;
}

.page-pvp_statistics .pvp-table tbody td:first-child {
    color: #ffcf93;
    font-weight: 800;
}

.page-pvp_statistics .pvp-table tbody tr:hover {
    background: rgba(255, 166, 77, 0.04);
}

.page-pvp_statistics .pvp-table a {
    color: #ffd39a;
    text-decoration: none;
}

.page-pvp_statistics .pvp-table a:hover {
    color: #fff1d6;
}

.page-pvp_statistics .pvp-empty-state {
    text-align: center;
}

.page-pvp_statistics .pvp-empty-state__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 166, 77, 0.08);
    border: 1px solid rgba(255, 166, 77, 0.16);
    color: #ffc77e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-pvp_statistics .pvp-empty-state h4 {
    margin: 1rem 0 0;
    color: #fff3e3;
    font-size: 1.55rem;
    line-height: 1.18;
}

.page-pvp_statistics .pvp-empty-state p {
    max-width: 700px;
    margin: 0.85rem auto 0;
    color: rgba(233, 237, 248, 0.7);
    font-size: 0.98rem;
    line-height: 1.75;
}

@media (max-width: 1199px) {
    .page-pvp_statistics .pvp-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-pvp_statistics .pvp-hero,
    .page-pvp_statistics .pvp-toolbar,
    .page-pvp_statistics .pvp-table-wrap,
    .page-pvp_statistics .pvp-empty-state {
        padding: 1rem;
        border-radius: 22px;
    }

    .page-pvp_statistics .nav-pills {
        gap: 8px;
    }

    .page-pvp_statistics .pvp-table-wrap__head {
        flex-direction: column;
        align-items: start;
    }

    .page-pvp_statistics .pvp-table-wrap__head p {
        text-align: left;
    }

    .page-pvp_statistics .pvp-toolbar__realm {
        width: 100%;
        margin-left: 0 !important;
    }

    .page-pvp_statistics #realm-changer {
        width: 100%;
        min-width: 0;
    }
}
