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

:root {
  --blush-50: #fff6f8; --blush-100: #ffeaf0; --blush-200: #ffd9e3;
  --pink-300: #ffb8ca; --pink-400: #ff8fac; --pink-500: #f5769a;
  --rose-700: #c94b74; --cocoa-800: #4a2f2f; --cream: #fff3ee;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(135deg, var(--blush-100) 0%, #ffd9e3 50%, var(--blush-50) 100%);
  background-attachment: fixed; 
  min-height: 100vh;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  padding: 40px 20px;
  overflow-x: hidden;
}

#loader-screen {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(135deg, var(--blush-50) 0%, #fff6f8 100%);
  z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s;
}
#loader-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.spinner {
  width: 70px; height: 70px;
  border: 5px solid rgba(245, 118, 154, 0.1); border-top-color: var(--pink-500); border-radius: 50%;
  animation: rotate 1s linear infinite;
}
.loader-text { font-family: 'Quicksand', sans-serif; color: var(--rose-700); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.02em; }
@keyframes rotate { 100% { transform: rotate(360deg); } }

.card {
  position: relative; 
  width: 100%; 
  max-width: 480px;
  background: rgb(255 255 255 / 14%); 
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9); 
  border-radius: 32px; 
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(201, 75, 116, 0.1); 
  text-align: center;
  transition: opacity 0.5s ease; 
  z-index: 10;
}
.content-hidden { opacity: 0; pointer-events: none; }

.background-icons {
  position: fixed; 
  top: 0; left: 0; width: 100%; height: 100%; 
  z-index: 1; pointer-events: none;
  /* filter: blur(0.10px); */
}

.bg-icon {
  position: absolute; width: 50px; height: 50px; opacity: 0.7;
  animation: float 10s infinite linear; transform-origin: center center;
}
.bg-icon.pin { animation-name: floatAlt; animation-duration: 12s; width: 30px;}
.bg-icon.spool { animation-name: rotateSlow; animation-duration: 20s; animation-direction: reverse; width: 45px;}
.bg-icon.button-icon { animation-name: float; width: 40px;}
.bg-icon.heart { animation-name: rotateSlow; width: 35px;}

@keyframes float { 
  0%, 100% { transform: translate(0, 0) rotate(0deg); } 
  25% { transform: translate(15px, 10px) rotate(5deg); } 
  50% { transform: translate(0, 15px) rotate(-5deg); } 
  75% { transform: translate(-15px, 10px) rotate(5deg); } 
}
@keyframes floatAlt { 
  0%, 100% { transform: translate(0, 0) rotate(15deg); } 
  50% { transform: translate(10px, -10px) rotate(10deg); } 
}
@keyframes rotateSlow { 
  0% { transform: translate(0, 0) rotate(0deg); } 
  50% { transform: translate(10px, 10px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); } 
}

/* --- POSIÇÕES BASE (Telas Maiores / PC) --- */
.pos-1 { top: 10%; left: 5%; }
.pos-2 { top: 18%; right: 12%; }
.pos-3 { bottom: 20%; left: 10%; }
.pos-4 { bottom: 28%; right: 15%; }
.pos-5 { top: 40%; right: 5%; }
.pos-6 { bottom: 45%; left: 5%; }
.pos-7 { top: 60%; left: 15%; }
.pos-8 { top: 65%; right: 10%; }

/* --- AJUSTES PARA CELULAR --- */
@media (max-width: 600px) {
  body {
    padding: 20px 15px; 
  }
  .card {
    padding: 35px 20px; 
  }
  .bg-icon {
    opacity: 0.85;
  }
  .pos-1 { top: 2%; left: -2%; }
  .pos-2 { top: 3%; right: -2%; }
  .pos-3 { bottom: 2%; left: 2%; }
  .pos-4 { bottom: 3%; right: -2%; }
  .pos-5 { top: 35%; right: -5%; }
  .pos-6 { top: 45%; left: -5%; }
  .pos-7 { top: 75%; left: -4%; }
  .pos-8 { top: 80%; right: -4%; }
}

.hero { margin-bottom: 24px; }
.title-serif { font-family: 'Playfair Display', serif; font-weight: 600; font-size: clamp(2rem, 8vw, 2.6rem); color: var(--cocoa-800); letter-spacing: .02em; }
.title-script { font-family: 'Yellowtail', cursive; font-weight: 400; font-size: clamp(3rem, 12vw, 4rem); line-height: .9; color: var(--pink-500); margin-top: -5px; text-shadow: 2px 2px 8px rgba(245, 118, 154, 0.15); }

.photo-section { display: flex; justify-content: center; margin: 30px 0; }
.photo-ring { width: 170px; height: 170px; border-radius: 50%; padding: 6px; background: linear-gradient(135deg, var(--pink-300), var(--blush-50)); box-shadow: 0 12px 24px rgba(201, 75, 116, 0.2); }
.photo-circle { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 4px solid #fff; background: #fff; }
.photo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.tagline { color: var(--rose-700); font-weight: 600; font-size: 1.1rem; margin-bottom: 28px; }

.links { display: flex; flex-direction: column; gap: 16px; }
.link-pill {
  display: flex; align-items: center; gap: 16px; background: #ffffff;
  border: 1px solid var(--blush-200); border-radius: 999px; padding: 10px 18px;
  text-decoration: none; color: var(--cocoa-800); box-shadow: 0 4px 14px rgba(233, 106, 146, 0.08);
  transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; width: 100%; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.link-pill:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(233, 106, 146, 0.18); }
.link-pill.disabled { opacity: 0.9; }

.icon-badge { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ig-badge { background: #ffe0e9; }
.wa-badge { background: #dcf8e6; }
.shop-badge { background: #ffe0e9; }
.label { flex: 1; text-align: left; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.label-sub { font-weight: 600; font-size: .75em; color: var(--rose-700); margin-left: 6px; }

.footer-section { margin-top: 40px; padding-bottom: 10px; }
.quote-script { font-family: 'Yellowtail', cursive; color: var(--pink-500); font-size: clamp(1.6rem, 6vw, 1.9rem); line-height: 1.2; }

#toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px);
  background: var(--rose-700); color: #fff; font-weight: 600; font-size: .95rem; padding: 14px 24px;
  border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease; white-space: nowrap; z-index: 100;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }