/* ═══════════════════════════════════════════════════════════════════════
   Luna's Pusheen Universe — stylesheet
   A cozy kawaii sticker-book for a 10-year-old's love of Pusheen.
   Aesthetic notes:
     • palette: soft pink + cream + berry text + sprinkle accents
     • fonts: Bagel Fat One (chunky display), Caveat (handwritten), Quicksand (body)
     • visual language: polaroids, washi tape, push-pins, paper grain, wavy edges
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ─── color palette ─── */
  --cream: #fff7ee;
  --cream-deep: #ffeede;
  --paper: #fffbf4;
  --blush: #ffe1e8;
  --blush-deep: #ffc8d4;
  --pink-soft: #ffc2d1;
  --pink: #ff9fbc;
  --pink-hot: #ff5c8a;
  --pink-deep: #e83d70;

  --berry: #58213a;
  --berry-mid: #7e2d4d;
  --berry-soft: #a64472;

  --mint: #b8e6d0;
  --sky: #c7def2;
  --lemon: #fff0b8;
  --lavender: #e1d4f5;
  --peach: #ffd6b8;

  --tape: #ffe5b8cc;
  --tape-pink: #ffb6cdcc;
  --tape-mint: #b8e6d0cc;

  /* ─── shadows ─── */
  --shadow-pin: 0 6px 14px rgba(190, 60, 100, 0.12),
                0 1px 0 rgba(255, 255, 255, 0.7) inset;
  --shadow-card: 0 14px 30px -12px rgba(190, 60, 100, 0.25),
                 0 4px 8px -4px rgba(190, 60, 100, 0.15),
                 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  --shadow-hover: 0 24px 40px -10px rgba(190, 60, 100, 0.35),
                  0 8px 16px -4px rgba(190, 60, 100, 0.2);
  --shadow-text: 0 2px 0 rgba(255, 255, 255, 0.6),
                 0 4px 14px rgba(232, 61, 112, 0.15);

  /* ─── radii ─── */
  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 36px;
  --r-pill: 999px;

  /* ─── fonts ─── */
  --f-display: "Bagel Fat One", "Quicksand", system-ui, sans-serif;
  --f-script: "Caveat", "Bradley Hand", cursive;
  --f-body: "Quicksand", "Nunito", -apple-system, system-ui, sans-serif;
}

/* ─── reset-ish ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ─── body / atmosphere ─── */
body {
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--berry);
  background: var(--cream);
  /* soft pink-cream gradient with subtle paper grain */
  background-image:
    radial-gradient(1200px 700px at 12% -5%, var(--blush) 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 0%, #ffe5d8 0%, transparent 55%),
    radial-gradient(700px 500px at 50% 100%, var(--blush) 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fff5e9 100%);
  background-attachment: fixed;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* dotted-paper texture overlay (notebook paper feel) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255, 110, 160, 0.08) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: 0 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* tiny grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ═══════════════════════════════════════════════════════════════════════
   ambient sky layer — clouds, hearts, sparkles
   ═══════════════════════════════════════════════════════════════════════ */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* fluffy clouds */
.cloud {
  position: absolute;
  width: 220px;
  height: 80px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 80px;
  filter: blur(0.5px);
  box-shadow:
    -50px -20px 0 -10px rgba(255, 255, 255, 0.55),
    50px -20px 0 -8px rgba(255, 255, 255, 0.55),
    -90px 0 0 -25px rgba(255, 255, 255, 0.45),
    90px 0 0 -25px rgba(255, 255, 255, 0.45);
  animation: drift linear infinite;
  opacity: 0.7;
}
.cloud-1 { top: 12%; left: -250px; animation-duration: 90s; }
.cloud-2 { top: 38%; left: -250px; animation-duration: 130s; animation-delay: -40s; transform: scale(0.8); }
.cloud-3 { top: 70%; left: -250px; animation-duration: 110s; animation-delay: -70s; transform: scale(1.1); opacity: 0.5; }

@keyframes drift {
  to { transform: translateX(calc(100vw + 300px)) scale(var(--s, 1)); }
}

/* drifting hearts and sparkles */
.floaty {
  position: absolute;
  bottom: -40px;
  left: var(--x);
  font-size: 22px;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(255, 110, 160, 0.3));
  animation: float-up var(--dur, 16s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.floaty-star { font-size: 16px; color: var(--pink-hot); }
.floaty-sparkle { font-size: 24px; color: var(--pink-hot); }

@keyframes float-up {
  0%   { transform: translate(0, 0) rotate(0); opacity: 0; }
  10%  { opacity: 0.9; }
  50%  { transform: translate(40px, -55vh) rotate(180deg); opacity: 0.9; }
  90%  { opacity: 0.7; }
  100% { transform: translate(-30px, -110vh) rotate(360deg); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   hero
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 5vw, 64px) 120px;
  isolation: isolate;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1.5px dashed var(--pink-soft);
  border-radius: var(--r-pill);
  position: sticky;
  top: 14px;
  z-index: 50;
  box-shadow: var(--shadow-pin);
  margin: 0 auto 60px;
  max-width: 1200px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--berry);
  white-space: nowrap;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--pink-soft);
  border-radius: 50%;
  font-size: 18px;
  box-shadow: inset 0 -4px 0 rgba(232, 61, 112, 0.2);
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--berry-mid);
  transition: all 0.22s ease;
  position: relative;
}
.nav-links a:hover {
  color: var(--pink-deep);
  background: var(--blush);
  transform: translateY(-1px);
}

/* hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* left side — title + copy */
.hero-copy {
  position: relative;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 14px;
  background: var(--paper);
  border: 1.5px solid var(--pink-soft);
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry-mid);
  margin-bottom: 26px;
  box-shadow: 0 4px 0 -2px var(--pink-soft);
}
.kicker-dot {
  width: 8px;
  height: 8px;
  background: var(--pink-hot);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 92, 138, 0.2);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(255, 92, 138, 0); }
}

.title {
  font-family: var(--f-display);
  font-size: clamp(58px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--berry);
  position: relative;
  margin-bottom: 28px;
  text-wrap: balance;
}
.title-line {
  display: block;
  position: relative;
}
.title-line:nth-child(1) {
  color: var(--berry);
}
.title-line:nth-child(3) {
  color: var(--pink-deep);
  text-shadow:
    3px 3px 0 var(--paper),
    6px 6px 0 var(--pink-soft);
}

.title-script {
  font-family: var(--f-script);
  font-weight: 700;
  color: var(--pink-hot);
  font-size: 1.1em;
  margin-left: 0.15em;
  transform: rotate(-3deg);
  display: inline-block;
  text-shadow: 3px 3px 0 var(--paper);
}

.title-glitter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.title-glitter > span {
  position: absolute;
  font-size: 24px;
  color: var(--pink-hot);
  animation: twinkle 2.4s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(255, 92, 138, 0.4));
}
.title-glitter > span:nth-child(1) { top: -6%; left: 92%; font-size: 32px; animation-delay: 0s; }
.title-glitter > span:nth-child(2) { top: 38%; left: -4%; font-size: 22px; animation-delay: 0.7s; color: var(--pink); }
.title-glitter > span:nth-child(3) { top: 78%; left: 88%; font-size: 26px; animation-delay: 1.4s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.85) rotate(0); }
  50%      { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 50ch;
  color: var(--berry-mid);
  margin-bottom: 32px;
}
.lede strong {
  color: var(--pink-deep);
  font-weight: 700;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink-hot);
  color: white;
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 5px var(--pink-hot),
    0 8px 0 var(--pink-deep),
    0 16px 24px -8px rgba(232, 61, 112, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 5px var(--pink-hot),
    0 11px 0 var(--pink-deep),
    0 18px 28px -8px rgba(232, 61, 112, 0.5);
}
.btn-primary:active {
  transform: translateY(2px);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 5px var(--pink-hot),
    0 4px 0 var(--pink-deep);
}
.btn-paw {
  font-size: 18px;
  transition: transform 0.3s;
}
.btn-primary:hover .btn-paw {
  transform: rotate(20deg) scale(1.2);
}
.btn-ghost {
  background: transparent;
  color: var(--berry);
  border: 2px dashed var(--pink);
}
.btn-ghost:hover {
  background: var(--paper);
  border-style: solid;
  border-color: var(--pink-hot);
  color: var(--pink-deep);
}

/* hero stats */
.hero-stats {
  display: flex;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
  flex-wrap: nowrap;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  padding-right: clamp(16px, 2.4vw, 36px);
}
.hero-stats li:not(:last-child)::after {
  content: "✦";
  position: absolute;
  right: 0;
  top: 18%;
  color: var(--pink);
  font-size: 16px;
}
.hero-stats strong {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--pink-deep);
  line-height: 1;
}
.hero-stats span {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--berry-mid);
  font-weight: 600;
  white-space: nowrap;
}

/* right side — Luna polaroid + props */
.hero-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

/* stacked back polaroids (decorative) */
.polaroid {
  background: var(--paper);
  padding: 12px 12px 18px;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}
.polaroid-back {
  position: absolute;
  width: 110px;
  height: 130px;
  padding: 10px 10px 16px;
  z-index: 1;
  filter: saturate(0.95);
}
.polaroid-back-1 {
  top: 8%;
  left: 6%;
  transform: rotate(-12deg);
}
.polaroid-back-2 {
  top: 12%;
  right: 4%;
  transform: rotate(15deg);
}
.polaroid-back img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  background: var(--blush);
  border-radius: 3px;
  padding: 6px;
}

.polaroid-luna {
  position: relative;
  width: clamp(280px, 30vw, 360px);
  padding: 14px 14px 22px;
  background: var(--paper);
  border-radius: 4px;
  transform: rotate(-3deg);
  z-index: 3;
  animation: polaroid-sway 8s ease-in-out infinite;
}
@keyframes polaroid-sway {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-6px); }
}
.polaroid-photo {
  background: var(--blush);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}
.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%; /* keep her face nicely framed */
  display: block;
}

/* washi tape strips on the polaroid corners */
.washi {
  position: absolute;
  pointer-events: none;
  z-index: 4;
}
.washi-top {
  top: -10px;
  left: 50%;
  width: 110px;
  height: 26px;
  background: var(--tape-pink);
  transform: translateX(-50%) rotate(-4deg);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 6px,
    rgba(255, 255, 255, 0.4) 6px 9px
  );
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.washi-bottom {
  /* sit on the photo's bottom-right corner, peeking outside */
  bottom: 22%;
  right: -16px;
  width: 78px;
  height: 22px;
  background: var(--tape-mint);
  transform: rotate(38deg);
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 5px,
    rgba(255, 255, 255, 0.4) 5px 8px
  );
  border-radius: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.polaroid-caption {
  font-family: var(--f-script);
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--berry);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  line-height: 1.1;
  white-space: nowrap;
}
.caption-heart {
  color: var(--pink-hot);
  font-size: 22px;
}

/* speech bubble */
.hero-bubble {
  position: absolute;
  top: 8%;
  right: -10px;
  background: var(--lemon);
  color: var(--berry);
  padding: 14px 20px;
  border-radius: 22px 22px 22px 4px;
  font-family: var(--f-script);
  font-size: 22px;
  line-height: 1.1;
  box-shadow: var(--shadow-pin);
  border: 2px solid #f5d76e;
  transform: rotate(6deg);
  z-index: 5;
  animation: bubble-bob 3.5s ease-in-out infinite;
}
@keyframes bubble-bob {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(-6px); }
}
.hero-bubble::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 18px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 6px solid transparent;
  border-top: 14px solid var(--lemon);
  filter: drop-shadow(0 1px 0 #f5d76e);
}

.hero-pusheen-peek {
  position: absolute;
  bottom: -8%;
  left: -2%;
  width: 130px;
  z-index: 2;
  animation: peek 4.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px rgba(190, 60, 100, 0.2));
}
@keyframes peek {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-10px) rotate(-4deg); }
}

/* fallback placeholder for Luna's photo */
.luna-placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      var(--blush-deep) 0 10px,
      var(--blush) 10px 20px
    );
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  color: var(--berry);
}
.lp-emoji {
  font-size: 56px;
  display: block;
}
.lp-line-1 {
  font-family: var(--f-display);
  font-size: 18px;
}
.lp-line-2 {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--berry-mid);
  max-width: 22ch;
  line-height: 1.4;
}
.lp-line-2 code {
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px dashed var(--pink);
}

/* ─── decorative section dividers ─── */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  display: block;
}
.wave-bottom { bottom: -1px; }
.wave-top    { top: -1px; transform: translateY(-99%); }

/* ═══════════════════════════════════════════════════════════════════════
   shared section bits
   ═══════════════════════════════════════════════════════════════════════ */
section {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--berry-soft);
  margin-bottom: 18px;
}
.eyebrow-line {
  height: 1.5px;
  width: clamp(24px, 6vw, 60px);
  background: linear-gradient(to right, transparent, var(--pink) 50%, transparent);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 80px);
  text-align: center;
  line-height: 0.95;
  color: var(--berry);
  margin-bottom: 24px;
  text-wrap: balance;
}
.title-script-md {
  font-family: var(--f-script);
  font-weight: 700;
  color: var(--pink-hot);
  font-size: 1.05em;
  display: inline-block;
  transform: rotate(-3deg);
  margin: 0 0.1em;
  text-shadow: 3px 3px 0 var(--paper);
}
.title-paw {
  display: inline-block;
  font-size: 0.7em;
  vertical-align: middle;
  animation: paw-wave 2.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes paw-wave {
  0%, 100% { transform: rotate(-12deg); }
  50%      { transform: rotate(8deg); }
}
.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--berry-mid);
  max-width: 56ch;
  margin: 0 auto 56px;
  text-wrap: balance;
}

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT — sticker cards
   ═══════════════════════════════════════════════════════════════════════ */
.about {
  background:
    radial-gradient(800px 400px at 50% 0%, var(--blush) 0%, transparent 60%);
  background-color: var(--cream);
  max-width: none;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  border-top: 1px dashed var(--pink-soft);
  border-bottom: 1px dashed var(--pink-soft);
}
.about > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.sticker-card {
  position: relative;
  background: var(--paper);
  padding: 36px 22px 26px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  border: 1.5px solid rgba(255, 92, 138, 0.08);
}
.sticker-card-1 { transform: rotate(-1.5deg); background: var(--paper); }
.sticker-card-2 { transform: rotate(1.5deg); background: linear-gradient(160deg, var(--paper), #ffeff5); }
.sticker-card-3 { transform: rotate(-1deg); background: linear-gradient(160deg, #fff7e9, var(--paper)); }
.sticker-card-4 { transform: rotate(2deg); background: linear-gradient(160deg, var(--paper), #f3fbf4); }
.sticker-card-5 { transform: rotate(-2deg); background: linear-gradient(160deg, #fff0f5, var(--paper)); }
.sticker-card-6 { transform: rotate(1deg); background: linear-gradient(160deg, #f6f0ff, var(--paper)); }
.sticker-card-7 { transform: rotate(-1deg); background: linear-gradient(160deg, var(--paper), #f3efe7); }
.sticker-card-8 { transform: rotate(2deg); background: linear-gradient(160deg, #ffe9ee, var(--paper)); }

.sticker-card:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 35% 30%, #ff8aa8 0%, var(--pink-hot) 60%, var(--pink-deep) 100%);
  border-radius: 50%;
  box-shadow:
    inset -2px -3px 4px rgba(0,0,0,0.2),
    inset 2px 2px 3px rgba(255,255,255,0.4),
    0 4px 6px rgba(232, 61, 112, 0.35);
  z-index: 2;
}
.card-pin::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  filter: blur(0.5px);
}

.card-emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 6px rgba(190, 60, 100, 0.15));
}
.sticker-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--berry);
}
.sticker-card p {
  font-size: 15px;
  color: var(--berry-mid);
  line-height: 1.5;
}
.sticker-card p strong {
  color: var(--pink-deep);
}

/* keep the gentle bob animation — used by the footer mascot */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════════════════════════════════════
   GALLERY — pinboard
   ═══════════════════════════════════════════════════════════════════════ */
.gallery {
  position: relative;
}
.gallery::before {
  /* a soft cork-board feel via radial dots */
  content: "";
  position: absolute;
  inset: 80px 0;
  background-image:
    radial-gradient(circle, rgba(232, 61, 112, 0.08) 1px, transparent 2px);
  background-size: 36px 36px;
  border-radius: var(--r-lg);
  z-index: -1;
  opacity: 0.6;
}

.gallery-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px 22px;
  margin-top: 36px;
  padding: 8px;
}

.poster {
  background: var(--paper);
  padding: 14px 14px 8px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  transform: rotate(var(--rot, 0));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
  position: relative;
  cursor: pointer;
  break-inside: avoid;
}
.poster.poster-tall {
  grid-row: span 1;
}
.poster:hover {
  transform: rotate(0) translateY(-8px) scale(1.04);
  box-shadow: var(--shadow-hover);
  z-index: 5;
}

/* a piece of washi tape across the top */
.poster-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 70px;
  height: 18px;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--tape);
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 4px,
    rgba(255,255,255,0.4) 4px 7px
  );
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 1px;
  pointer-events: none;
}
.poster:nth-child(3n) .poster-tape { background: var(--tape-pink); }
.poster:nth-child(3n+1) .poster-tape { background: var(--tape-mint); }

.poster-photo {
  background: linear-gradient(160deg, var(--blush) 0%, #fff5e9 100%);
  border-radius: 2px;
  aspect-ratio: 1 / 1;
  padding: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.poster-photo::before {
  /* twinkles inside the frame */
  content: "✦  ♡  ✧  ♡  ✦";
  position: absolute;
  font-size: 9px;
  color: rgba(232, 61, 112, 0.18);
  letter-spacing: 8px;
  bottom: 6px;
  left: 8px;
  right: 8px;
  text-align: center;
  font-family: var(--f-body);
  pointer-events: none;
}
.poster-photo img {
  max-width: 88%;
  max-height: 88%;
  width: auto;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(190, 60, 100, 0.18));
  transition: transform 0.4s ease;
}
.poster:hover .poster-photo img {
  transform: scale(1.06) rotate(-2deg);
  animation: jiggle 0.4s ease-in-out;
}
@keyframes jiggle {
  0%, 100% { transform: scale(1.06) rotate(-2deg); }
  25%      { transform: scale(1.06) rotate(3deg); }
  75%      { transform: scale(1.06) rotate(-4deg); }
}

.poster figcaption {
  text-align: center;
  padding: 10px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cap-name {
  font-family: var(--f-script);
  font-size: 22px;
  color: var(--berry);
  line-height: 1;
}
.cap-meta {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--berry-soft);
}

/* sparkles on click */
.poster.spark::after {
  content: "✦ ♡ ✧";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--pink-hot);
  letter-spacing: 8px;
  pointer-events: none;
  animation: sparkle-burst 0.7s ease-out forwards;
}
@keyframes sparkle-burst {
  0%   { opacity: 1; transform: translate(-50%, 0) scale(0.5); }
  60%  { opacity: 1; transform: translate(-50%, -30px) scale(1.4); }
  100% { opacity: 0; transform: translate(-50%, -60px) scale(1.2); }
}

/* ═══════════════════════════════════════════════════════════════════════
   FUN FACTS
   ═══════════════════════════════════════════════════════════════════════ */
.facts {
  background: var(--cream);
  max-width: none;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  border-top: 1px dashed var(--pink-soft);
  border-bottom: 1px dashed var(--pink-soft);
}
.facts > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.facts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 52px;
}
.fact-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 28px 26px 24px 70px;
  box-shadow: var(--shadow-card);
  border-left: 6px solid var(--pink-hot);
  position: relative;
  transition: transform 0.3s ease;
}
.fact-card:hover {
  transform: translateX(6px);
}
.fact-num {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--f-display);
  font-size: 36px;
  color: var(--blush-deep);
  line-height: 1;
}
.fact-card p {
  font-size: 15.5px;
  color: var(--berry-mid);
  line-height: 1.55;
}
.fact-card p strong { color: var(--pink-deep); }
.fact-card p em {
  font-style: italic;
  font-family: var(--f-script);
  font-size: 19px;
  font-weight: 600;
  color: var(--berry);
}
.fact-card:nth-child(2n) {
  border-left-color: var(--berry-soft);
}
.fact-card:nth-child(2n) .fact-num { color: rgba(166, 68, 114, 0.25); }
.fact-card:nth-child(3n) {
  border-left-color: var(--pink);
}

/* ═══════════════════════════════════════════════════════════════════════
   VOTE
   ═══════════════════════════════════════════════════════════════════════ */
.vote-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.vote-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-card);
  border: 2.5px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.vote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--blush) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.vote-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--pink);
}
.vote-card:hover::before { opacity: 1; }

.vote-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(190, 60, 100, 0.2));
  transition: transform 0.4s ease;
}
.vote-card:hover img { transform: scale(1.08) rotate(-3deg); }

.vote-name {
  font-family: var(--f-display);
  font-size: 17px;
  color: var(--berry);
  position: relative;
  z-index: 1;
}
.vote-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 12px;
  background: var(--pink-hot);
  color: white;
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 0 var(--pink-deep);
}

.vote-card.voted {
  border-color: var(--pink-hot);
  background: linear-gradient(160deg, var(--paper) 0%, #fff0f5 100%);
}
.vote-card.voted::after {
  content: "♡ thanks!";
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--f-script);
  color: var(--pink-hot);
  font-size: 16px;
  z-index: 2;
}

.vote-note {
  text-align: center;
  font-family: var(--f-script);
  font-size: 22px;
  color: var(--berry-mid);
  margin-top: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 2;
  background: var(--blush);
  background-image:
    radial-gradient(800px 300px at 50% 100%, var(--blush-deep) 0%, transparent 60%);
  padding: 140px 24px 60px;
  text-align: center;
  margin-top: 40px;
}
.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.footer-mascot {
  width: 100px;
  margin: 0 auto 18px;
  animation: bob 4s ease-in-out infinite;
}
.footer-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 48px);
  color: var(--berry);
  margin-bottom: 24px;
  line-height: 1;
}
.footer-sig {
  font-family: var(--f-script);
  font-size: 26px;
  color: var(--berry);
  margin-bottom: 20px;
}
.footer-sig strong {
  font-weight: 700;
  color: var(--pink-deep);
}
.footer-heart {
  display: inline-block;
  animation: heartbeat 1.4s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.25); }
  50%      { transform: scale(1); }
  75%      { transform: scale(1.15); }
}
.footer-fineprint {
  font-size: 12px;
  color: var(--berry-soft);
  max-width: 50ch;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.footer-back {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--berry);
  padding: 10px 22px;
  background: var(--paper);
  border-radius: var(--r-pill);
  border: 2px dashed var(--pink);
  transition: all 0.25s ease;
}
.footer-back:hover {
  background: var(--pink-hot);
  color: white;
  border-color: var(--pink-hot);
  border-style: solid;
}

/* ═══════════════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(88, 33, 58, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-figure {
  background: var(--paper);
  padding: 24px 24px 32px;
  border-radius: var(--r-md);
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.3);
  transform: scale(0.85) rotate(-2deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.lightbox[aria-hidden="false"] .lightbox-figure {
  transform: scale(1) rotate(-1deg);
}
.lightbox-figure::before {
  /* tape on top */
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 90px;
  height: 22px;
  background: var(--tape-pink);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 5px,
    rgba(255,255,255,0.4) 5px 8px
  );
  transform: translateX(-50%) rotate(-3deg);
}
#lightboxImg {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: var(--blush);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 14px;
}
#lightboxCap {
  font-family: var(--f-script);
  font-size: 28px;
  color: var(--berry);
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--paper);
  color: var(--berry);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 210;
  transition: transform 0.2s ease;
}
.lightbox-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--pink-hot);
  color: white;
}

/* ═══════════════════════════════════════════════════════════════════════
   reveal-on-scroll
   ═══════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* stagger children */
.reveal.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.stagger.in > *           { opacity: 1; transform: translateY(0); }
.reveal.stagger.in > *:nth-child(1)  { transition-delay: 0.05s; }
.reveal.stagger.in > *:nth-child(2)  { transition-delay: 0.10s; }
.reveal.stagger.in > *:nth-child(3)  { transition-delay: 0.15s; }
.reveal.stagger.in > *:nth-child(4)  { transition-delay: 0.20s; }
.reveal.stagger.in > *:nth-child(5)  { transition-delay: 0.25s; }
.reveal.stagger.in > *:nth-child(6)  { transition-delay: 0.30s; }
.reveal.stagger.in > *:nth-child(7)  { transition-delay: 0.35s; }
.reveal.stagger.in > *:nth-child(8)  { transition-delay: 0.40s; }
.reveal.stagger.in > *:nth-child(9)  { transition-delay: 0.45s; }
.reveal.stagger.in > *:nth-child(10) { transition-delay: 0.50s; }
.reveal.stagger.in > *:nth-child(n+11) { transition-delay: 0.55s; }

/* ═══════════════════════════════════════════════════════════════════════
   responsive
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 420px; margin-top: 20px; }
  .nav-links { display: none; }
  .nav { padding: 10px 14px; }
  .nav-logo .logo-text { font-size: 14px; }
}

@media (max-width: 620px) {
  .hero { padding-bottom: 80px; }
  .title { font-size: clamp(46px, 12vw, 78px); }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .hero-stats li { padding-right: 18px; }
  .gallery-board { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 16px; }
  .cap-name { font-size: 19px; }
  .polaroid-luna { width: 84%; }
  .hero-bubble {
    right: 0;
    top: -8px;
    font-size: 18px;
    padding: 10px 14px;
  }
  .footer { padding: 100px 18px 40px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   reduced motion
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .floaty, .cloud { display: none; }
}
