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

:root {
  --bg: #0b0b14;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f2f2f7;
  --muted: #9b9bad;
  --grad: linear-gradient(135deg, #7c3aed, #db2777);
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  overflow: hidden;
}

/* ambient blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}
.b1 { width: 420px; height: 420px; background: #7c3aed; top: -120px; left: -100px; }
.b2 { width: 380px; height: 380px; background: #db2777; bottom: -120px; right: -80px; animation-delay: -5s; }
.b3 { width: 300px; height: 300px; background: #2563eb; bottom: 10%; left: 20%; opacity: .2; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -40px) scale(1.15); }
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  text-align: center;
}

.avatar {
  width: 84px; height: 84px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 8px 30px rgba(219, 39, 119, .35);
}

h1 { font-size: 1.45rem; font-weight: 700; }
.tagline { color: var(--muted); font-size: .92rem; margin: 8px 0 22px; }

.toast {
  font-size: .9rem;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: left;
}
.toast.ok  { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); }
.toast.bad { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .35); }

form { display: flex; flex-direction: column; gap: 12px; }

input[type="text"], textarea {
  width: 100%;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
input[type="text"]::placeholder, textarea::placeholder { color: #6b6b80; }
input[type="text"]:focus, textarea:focus { border-color: #a855f7; }

.hp { display: none !important; } /* honeypot, invisible to humans */

button {
  margin-top: 4px;
  border: none;
  border-radius: 14px;
  padding: 15px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(219, 39, 119, .4);
}
button:active { transform: translateY(0); }

.foot { color: var(--muted); font-size: .78rem; margin-top: 18px; }
