.arcadeProfile {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(247, 241, 223, 0.16);
  border-radius: 8px;
  padding: clamp(14px, 3vw, 22px);
  background:
    linear-gradient(135deg, rgba(120, 224, 143, 0.12), rgba(85, 230, 255, 0.06)),
    rgba(18, 23, 35, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.profileTop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
}

.profileLevel {
  display: grid;
  gap: 6px;
  min-width: min(280px, 100%);
  flex: 1 1 280px;
}

.profileLevelNum {
  font-size: 1.05rem;
  font-weight: 1000;
  color: #f7f1df;
}

.profileBar {
  height: 10px;
  border-radius: 999px;
  background: rgba(247, 241, 223, 0.14);
  overflow: hidden;
}

.profileBar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #55e6ff, #78e08f);
  transition: width 0.4s ease;
}

.profileXp {
  font-size: 0.78rem;
  color: #b8b3a4;
  font-weight: 700;
}

.profileStats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.profileStats span {
  font-size: 0.86rem;
  color: #f7f1df;
  font-weight: 700;
}

.profileStats strong {
  color: #f9c846;
}

.profileActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profileResume {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  color: #07111f;
  background: #55e6ff;
  font-weight: 1000;
  text-decoration: none;
}

.profileClaim {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(249, 200, 70, 0.55);
  background: rgba(249, 200, 70, 0.16);
  color: #f9c846;
  font-weight: 1000;
  cursor: pointer;
}

.profileClaim:disabled {
  border-color: rgba(247, 241, 223, 0.18);
  background: rgba(247, 241, 223, 0.06);
  color: #b8b3a4;
  cursor: default;
}

.achievements {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(247, 241, 223, 0.16);
  border-radius: 8px;
  padding: clamp(14px, 3vw, 22px);
  background: rgba(18, 23, 35, 0.82);
}

.achievementsHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.achievementsHead h2 {
  margin: 0;
  font-size: 1.15rem;
}

.achievementsHead span {
  color: #78e08f;
  font-weight: 900;
  font-size: 0.86rem;
}

.achievementGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(247, 241, 223, 0.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(8, 12, 20, 0.5);
}

.achievement.isLocked {
  opacity: 0.58;
}

.achievement.isDone {
  border-color: rgba(249, 200, 70, 0.45);
  background: rgba(249, 200, 70, 0.08);
}

.achievementIcon {
  font-size: 1.5rem;
  line-height: 1;
  color: #f9c846;
}

.achievement.isLocked .achievementIcon {
  color: #b8b3a4;
}

.achievement strong {
  display: block;
  font-size: 0.94rem;
}

.achievement p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #b8b3a4;
  line-height: 1.35;
}

@media (max-width: 520px) {
  .profileResume,
  .profileClaim {
    flex: 1 1 100%;
  }
}
