/* 登录页面样式 - 深色高级风格 */

body.auth-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #222b55 0%, #090f23 60%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  color: #ffffff;
}

.auth-wrapper {
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.auth-wrapper .main-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.letter-glitch-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#letterGlitchCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.outer-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(5, 6, 10, 0.88) 75%, rgba(5, 6, 10, 1) 100%);
  pointer-events: none;
}


.auth-wrapper .main-content {
  position: relative;
}

/* === 登录容器 === */
.login-container {
  width: 100%;
  max-width: 480px;
  padding: var(--space-lg);
  z-index: 10;
  margin: 0 auto;
}

/* 激活页面容器可以自适应宽度 */

.login-card {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(32, 32, 34, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(1, 49, 255, 0.2);
  animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(1, 49, 255, 0.6) 50%, transparent);
  opacity: 1;
}

@keyframes shimmer {
  0%, 100% {
    background-position: -200% 0;
  }
  50% {
    background-position: 200% 0;
  }
}

.login-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(1, 49, 255, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* === 登录头部 === */
.login-header {
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.logo-section {
  position: relative;
}

.logo-icon {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto var(--space-xl);
}

.logo-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #0131FF 0%, #2D4CFF 100%);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(1, 49, 255, 0.4),
    0 0 40px rgba(1, 49, 255, 0.2);
  animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 20px rgba(1, 49, 255, 0.4),
      0 0 40px rgba(1, 49, 255, 0.2);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow:
      0 0 30px rgba(1, 49, 255, 0.6),
      0 0 60px rgba(1, 49, 255, 0.15);
  }
}

.logo-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.logo-rings::before,
.logo-rings::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: rotate 8s linear infinite;
}

.logo-rings::before {
  width: 50px;
  height: 50px;
  border-style: dashed;
  animation-duration: 8s;
}

.logo-rings::after {
  width: 70px;
  height: 70px;
  border-style: dotted;
  animation-duration: 12s;
  animation-direction: reverse;
  opacity: 0.6;
}

@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.app-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0131FF 0%, #2D4CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.app-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* === 登录表单 === */
.login-form,
.register-form {
  text-align: left;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: 0;
}

.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #4b5563;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(26, 26, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:hover {
  border-color: rgba(1, 49, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.form-group input:focus {
  border-color: rgba(1, 49, 255, 0.4);
  background: rgba(26, 26, 28, 0.9);
  box-shadow:
    0 0 0 3px rgba(1, 49, 255, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.form-group .input-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  opacity: 0;
  background: linear-gradient(135deg, rgba(1, 49, 255, 0.2), rgba(45, 76, 255, 0.1));
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.form-group input:focus ~ .input-glow {
  opacity: 1;
}

/* === 协议复选框 === */
.form-agreement {
  margin-bottom: var(--space-xl);
  transition: all 0.3s ease;
}

/* 未勾选协议时的错误状态 */
.form-agreement.error {
  animation: shake 0.5s ease;
}

.form-agreement.error .checkmark {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1),
              0 0 12px rgba(239, 68, 68, 0.3);
  animation: pulse-error 1s ease infinite;
}

.form-agreement.error .agreement-text {
  color: #EF4444;
}

/* 抖动动画 */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}

/* 脉冲错误动画 */
@keyframes pulse-error {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.1),
                0 0 12px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0),
                0 0 20px rgba(239, 68, 68, 0.5);
  }
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  gap: var(--space-md);
  transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkmark {
  position: relative;
  min-width: 20px;
  height: 20px;
  border: 2px solid rgba(1, 49, 255, 0.15);
  border-radius: 6px;
  background: rgba(32, 32, 34, 0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
  background: linear-gradient(135deg, #0131FF 0%, #2D4CFF 100%);
  border-color: #0131FF;
  box-shadow: 0 0 12px rgba(1, 49, 255, 0.5);
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  color: white;
  font-weight: bold;
  font-size: 12px;
  animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.agreement-text {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--text-secondary);
}

.agreement-link {
  color: #0131FF;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  font-weight: 500;
}

.agreement-link:hover {
  border-bottom-color: #0131FF;
  color: #2D4CFF;
}

/* === 分割线 === */
.login-divider {
  position: relative;
  margin: var(--space-2xl) 0;
  text-align: center;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(1, 49, 255, 0.15) 20%, rgba(1, 49, 255, 0.15) 80%, transparent);
}

.login-divider span {
  background: rgba(32, 32, 34, 0.6);
  padding: 0 var(--space-lg);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === 注册区域 === */
.register-section {
  text-align: center;
  position: relative;
  z-index: 1;
}

.register-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* === 按钮系统 === */
.primary-btn,
.secondary-btn {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: 12px;
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  letter-spacing: 0.02em;
}

.primary-btn {
  background: linear-gradient(135deg, #0131FF 0%, #2D4CFF 100%);
  color: #FFFFFF;
  box-shadow:
    0 4px 20px rgba(1, 49, 255, 0.4),
    0 0 40px rgba(1, 49, 255, 0.3),
    0 0 0 1px rgba(1, 49, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
  font-weight: 600;
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.primary-btn:hover::before {
  left: 100%;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(1, 49, 255, 0.6),
    0 0 60px rgba(1, 49, 255, 0.5),
    0 0 0 1px rgba(1, 49, 255, 0.3) inset;
}

.primary-btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 12px rgba(1, 49, 255, 0.4),
    0 0 30px rgba(1, 49, 255, 0.3),
    0 0 0 1px rgba(1, 49, 255, 0.2) inset;
}

.secondary-btn {
  background: rgba(32, 32, 34, 0.6);
  color: #0131FF;
  border: 1px solid rgba(1, 49, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.secondary-btn:hover {
  background: rgba(1, 49, 255, 0.15);
  border-color: rgba(1, 49, 255, 0.5);
  transform: translateY(-2px);
  box-shadow:
    0 4px 16px rgba(1, 49, 255, 0.3),
    0 0 30px rgba(1, 49, 255, 0.2);
}

.btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(1, 49, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn-loading {
  display: none;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(1, 49, 255, 0.15);
  border-top: 2px solid #0131FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* === 注册页面 === */
.register-container {
  width: 100%;
  max-width: 580px;
  padding: var(--space-xl);
  z-index: 10;
  margin: 0 auto;
}

.register-card {
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(32, 32, 34, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(1, 49, 255, 0.2);
  border-radius: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(1, 49, 255, 0.1) inset,
    0 20px 60px rgba(1, 49, 255, 0.1);
  animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.register-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0131FF 30%, #2D4CFF 50%, #0131FF 70%, transparent);
  opacity: 0.8;
}

.register-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(1, 49, 255, 0.1);
  border: 1.5px solid rgba(1, 49, 255, 0.15);
  border-radius: 12px;
  color: #0131FF;
  font-size: var(--text-xl);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-btn:hover {
  background: rgba(1, 49, 255, 0.2);
  border-color: #0131FF;
  transform: translateY(-50%) translateX(-2px);
  box-shadow: 0 4px 12px rgba(1, 49, 255, 0.15);
}

.register-header h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
  background: linear-gradient(135deg, #0131FF 0%, #2D4CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.register-header p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* === 定价卡片 === */
.payment-section {
  margin-bottom: var(--space-2xl);
}

.pricing-card {
  background: linear-gradient(135deg, rgba(1, 49, 255, 0.08) 0%, rgba(45, 76, 255, 0.08) 100%);
  border: 1.5px solid rgba(1, 49, 255, 0.2);
  border-radius: 16px;
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0131FF 0%, #2D4CFF 100%);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pricing-header h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--space-md);
}

.currency {
  font-size: var(--text-xl);
  color: #0131FF;
  font-weight: 600;
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0131FF 0%, #2D4CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.period {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.features-list li {
  display: flex;
  align-items: center;
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.feature-icon {
  color: #0131FF;
  margin-right: var(--space-md);
  font-weight: bold;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

/* === 支付二维码区域 === */
.qr-code-container {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.qr-code {
  position: relative;
  width: 220px;
  height: 220px;
  background: white;
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(1, 49, 255, 0.2);
  border: 2px solid rgba(1, 49, 255, 0.15);
}

#qrCanvas {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.qr-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(32, 32, 34, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: 600;
}

.qr-hint {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  font-weight: 400;
}

.payment-status {
  text-align: center;
}

.payment-waiting {
  color: #f59e0b;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.payment-waiting::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.check-payment-btn {
  background: transparent;
  border: 1.5px solid rgba(1, 49, 255, 0.15);
  color: #0131FF;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.check-payment-btn:hover {
  background: rgba(1, 49, 255, 0.15);
  border-color: #0131FF;
  box-shadow: 0 4px 12px rgba(1, 49, 255, 0.25);
}

/* === 响应式设计 === */
@media (max-width: 768px) {
  .login-container,
  .register-container {
    max-width: 100%;
    padding: var(--space-md);
  }

  .login-card,
  .register-card {
    padding: var(--space-2xl) var(--space-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .app-title {
    font-size: var(--text-2xl);
  }

  .logo-icon {
    width: 70px;
    height: 70px;
  }

  .logo-core {
    width: 20px;
    height: 20px;
  }

  .logo-rings::before {
    width: 40px;
    height: 40px;
  }

  .logo-rings::after {
    width: 55px;
    height: 55px;
  }

  .register-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .back-btn {
    position: static;
    transform: none;
    margin-bottom: var(--space-md);
  }

  .register-header h2 {
    font-size: var(--text-xl);
  }

  .amount {
    font-size: 2.5rem;
  }
}

/* === 加载状态 === */
.loading .primary-btn .btn-text,
.loading .secondary-btn .btn-text {
  opacity: 0;
}

.loading .btn-loading {
  display: flex;
}

/* === 成功状态 === */
.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid #10B981;
  color: #059669;
  padding: var(--space-md);
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

/* === 错误状态 === */
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid #EF4444;
  color: #DC2626;
  padding: var(--space-md);
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.field-error {
  color: #EF4444;
  font-size: var(--text-xs);
  margin-top: var(--space-xs);
  font-weight: 500;
}

.form-group input.error {
  border-color: #EF4444;
  background: rgba(239, 68, 68, 0.05);
}

/* === 新增动态UI样式 === */

/* 注册提示 */
.register-prompt {
  margin: var(--space-lg) 0;
  animation: fadeInSlide 0.4s ease;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prompt-card {
  background: linear-gradient(135deg, rgba(1, 49, 255, 0.08) 0%, rgba(45, 76, 255, 0.05) 100%);
  border: 1.5px solid rgba(1, 49, 255, 0.25);
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: 0 4px 12px rgba(1, 49, 255, 0.15);
}

.prompt-text {
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  margin: 0;
  text-align: center;
}

/* 支付二维码区域 */
.payment-qr-section {
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(32, 32, 34, 0.7) 0%, rgba(26, 26, 28, 0.8) 100%);
  border: 1.5px solid rgba(1, 49, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(1, 49, 255, 0.15);
  animation: fadeInSlide 0.5s ease;
}

.pricing-display {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, #0131FF 0%, #2D4CFF 100%);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(1, 49, 255, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.price-tag .currency {
  font-size: var(--text-2xl);
  color: white;
  font-weight: 600;
  margin-right: 4px;
}

.price-tag .amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.price-tag .period {
  font-size: var(--text-lg);
  color: var(--text-primary);
  font-weight: 500;
  margin-left: 4px;
}

.mini-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  text-align: left;
}

.mini-features-list li {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs);
}

.mini-features-list .feature-icon {
  color: #0131FF;
  font-weight: 700;
  font-size: var(--text-sm);
}

.qr-code-wrapper {
  text-align: center;
}

.qr-code-box {
  display: inline-block;
  padding: var(--space-lg);
  background: white;
  border: 2px solid rgba(1, 49, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(1, 49, 255, 0.25);
  margin-bottom: var(--space-md);
}

.qr-code-box canvas {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 8px;
}

.qr-hint {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.payment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(1, 49, 255, 0.1);
  border-radius: 20px;
  margin-top: var(--space-md);
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #0131FF;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.status-text {
  color: #0131FF;
  font-size: var(--text-sm);
  font-weight: 500;
}

/* 注册操作按钮组 */
.register-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  animation: fadeInSlide 0.4s ease;
}

.register-actions .secondary-btn {
  width: 100%;
}

/* 表单提示文字 */
.form-hint {
  font-size: var(--text-xs);
  color: #9ca3af;
  margin-top: var(--space-xs);
  text-align: left;
  font-style: italic;
}

/* 响应式调整 */
@media (max-width: 640px) {
  .mini-features-list {
    grid-template-columns: 1fr;
  }
  
  .price-tag .amount {
    font-size: 2.5rem;
  }
  
  .qr-code-box canvas {
    width: 160px;
    height: 160px;
  }
  
  .payment-qr-section {
    padding: var(--space-lg);
  }
}

/* === Toast通知样式 === */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  min-width: 300px;
  padding: var(--space-md) var(--space-lg);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.toast-message {
  font-size: var(--text-sm);
  font-weight: 500;
  flex: 1;
}

.toast-success {
  background: rgba(32, 32, 34, 0.7);
  border: 1.5px solid #0131FF;
  color: #0131FF;
}

.toast-error {
  background: rgba(32, 32, 34, 0.7);
  border: 1.5px solid #EF4444;
  color: #EF4444;
}

.toast-warning {
  background: rgba(32, 32, 34, 0.7);
  border: 1.5px solid #F59E0B;
  color: #F59E0B;
}

.toast-info {
  background: rgba(32, 32, 34, 0.7);
  border: 1.5px solid #2D4CFF;
  color: #2D4CFF;
}

/* === 注册表单样式 === */
.register-form {
  animation: fadeInSlide 0.4s ease;
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.form-header h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* === 激活账户区域 === */
.activation-section {
  animation: fadeInSlide 0.5s ease;
}

.activation-options {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  align-items: start;
}

.activation-option {
  background: linear-gradient(135deg, rgba(32, 32, 34, 0.7) 0%, rgba(26, 26, 28, 0.8) 100%);
  border: 1.5px solid rgba(1, 49, 255, 0.2);
  border-radius: 16px;
  padding: var(--space-xl);
  box-shadow: 0 4px 16px rgba(1, 49, 255, 0.1);
  transition: all 0.3s ease;
}

.activation-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 49, 255, 0.25);
  border-color: rgba(1, 49, 255, 0.35);
}

.option-header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.option-header h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.option-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.activation-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
}

.activation-divider span {
  background: rgba(32, 32, 34, 0.6);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1.5px solid rgba(1, 49, 255, 0.2);
  border-radius: 20px;
}

/* 响应式调整 - 激活区域 */
@media (max-width: 768px) {
  .activation-options {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .activation-divider {
    min-height: auto;
    padding: 0;
  }

  .activation-divider span {
    display: block;
    text-align: center;
  }
}

/* === 按钮组（登录+注册并排） === */
.button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.button-group .primary-btn,
.button-group .secondary-btn {
  margin: 0;
}

@media (max-width: 480px) {
  .button-group {
    grid-template-columns: 1fr;
  }
}

/* === 企业工商信息验证样式 === */
.input-with-validation {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.input-with-validation input {
  flex: 1;
  padding-right: 120px; /* 为验证控件留出空间 */
}

.validation-controls {
  position: absolute;
  right: var(--space-xs);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  z-index: 10;
}

.verify-btn {
  width: 36px;
  height: 36px;
  background: rgba(1, 49, 255, 0.1);
  border: 1px solid rgba(1, 49, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.verify-btn:hover {
  background: rgba(1, 49, 255, 0.2);
  border-color: rgba(1, 49, 255, 0.4);
  transform: scale(1.05);
}

.verify-btn.loading {
  cursor: not-allowed;
  opacity: 0.7;
}

.verify-btn.success {
  background: rgba(0, 200, 83, 0.1);
  border-color: rgba(0, 200, 83, 0.3);
}

.verify-btn.error {
  background: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.3);
}

.verify-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.verify-icon::before {
  content: '🔍';
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.verify-btn.loading .verify-icon::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(1, 49, 255, 0.3);
  border-top: 2px solid rgba(1, 49, 255, 1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.verify-btn.success .verify-icon::before {
  content: '✓';
  color: #00C853;
  font-weight: bold;
}

.verify-btn.error .verify-icon::before {
  content: '✕';
  color: #FF3B30;
  font-weight: bold;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.verification-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(32, 32, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  max-width: 80px;
}

.verification-status.show {
  opacity: 1;
  transform: translateX(0);
}

.verification-status.success {
  background: rgba(0, 200, 83, 0.1);
  border-color: rgba(0, 200, 83, 0.3);
  color: #00C853;
}

.verification-status.error {
  background: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.3);
  color: #FF3B30;
}

.verification-status.warning {
  background: rgba(255, 149, 0, 0.1);
  border-color: rgba(255, 149, 0, 0.3);
  color: #FF9500;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.verification-message {
  margin-top: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  display: none;
  animation: slideDown 0.3s ease;
}

.verification-message.show {
  display: block;
}

.verification-message.success {
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.2);
  color: #00C853;
}

.verification-message.error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #FF3B30;
}

.verification-message.info {
  background: rgba(1, 49, 255, 0.1);
  border: 1px solid rgba(1, 49, 255, 0.2);
  color: #0131FF;
}

.verification-message.warning {
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.2);
  color: #FF9500;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 企业信息弹窗样式 */
.business-info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.business-info-modal.show {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.business-info-content {
  background: rgba(32, 32, 34, 0.95);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--space-2xl);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.business-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.business-info-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.business-info-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.business-info-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.business-info-details {
  display: grid;
  gap: var(--space-md);
}

.business-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.business-info-label {
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: var(--space-md);
}

.business-info-value {
  color: var(--text-primary);
  text-align: right;
  word-break: break-all;
  flex: 1;
}

.business-info-score {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(1, 49, 255, 0.1);
  border-radius: 12px;
  margin: var(--space-md) 0;
}

.score-number {
  font-size: 24px;
  font-weight: bold;
  color: #0131FF;
  margin-bottom: var(--space-xs);
}

.score-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .input-with-validation input {
    padding-right: 100px;
  }

  .validation-controls {
    right: var(--space-xs);
  }

  .verify-btn {
    width: 32px;
    height: 32px;
  }

  .verify-icon::before {
    font-size: 14px;
  }

  .verification-status {
    max-width: 60px;
    font-size: 10px;
  }

  .business-info-content {
    padding: var(--space-xl);
    margin: var(--space-md);
  }

  .business-info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .business-info-label {
    margin-right: 0;
    margin-bottom: var(--space-xs);
  }

  .business-info-value {
    text-align: left;
  }
}

/* ==================== 验证详情模态框 ==================== */
.verification-details-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.verification-details-modal.show {
  opacity: 1;
  visibility: visible;
}

.verification-details-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

.verification-details-modal .modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  margin: 5% auto;
  background: rgba(20, 20, 35, 0.95);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  overflow: hidden;
}

.verification-details-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.verification-details-modal .modal-header h3 {
  margin: 0;
  color: white;
  font-size: var(--font-size-lg);
  font-weight: 600;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.verification-details-modal .modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verification-details-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: scale(1.1);
}

.verification-details-modal .modal-body {
  padding: var(--space-lg);
  max-height: 60vh;
  overflow-y: auto;
}

.verification-details-modal .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.verification-details-modal .info-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.verification-details-modal .info-item:last-child {
  margin-bottom: 0;
}

.verification-details-modal .info-item label {
  flex: 0 0 140px;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-right: var(--space-md);
  line-height: 1.5;
}

.verification-details-modal .info-item span {
  flex: 1;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  word-break: break-word;
}

.verification-details-modal .info-item.suggestion {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.verification-details-modal .info-item.suggestion label {
  color: #818CF8;
}

.verification-details-modal .match-score {
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: var(--font-size-xs);
}

.verification-details-modal .match-score.high {
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.verification-details-modal .match-score.low {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* 滚动条样式 */
.verification-details-modal .modal-body::-webkit-scrollbar {
  width: 4px;
}

.verification-details-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.verification-details-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.verification-details-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 动画效果 */
@keyframes modalSlideIn {
  from {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.verification-details-modal.show .modal-content {
  animation: modalSlideIn 0.3s ease forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .verification-details-modal .modal-content {
    width: 95%;
    margin: 2.5% auto;
    max-height: 90vh;
  }

  .verification-details-modal .modal-header,
  .verification-details-modal .modal-body {
    padding: var(--space-md);
  }

  .verification-details-modal .info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .verification-details-modal .info-item label {
    flex: none;
    margin-right: 0;
    margin-bottom: var(--space-xs);
    font-weight: 600;
  }

  .verification-details-modal .info-item span {
    width: 100%;
  }
}

/* ==================== 数据协议免责声明模态框 ==================== */
body.modal-open {
  overflow: hidden;
}

.agreement-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.agreement-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.agreement-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(1, 49, 255, 0.35), rgba(2, 6, 23, 0.95));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.agreement-panel {
  position: relative;
  width: min(780px, 92vw);
  max-height: 90vh;
  background: linear-gradient(145deg, rgba(18, 22, 34, 0.95), rgba(5, 6, 12, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: agreementFadeIn 0.35s ease;
  font-family: 'SimSun', 'Songti SC', '宋体', STSong, serif;
}

@keyframes agreementFadeIn {
  from {
    transform: translateY(24px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.agreement-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.agreement-meta h3 {
  margin: 8px 0 6px;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.agreement-meta p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.agreement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(1, 49, 255, 0.12);
  border: 1px solid rgba(1, 49, 255, 0.35);
  border-radius: 999px;
  color: #8aa8ff;
}

.agreement-close {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: transparent;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.agreement-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.agreement-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 12px;
}

.agreement-body::-webkit-scrollbar {
  width: 6px;
}

.agreement-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.agreement-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.agreement-section + .agreement-section {
  margin-top: 20px;
}

.agreement-section h4 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #d6e0ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agreement-section h4::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(1, 49, 255, 0), rgba(1, 49, 255, 0.5));
}

.agreement-section ul {
  margin: 0;
  padding-left: 1.2em;
  list-style: disc;
}

.agreement-section li {
  margin-bottom: 10px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.agreement-section li:last-child {
  margin-bottom: 0;
}

.agreement-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agreement-footer p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.agreement-footer a {
  color: #7bb0ff;
}

.agreement-confirm {
  align-self: flex-end;
  min-width: 180px;
  border-radius: 999px;
  font-size: 15px;
}

@media (max-width: 640px) {
  .agreement-panel {
    padding: 24px 20px;
    width: 94vw;
    border-radius: 20px;
  }

  .agreement-meta h3 {
    font-size: 20px;
  }

  .agreement-section h4 {
    font-size: 16px;
  }

  .agreement-section li {
    font-size: 14px;
  }
}
