*,*::before,*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; overflow: hidden; }

.dd-wrap {
  position: relative; width: 100%; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  overflow: hidden;
}
.dd-wrap.has-bg { background-size: cover; background-position: center; }

.dd-glow {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .35; pointer-events: none;
}
.dd-glow-1 { width: 500px; height: 500px; background: #3b82f6; top: -15%; right: -10%; }
.dd-glow-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -15%; left: -8%; }

.dd-card {
  position: relative; z-index: 10; width: 420px;
  padding: 44px 40px 36px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0,0,0,.3);
  animation: dd-in .6s cubic-bezier(.16,1,.3,1) both;
}
@keyframes dd-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dd-title { text-align: center; margin-bottom: 32px; }
.dd-title h1 { margin: 0 0 4px; font-size: 24px; font-weight: 700; color: #fff; }
.dd-title p  { margin: 0; font-size: 13px; color: rgba(255,255,255,.35); letter-spacing: 2px; }

.dd-field { position: relative; margin-bottom: 18px; }
.dd-field .dd-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.25); font-size: 18px; pointer-events: none; transition: color .3s;
}
.dd-field input {
  width: 100%; height: 48px; padding: 0 14px 0 44px;
  font-size: 14px; color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; outline: none;
  transition: all .25s;
}
.dd-field input::placeholder { color: rgba(255,255,255,.25); }
.dd-field input:focus {
  background: rgba(255,255,255,.1);
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.dd-field input:focus ~ .dd-icon { color: #3b82f6; }

.dd-captcha { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.dd-captcha .dd-field { flex: 1; margin-bottom: 0; }
.dd-captcha-img {
  width: 110px; height: 48px; border-radius: 12px;
  overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1);
  transition: border-color .3s;
}
.dd-captcha-img:hover { border-color: rgba(59,130,246,.4); }
.dd-captcha-img img { width: 100%; height: 100%; display: block; object-fit: cover; }

.dd-options { display: flex; align-items: center; margin-bottom: 24px; }
.dd-check { display: flex; align-items: center; cursor: pointer; user-select: none; }
.dd-check input { display: none; }
.dd-check-box {
  width: 16px; height: 16px; border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 4px; margin-right: 6px; position: relative; transition: all .2s;
}
.dd-check input:checked + .dd-check-box {
  background: #3b82f6; border-color: #3b82f6;
}
.dd-check input:checked + .dd-check-box::after {
  content: ''; position: absolute; top: 1px; left: 4px;
  width: 5px; height: 8px;
  border: solid #fff; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.dd-check span { font-size: 13px; color: rgba(255,255,255,.4); }

.dd-btn {
  width: 100%; height: 48px; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: 3px; color: #fff;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  cursor: pointer; transition: all .3s;
  box-shadow: 0 4px 20px rgba(59,130,246,.3);
}
.dd-btn:hover { box-shadow: 0 8px 28px rgba(59,130,246,.4); transform: translateY(-1px); }
.dd-btn:active { transform: translateY(0); }

.dd-reg { text-align: center; margin-top: 16px; }
.dd-reg a { font-size: 13px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .3s; }
.dd-reg a:hover { color: #3b82f6; }
.dd-reg a b { color: #3b82f6; font-weight: 500; }

.dd-footer {
  position: absolute; bottom: 0; left: 0; width: 100%;
  text-align: center; padding: 16px; z-index: 10;
}
.dd-footer span, .dd-footer a { font-size: 12px; color: rgba(255,255,255,.2); text-decoration: none; }
.dd-footer a:hover { color: rgba(255,255,255,.4); }

@media (max-width: 480px) {
  .dd-card { width: calc(100% - 32px); padding: 32px 24px 28px; }
  .dd-title h1 { font-size: 20px; }
}
