/* ============================================================
   SINGLE PLAYER PROFILE
   ============================================================ */
.nks-pp {
    --pp-max: 1180px;
    background: #edf0ff;
    color: var(--nks-navy-deeper, #0A0F1E);
    font-family: "Plus Jakarta Sans", sans-serif;
}

/* ── HERO ─────────────────────────────────────────────────── */
.nks-pp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 120% at 80% -10%, rgba(255,215,0,.18), transparent 55%),
        linear-gradient(160deg, var(--nks-navy, #034694) 0%, var(--nks-navy-dark, #022F66) 45%, var(--nks-navy-deeper, #0A0F1E) 100%);
    color: #fff;
}
.nks-pp-hero__watermark {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(220px, 40vw, 520px);
    line-height: .8;
    color: rgba(255, 255, 255, .05);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.nks-pp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--pp-max);
    margin: 0 auto;
    padding: clamp(32px, 5vw, 72px) clamp(16px, 5vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
}

/* Photo */
.nks-pp-hero__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .14);
}
.nks-pp-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nks-pp-hero__photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nks-pp-hero__photo-placeholder span {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(80px, 14vw, 160px);
    color: rgba(255, 255, 255, .18);
}

/* Intro */
.nks-pp-hero__back {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    margin-bottom: 18px;
    transition: color .2s ease;
}
.nks-pp-hero__back:hover { color: var(--nks-gold, #FFD700); }

.nks-pp-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.nks-pp-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 6px 14px;
    border-radius: 999px;
    transition: all .2s ease;
}
.nks-pp-badge:hover { background: rgba(255, 255, 255, .22); }
.nks-pp-badge--gold {
    color: var(--nks-navy-deeper, #0A0F1E);
    background: var(--nks-gold, #FFD700);
    border-color: var(--nks-gold, #FFD700);
}
.nks-pp-badge--gold:hover { background: var(--nks-gold-light, #FFE566); }

.nks-pp-hero__name {
    font-family: "Bebas Neue", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(46px, 8vw, 96px);
    line-height: .92;
    letter-spacing: .01em;
    margin: 0 0 10px;
    color: #fff;
}
.nks-pp-hero__role {
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 600;
    color: var(--nks-gold-light, #FFE566);
    margin: 0 0 26px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nks-pp-hero__role i { opacity: .55; font-style: normal; }
.nks-pp-hero__flag { display: inline-flex; align-items: center; }

/* Country flags */
.nks-flag {
    display: inline-block;
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}
.nks-flag--lg {
    width: 34px;
    height: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

/* Quick facts */
.nks-pp-hero__facts {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.nks-pp-hero__facts li {
    padding: 16px 26px 16px 0;
    margin-right: 26px;
    border-right: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nks-pp-hero__facts li:last-child { border-right: 0; margin-right: 0; }
.nks-pp-fact__k {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
.nks-pp-fact__v {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #fff;
}

/* Social */
.nks-pp-hero__social { display: flex; gap: 10px; }
.nks-pp-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    transition: all .2s ease;
}
.nks-pp-social:hover {
    color: var(--nks-navy-deeper, #0A0F1E);
    background: var(--nks-gold, #FFD700);
    border-color: var(--nks-gold, #FFD700);
    transform: translateY(-2px);
}

/* ── STATS BAR ────────────────────────────────────────────── */
.nks-pp-stats {
    max-width: var(--pp-max);
    margin: -1px auto 0;
    background: var(--nks-navy-deeper, #0A0F1E);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}
.nks-pp-stat {
    padding: clamp(22px, 3vw, 36px) 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .08);
}
.nks-pp-stat:last-child { border-right: 0; }
.nks-pp-stat__v {
    display: block;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    color: var(--nks-gold, #FFD700);
}
.nks-pp-stat__l {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}

/* ── BODY ─────────────────────────────────────────────────── */
.nks-pp-body {
    max-width: var(--pp-max);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 48px);
    display: grid;
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.nks-pp-h2 {
    font-family: "Bebas Neue", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(26px, 3.4vw, 38px);
    letter-spacing: .02em;
    color: var(--nks-navy-deeper, #0A0F1E);
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 14px;
}
.nks-pp-h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 56px; height: 4px;
    border-radius: 2px;
    background: var(--nks-gold, #FFD700);
}
.nks-pp-bio__content {
    font-size: 17px;
    line-height: 1.8;
    color: #2b3340;
}
.nks-pp-bio__content p { margin: 0 0 1.2em; }

/* Info card */
.nks-pp-info {
    background: #fff;
    border: 1px solid rgba(3, 70, 148, .1);
    border-radius: 16px;
    padding: clamp(24px, 3vw, 34px);
    box-shadow: 0 10px 30px rgba(3, 70, 148, .07);
    position: sticky;
    top: 130px;
}
.nks-pp-info .nks-pp-h2 { font-size: clamp(22px, 3vw, 28px); }
.nks-pp-info__list { margin: 0; }
.nks-pp-info__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(3, 70, 148, .08);
}
.nks-pp-info__row:last-child { border-bottom: 0; }
.nks-pp-info__row dt {
    font-size: 13px;
    font-weight: 600;
    color: var(--nks-mid-gray, #6C757D);
}
.nks-pp-info__row dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    color: var(--nks-navy-deeper, #0A0F1E);
}

/* ── RELATED ──────────────────────────────────────────────── */
.nks-pp-related {
    max-width: var(--pp-max);
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 48px) clamp(48px, 7vw, 90px);
}
.nks-pp-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.nks-pp-rcard {
    display: block;
    min-width: 0;
    text-decoration: none;
    color: var(--nks-navy-deeper, #0A0F1E);
    background: #fff;
    border: 1px solid rgba(3, 70, 148, .1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(3, 70, 148, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nks-pp-rcard:hover {
    transform: translateY(-6px);
    border-color: var(--nks-navy, #034694);
    box-shadow: 0 18px 40px rgba(3, 70, 148, .18);
}
.nks-pp-rcard__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(160deg, var(--nks-navy, #034694), var(--nks-navy-dark, #022F66));
    overflow: hidden;
}
.nks-pp-rcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nks-pp-rcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.nks-pp-rcard__ph span {
    font-family: "Lato", sans-serif; font-weight: 900; font-style: italic;
    font-size: 56px; color: rgba(255, 255, 255, .22);
}
.nks-pp-rcard__num {
    position: absolute; top: 10px; left: 12px;
    font-family: "Lato", sans-serif; font-weight: 900; font-style: italic;
    font-size: 26px; color: var(--nks-gold, #FFD700);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}
.nks-pp-rcard__name { display: block; padding: 14px 14px 2px; font-family: "Lato", sans-serif; font-weight: 900; font-size: 15px; }
.nks-pp-rcard__pos  { display: block; padding: 0 14px 16px; font-size: 12px; color: var(--nks-mid-gray, #6C757D); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 880px) {
    .nks-pp-hero__inner { grid-template-columns: 1fr; align-items: start; }
    .nks-pp-hero__photo { max-width: 360px; }
    .nks-pp-body { grid-template-columns: 1fr; }
    .nks-pp-info { position: static; }
    .nks-pp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .nks-pp-stats { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); }
    .nks-pp-hero__facts li { padding-right: 18px; margin-right: 18px; }
}
@media (max-width: 420px) {
    .nks-pp-related {
        padding-inline: 12px;
    }

    .nks-pp-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .nks-pp-rcard__num {
        top: 9px;
        left: 10px;
        font-size: 22px;
    }

    .nks-pp-rcard__name {
        padding: 12px 10px 2px;
        font-size: 14px;
        line-height: 1.2;
    }

    .nks-pp-rcard__pos {
        padding: 0 10px 14px;
        font-size: 11px;
    }
}
