* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0b1023;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: radial-gradient(1200px 800px at 15% 10%, #1b2a5e 0%, var(--bg) 55%),
              radial-gradient(900px 700px at 85% 90%, #3b1b5e 0%, var(--bg) 60%);
  background-color: var(--bg);
  color: #eef0ff;
  overflow: hidden;
}

/* 漂浮的彩色光斑 */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
.blob-1 { width: 340px; height: 340px; background: #6366f1; top: -60px; left: -40px; }
.blob-2 { width: 300px; height: 300px; background: #a855f7; bottom: -60px; right: -30px; animation-delay: -5s; }
.blob-3 { width: 200px; height: 200px; background: #22d3ee; top: 55%; left: 60%; animation-delay: -9s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -40px) scale(1.15); }
}

/* 毛玻璃卡片 */
.card {
  position: relative;
  width: min(92vw, 400px);
  padding: 40px 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.logo {
  font-size: 34px;
  text-align: center;
  color: #a5b4fc;
  text-shadow: 0 0 24px rgba(165, 180, 252, 0.8);
}

h1 {
  margin-top: 10px;
  text-align: center;
  font-size: 26px;
  letter-spacing: 1px;
}

.sub {
  margin: 8px 0 28px;
  text-align: center;
  font-size: 13px;
  color: rgba(238, 240, 255, 0.55);
}

.field {
  display: block;
  margin-bottom: 16px;
}
.field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: rgba(238, 240, 255, 0.75);
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus {
  border-color: #818cf8;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.15);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 22px;
  font-size: 13px;
  color: rgba(238, 240, 255, 0.65);
}
.check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.check input { accent-color: #818cf8; }
.link { color: #a5b4fc; text-decoration: none; }
.link:hover { text-decoration: underline; }

.submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: 4px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(120deg, #6366f1, #a855f7);
  transition: transform .15s, box-shadow .2s;
}
.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(129, 140, 248, 0.45);
}
.submit:active { transform: translateY(0); }

.msg {
  min-height: 18px;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #6ee7b7;
}

.foot {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: rgba(238, 240, 255, 0.55);
}

@media (max-width: 480px) {
  .card { padding: 32px 24px; }
}
