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

:root {
  --pink: #ffb3c6;
  --pink-light: #ffe0ea;
  --pink-soft: #fff0f5;
  --lav: #d4b8e0;
  --lav-light: #f0e6f6;
  --mint: #b5ead7;
  --mint-light: #e8f8f2;
  --yellow: #ffeaa7;
  --peach: #ffd3a5;
  --white: #fffbff;
  --dark: #5a3d5c;
  --mid: #8a6d8c;
  --soft: #b89ab8;
  --sh: 0 4px 20px rgba(180,100,160,.12);
  --sh2: 0 10px 36px rgba(180,100,160,.24);
  --r: 20px;
  --rs: 12px;
}

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

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--white);
  color: var(--dark);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,179,198,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(212,184,224,.15) 0%, transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(181,234,215,.15) 0%, transparent 45%),
    radial-gradient(circle at 10% 70%, rgba(255,211,165,.12) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ── DECO FLOATERS ── */
.deco {
  position: fixed;
  font-size: 2rem;
  opacity: .09;
  pointer-events: none;
  z-index: 0;
  animation: floatD 6s ease-in-out infinite;
}
.deco:nth-child(1) { top: 8%;  left: 3%;   animation-delay: 0s;   font-size: 2.4rem; }
.deco:nth-child(2) { top: 25%; right: 4%;  animation-delay: 1.2s; font-size: 1.8rem; }
.deco:nth-child(3) { bottom: 30%; left: 5%; animation-delay: 2.4s; font-size: 2.2rem; }
.deco:nth-child(4) { bottom: 10%; right: 6%; animation-delay: .8s; }
.deco:nth-child(5) { top: 55%; left: 2%;  animation-delay: 1.8s; font-size: 1.6rem; }

@keyframes floatD  { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(8deg); } }
@keyframes bounce  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes popIn   { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  background: white;
  padding: .85rem 1.8rem;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  font-weight: 700;
  font-size: .95rem;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  display: flex;
  align-items: center;
  gap: .6rem;
  pointer-events: none;
}
#toast.show  { transform: translateX(-50%) translateY(0); }
#toast.success { border-left: 4px solid var(--mint); color: #3a8c6e; }
#toast.error   { border-left: 4px solid var(--pink); color: #c0395a; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.3rem;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-pink {
  background: linear-gradient(135deg, #ffb3c6, #d4b8e0);
  color: white;
  box-shadow: 0 3px 10px rgba(255,179,198,.4);
}
.btn-pink:hover  { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,179,198,.5); }
.btn-outline {
  background: white;
  color: var(--mid);
  border-color: var(--pink);
}
.btn-outline:hover { background: var(--pink-soft); transform: translateY(-2px); }
.btn-block {
  width: 100%;
  padding: .95rem;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,179,198,.4);
}
.btn-block:hover    { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,179,198,.5); }
.btn-block:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── FORM GROUPS ── */
.fgroup { margin-bottom: 1.1rem; text-align: left; }
.fgroup label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--mid);
  margin-bottom: .45rem;
}
.fgroup input {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 2px solid rgba(212,184,224,.5);
  border-radius: var(--rs);
  font-family: 'Quicksand', sans-serif;
  font-size: .95rem;
  color: var(--dark);
  background: var(--lav-light);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fgroup input:focus {
  border-color: var(--lav);
  box-shadow: 0 0 0 3px rgba(212,184,224,.25);
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 7000;
  background: rgba(90,60,92,.65);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#lightbox.active { display: flex; }
.lb-box {
  position: relative;
  max-width: 760px;
  width: 100%;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(90,60,92,.3);
  animation: popIn .3s cubic-bezier(.34,1.56,.64,1);
}
.lb-box img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.lb-info {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--pink-soft), var(--lav-light));
}
.lb-info .lb-name { font-size: 1rem; font-weight: 700; color: var(--dark); }
.lb-info .lb-date { font-size: .82rem; margin-top: 3px; color: var(--soft); }
.lb-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: all .2s;
}
.lb-close:hover { background: var(--pink); color: white; transform: rotate(90deg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .fgroup input { font-size: .9rem; }
}
