* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { display: grid; place-items: center; padding: 24px; font-family: system-ui, sans-serif; color: #fbe9c8;
  background: radial-gradient(1200px 700px at 20% 10%, #5a3a2a 0%, transparent 60%), radial-gradient(900px 600px at 85% 90%, #6b3550 0%, transparent 55%), #2a2118; }
.card { position: relative; width: min(400px, 100%); background: rgba(40,28,18,.82); border: 1px solid rgba(251,233,200,.14); border-radius: 18px; padding: 30px 28px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.45); overflow: hidden; }
h1 { margin: 0 0 4px; font: 600 26px Georgia, 'Times New Roman', serif; letter-spacing: .2px; }
.sub { margin: 0 0 20px; color: #e6cfa6; font-size: 15px; }
label { display: block; margin: 14px 0 6px; font-size: 13px; color: #e6cfa6; }
label span { color: #b79c78; }
input { width: 100%; padding: 11px 12px; font-size: 16px; color: #fff3dc; background: rgba(255,240,210,.08); border: 1px solid rgba(251,233,200,.22); border-radius: 10px; outline: none; }
input:focus { border-color: #f3a9c0; box-shadow: 0 0 0 3px rgba(243,169,192,.22); }
button { width: 100%; margin-top: 22px; padding: 12px; font-size: 16px; font-weight: 600; color: #fff3dc; background: #865d36; border: 0; border-radius: 10px; cursor: pointer; }
button:hover { background: #9c6d40; }
button:disabled { opacity: .6; cursor: wait; }
.msg { min-height: 20px; margin: 14px 0 0; font-size: 14px; color: #ffb3a6; }
.foot { margin: 14px 0 0; font-size: 12px; color: #b79c78; }
.petals i { position: absolute; top: -12px; width: 10px; height: 8px; background: #f6b7cb; border-radius: 80% 0 80% 0; opacity: .75; animation: fall 9s linear infinite; }
.petals i:nth-child(1) { left: 8%; animation-delay: 0s; } .petals i:nth-child(2) { left: 26%; animation-delay: 3.1s; } .petals i:nth-child(3) { left: 47%; animation-delay: 6.2s; }
.petals i:nth-child(4) { left: 63%; animation-delay: 1.7s; } .petals i:nth-child(5) { left: 81%; animation-delay: 4.6s; } .petals i:nth-child(6) { left: 93%; animation-delay: 7.4s; }
@keyframes fall { to { transform: translate(-40px, 560px) rotate(300deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .petals { display: none; } }
