/* 参与登记页 · 放射科深蓝医疗风格 */
body {
  background: linear-gradient(165deg, #0d2137 0%, #0a1626 45%, #050b14 100%);
  min-height: 100%; color: #d8eaf5;
  font-family: "SF Mono", "Consolas", "Microsoft YaHei", monospace;
}
.scan-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.scan-overlay i {
  position: absolute; left: 0; right: 0; height: 1px; top: -10px;
  background: linear-gradient(90deg, transparent, rgba(56,214,240,.5), transparent);
  animation: scanFall linear infinite;
}
@keyframes scanFall { to { top: 105vh; } }

.page { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); }

.hero { text-align: center; padding: 6px 0 26px; position: relative; }
.med-logo {
  width: 54px; height: 54px; margin: 0 auto 12px; border: 1px solid rgba(56,214,240,.5);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(56,214,240,.06); box-shadow: 0 0 18px rgba(56,214,240,.15);
}
.med-logo span { font-size: 28px; color: #38d6f0; text-shadow: 0 0 12px rgba(56,214,240,.6); }
.badge {
  display: inline-block; font-size: 11px; letter-spacing: 2px; color: #38d6f0;
  background: rgba(56,214,240,.08); border: 1px solid rgba(56,214,240,.3);
  padding: 5px 16px; border-radius: 3px; margin-bottom: 14px;
}
.hero h1 {
  font-size: 26px; font-weight: 700; letter-spacing: 3px; color: #eaf6ff;
  text-shadow: 0 0 16px rgba(56,214,240,.35);
}
.hero p { font-size: 13px; color: #6d8ba3; margin-top: 8px; letter-spacing: 2px; }

.card {
  background: rgba(10,22,38,.8); border: 1px solid rgba(56,214,240,.28);
  border-radius: 6px; padding: 24px 20px; margin-bottom: 16px;
  box-shadow: inset 0 0 24px rgba(56,214,240,.04), 0 8px 24px rgba(0,0,0,.3);
  position: relative;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 24px; height: 2px; background: #38d6f0; box-shadow: 0 0 8px #38d6f0; }
.card-title { font-size: 16px; font-weight: 600; color: #38d6f0; margin-bottom: 20px; text-align: center; letter-spacing: 2px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; color: #8fb0c8; margin-bottom: 7px; letter-spacing: 1px; }
.field input {
  width: 100%; height: 48px; border: 1px solid rgba(56,214,240,.28); border-radius: 4px;
  padding: 0 14px; font-size: 16px; color: #eaf6ff; background: rgba(5,11,20,.7);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: #38d6f0; box-shadow: 0 0 0 3px rgba(56,214,240,.12); }
.field input::placeholder { color: #4a6478; }

.btn-primary {
  width: 100%; height: 50px; border-radius: 4px; color: #04121c; font-size: 16px; font-weight: 700;
  letter-spacing: 3px; background: linear-gradient(135deg, #1a8fae, #38d6f0);
  box-shadow: 0 4px 16px rgba(56,214,240,.25); margin-top: 6px; transition: opacity .15s, transform .1s;
}
.btn-primary:active { transform: scale(.985); opacity: .92; }
.btn-primary:disabled { opacity: .6; box-shadow: none; }

.btn-ghost { width: 100%; height: 44px; border-radius: 4px; background: rgba(56,214,240,.06); color: #38d6f0; border: 1px solid rgba(56,214,240,.25); font-size: 14px; margin-top: 6px; }

.tip { font-size: 11px; color: #5d7a90; line-height: 1.6; margin-top: 14px; text-align: center; }

.success-card { text-align: center; }
.success-card .check {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid #38d6f0; background: rgba(56,214,240,.1); color: #38d6f0;
  font-size: 30px; line-height: 54px; margin: 0 auto 14px; font-weight: 700;
  box-shadow: 0 0 18px rgba(56,214,240,.25);
}
.success-name { font-size: 19px; font-weight: 600; color: #eaf6ff; margin-bottom: 4px; }
.success-msg { font-size: 13px; color: #6d8ba3; margin-bottom: 18px; }

.result { margin-top: 16px; padding: 16px; border-radius: 4px; background: rgba(56,214,240,.06); border: 1px solid rgba(56,214,240,.15); font-size: 14px; text-align: center; }
.result.won { background: rgba(56,214,240,.12); border-color: #38d6f0; }
.result .prize { font-size: 21px; font-weight: 700; color: #38d6f0; margin: 6px 0; }

.footer { text-align: center; font-size: 11px; color: #4a6478; padding: 12px 0; letter-spacing: 1px; }
