/* ===== Cute pink theme ===== */
:root {
  --bg-1: #ffe0ec;
  --bg-2: #ffc4dd;
  --bg-3: #ff9ec7;
  --pink-soft: #ffd6e8;
  --pink: #ff6fae;
  --pink-deep: #d6418a;
  --rose: #e63a7c;
  --cream: #fff5fa;
  --ink: #5c1e3d;
  --gold: #f7c873;
  --white: #ffffff;
  --shadow: 0 20px 60px -20px rgba(214, 65, 138, 0.45);
  --shadow-sm: 0 6px 20px -6px rgba(214, 65, 138, 0.35);
}

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

html, body {
  height: 100%;
  font-family: 'Quicksand', 'Comic Sans MS', system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Floating hearts background */
.bg-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bg-hearts span {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.5;
  animation: floatUp linear infinite;
  bottom: -50px;
  user-select: none;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

.card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
  max-width: 460px;
  width: calc(100% - 2rem);
  text-align: center;
}

h1, h2 {
  font-family: 'Pacifico', 'Brush Script MT', cursive;
  color: var(--pink-deep);
  font-weight: 400;
}

h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 0.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }

p { line-height: 1.6; }

.subtitle {
  color: var(--rose);
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.field {
  text-align: left;
  margin-bottom: 1.2rem;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--pink-deep);
  letter-spacing: 0.5px;
}
.field input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid rgba(255, 111, 174, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.25s ease;
  outline: none;
}
.field input:focus {
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 111, 174, 0.18);
}
.field input::placeholder { color: rgba(214, 65, 138, 0.45); }

.btn {
  display: inline-block;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--rose) 100%);
  color: white;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 0.5rem;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 30px -8px rgba(214, 65, 138, 0.55); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn.secondary {
  background: linear-gradient(135deg, #fff 0%, #ffe0ec 100%);
  color: var(--pink-deep);
  border: 2px solid var(--pink);
}

.error {
  background: rgba(255, 200, 220, 0.6);
  color: var(--rose);
  padding: 0.7rem;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1.5px solid rgba(230, 58, 124, 0.3);
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .card { padding: 2rem 1.5rem; border-radius: 24px; }
  h1 { font-size: 2rem; }
}

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Quicksand:wght@400;500;600;700&display=swap');
