/* ===== 激活VIP页面样式 - 性能优化版本 ===== */

/* 主容器与背景 */
.secret-container-redesigned {
  min-height: 100vh;
  color: var(--text-strong);
  background-image: url('/tu/kv.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* 改为scroll以提升移动端性能 */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 顶部渐变融合效果 */
.secret-container-redesigned .header-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0) 100%);
  z-index: 1;
}

.secret-container-redesigned .container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 2;
}

/* 顶部返回按钮 - 优化版本 */
.secret-container-redesigned .back-button-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid rgba(118, 75, 162, 0.3);
  border-radius: 24px;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  /* 移除毛玻璃效果和过渡动画以提升性能 */
}

.secret-container-redesigned .back-button-top:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #667eea;
  opacity: 0.9;
  /* 简化悬停效果 */
}

.secret-container-redesigned .back-button-top i {
  font-size: 14px;
}

/* 顶部欢迎区域 */
.secret-container-redesigned .welcome {
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.secret-container-redesigned .welcome-title {
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 700;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.secret-container-redesigned .welcome-subtitle {
  margin: 0;
  font-size: 16px;
  opacity: 0.92;
  line-height: 1.6;
}

/* 主卡片 - 优化版本 */
.secret-container-redesigned .card {
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid #764ba2;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 32px;
  /* 移除毛玻璃效果以提升性能 */
}

/* 卡片头部 */
.secret-container-redesigned .card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: #764ba2;
  padding: 16px;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
  border-radius: 14px;
}

.secret-container-redesigned .card-header i {
  font-size: 24px;
  color: #667eea;
}

/* 表单区域 */
.secret-container-redesigned .card-body {
  padding: 0;
}

.secret-container-redesigned .activation-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* VIP会员套餐展示区 */
.secret-container-redesigned .vip-plans {
  margin-bottom: 24px;
}

.secret-container-redesigned .plans-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #764ba2;
  margin-bottom: 20px;
  text-align: center;
}

.secret-container-redesigned .plans-title i {
  font-size: 22px;
  color: #ffd700;
}

/* 会员卡片 - 优化版本 */
.secret-container-redesigned .plan-card {
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  /* 移除悬停动画以提升性能 */
}

/* 月卡样式 */
.secret-container-redesigned .plan-card.monthly {
  border-color: #52c41a;
  background: linear-gradient(135deg, #f6ffed 0%, #f0fff4 100%);
}

.secret-container-redesigned .plan-card.monthly .plan-icon {
  background: linear-gradient(135deg, #52c41a, #389e0d);
}

/* 季卡样式 */
.secret-container-redesigned .plan-card.quarterly {
  border-color: #1890ff;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
}

.secret-container-redesigned .plan-card.quarterly .plan-icon {
  background: linear-gradient(135deg, #1890ff, #096dd9);
}

/* 年卡样式 - 优化版本，移除闪光动画 */
.secret-container-redesigned .plan-card.yearly {
  border-color: #ffd700;
  background: linear-gradient(135deg, #fffbe6 0%, #fff7e6 100%);
  position: relative;
  /* 移除闪光动画以提升性能 */
}

.secret-container-redesigned .plan-card.yearly .plan-icon {
  background: linear-gradient(135deg, #ffd700, #d4a017);
}

/* 卡片头部 */
.secret-container-redesigned .plan-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.secret-container-redesigned .plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.secret-container-redesigned .plan-info h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.secret-container-redesigned .plan-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
  opacity: 0.8;
}

/* 功能列表 - 优化版本 */
.secret-container-redesigned .plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.secret-container-redesigned .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
  padding: 8px 0;
  /* 移除所有过渡动画 */
}

.secret-container-redesigned .feature-item i {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
  /* 移除所有过渡动画 */
}

/* 基础功能 */
.secret-container-redesigned .feature-item i {
  background: #52c41a;
  color: white;
}

/* 继承功能样式 */
.secret-container-redesigned .feature-item.inherited i {
  background: #1890ff;
  color: white;
}

.secret-container-redesigned .feature-item.inherited {
  color: #666;
  font-style: italic;
}

/* 高亮功能样式 */
.secret-container-redesigned .feature-item.highlight i {
  background: #722ed1;
  color: white;
}

.secret-container-redesigned .feature-item.highlight {
  color: #722ed1;
  font-weight: 600;
}

/* 顶级功能样式 */
.secret-container-redesigned .feature-item.premium i {
  background: linear-gradient(135deg, #ffd700, #d4a017);
  color: #333;
}

.secret-container-redesigned .feature-item.premium {
  color: #d4a017;
  font-weight: 700;
}

/* 表单项样式覆盖 */
.secret-container-redesigned .el-form-item {
  margin-bottom: 0;
}

.secret-container-redesigned .el-form-item__label {
  font-weight: 600;
  color: #333;
  font-size: 15px;
  padding-bottom: 8px;
}

.secret-container-redesigned .el-input__inner {
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  padding: 14px 16px;
  font-size: 15px;
  height: auto;
  /* 移除过渡动画以提升性能 */
}

/* 修复带前缀图标的输入框内边距 */
.secret-container-redesigned .el-input--prefix .el-input__inner {
  padding-left: 45px;
}

.secret-container-redesigned .el-input__inner:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.secret-container-redesigned .el-input__inner::placeholder {
  color: #bbb;
}

/* 激活按钮 - 优化版本 */
.secret-container-redesigned .activate-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  height: auto !important;
  margin-top: 8px;
  /* 移除过渡动画以提升性能 */
}

.secret-container-redesigned .activate-btn:hover {
  opacity: 0.9;
  background: linear-gradient(135deg, #5a6fd8, #6a4190) !important;
  /* 简化悬停效果 */
}

/* 购买密钥按钮区域 */
.secret-container-redesigned .purchase-section {
  margin: 20px 0;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.secret-container-redesigned .purchase-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px !important;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  color: #2c1810 !important;
  text-decoration: none;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
  border: 2px solid #ffd700;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  /* 移除闪光动画和过渡效果以提升性能 */
}

.secret-container-redesigned .purchase-btn:hover {
  opacity: 0.9;
  background: linear-gradient(135deg, #e6c547 0%, #ffdf20 50%, #c8941f 100%);
  border-color: #ffdf20;
  /* 简化悬停效果 */
}

.secret-container-redesigned .purchase-btn i:first-child {
  font-size: 18px;
}

.secret-container-redesigned .purchase-btn i:last-child {
  font-size: 14px;
  opacity: 0.8;
}

.secret-container-redesigned .purchase-btn span {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 提示信息 */
.secret-container-redesigned .tip-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  background: #e6f7ff;
  border-left: 4px solid #1890ff;
  color: #0050b3;
}

.secret-container-redesigned .tip-box i {
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  color: #1890ff;
}

/* 装饰元素 */
.secret-container-redesigned .decoration-icon {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}

.secret-container-redesigned .decoration-icon.top-left {
  top: -20px;
  left: -20px;
  font-size: 80px;
  color: #667eea;
  transform: rotate(-15deg);
}

.secret-container-redesigned .decoration-icon.bottom-right {
  bottom: -20px;
  right: -20px;
  font-size: 80px;
  color: #764ba2;
  transform: rotate(15deg);
}

/* 响应式设计 - 移动端性能优化 */
@media (max-width: 768px) {
  .secret-container-redesigned .container {
    padding: 16px;
  }

  .secret-container-redesigned .card {
    padding: 24px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  .secret-container-redesigned .welcome-title {
    font-size: 26px;
    flex-direction: column;
    gap: 8px;
  }

  .secret-container-redesigned .welcome-subtitle {
    font-size: 14px;
  }

  .secret-container-redesigned .plans-title {
    font-size: 16px;
  }

  .secret-container-redesigned .plan-card {
    padding: 16px;
    margin-bottom: 12px;
  }

  .secret-container-redesigned .plan-header {
    gap: 12px;
  }

  .secret-container-redesigned .plan-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .secret-container-redesigned .plan-info h3 {
    font-size: 16px;
  }

  .secret-container-redesigned .plan-info p {
    font-size: 13px;
  }

  .secret-container-redesigned .feature-item {
    font-size: 13px;
    padding: 6px 0;
  }

  .secret-container-redesigned .feature-item i {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .secret-container-redesigned .decoration-icon {
    display: none;
  }

  .secret-container-redesigned .back-button-top {
    padding: 8px 16px;
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* 移动端购买按钮样式 */
  .secret-container-redesigned .purchase-btn {
    padding: 12px 24px;
    font-size: 15px;
    gap: 10px;
  }

  .secret-container-redesigned .purchase-btn i:first-child {
    font-size: 16px;
  }

  .secret-container-redesigned .purchase-btn i:last-child {
    font-size: 12px;
  }
  
  /* 移动端背景优化 */
  .secret-container-redesigned {
    background-attachment: scroll;
  }
  
  /* 减少阴影复杂度 */
  .secret-container-redesigned .activate-btn {
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
  }
  
  .secret-container-redesigned .purchase-btn {
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  }
}

/* 加载状态 */
.secret-container-redesigned .activate-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

/* 移除所有动画效果以提升性能 */

