:root {
  /* --bg: #ffe14d; */
  /* --pink: #ff4fa0; */
  --bg: #dd402b;
  --ink: #1a1a1a;
  --yellow: #dfcc6e;
  --purple: #7b5cff;
  --green: #2fd07f;
  --blue: #3aa0ff;
  --white: #fffdf6;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
  radial-gradient(rgba(26,26,26,0.10) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

/* ---------- panel / card ---------- */

.panel {
  position: relative;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 46px 40px 38px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  animation: popIn 0.5s cubic-bezier(.26,1.4,.44,1) both;
}

.panel.narrow {
  max-width: 480px;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* for tilted badge that hangs off the panel corner */
.stamp {
  position: absolute;
  top: -22px;
  left: 34px;
  transform: rotate(-8deg);
  background: var(--yellow);
  color: var(--white);
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- type ---------- */

.site-title {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 46px);
  line-height: 1.1;
  margin: 12px 0 10px;
  color: var(--ink);
  text-shadow: 4px 4px 0 var(--yellow);
}

h1.site-title { margin-top: 6px; }

.subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #4a4a4a;
  margin: 0 0 6px;
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  margin: 14px 0;
}

/* ---------- sticker button row ---------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 11px 22px;
  box-shadow: var(--shadow-sm);
  transform: rotate(0deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:nth-child(6n+1) { background: #ff9fcb; }
.btn:nth-child(6n+2) { background: #8ec8ff; }
.btn:nth-child(6n+3) { background: #e26105; } /* originally #abf48b */
.btn:nth-child(6n+4) { background: #c3a6ff; }
.btn:nth-child(6n+5) { background: #ffe27a; }
.btn:nth-child(6n+6) { background: #ff9a5c; }

.btn:hover, .btn:focus-visible {
  transform: rotate(6deg) translateY(-3px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--ink);
  color: var(--white);
  outline: none;
}

.btn.primary {
  background: var(--green);
}
.btn.primary:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- policy / long-text content ---------- */

.doc {
  text-align: left;
}

.doc h2 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: 19px;
  margin: 22px 0 6px;
  color: var(--purple);
}

.doc h2:first-of-type { margin-top: 6px; }

.doc p {
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 10px;
  color: #2b2b2b;
}

/* ---------- misc ---------- */

.fact-line {
  margin-top: 22px;
  padding: 12px 16px;
  background: #fff7da;
  border: 2px dashed var(--ink);
  border-radius: 14px;
  font-size: 14.5px;
}

.fact-line b {
  color: var(--yellow);
}

.countdown {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Fredoka', 'Nunito', sans-serif;
}

.countdown span {
  color: var(--yellow);
}

.footer-note {
  margin-top: 30px;
  font-size: 12.5px;
  color: #6b6b6b;
}

@media (max-width: 480px) {
  .panel { padding: 40px 22px 30px; }
}