* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #0a0a1a;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #e0e0e0; padding: 20px;
}
body::before {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(102,126,234,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(118,75,162,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.container { max-width: 520px; width: 100%; position: relative; z-index: 1; }

/* Logo */
.logo-area { text-align: center; margin-bottom: 28px; }
.logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(102,126,234,0.4);
}
.logo-area h1 { font-size: 22px; font-weight: 700; color: #fff; }
.logo-desc { font-size: 14px; color: #888; margin-top: 4px; }

/* 表单卡片 */
.form-card, .payment-card, .done-card {
  background: rgba(20, 20, 40, 0.85); border: 1px solid rgba(102,126,234,0.15);
  border-radius: 16px; padding: 28px; backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.price-display {
  text-align: center; padding: 16px; margin-bottom: 20px;
  background: rgba(102,126,234,0.08); border-radius: 12px;
  border: 1px solid rgba(102,126,234,0.12);
}
.price-label { font-size: 13px; color: #888; display: block; margin-bottom: 4px; }
.price-value { font-size: 36px; font-weight: 800; color: #667eea; }
.price-unit { font-size: 16px; color: #888; margin-left: 4px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: #aaa; margin-bottom: 6px; font-weight: 500; }
.form-group input {
  width: 100%; padding: 10px 14px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  color: #fff; font-size: 14px; outline: none; transition: all 0.2s;
}
.form-group input:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.15); }
.form-group input::placeholder { color: #555; }
.form-hint { font-size: 11px; color: #666; margin-top: 4px; }
.required { color: #f87171; }

.btn-primary {
  width: 100%; padding: 12px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(102,126,234,0.3);
  margin-top: 8px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(102,126,234,0.4); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.features {
  display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap;
}
.feature {
  display: flex; align-items: center; gap: 4px; font-size: 12px; color: #888;
}
.feature svg { color: #667eea; }

/* 付款页 */
.payment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.payment-header h2 { font-size: 18px; color: #fbbf24; }
.payment-info { margin-bottom: 20px; }
.info-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px;
}
.info-row span:first-child { color: #888; }
.mono { font-family: 'Consolas', 'Monaco', monospace; font-size: 12px; }

.amount-box {
  text-align: center; padding: 20px; margin-bottom: 20px;
  background: rgba(251,191,36,0.06); border: 1px solid rgba(251,191,36,0.15);
  border-radius: 12px;
}
.amount-label { font-size: 13px; color: #999; margin-bottom: 8px; }
.amount-value { font-size: 40px; font-weight: 800; color: #fbbf24; }
.amount-value small { font-size: 16px; color: #999; }
.amount-warn { font-size: 11px; color: #f87171; margin-top: 8px; }

.wallet-box {
  text-align: center; padding: 16px;
  background: rgba(255,255,255,0.03); border-radius: 10px; margin-bottom: 16px;
}
.wallet-label { font-size: 12px; color: #888; margin-bottom: 8px; }
.wallet-addr {
  font-family: 'Consolas', monospace; font-size: 13px; color: #a5b4fc;
  word-break: break-all; padding: 8px; background: rgba(0,0,0,0.3);
  border-radius: 6px; margin-bottom: 10px;
}
.btn-copy {
  padding: 6px 20px; border: 1px solid rgba(102,126,234,0.4);
  background: rgba(102,126,234,0.1); color: #a5b4fc; border-radius: 8px;
  cursor: pointer; font-size: 13px; transition: all 0.2s;
}
.btn-copy:hover { background: rgba(102,126,234,0.2); }

.countdown { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #999; margin-bottom: 16px; }
.countdown strong { color: #fbbf24; }
.payment-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #888; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.pulse { animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* 完成页 */
.done-card { text-align: center; }
.done-icon { margin-bottom: 16px; }
.done-card h2 { font-size: 22px; color: #22c55e; margin-bottom: 8px; }
.done-domain { font-size: 16px; color: #a5b4fc; margin-bottom: 20px; }
.done-info { margin-bottom: 24px; text-align: left; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px; text-decoration: none;
  background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
  font-size: 16px; font-weight: 600; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(34,197,94,0.4); }

.done-guide {
  text-align: left; margin-top: 24px; padding: 16px;
  background: rgba(255,255,255,0.03); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.done-guide h4 { font-size: 14px; color: #888; margin-bottom: 10px; }
.done-guide ol { margin-left: 18px; }
.done-guide li { font-size: 13px; color: #999; line-height: 1.8; }
.done-guide code { background: rgba(102,126,234,0.15); padding: 1px 6px; border-radius: 4px; color: #a5b4fc; font-size: 12px; }

/* Toast */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  padding: 10px 24px; border-radius: 10px; font-size: 14px;
  background: rgba(102,126,234,0.9); color: #fff;
  opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 100;
}
.toast.show { opacity: 1; }
.toast.error { background: rgba(231,76,60,0.9); }
