* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), transparent 28%),
    linear-gradient(135deg, #ff9a9e 0%, #fad0c4 45%, #fbc2eb 100%);
  overflow: hidden;
  color: #7a2945;
}

.heart {
  position: fixed;
  width: 18px;
  height: 18px;
  background: rgba(255, 75, 125, 0.28);
  transform: rotate(45deg);
  animation: float 8s linear infinite;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: inherit;
}

.heart::before {
  left: -9px;
}

.heart::after {
  top: -9px;
}

.heart:nth-child(1) { left: 8%; bottom: -20px; animation-delay: 0s; }
.heart:nth-child(2) { left: 22%; bottom: -40px; animation-delay: 1.5s; transform: scale(0.8) rotate(45deg); }
.heart:nth-child(3) { left: 48%; bottom: -30px; animation-delay: 3s; transform: scale(1.2) rotate(45deg); }
.heart:nth-child(4) { left: 73%; bottom: -25px; animation-delay: 2s; transform: scale(0.7) rotate(45deg); }
.heart:nth-child(5) { left: 88%; bottom: -45px; animation-delay: 4s; transform: scale(1.1) rotate(45deg); }

@keyframes float {
  0% { translate: 0 0; opacity: 0; }
  15% { opacity: 1; }
  100% { translate: 0 -110vh; opacity: 0; }
}

.card {
  position: relative;
  width: min(92vw, 420px);
  padding: 42px 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(185, 72, 111, 0.28);
  text-align: center;
  z-index: 1;
}

.badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5f9e, #ff8a80);
  box-shadow: 0 12px 25px rgba(255, 95, 158, 0.38);
  color: white;
  font-size: 34px;
}

h1 {
  margin-bottom: 8px;
  font-size: 30px;
  letter-spacing: 1px;
}

.subtitle {
  margin-bottom: 30px;
  color: #9b4f68;
  font-size: 15px;
}

.field {
  margin-bottom: 18px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 8px;
  padding-left: 4px;
  color: #82304d;
  font-size: 14px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 130, 170, 0.36);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  color: #6f213c;
  font-size: 16px;
  transition: 0.2s ease;
}

input:focus {
  border-color: #ff6f9f;
  box-shadow: 0 0 0 4px rgba(255, 111, 159, 0.16);
}

button,
.button-link {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5f9e, #ff8a80);
  color: white;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 95, 158, 0.36);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

button:hover,
.button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 95, 158, 0.44);
}

.hint {
  margin-top: 20px;
  color: #a75973;
  font-size: 13px;
}

.hint a {
  color: #e4437a;
  font-weight: 700;
  text-decoration: none;
}

.message {
  min-height: 22px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}

.error {
  color: #e4437a;
}

.success {
  color: #28a070;
}
