/* Boba Tea Panda — first preview */
:root {
  --blossom: #FFC1D9;
  --blush: #FFDDEE;
  --sky: #9FD8FF;
  --lavender: #D8C2FF;
  --periwinkle: #B7B9FF;
  --mint: #A7F3B5;
  --kawaii: #B388FF;
  --spring: #C6F7A0;
  --matcha: #7EDB8A;
  --lilac: #CDA4FF;
  --orchid: #9B6DFF;
  --plum: #2C1640;
  --plum-soft: #4A2A62;
  --ink: #321848;
  --muted: #5A3A6E;
  --cream: #FFF7FB;
  --card: #FFFBFE;
  --btn: #4E1F7A;
  --btn-hover: #3D1563;
  --ring: #7A3CB8;
  --shadow: 0 18px 50px rgba(80, 28, 110, 0.10);
  --radius: 28px;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --nav-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100svh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--btn); }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--plum);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 650;
}
h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--plum);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 0.75rem; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin: 0 0 0.7rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 251, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 193, 217, 0.55);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--plum);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--blossom);
  flex: 0 0 auto;
}
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--plum-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--plum); background: rgba(255, 193, 217, 0.4); }
.nav-cta {
  background: var(--btn) !important;
  color: #fff !important;
  padding: 0.45rem 0.95rem !important;
}
.nav-cta:hover { background: var(--btn-hover) !important; }
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta):not([href="#flavors"]) { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--btn);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid var(--btn);
  box-shadow: 0 8px 22px rgba(78, 31, 122, 0.25);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 247, 251, 0.75);
  color: var(--plum);
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; }
.btn:focus-visible, .nav-links a:focus-visible, .brand:focus-visible, .skip:focus-visible,
input:focus-visible, button:focus-visible {
  outline: 3px solid var(--kawaii);
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, #c9b4f0 0%, var(--sky) 40%, var(--blush) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,247,251,0.15) 0%, rgba(44,22,64,0.0) 28%, rgba(255,221,238,0.2) 70%, var(--cream) 100%),
    linear-gradient(90deg, rgba(255,247,251,0.62) 0%, rgba(255,247,251,0.28) 42%, rgba(255,247,251,0.0) 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0.5rem;
  width: min(1180px, calc(100% - 1.5rem));
  padding: calc(var(--nav-h) + 1rem) 0 0;
}
.hero-copy {
  background: linear-gradient(180deg, rgba(255,247,251,0.78), rgba(255,221,238,0.7));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: -0.5rem;
  z-index: 2;
}
.hero-copy .lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}
.hero-panda {
  justify-self: center;
  width: min(420px, 86vw);
  filter: drop-shadow(0 24px 30px rgba(60, 20, 80, 0.28));
  margin-bottom: -1.5rem;
  z-index: 1;
}
.hero-panda--wave {
  align-self: end;
  width: min(460px, 92vw);
  margin: 0 auto -0.25rem;
}
.hero-panda--wave img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 859px) {
  .hero {
    min-height: calc(100svh - var(--nav-h));
    align-items: stretch;
  }
  .hero-inner {
    padding-top: 0.5rem;
    gap: 0;
    min-height: 100%;
    grid-template-rows: auto 1fr;
  }
  .hero-copy {
    margin-bottom: 0.15rem;
    padding: 1.05rem 1.15rem 1.1rem;
  }
  .hero-copy .lede { font-size: 1rem; }
  .hero-actions { margin-top: 0.75rem; }
  .hero-follow { margin-top: 0.7rem; }
  .hero-panda--wave {
    width: min(300px, 78vw);
    margin: 0 auto 0;
    align-self: end;
  }
}
@media (min-width: 860px) {
  .hero { align-items: stretch; }
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    padding: calc(var(--nav-h) + 1.5rem) 0 0;
    min-height: calc(min(100svh, 920px) - 0px);
  }
  .hero-copy {
    margin: 0 0 4rem;
    padding: 2rem 2.1rem 2.15rem;
    max-width: 36rem;
  }
  .hero-copy .lede { font-size: 1.16rem; }
  .hero-panda {
    width: min(540px, 46vw);
    margin: 2rem 0 -3.5rem;
    justify-self: end;
  }
  .hero-panda--wave {
    width: min(560px, 50vw);
    margin: 0 0 0;
    align-self: end;
    justify-self: end;
  }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(255,247,251,0.08) 0%, rgba(255,247,251,0) 30%, rgba(255,221,238,0.15) 75%, var(--cream) 100%),
      linear-gradient(90deg, rgba(255,247,251,0.55) 0%, rgba(255,247,251,0.22) 38%, rgba(255,247,251,0) 62%);
  }
}

/* Meet */
.meet {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(167, 243, 181, 0.28), transparent 55%),
    radial-gradient(ellipse at 0% 80%, rgba(216, 194, 255, 0.35), transparent 50%),
    var(--cream);
  padding: 1.75rem 0 4.5rem;
}
.meet-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.meet-copy {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 194, 255, 0.45);
}
.meet-copy p { color: var(--muted); font-size: 1.05rem; }
.meet-close {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--plum) !important;
  font-size: 1.2rem !important;
  margin-top: 1.1rem;
}
.meet-art {
  margin: 0;
  display: grid;
  place-items: center;
}
.meet-art img {
  width: min(280px, 68vw);
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(60, 20, 80, 0.18));
}
.meet-art--full img {
  width: min(150px, 39vw);
}
@media (min-width: 860px) {
  .meet { padding: 2.25rem 0 5.5rem; }
  .meet-inner { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .meet-copy { padding: 2.4rem 2.5rem; }
  .meet-art img { width: min(340px, 100%); }
  .meet-art--full img { width: min(170px, 50%); }
}

/* Coming soon */
.soon {
  background: linear-gradient(180deg, #f3e9ff 0%, var(--blush) 45%, #ffe9f4 100%);
  padding: 3.5rem 0 4.5rem;
}
.section-head { max-width: 38rem; margin-bottom: 2rem; }
.section-lede { color: var(--muted); font-size: 1.08rem; }
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 193, 217, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.card p { color: var(--muted); }
.card-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: var(--btn);
  background: linear-gradient(160deg, var(--blush), var(--lavender));
  border-radius: 16px;
  margin-bottom: 0.6rem;
}
.card-icon svg { width: 1.7rem; height: 1.7rem; }
.card-pill {
  align-self: flex-start;
  margin: 0 0 0.15rem !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--btn) !important;
  background: rgba(179, 136, 255, 0.18);
  border: 1px solid rgba(179, 136, 255, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
@media (min-width: 760px) {
  .soon { padding: 5rem 0 5.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 760px; }
}

/* Signup */
.hello {
  background: var(--cream);
  padding: 1.5rem 0 4.5rem;
}
.hello-card {
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 194, 255, 0.5);
}
.hello-art {
  height: 150px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky), var(--lavender));
}
.hello-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
}
.hello-body { padding: 1.7rem 1.4rem 1.9rem; }
.hello-body > p { color: var(--muted); max-width: 42ch; }
.signup label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  color: var(--plum);
}
.signup-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.signup input[type="email"],
.signup button {
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.05rem;
  border-radius: 999px;
  border: 2px solid var(--lavender);
}
.signup input[type="email"] {
  background: #fbf7ff;
  color: var(--ink);
  width: 100%;
}
.signup input[type="email"]:disabled,
.signup button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}
.signup button {
  background: var(--btn);
  color: #fff;
  border-color: var(--btn);
}
.signup-note {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--plum-soft);
  font-style: italic;
}
@media (min-width: 640px) {
  .hello-art { height: 230px; }
  .hello-body { padding: 2.2rem 2.4rem 2.4rem; }
  .signup-row { flex-direction: row; align-items: stretch; }
  .signup input[type="email"] { flex: 1; }
  .signup button { flex: 0 0 auto; padding-inline: 1.4rem; }
}
@media (min-width: 860px) {
  .hello { padding: 1rem 0 5.5rem; }
}

/* Footer */
.footer {
  background: var(--plum);
  color: var(--blush);
  padding: 2rem 0 2.4rem;
}
.footer-inner {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}
.brand-foot { color: #fff; }
.brand-foot img { box-shadow: 0 0 0 2px rgba(255,193,217,0.6); }
.footer-copy, .footer-preview {
  margin: 0;
  color: var(--lavender);
  font-size: 0.92rem;
}
.footer-preview { color: var(--periwinkle); }

/* Petals */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}
.petal {
  position: absolute;
  top: -30px;
  width: 14px;
  height: 18px;
  background: radial-gradient(circle at 30% 25%, #fff 0%, var(--blossom) 55%, #f09abb 100%);
  border-radius: 80% 0 70% 20%;
  opacity: 0.78;
  will-change: transform;
  animation-name: petal-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes petal-fall {
  0% { transform: translate3d(0, -10vh, 0) rotate(0deg) scale(var(--s, 1)); }
  100% { transform: translate3d(var(--x, 40px), 110vh, 0) rotate(var(--spin, 360deg)) scale(var(--s, 1)); }
}
@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
  .btn, .nav-links a { transition: none; }
}

@media (max-width: 639px) {
  .hero-copy .btn { width: 100%; }
}

/* Follow along + socials (same placement idea as KafeKat) */
.hero-follow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  margin: 1.15rem 0 0;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--plum-soft);
}
.socials { display: flex; align-items: center; gap: 0.35rem; }
.socials a {
  display: grid; place-items: center;
  width: 2.15rem; height: 2.15rem;
  border-radius: 50%;
  color: var(--btn);
  background: rgba(255,247,251,0.8);
  border: 1px solid rgba(179, 136, 255, 0.35);
  text-decoration: none;
}
.socials a:hover { background: #fff; color: var(--plum); }
.socials svg { width: 1.05rem; height: 1.05rem; display: block; }
.socials--footer a, .footer-follow .socials a {
  background: rgba(255,247,251,0.08);
  color: var(--blush);
  border-color: rgba(216, 194, 255, 0.4);
}
.socials--footer a:hover { background: rgba(255,247,251,0.16); color: #fff; }
.footer-follow { margin: 0.2rem 0 0; color: var(--lavender); }
.footer-inner { justify-items: start; }
.footer .mgt-credit-wrap { justify-content: flex-start; margin-top: 0.9rem; }

/* Featured NFT drop */
.drop-feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(179, 136, 255, 0.45);
  margin-bottom: 1.25rem;
  position: relative;
}
.drop-feature h2 { margin-bottom: 0.5em; }
.drop-feature p { color: var(--muted); max-width: 52ch; }
.drop-feature .card-pill { margin-top: 0.9rem; }
.card-pill--next {
  background: rgba(167, 243, 181, 0.35) !important;
  color: var(--plum) !important;
  border-color: rgba(126, 219, 138, 0.55) !important;
}
@media (min-width: 760px) {
  .drop-feature { padding: 2.2rem 2.4rem 2.3rem; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta):not([href="#flavors"]) { display: none; }
}
