:root {
  --sky: #7ec8ea;
  --pink: #ff8ac0;
  --pink-2: #e85aa0;
  --ink: #3b2144;
  --grass: #7ecf5a;
  --cream: #fff6fb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Nunito, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, #fff 0 18px, transparent 19px),
    linear-gradient(180deg, var(--sky) 0 38%, #b8e986 38% 52%, var(--cream) 52%);
  min-height: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.tape {
  height: 34px;
  overflow: hidden;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 4px solid var(--ink);
}
.tape-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 8px 16px 0;
  animation: tape 22s linear infinite;
}
@keyframes tape { to { transform: translateX(-50%); } }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 22px;
  background: rgba(255,246,251,.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Fredoka, sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.nav nav { display: flex; gap: 16px; font-weight: 800; }
.nav nav a:hover { color: var(--pink-2); }
.btn { margin-left: auto; }
.btn, .ca {
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}
.btn {
  background: var(--pink);
  color: #fff;
  padding: 10px 18px;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover, .ca:hover, .pig-btn:hover { transform: translate(-1px,-1px); }

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  text-align: center;
}
.banner {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink);
  margin-bottom: 22px;
}
h1 {
  font-family: Fredoka, sans-serif;
  font-size: clamp(48px, 12vw, 88px);
  line-height: .9;
  letter-spacing: -.02em;
}
h1 span { color: var(--pink-2); }
.lede { margin: 10px auto 0; max-width: 520px; font-size: 18px; }
.ca {
  margin-top: 18px;
  background: #fff;
  padding: 12px 20px;
  font-size: clamp(16px, 2.4vw, 22px);
  max-width: 92vw;
  word-break: break-all;
  box-shadow: 4px 4px 0 var(--ink);
}

.lore, .oink, .how, .facts {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 8px;
}
.kicker {
  color: var(--pink-2);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
}
h2 { font-family: Fredoka, sans-serif; font-size: clamp(28px, 5vw, 42px); margin: 6px 0 14px; }
.lore {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: center;
}
.lore img {
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--ink);
}
.lore p { margin-bottom: 10px; }

.oink { text-align: center; }
.pig-btn {
  margin: 16px auto;
  background: transparent;
  border: 0;
  width: min(240px, 70vw);
}
.pig-btn img { width: 100%; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.pig-btn.bounce img { animation: bounce .35s; }
@keyframes bounce {
  0% { transform: scale(1) rotate(0); }
  40% { transform: scale(1.08) rotate(-6deg); }
  100% { transform: scale(1) rotate(0); }
}
.count { font-weight: 800; }
.count b { color: var(--pink-2); font-size: 22px; }

.how ol { list-style: none; display: grid; gap: 10px; }
.how li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 14px;
}
.how b { font-family: Fredoka, sans-serif; font-size: 26px; color: var(--pink-2); }

.rows { background: #fff; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; }
.rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 2px dashed #f3c;
}
.rows div:last-child { border-bottom: 0; }
.rows span { font-weight: 800; color: #7a4a6a; }
.rows b { word-break: break-all; }

footer {
  text-align: center;
  padding: 36px 16px 28px;
  font-weight: 800;
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 10px);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 40;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 800px) {
  .nav nav { display: none; }
  .lore { grid-template-columns: 1fr; }
}
