@font-face {
  font-family: "Lemon";
  src: url("/fonts/Lemon-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky-top: #51b0f2;
  --sky-mid: #87cbf3;
  --sky-bot: #c6e4f4;
  --ink: #472438;
  --ink-soft: rgba(71, 36, 56, 0.72);
  --candy-a: #eb4770;
  --candy-b: #f2598c;
  --candy-c: #ffb8d1;
  --cta-a: #ff5294;
  --cta-b: #f26bb8;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 40px rgba(40, 20, 50, 0.18);
  --font-display: "Lemon", "Trebuchet MS", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sky-bot);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sky__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--sky-top) 0%,
    var(--sky-mid) 45%,
    var(--sky-bot) 100%
  );
}

.sky__clouds .cloud,
.sky__treats img {
  position: absolute;
  will-change: transform;
}

.sky__clouds .cloud {
  left: var(--x);
  width: var(--size);
  height: calc(var(--size) * 0.58);
  opacity: var(--alpha);
  animation: drift-y var(--speed) linear infinite;
  animation-delay: calc(var(--phase) * -1s);
  filter: drop-shadow(0 8px 14px rgba(255, 255, 255, 0.25));
}

.sky__clouds .cloud svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.sky__clouds .cloud ellipse {
  fill: rgba(255, 255, 255, 0.95);
}

.sky__birds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky__birds .bird--live {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform, opacity;
  transition: opacity 0.2s linear;
  pointer-events: none;
}

.sky__birds .bird--live svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.sky__treats img {
  width: clamp(42px, 8vw, 78px);
  filter: drop-shadow(0 10px 16px rgba(40, 20, 50, 0.18));
  animation: float-treat var(--speed) ease-in-out infinite;
  animation-delay: var(--delay);
  left: var(--x);
  top: var(--y);
  opacity: 0.92;
}

@keyframes drift-y {
  from {
    transform: translateY(110vh);
  }
  to {
    transform: translateY(-30vh);
  }
}

@keyframes float-treat {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.topbar__brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(40, 20, 50, 0.16);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.topbar__nav a {
  opacity: 0.86;
}

.topbar__nav a:hover {
  opacity: 1;
}

.topbar__cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--white) !important;
  background: linear-gradient(90deg, var(--cta-a), var(--cta-b));
  box-shadow: 0 8px 18px rgba(242, 89, 140, 0.35);
  opacity: 1 !important;
}

.hero {
  min-height: calc(100svh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.25rem 3.5rem;
}

.hero__mark {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  animation: pop-in 0.8s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero__logo {
  width: clamp(110px, 28vw, 148px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 32px;
  filter: drop-shadow(0 16px 28px rgba(40, 20, 50, 0.2));
}

.hero__wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  background: linear-gradient(90deg, #eb4770, #f2598c, #ffb8d1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero__lede {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 600;
  animation: pop-in 1s 0.14s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.6rem;
  animation: pop-in 1s 0.2s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero__credit {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(71, 36, 56, 0.58);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(180deg, #ff6aa3 0%, var(--cta-a) 42%, var(--cta-b) 100%);
  border: 2.4px solid #c73a72;
  box-shadow:
    0 12px 28px rgba(242, 89, 140, 0.38),
    inset 0 -7px 0 rgba(120, 20, 60, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Top-right cream corner glimmer (matches Sweet Pop menu pills) */
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 58%;
  border-radius: 0 999px 0 70%;
  background: radial-gradient(
    ellipse 90% 80% at 88% 18%,
    rgba(255, 252, 245, 0.98) 0%,
    rgba(255, 250, 240, 0.72) 28%,
    rgba(255, 255, 255, 0.18) 52%,
    transparent 72%
  );
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 16%;
  right: 11%;
  width: 0.85rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.95);
  transform: rotate(-32deg);
  box-shadow: 0 0 6px 1px rgba(255, 252, 245, 0.7);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}

.btn--primary > * {
  position: relative;
  z-index: 3;
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 22px rgba(40, 20, 50, 0.1);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 4.5rem 1.25rem;
}

.section__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  background: linear-gradient(90deg, #eb4770, #f2598c, #ff8cc0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__head p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.modes__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mode {
  text-align: center;
  padding: 1.35rem 1rem 1.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.mode img {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.85rem;
  filter: drop-shadow(0 8px 12px rgba(40, 20, 50, 0.16));
}

.mode h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.mode p {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.treat-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.treat-grid li {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.treat-grid img {
  width: 78%;
  filter: drop-shadow(0 8px 14px rgba(40, 20, 50, 0.16));
  transition: transform 0.25s ease;
}

.treat-grid li:hover img {
  transform: scale(1.08) rotate(-4deg);
}

.powers__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 960px;
  margin: 0 auto;
}

.power {
  margin: 0;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.power img {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.9rem;
  filter: drop-shadow(0 12px 18px rgba(40, 20, 50, 0.18));
}

.power strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.power span {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer {
  padding: 2rem 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
}

.footer__brand span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer__legal {
  margin: 0;
  max-width: 40rem;
  font-size: 0.78rem;
  color: rgba(71, 36, 56, 0.55);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .modes__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .powers__row {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .topbar__nav a:not(.topbar__cta) {
    display: none;
  }

  .treat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
