html, body {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: Inter, Arial, sans-serif;
}

:root {
  --overlay-text-color: white;
}

html, body {
  color: var(--overlay-text-color);
}

.card {
  display: flex;
  align-items: center;
  gap: 20px;

  background: transparent;
  /* background: rgba(12, 12, 18, 0.85); */
  padding: 20px 24px;
  border-radius: 20px;

  width: 520px;
}

/* Avatar + rank */
.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}

.rank-icon {
  position: absolute;
  top: -6px;
  right: -6px;

  width: 40px;
  height: 40px;

  filter: drop-shadow(0 0 6px rgba(0, 255, 200, 0.4));
}

/* Right-side info */
.info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.username {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-line {
  display: flex;
  gap: 10px;
  font-size: 18px;
}

.label {
  opacity: 0.7;
}

.value {
  font-weight: 700;
}

.username,
.value,
.label {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}