/* ========================================
   个人中心样式
   ======================================== */

/* ---------- 头像区域 ---------- */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px 24px;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.12) 0%, rgba(123, 47, 255, 0.08) 40%, transparent 70%);
  pointer-events: none;
}

.profile-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
  z-index: 1;
}

.profile-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient-primary);
  animation: glow 3s ease-in-out infinite;
}

.profile-avatar {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border: 3px solid var(--bg-primary);
  z-index: 1;
}

.profile-username {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  z-index: 1;
}

.profile-tg-id {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  z-index: 1;
}

.profile-points {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
  letter-spacing: -0.5px;
}

.profile-points-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
  z-index: 1;
}

/* ---------- 功能入口列表 ---------- */
.profile-menu {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-menu-item {
  display: flex;
  align-items: center;
  padding: 15px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.profile-menu-item:active {
  background: var(--bg-tertiary);
}

.profile-menu-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  margin-right: 12px;
  flex-shrink: 0;
}

.profile-menu-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.profile-menu-arrow {
  font-size: 14px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ---------- 统计信息 ---------- */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.profile-stat-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.profile-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 2px;
}

.profile-stat-label {
  font-size: 11px;
  color: var(--text-tertiary);
}
