:root {
  --pink-1: #ffe4ec;
  --pink-2: #ffc2d4;
  --pink-3: #ff9db9;
  --pink-deep: #f76f9c;
  --rose: #ff5e8a;
  --cream: #fff6f0;
  --text: #6b3a52;
  --purple-soft: #e3c9f2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: "Quicksand", sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--pink-1), var(--pink-2) 45%, var(--purple-soft));
  background-size: 200% 200%;
  animation: bgDrift 16s ease-in-out infinite;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes bgDrift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.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;
}

/* ---------- Sparkles ---------- */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.9) 50%, transparent 50%),
    radial-gradient(2px 2px at 70% 15%, rgba(255,255,255,.8) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.7) 50%, transparent 50%),
    radial-gradient(2px 2px at 85% 55%, rgba(255,255,255,.8) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 10% 85%, rgba(255,255,255,.7) 50%, transparent 50%),
    radial-gradient(2px 2px at 55% 45%, rgba(255,255,255,.9) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 90% 85%, rgba(255,255,255,.8) 50%, transparent 50%),
    radial-gradient(2px 2px at 30% 55%, rgba(255,255,255,.7) 50%, transparent 50%);
  background-size: 400px 400px;
  animation: twinkle 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ---------- Floating cat paws ---------- */
.paw-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.paw-rain i {
  position: absolute;
  bottom: -60px;
  font-style: normal;
  font-size: 22px;
  color: rgba(255, 255, 255, .55);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* ---------- Layout ---------- */
.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px 30px;
  width: 100%;
  max-width: 900px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------- Cat ---------- */
.cat-scene { position: relative; margin-bottom: 8px; }

.cat {
  position: relative;
  width: 170px;
  height: 150px;
  margin: 0 auto;
  animation: catBounce 3.5s ease-in-out infinite;
  filter: drop-shadow(0 14px 18px rgba(247, 111, 156, .35));
}

@keyframes catBounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.cat-ear {
  position: absolute;
  top: -8px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--pink-3), var(--pink-deep));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.cat-ear-left { left: 8px; transform: rotate(-8deg); }
.cat-ear-right { right: 8px; transform: rotate(8deg); }

.cat-face {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 110px;
  background: linear-gradient(180deg, var(--pink-3), var(--pink-deep));
  border-radius: 50% 50% 46% 46%;
}

.cat-eye {
  position: absolute;
  top: 38px;
  width: 20px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blink 5s infinite;
}

.cat-eye-left { left: 24px; }
.cat-eye-right { right: 24px; }

.cat-eye span {
  display: block;
  width: 11px;
  height: 13px;
  background: var(--text);
  border-radius: 50%;
  animation: pupil 5s infinite;
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(.1); }
}

@keyframes pupil {
  0%, 90%, 100% { transform: translate(0, 0); }
  40% { transform: translate(2px, -2px); }
  70% { transform: translate(-2px, 1px); }
}

.cat-nose {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 11px;
  background: var(--rose);
  border-radius: 50% 50% 50% 50%;
}

.cat-mouth {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 10px;
  border-bottom: 3px solid rgba(107, 58, 82, .75);
  border-radius: 0 0 50% 50%;
}

.cat-whisker {
  position: absolute;
  top: 60px;
  width: 42px;
  height: 2px;
  background: rgba(107, 58, 82, .55);
  border-radius: 2px;
}

.cat-whisker-l1 { left: 4px; transform: rotate(12deg); }
.cat-whisker-l2 { left: 4px; top: 70px; transform: rotate(-10deg); }
.cat-whisker-r1 { right: 4px; transform: rotate(-12deg); }
.cat-whisker-r2 { right: 4px; top: 70px; transform: rotate(10deg); }

.cat-blush {
  position: absolute;
  top: 62px;
  width: 18px;
  height: 9px;
  background: rgba(255, 94, 138, .45);
  border-radius: 50%;
  filter: blur(.5px);
}

.cat-blush-left { left: 8px; }
.cat-blush-right { right: 8px; }

.cat-body {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 58px;
  background: linear-gradient(180deg, var(--pink-3), var(--pink-deep));
  border-radius: 40% 40% 46% 46%;
}

.cat-stripe {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  width: 8px;
  height: 18px;
  background: rgba(255, 255, 255, .45);
  border-radius: 8px;
}

.cat-paw {
  position: absolute;
  bottom: -6px;
  width: 18px;
  height: 13px;
  background: #fff;
  border-radius: 8px 8px 10px 10px;
  box-shadow: 0 2px 3px rgba(107, 58, 82, .25);
}

.cat-paw-left { left: 16px; }
.cat-paw-right { right: 16px; }

.cat-tail {
  position: absolute;
  bottom: -2px;
  left: -26px;
  width: 44px;
  height: 20px;
  background: var(--pink-deep);
  border-radius: 20px;
  transform-origin: right center;
  animation: tailWag 2.4s ease-in-out infinite;
}

@keyframes tailWag {
  0%, 100% { transform: rotate(8deg); }
  50% { transform: rotate(-14deg); }
}

/* ---------- Floating hearts ---------- */
.float-hearts span {
  position: absolute;
  font-size: 20px;
  animation: bob 4s ease-in-out infinite;
  opacity: .85;
}

.float-hearts span:nth-child(1) { left: -48px; top: 10px; animation-delay: 0s; }
.float-hearts span:nth-child(2) { right: -52px; top: 4px; animation-delay: .4s; font-size: 26px; }
.float-hearts span:nth-child(3) { left: -30px; bottom: 4px; animation-delay: .8s; font-size: 16px; }
.float-hearts span:nth-child(4) { right: -34px; bottom: 12px; animation-delay: 1.2s; font-size: 18px; }
.float-hearts span:nth-child(5) { left: 50%; top: -22px; animation-delay: 1.6s; font-size: 14px; }

@keyframes bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.15); }
}

/* ---------- Text ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(255, 94, 138, .25);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 4px 14px rgba(247, 111, 156, .2);
}

h1 {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 1;
  margin: 14px 0 6px;
  color: var(--rose);
  text-shadow: 3px 3px 0 rgba(255, 255, 255, .85), 0 10px 24px rgba(247, 111, 156, .35);
  animation: pop 1.2s ease-out both;
}

h1 span { color: var(--text); }

@keyframes pop {
  0% { transform: scale(.7) translateY(20px); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.tagline {
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 420px;
  color: var(--text);
  opacity: .85;
  margin-bottom: 26px;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.cd-box {
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 94, 138, .25);
  border-radius: 18px;
  padding: 12px 16px;
  min-width: 74px;
  box-shadow: 0 6px 16px rgba(247, 111, 156, .18);
  animation: floatCard 3s ease-in-out infinite;
}

.cd-box:nth-child(2) { animation-delay: .3s; }
.cd-box:nth-child(3) { animation-delay: .6s; }
.cd-box:nth-child(4) { animation-delay: .9s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.cd-box span {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rose);
  line-height: 1;
}

.cd-box small {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  opacity: .7;
}

.cd-sep { font-family: "Baloo 2", cursive; font-weight: 800; font-size: 1.6rem; color: var(--rose); opacity: .6; }

/* ---------- Form ---------- */
.notify-form {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(247, 111, 156, .25);
  width: min(460px, 100%);
}

.notify-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 16px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  min-width: 0;
}

.notify-form input::placeholder { color: rgba(107, 58, 82, .45); }

.notify-form button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: .92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--pink-deep));
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 14px rgba(255, 94, 138, .4);
  white-space: nowrap;
}

.notify-form button:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 20px rgba(255, 94, 138, .5); }
.notify-form button:active { transform: scale(.97); }

.form-msg {
  min-height: 24px;
  margin-top: 12px;
  font-size: .9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}

.form-msg.show { opacity: 1; transform: translateY(0); }
.form-msg.ok { color: #2e8b57; }
.form-msg.error { color: var(--rose); }

/* ---------- Socials ---------- */
.socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.socials a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 94, 138, .25);
  border-radius: 50%;
  color: var(--rose);
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 12px rgba(247, 111, 156, .18);
}

.socials a:hover {
  transform: translateY(-5px) rotate(8deg);
  background: #fff;
  box-shadow: 0 8px 18px rgba(247, 111, 156, .35);
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 18px;
  font-size: .82rem;
  opacity: .75;
}

footer .heart {
  display: inline-block;
  color: var(--rose);
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.25); }
  40% { transform: scale(1); }
  60% { transform: scale(1.15); }
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .notify-form { flex-direction: column; border-radius: 24px; }
  .notify-form button { width: 100%; }
  .countdown { gap: 6px; }
  .cd-box { padding: 10px 12px; min-width: 64px; }
  .cd-box span { font-size: 1.4rem; }
}
