.profile-container{

    max-width:900px;
    margin:40px auto;
    padding:20px;

}

.profile-card{

    background:var(--card-bg,#fff);

    border-radius:16px;

    padding:30px;

    text-align:center;

    box-shadow:
    0 4px 20px rgba(0,0,0,.08);

}


.profile-header{
    text-align:center;
}
.user-nav{
    display:flex;
    justify-content:center;
    gap:15px;

    margin:25px 0;
}

.user-nav a{
    padding:12px 24px;

    border-radius:12px;

    color:white;
    text-decoration:none;

    font-weight:600;
}

.user-avatar{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;

    border:4px solid #d68cff;

    margin-bottom:15px;
}

.avatar-edit{
    margin-top:15px;

    display:flex;
    justify-content:center;
    gap:10px;
}

.profile-stats{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:15px;

    margin-top:25px;

}

.profile-stats div{

    background:var(--card-bg,#fff);

    border-radius:12px;

    padding:20px;

    text-align:center;

    font-weight:bold;

    box-shadow:
    0 2px 10px rgba(0,0,0,.05);

}

.stat-card{
    padding:20px;
    text-align:center;
}

.stat-icon{
    font-size:28px;
}

.stat-value{
    font-size:30px;
    font-weight:bold;
    margin-top:10px;
}

.stat-label{
    color:#777;
    margin-top:5px;
}

.profile-actions{

    margin-top:25px;

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;

}

.profile-btn{

    padding:10px 18px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:15px;

    transition:.2s;
}

.profile-btn:hover{

    transform:translateY(-2px);

}

.edit-btn{

    background:#b388ff;
    color:white;

}

.follow-btn{

    background:#ff6ec7;
    color:white;

}

.history-btn{

    background:#4fc3f7;
    color:white;

}

@media(max-width:768px){

    .profile-stats{

        grid-template-columns:1fr;

    }

}
.avatar-edit input, .edit-box input {

    padding:10px;

    border-radius:8px;

    border:1px solid #ccc;

    width:200px;

}
.avatar-edit button, .edit-box button {

    padding:10px 15px;

    border:none;

    border-radius:8px;

    background:#b388ff;

    color:white;

    cursor:pointer;

}
.profile-actions a{

    text-decoration:none;

}
.profile-actions a:hover{

    transform:translateY(-2px);
    color: #777;
}
.stat-card2{
    padding:20px;
    text-align:center;
    margin-top: 20px;
    argin-bottom: 20px;
}
stats-grid{
    max-width:1000px;
    margin:40px auto;

    display:grid;
    grid-template-columns:
        repeat(3,1fr);

    gap:20px;
}
.stat-card{
    background:white;

    border-radius:20px;

    padding:25px;

    text-align:center;

    box-shadow:
        0 5px 15px rgba(0,0,0,.1);
}