/* =========================================================
   Nicky Boo – Coming Soon
   ========================================================= */

@font-face {
  font-family: "Fredoka One";
  src: url("../fonts/fredoka-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --pink: #ff3d9e;
  --pink-deep: #d6207f;
  --purple: #6a1fd0;
  --purple-deep: #3e0f92;
  --ink: #3a1a70;
  --header-bg: #fde6f2;
  --display: "Fredoka One", "Baloo 2", "Comic Sans MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 700;
  color: var(--ink);
  background: #ffd3ea;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--header-bg);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: block; position: relative; z-index: 2; flex: none; }
.brand img {
  width: auto;
  height: 82px;
  margin-bottom: -22px;                 /* logo spills a little over the hero, like the mockup */
  filter: drop-shadow(0 3px 5px rgba(120, 20, 120, .18));
  transition: transform .25s ease;
}
.brand:hover img { transform: rotate(-3deg) scale(1.04); }

.nav-wrap { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav-wrap nav ul { display: flex; gap: clamp(16px, 2.8vw, 40px); }
.nav-wrap nav a {
  display: block;
  position: relative;
  padding: 6px 0;
  font-weight: 800;
  font-size: .98rem;
  color: var(--ink);
  transition: color .2s;
}
.nav-wrap nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px;
  background: var(--pink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-wrap nav a:hover, .nav-wrap nav a.active { color: var(--pink); }
.nav-wrap nav a:hover::after, .nav-wrap nav a.active::after { transform: scaleX(1); }

.social { display: flex; align-items: center; gap: 16px; }
.social a { display: block; transition: transform .2s; }
.social a:hover { transform: translateY(-2px) scale(1.12); }
.s-ig { color: #ee2a8f; }
.s-yt { color: #ff2d55; }
.s-tt { color: #1a1030; }

.menu-btn { display: none; }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(520px, 46vw, 680px);
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, #ffe4f2 0%, #fbd7ee 48%, #ffdcec 100%);
}
/* blurred "shelf" bokeh so the left side looks like the photo background */
.hero::before {
  content: "";
  position: absolute; inset: -60px; z-index: -2;
  background:
    radial-gradient(circle at 6% 22%,  rgba(176,160,255,.55) 0 7%, transparent 8%),
    radial-gradient(circle at 17% 74%, rgba(160,205,255,.50) 0 8%, transparent 9%),
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.85) 0 9%, transparent 10%),
    radial-gradient(circle at 36% 62%, rgba(255,216,120,.45) 0 6%, transparent 7%),
    radial-gradient(circle at 12% 46%, rgba(255,255,255,.75) 0 8%, transparent 9%),
    radial-gradient(circle at 44% 82%, rgba(255,150,205,.45) 0 7%, transparent 8%),
    radial-gradient(circle at 3% 88%,  rgba(255,255,255,.7)  0 7%, transparent 8%);
  filter: blur(26px);
}
.hero::after {            /* soft sparkle glow behind the title */
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 60%; z-index: -1;
  background: radial-gradient(ellipse at 32% 48%, rgba(255,255,255,.55), transparent 62%);
}

.hero-photo-wrap {
  position: absolute; right: 0; bottom: 0; top: 0;
  z-index: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  pointer-events: none;
}
.hero-photo-wrap picture { display: block; height: 100%; }
.hero-photo {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  user-select: none;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(70px, 8vw, 120px);
}
.hero-copy {
  width: min(47%, 600px);
  text-align: center;
}

/* ---- "Coming Soon!" ---- */
.coming {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4rem, 8.8vw, 8.2rem);
  line-height: .84;
  letter-spacing: .005em;
  transform: rotate(-3deg);
  transform-origin: 30% 60%;
}
.coming .w {
  position: relative;
  isolation: isolate;
  display: block;
  filter: drop-shadow(0 .05em .08em rgba(150, 20, 120, .30));
}
.coming .w::before,
.coming .w::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; width: 100%;
  text-align: center;
  pointer-events: none;
}
/* white glossy outline */
.coming .w::before {
  z-index: 0;
  color: #fff;
  -webkit-text-stroke: .2em #fff;
  paint-order: stroke fill;
  text-shadow: 0 .06em 0 #fff;
}
/* 3-D extrusion */
.coming .w::after {
  z-index: 1;
  transform: translateY(.07em);
  -webkit-text-stroke: .035em currentColor;
}
/* gradient face of the letters */
.coming .f {
  position: relative; z-index: 2;
  display: block;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.w-pink { color: #b80f66; }
.w-pink .f { background-image: linear-gradient(180deg, #ff9bd6 0%, #ff3f9f 48%, #e3167f 100%); }
.w-purple { margin-top: .02em; color: #3a0b88; }
.w-purple .f { background-image: linear-gradient(180deg, #b887ff 0%, #7a2ce0 50%, #4f16b3 100%); }

/* ---- ribbon ---- */
.ribbon-wrap {
  display: inline-block;
  margin-top: clamp(14px, 2vw, 24px);
  filter: drop-shadow(0 .18rem 0 rgba(222, 170, 0, .35));
}
.ribbon {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .32em 2.1em .32em 1.9em;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.35vw, 1.85rem);
  color: #5a1fb4;
  background: linear-gradient(180deg, #fff8ae, #ffe84f);
  clip-path: polygon(0 0, 100% 0, 97% 50%, 100% 100%, 0 100%, 3% 50%);
}
.r-heart { width: .95em; height: .88em; fill: none; stroke: #5a1fb4; stroke-width: 5; }

/* ---- tagline ---- */
.tagline {
  text-wrap: balance;
  margin-top: clamp(10px, 1.6vw, 18px);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.7vw, 2.15rem);
  line-height: 1.15;
  text-shadow: 0 2px 0 #fff, 0 0 8px rgba(255,255,255,.9);
}
.tagline span { display: inline-block; margin: 0 .08em; }
.t1 { color: #f0309c; }
.t2 { color: #2d7be5; }
.t3 { color: #ff8a00; }
.t4 { color: #7a2de0; }

.lead {
  text-wrap: balance;
  margin: clamp(8px, 1.2vw, 14px) auto 0;
  max-width: 28ch;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.35;
  font-weight: 800;
  color: #3a1a70;
}

/* ---- floating hearts & stars ---- */
.deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.d { position: absolute; width: clamp(22px, 3vw, 44px); height: auto; overflow: visible; aspect-ratio: 64 / 58;
     animation: bob 5.5s ease-in-out infinite; }
.d.heart { fill: rgba(255,255,255,.55); stroke: #ff4fa8; stroke-width: 6; stroke-linejoin: round;
           filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 2px #fff); }
.d.star  { fill: #ffd93a; stroke: #fff; stroke-width: 6; paint-order: stroke;
           filter: drop-shadow(0 0 4px rgba(255,200,0,.55)); }
.d1 { left: 3%;  top: 15%; width: clamp(24px, 3.4vw, 50px); transform: rotate(-12deg); animation-delay: -1s; }
.d2 { left: 36%; top: 8%; width: clamp(24px, 3.2vw, 48px); transform: rotate(12deg);  animation-delay: -3s; }
.d3 { left: 2.5%; top: 52%; width: clamp(20px, 2.6vw, 40px); animation-delay: -2s; }
.d4 { left: 45%; top: 17%; width: clamp(22px, 3vw, 44px); transform: rotate(-8deg); animation-delay: -4s; }
.d5 { left: 41%; top: 36%; width: clamp(20px, 2.6vw, 38px); animation-delay: -.5s; }
.d6 { left: 46%; top: 60%; width: clamp(22px, 3vw, 44px); transform: rotate(14deg); animation-delay: -2.5s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------------------------------------------------------
   Features + CTA
   --------------------------------------------------------- */
.lower {
  position: relative;
  z-index: 3;
  margin-top: clamp(-80px, -6vw, -40px);
  padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, #ffe6f3 0%, #ffd2e9 100%);
  /* scalloped "cloud" edge on top */
  --scallop: 46px;
}
.lower::before {
  content: "";
  position: absolute; left: 0; right: 0; top: calc(var(--scallop) * -.62);
  height: calc(var(--scallop) * .65);
  background:
    radial-gradient(circle at 50% 100%, #ffe6f3 0 56%, transparent 57%) 0 0 / var(--scallop) 100% repeat-x;
  pointer-events: none;
}

.features {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.card {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 16px 22px;
  text-align: center;
  border-radius: 34px 34px 28px 28px / 40px 40px 28px 28px;
  background: var(--c);
  box-shadow: 0 14px 26px -14px rgba(214, 32, 127, .35), inset 0 3px 0 rgba(255,255,255,.85);
  transition: transform .25s ease, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px -14px rgba(214,32,127,.4), inset 0 3px 0 rgba(255,255,255,.9); }
.c-pink   { --c: #ffe0ef; --t: #e0268f; }
.c-yellow { --c: #fff4bd; --t: #2c7ee6; }
.c-purple { --c: #eadcff; --t: #6a2bd2; }
.c-green  { --c: #d9f6df; --t: #1c9a4b; }
.ico { width: clamp(64px, 7vw, 90px); height: auto; aspect-ratio: 1; margin-bottom: 8px;
       filter: drop-shadow(0 4px 4px rgba(80, 20, 100, .18)); }
.card h2 {
  font-family: var(--body);
  font-weight: 800;
  font-size: clamp(.82rem, 1.25vw, 1.05rem);
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--t);
  line-height: 1.15;
}
.card p {
  margin-top: 6px;
  font-size: clamp(.82rem, 1.15vw, .98rem);
  line-height: 1.3;
  color: #3a1a70;
  max-width: 17ch;
}

.cta { margin-top: clamp(26px, 3.4vw, 44px); text-align: center; }
.notify {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-width: min(100%, 440px);
  padding: .52em 1.8em .5em;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: .05em;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6fb8 0%, #f2268e 55%, #dc0f78 100%);
  box-shadow:
    0 .2em 0 #b00a62,
    0 .5em 1.2em rgba(240, 28, 138, .38),
    inset 0 .12em 0 rgba(255,255,255,.55);
  text-shadow: 0 2px 0 rgba(150, 0, 80, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .2s;
}
.notify:hover { transform: translateY(-3px); filter: brightness(1.05); }
.notify:active { transform: translateY(.12em); box-shadow: 0 .08em 0 #b00a62, 0 .3em .8em rgba(240,28,138,.3), inset 0 .12em 0 rgba(255,255,255,.45); }
.cta-note { margin-top: 18px; font-size: .86rem; font-weight: 700; color: #4a2a80; }

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */
@media (max-width: 1060px) {
  .brand img { height: 72px; margin-bottom: -18px; }
  .nav-wrap nav a { font-size: .9rem; }
  .social { gap: 12px; }
  .hero-copy { width: min(50%, 560px); }
  .card { padding: 16px 10px 20px; }
}

/* ---------------------------------------------------------
   Mobile  (matches the phone mockup: photo on top, text under)
   --------------------------------------------------------- */
@media (max-width: 820px) {
  :root { --header-h: 70px; }

  .brand img { height: 66px; margin-bottom: -16px; }

  .menu-btn {
    position: relative; z-index: 3;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 8px;
    border: 0; background: transparent; cursor: pointer;
  }
  .menu-btn span {
    display: block; height: 3.5px; width: 100%;
    background: #ff2f96; border-radius: 4px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  .nav-wrap {
    position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) + 12px);
    z-index: 2;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 14px 18px 18px;
    background: #fff2f9;
    border-radius: 26px;
    box-shadow: 0 18px 40px -10px rgba(120, 20, 110, .35);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .nav-wrap { opacity: 1; visibility: visible; transform: none; }
  .nav-wrap nav ul { flex-direction: column; gap: 0; }
  .nav-wrap nav a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 2px dashed rgba(255, 63, 158, .18); }
  .nav-wrap nav a::after { display: none; }
  .nav-wrap nav li:last-child a { border-bottom: 0; }
  .social { justify-content: center; gap: 22px; padding-top: 6px; }

  .hero {
    display: block; min-height: 0;
    background: linear-gradient(180deg, #ffe7f3 0%, #fbd7ee 70%, #ffd3ea 100%);
  }
  .hero-photo-wrap { position: relative; inset: auto; display: block; }
  .hero-photo-wrap picture { height: auto; }
  .hero-photo { width: 100%; height: auto; }

  .hero-inner { padding: 0 var(--gutter) 72px; margin-top: -9vw; }
  .hero-copy { width: 100%; max-width: 520px; margin: 0 auto; }
  .coming { font-size: clamp(4rem, 22.5vw, 7.6rem); transform: rotate(-2.5deg); transform-origin: center; }
  .ribbon { font-size: clamp(1.05rem, 5.2vw, 1.7rem); }
  .tagline { font-size: clamp(1.15rem, 5.6vw, 1.9rem); }
  .lead { font-size: clamp(1rem, 4.2vw, 1.25rem); max-width: 26ch; }

  .d1 { left: 5%;  top: 7%; }
  .d2 { left: 80%; top: 8%; }
  .d3 { left: 4%;  top: 28%; }
  .d4 { left: 90%; top: 30%; }
  .d5 { left: 86%; top: 48%; display: none; }
  .d6 { left: 5%;  top: 46%; display: none; }

  .lower { margin-top: -54px; --scallop: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 560px; }
  .card h2 { font-size: .86rem; }
  .card p  { font-size: .86rem; }
  .notify  { width: 100%; max-width: 420px; }
}

@media (max-width: 380px) {
  .features { gap: 10px; }
  .card { padding: 14px 8px 16px; border-radius: 28px 28px 24px 24px / 34px 34px 24px 24px; }
}

@media (min-width: 1500px) {
  .hero-copy { width: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .d { animation: none; }
  * { transition-duration: .01ms !important; }
}
