:root {
  --malabar-pink: #e91e8c;
  --malabar-pink-deep: #b60060;
  --bubble-pink: #ff66b8;
  --bonbon-yellow: #ffd229;
  --paper: #fff9ef;
  --paper-strong: #fff4d7;
  --ink: #24123a;
  --ink-soft: #5d446c;
  --line: rgba(36, 18, 58, 0.14);
  --success: #1c9b58;
  --shadow: 0 16px 40px rgba(171, 39, 106, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 41, 0.42), transparent 34%),
    linear-gradient(180deg, #fffbe8 0%, var(--paper) 56%, #fff7eb 100%);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  position: relative;
  overflow: clip;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px calc(110px + env(safe-area-inset-bottom, 0px));
}

.sun-glow {
  position: absolute;
  z-index: 0;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 41, 0.9) 0%, rgba(255, 210, 41, 0.12) 58%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.sun-glow-left {
  top: -56px;
  left: -60px;
  animation: glow-drift-left 7.2s ease-in-out infinite;
}

.sun-glow-right {
  top: 180px;
  right: -88px;
  animation: glow-drift-right 8.6s ease-in-out infinite;
}

.topbar,
.hero,
.proof-section,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.brand-logo {
  width: min(198px, 54vw);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(233, 30, 140, 0.16));
  transform-origin: center;
  animation: logo-bob 5.8s ease-in-out infinite;
}

.hero {
  display: grid;
  gap: 16px;
  padding-top: 6px;
}

.hero-copy {
  display: grid;
  gap: 12px;
  padding: 4px 2px 0;
}

.hero-tag {
  margin: 0;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bonbon-yellow);
  box-shadow: 0 6px 0 rgba(36, 18, 58, 0.08);
  font-size: 0.9rem;
  transform-origin: left center;
  animation: tag-float 4.8s ease-in-out infinite;
}

h1 {
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 100%;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.headline-line {
  display: block;
  max-width: 100%;
  font-size: clamp(2.55rem, 10vw, 4rem);
  text-wrap: nowrap;
}

.headline-sticker {
  display: block;
  width: min(100%, 332px);
  height: auto;
  margin-top: -2px;
  margin-left: -2px;
  filter: drop-shadow(0 10px 16px rgba(36, 18, 58, 0.12));
}

.hero-subtitle,
.offer-copy,
.proof-card p,
.footer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-subtitle {
  max-width: 30ch;
  font-size: 0.98rem;
}

.hero-visual {
  position: relative;
  min-height: 194px;
  padding: 18px 8px 10px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(255, 210, 41, 0.2), rgba(233, 30, 140, 0.12));
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
}

.burst {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
}

.burst-one {
  inset: 18px auto auto 8px;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle, rgba(255, 210, 41, 0.95), rgba(255, 210, 41, 0.08));
  animation: burst-pulse 4.6s ease-in-out infinite;
}

.burst-two {
  inset: auto 12px 12px auto;
  width: 82px;
  height: 82px;
  background: radial-gradient(circle, rgba(255, 102, 184, 0.34), rgba(255, 102, 184, 0.03));
  animation: burst-pulse 5.3s ease-in-out infinite reverse;
}

.hero-art {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  margin-top: 10px;
  filter: drop-shadow(0 14px 18px rgba(36, 18, 58, 0.18));
  transform-origin: center bottom;
  animation: hero-float 5s ease-in-out infinite;
}

.mystery-badge {
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 3;
  margin: 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: var(--malabar-pink);
  color: #fff;
  font-size: 0.8rem;
  box-shadow: 0 8px 18px rgba(233, 30, 140, 0.24);
  transform: rotate(5deg);
  animation: badge-sway 4.4s ease-in-out infinite;
}

.offer-card,
.proof-card {
  position: relative;
  padding: 18px;
  border: 3px solid rgba(36, 18, 58, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.offer-card {
  display: grid;
  gap: 16px;
}

.offer-copy strong {
  color: var(--malabar-pink-deep);
}

.signup-form {
  position: relative;
  display: grid;
  gap: 10px;
}

.field-row {
  display: grid;
  gap: 10px;
}

input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 2px solid rgba(36, 18, 58, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

input[type="email"]::placeholder {
  color: #9377a0;
}

input[type="email"]:focus {
  border-color: var(--malabar-pink);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.12);
}

.cta-button,
.sticky-cta {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #ff48aa 0%, var(--malabar-pink) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(233, 30, 140, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.cta-button:active,
.sticky-cta:active {
  transform: translateY(1px) scale(0.985);
}

.cta-button.is-loading {
  background: linear-gradient(180deg, #ff9f44 0%, #ff7d00 100%);
}

.cta-button.is-success,
.sticky-cta.is-success {
  background: linear-gradient(180deg, #35c877 0%, var(--success) 100%);
  box-shadow: 0 12px 22px rgba(28, 155, 88, 0.2);
}

.form-help,
.form-feedback {
  margin: 0;
  font-size: 0.85rem;
}

.form-help {
  color: #806290;
}

.form-feedback {
  min-height: 1.3em;
  color: var(--malabar-pink-deep);
}

.form-feedback.is-error {
  color: #bf1534;
}

.form-feedback.is-success {
  color: var(--success);
}

.gum-pop {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  opacity: 0;
}

.gum-pop.is-active {
  opacity: 1;
}

.gum-bubble {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd7ef 0%, #ff8fc8 40%, var(--malabar-pink) 100%);
  box-shadow: 0 0 0 6px rgba(255, 102, 184, 0.12);
  transform: scale(0);
}

.gum-pop.is-active .gum-bubble {
  animation: bubble-pop 720ms cubic-bezier(0.17, 0.84, 0.44, 1);
}

.gum-spark {
  position: absolute;
  left: 50%;
  top: 36px;
  width: 10px;
  height: 4px;
  border-radius: 999px;
  background: var(--bonbon-yellow);
  opacity: 0;
}

.spark-one {
  margin-left: -38px;
}

.spark-two {
  margin-left: 24px;
}

.spark-three {
  margin-left: -6px;
  margin-top: -28px;
}

.gum-pop.is-active .gum-spark {
  animation: spark-burst 540ms ease-out 120ms;
}

.festival-strip {
  display: grid;
  gap: 10px;
}

.festival-label {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.festival-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.festival-cities span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper-strong);
  border: 2px dashed rgba(36, 18, 58, 0.14);
  font-size: 0.86rem;
  opacity: 0;
  transform: translateY(18px) scale(0.94) rotate(-2deg);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.2, 0.75, 0.26, 1);
}

.festival-strip.is-visible .festival-cities span {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

.festival-strip.is-visible .festival-cities span:nth-child(1) {
  transition-delay: 90ms;
}

.festival-strip.is-visible .festival-cities span:nth-child(2) {
  transition-delay: 150ms;
}

.festival-strip.is-visible .festival-cities span:nth-child(3) {
  transition-delay: 210ms;
}

.festival-strip.is-visible .festival-cities span:nth-child(4) {
  transition-delay: 270ms;
}

.festival-strip.is-visible .festival-cities span:nth-child(5) {
  transition-delay: 330ms;
}

.proof-section {
  display: grid;
  gap: 16px;
  padding-top: 20px;
}

.proof-kicker {
  margin-bottom: 8px;
  color: var(--malabar-pink-deep);
}

.proof-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 5.8vw, 2rem);
  line-height: 1;
}

.mini-packs {
  padding: 6px 0 0;
}

.pack-lineup {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 190px;
  margin: 0 auto;
  padding: 10px 4px 4px;
}

.pack-lineup::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 86%;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 18, 58, 0.14), rgba(36, 18, 58, 0));
  filter: blur(12px);
  pointer-events: none;
}

.pack-lineup-row {
  display: flex;
  justify-content: center;
  align-items: end;
}

.pack-lineup-row-top {
  gap: 0;
}

.pack-lineup-row-bottom {
  gap: 2px;
  margin-top: -10px;
}

.lineup-pack {
  position: relative;
  width: clamp(82px, 22.5vw, 114px);
  height: auto;
  filter: drop-shadow(0 12px 16px rgba(36, 18, 58, 0.2));
  transform-origin: center bottom;
  opacity: 0;
}

.lineup-pack-1 {
  z-index: 1;
  transform: translateY(8px) rotate(-18deg);
}

.lineup-pack-2 {
  z-index: 2;
  transform: translateY(1px) rotate(-6deg);
}

.lineup-pack-3 {
  z-index: 3;
  width: clamp(86px, 23.5vw, 120px);
  transform: translateY(6px) rotate(10deg);
}

.lineup-pack-4 {
  z-index: 2;
  transform: translateY(2px) rotate(-8deg);
}

.lineup-pack-5 {
  z-index: 1;
  transform: translateY(6px) rotate(11deg);
}

.mini-packs.is-visible .lineup-pack {
  animation: lineup-in 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.mini-packs.is-visible .lineup-pack-1 {
  animation-delay: 40ms;
}

.mini-packs.is-visible .lineup-pack-2 {
  animation-delay: 120ms;
}

.mini-packs.is-visible .lineup-pack-3 {
  animation-delay: 200ms;
}

.mini-packs.is-visible .lineup-pack-4 {
  animation-delay: 280ms;
}

.mini-packs.is-visible .lineup-pack-5 {
  animation-delay: 360ms;
}

.footer {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 24px 0 16px;
}

.social-block {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid rgba(36, 18, 58, 0.08);
  box-shadow: 0 10px 20px rgba(36, 18, 58, 0.08);
  opacity: 0;
  transform: translateY(16px) rotate(-4deg);
  transition:
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.2, 0.75, 0.26, 1),
    box-shadow 180ms ease;
}

.footer.is-visible .social-links a {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.footer.is-visible .social-links a:nth-child(1) {
  transition-delay: 120ms;
}

.footer.is-visible .social-links a:nth-child(2) {
  transition-delay: 200ms;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: var(--ink);
}

.legal-link {
  font-size: 0.72rem;
  color: #816f86;
  text-decoration: none;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 15;
  width: min(calc(100vw - 24px), 488px);
  transform: translateX(-50%);
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

.reveal {
  --reveal-distance: 22px;
  --reveal-scale: 0.98;
  --reveal-rotate: 0deg;
  --reveal-duration: 560ms;
  opacity: 0;
  transform:
    translateY(var(--reveal-distance))
    scale(var(--reveal-scale))
    rotate(var(--reveal-rotate));
  transition:
    opacity var(--reveal-duration) ease,
    transform var(--reveal-duration) cubic-bezier(0.2, 0.75, 0.26, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

[data-reveal-style="soft"] {
  --reveal-distance: 18px;
  --reveal-scale: 0.985;
  --reveal-duration: 540ms;
}

[data-reveal-style="lift"] {
  --reveal-distance: 28px;
  --reveal-scale: 0.97;
  --reveal-duration: 620ms;
}

[data-reveal-style="pop"] {
  --reveal-distance: 30px;
  --reveal-scale: 0.92;
  --reveal-rotate: -1.8deg;
  --reveal-duration: 700ms;
}

@keyframes bubble-pop {
  0% {
    transform: scale(0);
  }
  35% {
    transform: scale(5.2);
  }
  62% {
    transform: scale(4.5);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes spark-burst {
  0% {
    opacity: 0;
    transform: scale(0.4) translate(0, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1) translateY(-18px);
  }
}

@keyframes lineup-in {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.82) rotate(0deg);
  }
  100% {
    opacity: 1;
  }
}

@keyframes glow-drift-left {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, 18px, 0) scale(1.08);
  }
}

@keyframes glow-drift-right {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-16px, -12px, 0) scale(1.06);
  }
}

@keyframes logo-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

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

@keyframes burst-pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.62;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.92;
  }
}

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

@keyframes badge-sway {
  0%,
  100% {
    transform: rotate(5deg) translateY(0);
  }
  50% {
    transform: rotate(8deg) translateY(-3px);
  }
}

@keyframes pack-rock-left {
  0%,
  100% {
    transform: translateY(0) rotate(-9deg);
  }
  50% {
    transform: translateY(-6px) rotate(-12deg);
  }
}

@keyframes pack-rock-right {
  0%,
  100% {
    transform: translateY(0) rotate(10deg);
  }
  50% {
    transform: translateY(-7px) rotate(13deg);
  }
}

@media (min-width: 400px) {
  .page-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cta-button {
    min-width: 158px;
    padding: 0 18px;
  }
}

@media (min-width: 760px) {
  .page-shell {
    width: min(100%, 980px);
    padding-bottom: 56px;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    column-gap: 22px;
  }

  .hero-copy {
    grid-column: 1 / 2;
  }

  .hero-visual {
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
    min-height: 320px;
  }

  .offer-card {
    grid-column: 1 / 2;
  }

  .festival-strip {
    grid-column: 1 / -1;
  }

  .proof-section {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
  }

  .sticky-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .festival-cities span,
  .footer .social-links a,
  .lineup-pack {
    opacity: 1;
    transform: none;
  }
}
