/* ===== 购买激活码区域样式 ===== */
.purchase-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
  position: relative;
  overflow: hidden;
}

.purchase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.purchase-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.purchase-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), transparent);
  pointer-events: none;
}

/* 图标部分 */
.purchase-icon {
  position: relative;
}

.icon-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.lock-icon {
  font-size: 56px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.6);
  }
}

/* 内容部分 */
.purchase-content {
  position: relative;
  z-index: 1;
}

.purchase-title {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.purchase-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.purchase-steps {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.step-text {
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
  margin: 0 8px;
}

/* 购买操作部分 */
.purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 400px;
}

/* 购买卡片 */
.purchase-card {
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.purchase-card:hover {
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(102, 126, 234, 0.3);
}

.xianyu-card {
  background: linear-gradient(135deg, rgba(255, 139, 0, 0.05), rgba(15, 23, 42, 0.9));
}

.card-header {
  background: linear-gradient(135deg, rgba(255, 139, 0, 0.1), rgba(118, 75, 162, 0.1));
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 139, 0, 0.2);
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
}

.badge-icon {
  font-size: 24px;
  animation: swim 3s ease-in-out infinite;
}

@keyframes swim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-5deg); }
  75% { transform: translateY(3px) rotate(5deg); }
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  font-size: 13px;
  color: #22c55e;
}

.verified-icon {
  font-weight: 700;
}

.card-body {
  padding: 32px 24px;
}

/* 价格部分 */
.price-section {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.price-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 32px;
  font-weight: 700;
  color: #ff8b00;
}

.price-amount {
  font-size: 64px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff8b00, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price-unit {
  font-size: 20px;
  color: var(--text-secondary);
}

.price-original {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* 特性列表 */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  font-size: 14px;
}

.feature-icon {
  color: #22c55e;
  font-weight: 700;
  font-size: 16px;
}

/* 购买按钮 */
.btn-purchase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, #ff8b00, #ff6b00);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 139, 0, 0.4);
}

.btn-purchase:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 139, 0, 0.6);
  background: linear-gradient(135deg, #ff9f1a, #ff7519);
}

.btn-purchase:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 24px;
  animation: swim 3s ease-in-out infinite;
}

.btn-text {
  font-size: 18px;
}

.btn-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-purchase:hover .btn-arrow {
  transform: translateX(4px);
}

/* 购买提示 */
.purchase-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid #3b82f6;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.note-icon {
  font-size: 18px;
}

/* 购买信息框 */
.purchase-info-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 16px;
  padding: 24px;
}

.purchase-info-box h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.purchase-flow {
  list-style: none;
  counter-reset: step;
  margin-bottom: 24px;
}

.purchase-flow li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 48px;
  border-left: 2px solid rgba(102, 126, 234, 0.2);
}

.purchase-flow li:last-child {
  border-left-color: transparent;
}

.purchase-flow li::before {
  content: counter(step);
  position: absolute;
  left: -13px;
  top: 16px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.purchase-flow li strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.purchase-flow li span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 支持信息 */
.support-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
}

.support-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.support-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.support-text strong {
  font-size: 14px;
  color: var(--text-primary);
}

.support-text span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .purchase-banner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .purchase-icon {
    display: flex;
    justify-content: center;
  }

  .purchase-actions {
    min-width: auto;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .purchase-section {
    padding: 60px 0;
  }

  .purchase-banner {
    padding: 32px 24px;
  }

  .purchase-title {
    font-size: 36px;
  }

  .purchase-subtitle {
    font-size: 16px;
  }

  .purchase-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step-arrow {
    display: none;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .support-info {
    grid-template-columns: 1fr;
  }

  .icon-circle {
    width: 100px;
    height: 100px;
  }

  .lock-icon {
    font-size: 48px;
  }

  .price-amount {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .purchase-title {
    font-size: 28px;
  }

  .price-amount {
    font-size: 40px;
  }

  .btn-purchase {
    font-size: 16px;
    padding: 16px 24px;
  }
}

