:root {
  --bg: #fff7f0;
  --pink: #ff8fab;
  --purple: #7209b7;
  --yellow: #ffb703;
  --blue: #4cc9f0;
  --text: #3a2e2e;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", cursive;
  margin: 0;
}

/* ---------- confetti canvas ---------- */
#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* ---------- floating paw prints background ---------- */
.paw-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(255, 143, 171, 0.08) 0,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(76, 201, 240, 0.1) 0,
      transparent 40%
    );
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem 6rem;
  text-align: center;
  background: linear-gradient(180deg, #ffe5ec 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "🐾";
  position: absolute;
  font-size: 3rem;
  opacity: 0.25;
  animation: float 6s ease-in-out infinite;
}
.hero::before {
  top: 10%;
  left: 6%;
}
.hero::after {
  bottom: 8%;
  right: 8%;
  animation-delay: -3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(15deg);
  }
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--purple);
  line-height: 1.1;
  text-shadow: 3px 3px 0 rgba(255, 183, 3, 0.35);
}

.wiggle {
  display: inline-block;
  animation: wiggle 3.5s ease-in-out infinite;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.subtitle {
  font-size: 1.15rem;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.6;
}

.hero-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.hero-photo {
  width: min(65vw, 320px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 20px 40px rgba(114, 9, 183, 0.25);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.hero-photo:hover {
  transform: rotate(0deg) scale(1.03);
}

.badge {
  position: absolute;
  bottom: 0.5rem;
  right: -0.5rem;
  background: var(--yellow);
  color: #3a2e2e;
  font-weight: 700;
  font-family: "Baloo 2", cursive;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transform: rotate(8deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
}

.cta-btn {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(114, 9, 183, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 26px rgba(114, 9, 183, 0.45);
}

/* ---------- main / wishlist ---------- */
main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.wish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.wish-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-top: 6px solid var(--accent, var(--pink));
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wish-card:hover {
  transform: translateY(-8px) rotate(-0.3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}

.wish-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent, var(--pink)) 18%, #fff8f2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wish-media img {
  width: auto;
  height: 100%;
  max-width: 92%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.5s ease;
}

.wish-card:hover .wish-media img {
  transform: scale(1.06);
}

.status-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.status-tag.ready {
  background: rgba(76, 201, 240, 0.85);
  color: #fff;
}

.status-tag.generate {
  background: rgba(255, 183, 3, 0.9);
  color: #3a2e2e;
}

.status-tag.fun {
  background: rgba(247, 37, 133, 0.9);
  color: #fff;
  animation: pop 2.4s ease-in-out infinite;
}

@keyframes pop {
  0%,
  100% {
    transform: scale(1) rotate(-2deg);
  }
  50% {
    transform: scale(1.06) rotate(2deg);
  }
}

.wish-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.wish-body h3 {
  font-size: 1.3rem;
  color: var(--text);
}

.wish-body p {
  line-height: 1.5;
  margin: 0;
  font-size: 0.98rem;
}

.mini-gallery {
  border-radius: 12px;
  overflow: hidden;
  margin: 0.3rem 0;
}

.mini-gallery img {
  width: 100%;
  display: block;
  max-height: 160px;
  object-fit: cover;
}

.priority {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
}

.stars {
  color: var(--yellow);
  letter-spacing: 2px;
}

.bobby-quote {
  background: #f4effc;
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--purple);
  position: relative;
}

.prompt-box {
  background: #fdf3e7;
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
}

.prompt-box summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--purple);
}

.prompt-box p {
  margin-top: 0.6rem;
  font-style: italic;
  color: #5c4b4b;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  color: #7a6a6a;
}

.footer-small {
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem 4rem;
  }
  .wish-media {
    height: 180px;
  }
}
