:root {
  --ink: #1a1024;
  --cream: #fff6e8;
  --pink: #ff4d8d;
  --yellow: #ffe14a;
  --lime: #b6ff3b;
  --blue: #7ad7ff;
  --orange: #ff7a3c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip {
  position: absolute; left: 12px; top: -40px;
  background: var(--ink); color: #fff; padding: 8px;
}
.skip:focus { top: 12px; }

.blobs {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, #ffc2d6 0 18%, transparent 19%),
    radial-gradient(circle at 88% 12%, #c8ff8a 0 14%, transparent 15%),
    radial-gradient(circle at 80% 78%, #ffef8a 0 16%, transparent 17%),
    radial-gradient(circle at 10% 84%, #9be7ff 0 12%, transparent 13%);
}

.nav, main, .footer { position: relative; z-index: 1; }

.nav {
  position: sticky; top: 12px; z-index: 8;
  margin: 12px 4vw 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--ink);
}
.nav__brand {
  font-family: "Lilita One", sans-serif;
  font-size: 1.3rem;
}
.nav__links { display: flex; gap: 16px; font-weight: 700; }
.nav__links a:hover { color: var(--pink); transform: rotate(-6deg) scale(1.08); display: inline-block; }

.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 6vw 3rem;
}
.hero__years {
  margin: 0;
  font-family: "Lilita One", sans-serif;
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: 0.8;
  color: var(--pink);
  text-shadow: 8px 8px 0 var(--ink);
}
h1, h2 { font-family: "Lilita One", sans-serif; line-height: 1; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0.2rem 0; }
h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); margin: 0 0 0.8rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.78rem;
  color: #7a2748;
}
.hero__nick {
  display: inline-block;
  margin: 0.4rem 0;
  padding: 6px 14px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  transform: rotate(-3deg);
}
.hero__lead { font-size: 1.15rem; max-width: 36rem; }

.polaroid {
  margin: 0;
  background: #fff;
  padding: 12px 12px 42px;
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--ink);
  transition: transform 0.25s ease;
}
.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 4 / 5;
}
.polaroid figcaption {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  text-align: center;
}
.polaroid { position: relative; }
.tilt { transform: rotate(3deg); }
.tilt-rev { transform: rotate(-3deg); }
.polaroid:hover { transform: rotate(0deg) scale(1.04); }

.hero__shot img { object-position: 50% 18%; }

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--yellow);
  border-block: 4px solid var(--pink);
}
.marquee__track {
  display: flex; gap: 2.4rem; width: max-content;
  padding: 12px 0; font-weight: 700; text-transform: uppercase;
  animation: slide 22s linear infinite;
}

section { padding: 5rem 6vw; position: relative; }
.panel, .mom, .love, .close {
  background: rgba(255,255,255,0.55);
}
.letter, .gabi, .friends, .love, .dad, .mom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.letter { align-items: start; }
.letter__sign {
  font-family: "Caveat", cursive;
  font-size: 2rem;
  color: var(--pink);
}

.mom img { object-position: 50% 20%; }

.close { text-align: center; }
.close__num {
  font-family: "Lilita One", sans-serif;
  font-size: clamp(6rem, 16vw, 11rem);
  margin: 0; color: var(--pink);
  text-shadow: 6px 6px 0 var(--ink);
}
.close p { max-width: 36rem; margin-inline: auto; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 1.8rem 6vw 2.4rem;
  border-top: 6px solid var(--ink);
  background: var(--lime);
  font-weight: 700;
}
.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer__hint {
  margin: 0;
  font-family: "Lilita One", sans-serif;
  font-size: 1.1rem;
  color: var(--pink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer__by {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}
.arrow {
  font-size: 1.8rem;
  display: inline-block;
}
.arrow.delay { animation-delay: 0.35s; }
.gostosao {
  display: inline-block;
  padding: 14px 28px;
  background: var(--pink);
  color: #fff;
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  font-family: "Lilita One", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  line-height: 1;
  animation: pulse 1.1s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.gostosao:hover,
.gostosao:focus-visible {
  background: #ff1f73;
  transform: rotate(-4deg) scale(1.12);
  box-shadow: 10px 10px 0 var(--ink);
}

.sticker {
  position: absolute;
  width: 88px;
  z-index: 3;
  filter: drop-shadow(4px 4px 0 rgba(0,0,0,.18));
  pointer-events: none;
}
.sticker:hover { pointer-events: auto; }

.s-a { top: 8%; left: 42%; width: 140px; transform: rotate(-18deg); }
.s-b { top: 12%; right: 6%; width: 170px; transform: rotate(12deg); }
.s-c { bottom: 10%; left: 6%; width: 70px; }
.s-d { top: 38%; left: 48%; width: 70px; }
.s-e { bottom: 16%; right: 38%; width: 90px; }
.s-f { top: 6%; left: 8%; width: 54px; }
.s-g { bottom: 8%; right: 8%; width: 60px; }
.s-h { top: -20px; right: 8%; width: 64px; }
.s-i { bottom: 10%; left: 6%; width: 100px; }
.s-j { top: -10px; left: 46%; width: 110px; }
.s-k { top: 20px; right: 8%; width: 130px; }
.s-l { bottom: 8%; left: 4%; width: 90px; }
.s-m { top: 10%; right: 10%; width: 50px; }
.s-n { top: 0; left: 42%; width: 58px; }
.s-o { bottom: 6%; left: 8%; width: 70px; }
.s-p { top: 8%; right: 8%; width: 64px; }
.s-q { top: 8%; left: 10%; width: 150px; transform: rotate(-12deg); }
.s-r { top: 10%; right: 8%; width: 100px; }

.wavy span {
  display: inline-block;
  animation: hop 1.2s ease-in-out infinite;
}
.float { animation: float 3.4s ease-in-out infinite; }
.bounce { animation: bounce 1.8s ease-in-out infinite; }
.wiggle { animation: wiggle 2.2s ease-in-out infinite; }
.spin { animation: spin 8s linear infinite; }
.wobble { animation: wobble 2.4s ease-in-out infinite; }
.pop { animation: pop 1.6s ease-in-out infinite; }
.pulse { animation: pulse 1.1s ease-in-out infinite; }

@keyframes slide { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(6deg); } }
@keyframes bounce { 50% { transform: translateY(-12px) scale(1.08); } }
@keyframes wiggle { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }
@keyframes hop { 50% { transform: translateY(-8px); } }
@keyframes pop { 50% { transform: scale(1.08); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.reveal { animation: up 0.7s ease both; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero, .letter, .gabi, .friends, .love, .dad, .mom { grid-template-columns: 1fr; }
  section { padding: 3.2rem 6vw; }
  .sticker { width: 64px !important; }
}

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