@charset "UTF-8";

body {
  background-image: url(./../images/index/header/bg.jpg);
  background-repeat: repeat-y;
  background-size: 100%;
}


/* =============== PROFILE PAGE =============== */
.profile-page {
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  width: 1600px;
  margin: 30px auto 50px;
  padding: 30px;
  gap: 40px;
}

.left-panel {
  width: 250px;
}

.profile-img {
  width: 100%;
  border-radius: 10px;
}

.user-info {
  margin-top: 10px;
}

.username {
  background: #222;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  height: 40px;
  line-height: 20px;
}

.save-btn {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background: #333;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.friend-list h3 {
  margin-top: 20px;
}

.friend-list ul {
  list-style: none;
  padding: 0;
}

.friend-list li {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.friend-list img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  margin-right: 10px;
}

.main-panel {
  flex: 1;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-btn {
  padding: 10px 20px;
  background: #9125ff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.badges {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.badge {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
}


.badge-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.badge-icon-shape {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* .gold {
  background: linear-gradient(45deg, gold, orange);
} */

.silver {
  background: linear-gradient(45deg, silver, #aaa);
}

.purple {
  background: linear-gradient(45deg, #a66af1, #7938ff);
}

.score {
  font-size: 18px;
  font-weight: bold;
}

.label {
  margin-top: 5px;
  font-size: 14px;
  color: #ccc;
}

.history {
  margin-top: 30px;
}

.game {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  background: #1a1a2e;
  padding: 15px;
  border-radius: 10px;
  transition: .3s;
}

.game img {
  width: 120px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

.save-btn {
  transition: .3s;
}

.save-btn:hover {
  background: #8e2de2;
}


.edit-btn:hover {
  background: #8e2de2;
}

.game:hover {
  background: #8e2de2;
}