/* ═══ Profile Overview V2 ═══ */

/* ── Card Base ── */
.po2-card {
    background: #fff;
    border-radius: 0.6vw;
    border: 0.06vw solid #e2e5ea;
    overflow: hidden;
}

.po2-card-header {
    padding: 0.6vw 0.85vw;
    border-bottom: 0.06vw solid #f0f1f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.po2-card-header-left {
    display: flex;
    align-items: center;
    gap: 0.35vw;
}

.po2-card-header-left .lucide-icon {
    width: 0.85vw;
    height: 0.85vw;
    color: #4f6ef7;
}

.po2-card-header-left span {
    font-size: 0.7vw;
    font-weight: 600;
    color: #111318;
    text-transform: uppercase;
    letter-spacing: 0.04vw;
}

.po2-card-body {
    padding: 0.8vw 0.85vw;
}

/* ── Grid Layouts ── */
.po2-top-row {
    display: grid;
    grid-template-columns: 1fr 14.5vw;
    gap: 0.8vw;
    margin-bottom: 0.8vw;
}

/* XP + Status Levels (left stack) | Account (right, full height) */
.po2-xp-levels-row {
    display: grid;
    grid-template-columns: 1fr 14.5vw;
    gap: 0.8vw;
    margin-bottom: 0.8vw;
    align-items: stretch;
}

.po2-left-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
}

.po2-xp-bar {
    flex-shrink: 0;
}

.po2-account-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* ── Description ── */
.po2-bio {
    font-size: 0.76vw;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* ── Respect ── */
.po2-respect-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6vw 0.8vw;
    gap: 0.5vw;
    flex: 1;
}

.po2-respect-count {
    font-size: 1.8vw;
    font-weight: 800;
    color: #111318;
    line-height: 1;
}

.po2-respect-btn {
    width: 100%;
    padding: 0.45vw 0;
    border-radius: 0.35vw;
    border: none;
    background: rgba(236,72,153,0.08);
    color: #ec4899;
    font-size: 0.7vw;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3vw;
    font-family: inherit;
    transition: all 0.25s;
    animation: pulseGlow 2.5s ease infinite;
}

.po2-respect-btn:hover {
    background: rgba(236,72,153,0.15);
    transform: scale(1.03);
}

.po2-respect-btn:active {
    transform: scale(0.97);
}

.po2-respect-btn .lucide-icon {
    width: 0.7vw;
    height: 0.7vw;
}

.po2-respect-btn.respected {
    background: rgba(16,185,129,0.1);
    color: #10b981;
    cursor: default;
    animation: none;
}

.po2-respect-btn.respected:hover {
    transform: none;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(236,72,153,0.15); }
    50% { box-shadow: 0 0 0 0.3vw rgba(236,72,153,0.06); }
}

/* ── XP Level Bar ── */
.po2-xp-inner {
    padding: 0.7vw 0.85vw;
    display: flex;
    align-items: center;
    gap: 0.7vw;
}

.po2-xp-badge {
    width: 2.6vw;
    height: 2.6vw;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4f6ef7 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.2vw 0.8vw rgba(79,110,247,0.3);
    flex-direction: column;
}

.po2-xp-badge-num {
    font-size: 1.05vw;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.po2-xp-badge-label {
    font-size: 0.45vw;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.04vw;
}

.po2-xp-info {
    flex: 1;
}

.po2-xp-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.35vw;
}

.po2-xp-title-row {
    display: flex;
    align-items: center;
    gap: 0.3vw;
}

.po2-xp-title {
    font-size: 0.82vw;
    font-weight: 700;
    color: #111318;
}

.po2-xp-rank-badge {
    font-size: 0.52vw;
    font-weight: 600;
    color: #4f6ef7;
    background: rgba(79,110,247,0.08);
    padding: 0.1vw 0.3vw;
    border-radius: 0.2vw;
}

.po2-xp-numbers {
    font-size: 0.62vw;
    color: #667085;
}

.po2-xp-track {
    height: 0.45vw;
    background: #f0f1f3;
    border-radius: 0.3vw;
    overflow: hidden;
    position: relative;
}

.po2-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f6ef7, #6366f1);
    border-radius: 0.3vw;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.po2-xp-shine {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: xpShine 2.5s ease-in-out infinite;
}

@keyframes xpShine {
    0% { left: -40%; }
    100% { left: 140%; }
}

.po2-xp-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 0.2vw;
}

.po2-xp-remaining {
    font-size: 0.55vw;
    color: #667085;
}

.po2-xp-percent {
    font-size: 0.55vw;
    font-weight: 600;
    color: #4f6ef7;
}

/* ── Status Levels ── */
.po2-level-item {
    padding: 0.55vw 0.65vw;
    border-radius: 0.4vw;
    transition: all 0.2s;
    margin-bottom: 0.5vw;
}

.po2-level-item:last-child {
    margin-bottom: 0;
}

.po2-level-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35vw;
}

.po2-level-left {
    display: flex;
    align-items: center;
    gap: 0.35vw;
}

.po2-level-left .lucide-icon {
    width: 0.78vw;
    height: 0.78vw;
}

.po2-level-name {
    font-size: 0.76vw;
    font-weight: 600;
    color: #111318;
}

.po2-level-sep {
    font-size: 0.62vw;
    color: #667085;
}

.po2-level-num {
    font-size: 0.68vw;
    font-weight: 500;
    color: #667085;
}

.po2-level-label {
    font-size: 0.66vw;
    font-weight: 600;
    background: rgba(255,255,255,0.7);
    padding: 0.06vw 0.25vw;
    border-radius: 0.15vw;
}

.po2-level-max {
    font-size: 0.5vw;
    font-weight: 700;
    background: rgba(255,255,255,0.8);
    padding: 0.1vw 0.3vw;
    border-radius: 0.15vw;
    text-transform: uppercase;
    letter-spacing: 0.05vw;
}

.po2-level-track {
    height: 0.3vw;
    background: rgba(255,255,255,0.6);
    border-radius: 0.2vw;
    overflow: hidden;
}

.po2-level-fill {
    height: 100%;
    border-radius: 0.2vw;
    transition: width 1s ease;
}

/* ── Account Info ── */
.po2-account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3vw 0.45vw;
    background: #fff;
    border: 0.06vw solid #e2e5ea;
    border-radius: 0.3vw;
    margin-bottom: 0.28vw;
}

.po2-account-item:last-child {
    margin-bottom: 0;
}

.po2-account-left {
    display: flex;
    align-items: center;
    gap: 0.3vw;
}

.po2-account-left .lucide-icon {
    width: 0.72vw;
    height: 0.72vw;
}

.po2-account-label {
    font-size: 0.72vw;
    font-weight: 600;
    color: #111318;
}

.po2-account-value {
    font-size: 0.72vw;
    font-weight: 400;
    color: #667085;
}

/* ── Activity Statistics ── */
.po2-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5vw;
}

.po2-stat-item {
    text-align: center;
    padding: 0.6vw 0.3vw;
    border-radius: 0.4vw;
    background: #fff;
    border: 0.06vw solid #e2e5ea;
    transition: all 0.2s;
    cursor: default;
}

.po2-stat-item:hover {
    border-color: #e2e5ea;
    transform: translateY(-0.1vw);
    box-shadow: 0 0.2vw 0.6vw rgba(0,0,0,0.04);
}

.po2-stat-icon {
    width: 1.15vw;
    height: 1.15vw;
    min-width: 1.15vw;
    min-height: 1.15vw;
    margin: 0 auto 0.35vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.po2-stat-icon .lucide-icon,
.po2-stat-icon svg {
    width: 1.15vw !important;
    height: 1.15vw !important;
    min-width: 1.15vw;
    min-height: 1.15vw;
    flex-shrink: 0;
}

.po2-stat-value {
    font-size: 0.85vw;
    font-weight: 700;
    color: #111318;
    margin-bottom: 0.12vw;
}

.po2-stat-label {
    font-size: 0.62vw;
    color: #667085;
    font-weight: 500;
}

.po2-country-value {
    display: inline-flex;
    align-items: center;
    gap: 0.25vw;
}

.po2-country-flag {
    font-size: 1.4em;
    line-height: 1;
}

.po2-country-code {
    font-weight: 500;
}

/* ── Flying Hearts ── */
.po2-hearts-container,
.respect-hearts-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 99999;
}

@keyframes heartFloat {
    0% { opacity: 1; transform: translateY(0) scale(0.3); }
    50% { opacity: 1; transform: translateY(-3vw) scale(1.2); }
    100% { opacity: 0; transform: translateY(-6vw) scale(0.5); }
}
