.arpit-rank-card-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 12px auto;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.arpit-rank-card {
    background: #0f1527;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px 20px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.arpit-rank-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.08);
}

.arpit-rank-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.arpit-rank-info {
    display: flex;
    flex-direction: column;
}

.arpit-rank-sub {
    font-size: 10.5px;
    font-weight: 800;
    color: #6b7899;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.arpit-rank-title {
    font-size: 19px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 4px 0 0 0;
    line-height: 1.2;
}

.arpit-lvl-badge {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.35);
    padding: 4px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.12);
    white-space: nowrap;
}

.arpit-lvl-lbl {
    font-size: 11px;
    font-weight: 800;
    color: #00e5ff;
    letter-spacing: 0.5px;
}

.arpit-lvl-num {
    font-size: 13.5px;
    font-weight: 900;
    color: #00e5ff;
    font-variant-numeric: tabular-nums;
}

/* Sleek Progress Bar matching the screenshot (Cyan to Purple) */
.arpit-progress-track {
    width: 100%;
    height: 7px;
    background: #080c18;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    margin: 14px 0 12px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.arpit-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff 0%, #8b5cf6 60%, #c084fc 100%);
    border-radius: 9999px;
    transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

/* Footer Data */
.arpit-rank-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: #7d87a4;
    font-variant-numeric: tabular-nums;
}

.arpit-net-xp {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.arpit-net-label {
    color: #7d87a4;
    font-weight: 500;
}

.arpit-net-digits {
    color: #ffffff;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.3px;
}

.arpit-next-xp {
    color: #7d87a4;
    font-size: 11px;
    text-align: right;
    font-weight: 500;
}