/* PREMIUM MOBILE PROFILE V2
   Designed for PUBG Market
*/

:root {
    --p-green: #00ff88;
    --p-dark: #080a0c;
    --p-card: #12161b;
    --p-glass: rgba(255, 255, 255, 0.03);
    --p-border: rgba(255, 255, 255, 0.08);
    --p-gold: #ffcc00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--p-dark);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    height: 100vh;
}

/* Telefon uchun asosiy konteyner */
.mobile-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* Bottom bar uchun joy */
    background: radial-gradient(circle at top right, #0f2d21, transparent);
}

/* Header */
.profile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 10, 12, 0.8);
    backdrop-filter: blur(10px);
}

.user-id-badge {
    background: var(--p-card);
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Orbitron';
    font-size: 11px;
    border: 1px solid var(--p-border);
}

.balance-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid var(--p-green);
}

.balance-badge img { width: 18px; }
.balance-badge span { color: var(--p-green); font-weight: 700; font-family: 'Orbitron'; }

/* Avatar Card */
.avatar-card {
    text-align: center;
    padding: 30px 20px;
}

.avatar-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border: 3px solid var(--p-green);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.2);
    position: relative;
}

.image-holder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--p-green);
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border: 3px solid var(--p-dark);
}

.avatar-card h1 {
    font-family: 'Orbitron';
    font-size: 22px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.avatar-card p { color: #888; font-size: 14px; margin-bottom: 15px; }

.user-rank {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(90deg, #ffcc00, #ff8800);
    border-radius: 5px;
    font-weight: 900;
    font-size: 10px;
    color: #000;
}

/* Inputs */
.info-section { padding: 0 20px; }

.glass-input {
    background: var(--p-card);
    border: 1px solid var(--p-border);
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.glass-input i { color: var(--p-green); width: 30px; }

.glass-input input {
    background: none;
    border: none;
    color: white;
    padding: 15px 10px;
    width: 100%;
    outline: none;
    font-family: 'Rajdhani';
    font-size: 16px;
}

.save-master-btn {
    width: 100%;
    padding: 18px;
    background: var(--p-green);
    border: none;
    border-radius: 15px;
    font-family: 'Orbitron';
    font-weight: 900;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 25px 20px;
}

.stat-box {
    background: var(--p-card);
    padding: 20px;
    border-radius: 18px;
    border-left: 4px solid var(--p-green);
}

.s-label { display: block; font-size: 12px; color: #888; margin-bottom: 5px; }
.s-value { font-size: 20px; font-weight: 700; font-family: 'Orbitron'; }
.neon-txt { color: var(--p-green); text-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }

/* History Section */
.history-container {
    padding: 0 20px;
    margin-top: 20px;
}

.history-container h3 {
    font-family: 'Orbitron';
    font-size: 16px;
    margin-bottom: 15px;
    color: #eee;
}

.scroll-area {
    background: var(--p-card);
    border-radius: 20px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.empty-msg { text-align: center; color: #555; padding: 30px; font-size: 14px; }

/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background: #12161b;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid var(--p-border);
    z-index: 200;
}

.nav-item {
    text-align: center;
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.nav-item i { font-size: 22px; margin-bottom: 5px; display: block; }
.nav-item span { font-size: 10px; font-family: 'Orbitron'; }
.nav-item.active { color: var(--p-green); }
.logout-trigger { background: none; border: none; }
