
:root {
  --bg: #f2f4f8;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --green: #22c55e;
  --green-dark: #16a34a;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(0,0,0,.10);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.card {
  width: min(520px, 100%);
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 26px 26px 18px;
}

.hd {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.badge {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  display: grid;
  place-items: center;
}
.badge::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  transform: rotate(-45deg);
  margin-top: -1px;
}

h1 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}
p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
ol {
  margin: 12px 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.hr {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #19c37d 0%, #22c55e 45%, #14b8a6 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset,
              0 8px 20px rgba(34,197,94,.22),
              0 0 18px rgba(45,212,191,.22);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  animation: btnGlow 1.8s ease-in-out infinite alternate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 42%);
  z-index: -1;
}
.btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 42%;
  height: 320%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0));
  animation: sweep 2.8s linear infinite;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.07) brightness(1.03);
  box-shadow: 0 0 0 1px rgba(255,255,255,.24) inset,
              0 14px 30px rgba(34,197,94,.28),
              0 0 26px rgba(45,212,191,.28);
}
.btn:active {
  transform: translateY(0);
}
.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  filter: none;
  animation: none;
}
.btn:disabled::after {
  display: none;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  border: 2px solid rgba(255,255,255,.42);
  box-shadow: 0 0 0 3px rgba(255,255,255,.14), 0 0 12px rgba(255,255,255,.45);
  flex: 0 0 14px;
}

.small {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.field {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
input[type="text"], input[type="password"], input[type="url"] {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  outline: none;
  font-size: 14px;
}
input:focus { border-color: rgba(34,197,94,.6); box-shadow: 0 0 0 4px rgba(34,197,94,.12); }

.alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
}

.btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}

@keyframes btnGlow {
  from {
    box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset,
                0 8px 20px rgba(34,197,94,.20),
                0 0 12px rgba(45,212,191,.18);
  }
  to {
    box-shadow: 0 0 0 1px rgba(255,255,255,.24) inset,
                0 10px 26px rgba(34,197,94,.28),
                0 0 24px rgba(45,212,191,.30);
  }
}

@keyframes sweep {
  0% { left: -40%; opacity: 0; }
  12% { opacity: .9; }
  50% { opacity: .55; }
  100% { left: 130%; opacity: 0; }
}

@media (max-width: 520px) {
  .btn-group {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .btn {
    font-size: 16px;
    padding: 14px 12px;
  }
}
