.invite-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #A78BFA 0%, #8B5CF6 100%);
  padding: 40rpx;
  padding-bottom: 80rpx;
}

/* 头部 */
.invite-header {
  text-align: center;
  color: white;
  margin-bottom: 40rpx;
  padding: 40rpx 0;
}

.title {
  display: block;
  font-size: 56rpx;
  font-weight: bold;
  margin-bottom: 20rpx;
  text-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.2);
}

.subtitle {
  display: block;
  font-size: 28rpx;
  opacity: 0.9;
}

/* 爱心值卡片 */
.love-card {
  background: white;
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.love-info {
  flex: 1;
  text-align: center;
}

.love-label {
  display: block;
  font-size: 24rpx;
  color: #999;
  margin-bottom: 10rpx;
}

.love-value {
  display: block;
  font-size: 48rpx;
  font-weight: bold;
  color: #8B5CF6;
}

.divider {
  width: 2rpx;
  height: 80rpx;
  background: #eee;
}

/* 进度卡片 */
.progress-card {
  background: white;
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;
}

.progress-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
}

.progress-count {
  font-size: 28rpx;
  color: #8B5CF6;
  font-weight: bold;
}

.progress-bar {
  height: 16rpx;
  background: #f0f0f0;
  border-radius: 8rpx;
  overflow: hidden;
  margin-bottom: 20rpx;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #A78BFA 0%, #8B5CF6 100%);
  border-radius: 8rpx;
  transition: width 0.3s ease;
}

.progress-tip {
  display: block;
  font-size: 24rpx;
  color: #999;
  text-align: center;
}

/* 推广工具区域 */
.promotion-section {
  background: white;
  margin: 30rpx 20rpx;
  padding: 30rpx;
  border-radius: 20rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 30rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 24rpx;
}

/* 海报生成器 */
.poster-generator {
  margin-bottom: 30rpx;
}

.poster-swiper {
  height: 533rpx; /* Canvas尺寸的一半，或者适配屏幕 */
  margin-bottom: 24rpx;
}

.poster-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.poster-wrap {
  width: 90%;
  height: 100%;
  border-radius: 16rpx;
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
  transform: scale(0.95);
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
}

.poster-wrap.active {
  transform: scale(1);
  box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.15);
  border: 4rpx solid #a78bfa;
}

.poster-img {
  width: 100%;
  height: 100%;
}

.poster-overlay {
  position: absolute;
  top: 10rpx;
  right: 10rpx;
  background: white;
  border-radius: 50%;
  width: 40rpx;
  height: 40rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.generate-btn {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  color: white;
  font-size: 28rpx;
  font-weight: 600;
  border-radius: 44rpx;
  margin-top: 20rpx;
}

/* 一键推广按钮 */
.promote-btn {
  background: white;
  color: #333;
  border: 2rpx solid #a78bfa;
  margin-top: 0;
  box-shadow: none;
}

.promote-btn .btn-icon {
  width: 36rpx;
  height: 36rpx;
  margin-right: 10rpx;
}

/* 按钮基础样式覆盖 */
.action-btn {
  width: 100%;
  height: 88rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 44rpx;
  font-size: 30rpx;
  font-weight: 600;
  margin-top: 20rpx;
}

.outline-btn {
  background: transparent;
  color: #999;
  border: 2rpx solid #eee;
  box-shadow: none;
}

/* 分享按钮 */
.share-btn {
  background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
  color: white;
  border-radius: 50rpx;
  height: 100rpx;
  line-height: 100rpx;
  font-size: 32rpx;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10rpx 30rpx rgba(139, 92, 246, 0.4);
  border: none;
  margin-bottom: 30rpx;
}

.share-btn::after {
  border: none;
}

.share-btn.disabled {
  background: #ccc;
  box-shadow: none;
}

.btn-icon {
  width: 40rpx;
  height: 40rpx;
  margin-right: 10rpx;
}

/* 佣金收益卡片 */
.commission-card {
  background: linear-gradient(135deg, #B06AB3 0%, #9B4D9E 100%);
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 10rpx 30rpx rgba(176, 106, 179, 0.3);
}

.commission-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30rpx;
}

.commission-title {
  font-size: 32rpx;
  font-weight: bold;
  color: white;
}

.commission-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 22rpx;
  padding: 8rpx 20rpx;
  border-radius: 20rpx;
  border: 1rpx solid rgba(255, 255, 255, 0.3);
}

.commission-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30rpx;
}

.commission-item {
  flex: 1;
  text-align: center;
}

.commission-value {
  display: block;
  font-size: 40rpx;
  font-weight: bold;
  color: white;
  margin-bottom: 10rpx;
}

.commission-label {
  display: block;
  font-size: 22rpx;
  color: rgba(255, 255, 255, 0.8);
}

.commission-divider {
  width: 2rpx;
  height: 60rpx;
  background: rgba(255, 255, 255, 0.2);
}

.commission-btn {
  background: white;
  color: #9B4D9E;
  border-radius: 50rpx;
  height: 80rpx;
  line-height: 80rpx;
  font-size: 28rpx;
  font-weight: bold;
  border: none;
}

.commission-btn::after {
  border: none;
}

/* 推荐码区域 */
.referral-code-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
  border: 2rpx solid #B06AB3;
}

/* 邀请码区域 */
.invite-code-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
}

.code-display {
  text-align: center;
  margin-bottom: 30rpx;
}

.label {
  display: block;
  font-size: 28rpx;
  color: #666;
  margin-bottom: 20rpx;
}

.code {
  display: block;
  font-size: 56rpx;
  font-weight: bold;
  color: #8B5CF6;
  letter-spacing: 8rpx;
  font-family: 'Courier New', monospace;
}

.copy-btn {
  background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
  color: white;
  border-radius: 50rpx;
  height: 80rpx;
  line-height: 80rpx;
  font-size: 28rpx;
  border: none;
}

.copy-btn::after {
  border: none;
}

/* 统计区域 */
.stats-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 30rpx;
  display: flex;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-item .value {
  display: block;
  font-size: 48rpx;
  font-weight: bold;
  color: #8B5CF6;
  margin-bottom: 10rpx;
}

.stat-item .label {
  display: block;
  font-size: 24rpx;
  color: #999;
}

/* 说明卡片 */
.tips-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20rpx;
  padding: 40rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
}

.tips-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 30rpx;
}

.tips-list {
  padding-left: 10rpx;
}

.tip-item {
  display: flex;
  margin-bottom: 20rpx;
  line-height: 40rpx;
}

.tip-dot {
  color: #8B5CF6;
  margin-right: 10rpx;
  font-size: 32rpx;
}

.tip-text {
  flex: 1;
  font-size: 26rpx;
  color: #666;
}

.tip-item.highlight {
  background: rgba(176, 106, 179, 0.1);
  padding: 15rpx;
  border-radius: 10rpx;
  margin-top: 10rpx;
}

.tip-item.highlight .tip-text {
  color: #9B4D9E;
  font-weight: 500;
}

/* 操作区域 */
.action-section {
  margin-top: 30rpx;
}

.action-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #8B5CF6;
  border-radius: 50rpx;
  height: 80rpx;
  line-height: 80rpx;
  font-size: 28rpx;
  font-weight: bold;
  border: 2rpx solid #8B5CF6;
}

.action-btn::after {
  border: none;
}
