/* Account Page Specific Styles */
.accountContainer {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  padding-top: calc(var(--topbarH, 80px) + 40px);
}

.profileCard {
  background: linear-gradient(180deg, rgba(20, 26, 50, 0.8) 0%, rgba(12, 16, 36, 0.9) 100%);
  border: 1px solid rgba(51, 70, 121, 0.4);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(135deg, rgba(60, 82, 217, 0.15), rgba(248, 51, 169, 0.15));
    z-index: 0;
  }
}

.profileHeader {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.profileAvatarLarge {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--xplrit-blue), var(--xplrit-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 4px solid #151a2e;
}

.profileInfo {
  flex: 1;
  padding-bottom: 8px;
}

.nameRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.profileInfo h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  background: linear-gradient(to right, #eaedff, #b0bdf0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.levelBadge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--xplrit-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.profileMeta {
  color: rgba(233, 228, 255, 0.5);
  font-size: 13px;
  margin-bottom: 12px;
}

.profileFollowStats {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: rgba(233, 228, 255, 0.7);

  & b {
    color: #eaedff;
    font-weight: 700;
  }
}

.proPill {
  background: linear-gradient(135deg, var(--xplrit-blue), var(--xplrit-accent));
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(60, 82, 217, 0.4);
  }
}

.proPillIcon {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.statCard {
  background: rgba(18, 10, 32, 0.6);
  border: 1px solid rgba(51, 70, 121, 0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  &[href]:hover {
    background: rgba(25, 89, 173, 0.2);
    border-color: rgba(46, 242, 255, 0.4);
    transform: translateY(-2px);
  }
}

.statValue {
  font-size: 24px;
  font-weight: 800;
  color: #eaedff;
  margin-bottom: 4px;
}

.statLabel {
  font-size: 13px;
  color: rgba(233, 228, 255, 0.6);
  font-weight: 600;
}

.sectionTitle {
  font-size: 18px;
  font-weight: 800;
  color: #eaedff;
  margin-bottom: 16px;
  padding-left: 4px;
}

.settingsList {
  display: grid;
  gap: 8px;
}

.settingItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(12, 18, 44, 0.6);
  border: 1px solid rgba(51, 70, 121, 0.25);
  border-radius: 16px;
  color: #eaedff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;

  &:hover {
    background: rgba(25, 89, 173, 0.15);
    border-color: rgba(51, 70, 121, 0.5);
  }

  &:hover .settingIcon {
    opacity: 1;
  }
}

.settingLeft {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
}

.settingIcon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.backBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(233, 228, 255, 0.7);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s ease;

  &:hover {
    color: #fff;
  }
}