/* ============================================
   云卡栈 - 高级感UI系统 v19.0
   会员专属优化20项（第321-340项）
   总计340项高级感优化
   ============================================ */

/* ========== 321. 会员专属首页 ========== */
.vip-home-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c2d12 100%);
  background-size: 200% 200%;
  animation: vipBannerGradient 8s ease infinite;
  border-radius: 20px;
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 16px;
}

@keyframes vipBannerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.vip-home-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: vipGlow 4s ease-in-out infinite;
}

@keyframes vipGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.1); }
}

.vip-home-header {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.vip-home-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 3px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.vip-home-info {
  flex: 1;
}

.vip-home-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-home-level {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #1e1b4b;
}

.vip-home-expire {
  font-size: 12px;
  opacity: 0.8;
}

.vip-home-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.vip-home-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vip-home-action:active {
  transform: scale(0.95);
  background: rgba(255,255,255,0.2);
}

.vip-home-action-icon {
  font-size: 22px;
}

.vip-home-action-label {
  font-size: 11px;
  opacity: 0.9;
}

/* ========== 322. 会员专属商品推荐 ========== */
.vip-recommend-section {
  margin: 16px;
}

.vip-recommend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.vip-recommend-title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-recommend-title::before {
  content: '👑';
}

.vip-recommend-tag {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}

.vip-recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.vip-recommend-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(251, 191, 36, 0.2);
  transition: all 0.2s ease;
}

.vip-recommend-card:active {
  transform: scale(0.98);
}

.vip-recommend-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
}

/* ========== 323. 会员专属优惠券 ========== */
.vip-coupon-center {
  padding: 16px;
}

.vip-coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vip-coupon-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vip-coupon-card:active {
  transform: scale(0.97);
}

.vip-coupon-card::before {
  content: '';
  position: absolute;
  left: 60px;
  top: -8px;
  width: 16px;
  height: 16px;
  background: var(--bg-primary);
  border-radius: 50%;
}

.vip-coupon-card::after {
  content: '';
  position: absolute;
  left: 60px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: var(--bg-primary);
  border-radius: 50%;
}

.vip-coupon-amount {
  font-size: 28px;
  font-weight: 800;
  color: #b45309;
  line-height: 1;
}

.vip-coupon-amount span {
  font-size: 14px;
}

.vip-coupon-condition {
  font-size: 11px;
  color: #92400e;
  margin-top: 4px;
}

.vip-coupon-name {
  font-size: 12px;
  color: #78350f;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(180, 83, 9, 0.3);
}

.vip-coupon-btn {
  margin-top: 8px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.vip-coupon-btn.claimed {
  background: var(--bg-secondary);
  color: var(--text-tertiary);
}

/* ========== 324. 会员专属积分商城 ========== */
.vip-points-mall {
  padding: 16px;
}

.vip-points-header {
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  border-radius: 16px;
  padding: 20px;
  color: white;
  text-align: center;
  margin-bottom: 16px;
}

.vip-points-value {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vip-points-label {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

.vip-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.vip-points-item {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vip-points-item:active {
  transform: scale(0.97);
}

.vip-points-item-image {
  aspect-ratio: 1;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.vip-points-item-info {
  padding: 10px;
}

.vip-points-item-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.vip-points-item-cost {
  font-size: 14px;
  font-weight: 700;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ========== 325. 会员专属生日礼包 ========== */
.vip-birthday-card {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  border-radius: 16px;
  padding: 20px;
  margin: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.vip-birthday-card::before {
  content: '🎂';
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 80px;
  opacity: 0.2;
}

.vip-birthday-title {
  font-size: 18px;
  font-weight: 700;
  color: #9d174d;
  margin-bottom: 6px;
}

.vip-birthday-desc {
  font-size: 13px;
  color: #be185d;
  margin-bottom: 12px;
}

.vip-birthday-btn {
  padding: 8px 20px;
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ========== 326. 会员专属签到 ========== */
.vip-checkin {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  margin: 16px;
}

.vip-checkin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.vip-checkin-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-checkin-days {
  font-size: 13px;
  color: #f59e0b;
  font-weight: 600;
}

.vip-checkin-week {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.vip-checkin-day {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
  background: var(--bg-secondary);
  position: relative;
}

.vip-checkin-day.checked {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
}

.vip-checkin-day.today {
  border: 2px solid #fbbf24;
}

.vip-checkin-day-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.vip-checkin-day-label {
  font-size: 10px;
}

.vip-checkin-day-points {
  font-size: 9px;
  opacity: 0.8;
}

.vip-checkin-btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.vip-checkin-btn.done {
  background: var(--bg-secondary);
  color: var(--text-tertiary);
}

/* ========== 327. 会员专属任务 ========== */
.vip-tasks {
  padding: 16px;
}

.vip-task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 10px;
}

.vip-task-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.vip-task-info {
  flex: 1;
}

.vip-task-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.vip-task-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.vip-task-reward {
  font-size: 12px;
  color: #f59e0b;
  font-weight: 600;
  margin-top: 2px;
}

.vip-task-btn {
  padding: 6px 14px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.vip-task-btn.done {
  background: var(--bg-secondary);
  color: var(--text-tertiary);
}

/* ========== 328. 会员专属成就 ========== */
.vip-achievements {
  padding: 16px;
}

.vip-achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.vip-achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  cursor: pointer;
}

.vip-achievement-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--bg-secondary);
  position: relative;
  transition: all 0.3s ease;
}

.vip-achievement.unlocked .vip-achievement-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.vip-achievement.locked .vip-achievement-icon {
  filter: grayscale(1);
  opacity: 0.5;
}

.vip-achievement-name {
  font-size: 11px;
  text-align: center;
  color: var(--text-secondary);
}

.vip-achievement.unlocked .vip-achievement-name {
  color: var(--text-primary);
  font-weight: 600;
}

/* ========== 329. 会员专属排行榜 ========== */
.vip-ranking {
  padding: 16px;
}

.vip-ranking-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 20px;
  padding: 20px 0;
}

.vip-ranking-item {
  text-align: center;
  flex: 1;
  max-width: 100px;
}

.vip-ranking-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
}

.vip-ranking-item.rank-1 .vip-ranking-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  font-size: 32px;
  border: 3px solid #fbbf24;
}

.vip-ranking-item.rank-2 .vip-ranking-avatar {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  border: 2px solid #9ca3af;
}

.vip-ranking-item.rank-3 .vip-ranking-avatar {
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  border: 2px solid #fb923c;
}

.vip-ranking-crown {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
}

.vip-ranking-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.vip-ranking-value {
  font-size: 11px;
  color: var(--text-secondary);
}

.vip-ranking-list {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

.vip-ranking-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}

.vip-ranking-row:last-child {
  border-bottom: none;
}

.vip-ranking-num {
  width: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.vip-ranking-row .vip-ranking-avatar {
  width: 36px;
  height: 36px;
  font-size: 16px;
  margin: 0;
  background: var(--bg-secondary);
  border: none;
}

.vip-ranking-row-name {
  flex: 1;
  font-size: 14px;
}

.vip-ranking-row-value {
  font-size: 14px;
  font-weight: 600;
  color: #f59e0b;
}

/* ========== 330. 会员专属抽奖 ========== */
.vip-lottery {
  padding: 16px;
  text-align: center;
}

.vip-lottery-wheel {
  width: 260px;
  height: 260px;
  margin: 20px auto;
  position: relative;
  border-radius: 50%;
  background: conic-gradient(
    #fef3c7 0deg 45deg,
    #fce7f3 45deg 90deg,
    #dbeafe 90deg 135deg,
    #dcfce7 135deg 180deg,
    #fef3c7 180deg 225deg,
    #fce7f3 225deg 270deg,
    #dbeafe 270deg 315deg,
    #dcfce7 315deg 360deg
  );
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.vip-lottery-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid #ef4444;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.vip-lottery-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  z-index: 1;
}

.vip-lottery-chances {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
}

.vip-lottery-chances strong {
  color: #f59e0b;
  font-size: 18px;
}

/* ========== 331-333. 会员专属优先通道 ========== */
.vip-priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.vip-priority-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-radius: 12px;
  margin: 12px 16px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.vip-priority-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.vip-priority-info {
  flex: 1;
}

.vip-priority-title {
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
}

.vip-priority-desc {
  font-size: 12px;
  color: #a16207;
  margin-top: 2px;
}

.vip-priority-arrow {
  color: #f59e0b;
  font-size: 18px;
}

/* ========== 335. 会员专属电子卡 ========== */
.vip-card {
  width: 100%;
  aspect-ratio: 1.6;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c2d12 100%);
  border-radius: 20px;
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(76, 29, 149, 0.3);
}

.vip-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.vip-card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.vip-card-level {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1e1b4b;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.vip-card-number {
  position: absolute;
  bottom: 60px;
  left: 24px;
  font-size: 18px;
  font-family: monospace;
  letter-spacing: 3px;
  opacity: 0.9;
}

.vip-card-bottom {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.vip-card-name {
  font-size: 14px;
  opacity: 0.8;
}

.vip-card-expire {
  font-size: 12px;
  opacity: 0.6;
}

/* ========== 336. 会员专属等级进度 ========== */
.vip-level-progress {
  padding: 16px;
}

.vip-level-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.vip-level-current {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-level-next {
  font-size: 12px;
  color: var(--text-secondary);
}

.vip-level-bar {
  height: 12px;
  background: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.vip-level-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #ef4444);
  background-size: 200% 100%;
  animation: levelShimmer 2s ease infinite;
  border-radius: 6px;
  transition: width 1s ease;
  position: relative;
}

@keyframes levelShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.vip-level-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
  animation: levelGlow 1.5s ease infinite;
}

@keyframes levelGlow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.vip-level-text {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.vip-level-text strong {
  color: #f59e0b;
}

/* ========== 337. 会员专属权益对比 ========== */
.vip-benefits-compare {
  padding: 16px;
}

.vip-benefits-table {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
}

.vip-benefits-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-light);
}

.vip-benefits-row:last-child {
  border-bottom: none;
}

.vip-benefits-row.header {
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  color: white;
  font-weight: 600;
}

.vip-benefits-cell {
  padding: 12px 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-benefits-cell:first-child {
  text-align: left;
  justify-content: flex-start;
  padding-left: 16px;
}

.vip-benefits-cell.yes {
  color: #10b981;
  font-weight: 600;
}

.vip-benefits-cell.no {
  color: var(--text-tertiary);
}

.vip-benefits-cell.highlight {
  background: rgba(251, 191, 36, 0.1);
}

/* ========== 338. 会员专属续费优惠 ========== */
.vip-renew-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 16px;
  padding: 20px;
  margin: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-renew-card::before {
  content: '🎁';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 60px;
  opacity: 0.2;
}

.vip-renew-title {
  font-size: 18px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 6px;
}

.vip-renew-desc {
  font-size: 13px;
  color: #a16207;
  margin-bottom: 16px;
}

.vip-renew-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.vip-renew-now {
  font-size: 32px;
  font-weight: 800;
  color: #b45309;
}

.vip-renew-original {
  font-size: 16px;
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.vip-renew-save {
  background: #ef4444;
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.vip-renew-btn {
  padding: 12px 40px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* ========== 339. 会员专属邀请奖励 ========== */
.vip-invite-card {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 16px;
  padding: 20px;
  margin: 16px;
}

.vip-invite-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-invite-desc {
  font-size: 13px;
  color: #1e3a8a;
  margin-bottom: 16px;
}

.vip-invite-code {
  background: white;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.vip-invite-code-value {
  font-size: 20px;
  font-weight: 800;
  color: #1e40af;
  letter-spacing: 2px;
  font-family: monospace;
}

.vip-invite-copy {
  padding: 6px 14px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.vip-invite-rewards {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.vip-invite-reward-value {
  font-size: 18px;
  font-weight: 700;
  color: #1e40af;
}

.vip-invite-reward-label {
  font-size: 11px;
  color: #3b82f6;
  margin-top: 2px;
}

/* ========== 340. 会员专属动态头像 ========== */
.vip-avatar {
  position: relative;
  display: inline-block;
}

.vip-avatar-frame {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #ef4444, #fbbf24);
  background-size: 300% 300%;
  animation: avatarFrameRotate 3s ease infinite;
  z-index: -1;
}

@keyframes avatarFrameRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.vip-avatar-crown {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  z-index: 1;
  animation: crownBounce 2s ease infinite;
}

@keyframes crownBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.vip-avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #fbbf24;
  border-right-color: #f59e0b;
  animation: avatarRingSpin 2s linear infinite;
}

@keyframes avatarRingSpin {
  to { transform: rotate(360deg); }
}

/* 响应式 */
@media (max-width: 768px) {
  .vip-home-actions { grid-template-columns: repeat(4, 1fr); }
  .vip-coupon-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-points-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-achievement-grid { grid-template-columns: repeat(4, 1fr); }
  .vip-benefits-row { grid-template-columns: 2fr 1fr 1fr 1fr; font-size: 12px; }
}
