:root {
  --pink-300: #ff9ecf;
  --pink-400: #ff7ab8;
  --pink-500: #ff5aa6;
  --pink-600: #e83d8a;
  --ink: #5a2140;
  --ink-soft: #8a4a68;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(232, 61, 138, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #ffd0ea 0%, transparent 55%),
    linear-gradient(180deg, #fff0f7 0%, #ffe4f2 45%, #ffd6ec 100%);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.5;
  animation: drift 11s ease-in-out infinite alternate;
}

.blob-a {
  width: 260px;
  height: 260px;
  top: -50px;
  left: -30px;
  background: #ff9ed4;
}

.blob-b {
  width: 280px;
  height: 280px;
  right: -70px;
  bottom: 10%;
  background: #ffb8e0;
  animation-delay: -5s;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 12px #fff, 0 0 22px var(--pink-300);
  animation: twinkle 3s ease-in-out infinite;
}

.s1 {
  top: 20%;
  left: 16%;
}

.s2 {
  top: 55%;
  right: 18%;
  animation-delay: 1.2s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(14px, -20px) scale(1.06);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  margin: 0 auto;
  padding: 64px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: rise 0.65s ease-out both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #ff8ec8, #ff5aa6 45%, #ffb0d9);
  box-shadow: 0 10px 28px rgba(255, 90, 166, 0.35);
  animation: softPulse 3.5s ease-in-out infinite;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 3px solid var(--white);
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

.brand {
  font-family: "Pacifico", cursive;
  font-size: clamp(2.3rem, 8vw, 2.9rem);
  font-weight: 400;
  color: var(--pink-600);
  line-height: 1.15;
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.7);
}

.bio {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.intro {
  max-width: 28ch;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
  opacity: 0.9;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 22px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7ab8, #e83d8a);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 48px rgba(232, 61, 138, 0.32);
  outline: none;
}

.cta:active {
  transform: translateY(-1px) scale(1.01);
}

.cta-arrow {
  font-size: 1.15rem;
  transition: transform 0.22s ease;
}

.cta:hover .cta-arrow {
  transform: translateX(4px);
}

.contact {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.4;
}

.contact a {
  color: var(--pink-600);
  text-decoration: none;
  word-break: break-all;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.7;
}

.continue-form {
  width: 100%;
}

/* Honeypot — visually and accessibly hidden from humans */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(90, 33, 64, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.25s ease both;
}

.gate[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gate-card {
  position: relative;
  width: min(100%, 360px);
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 126, 184, 0.4);
  box-shadow: 0 24px 60px rgba(232, 61, 138, 0.25);
  text-align: center;
}

.gate-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gate-close:hover,
.gate-close:focus-visible {
  color: var(--pink-600);
  outline: none;
}

.gate-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink-600);
  margin-bottom: 8px;
}

.gate-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.4;
}

.slider {
  position: relative;
  width: 100%;
  height: 56px;
  border-radius: 999px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: grab;
}

.slider.is-dragging {
  cursor: grabbing;
}

.slider.is-done {
  pointer-events: none;
}

.slider-track {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ffe4f2;
  border: 1.5px solid rgba(255, 126, 184, 0.45);
  overflow: hidden;
}

.slider-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, #ffb0d9, #ff7ab8);
  border-radius: inherit;
  transition: none;
}

.slider-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.slider-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(145deg, #ff7ab8, #e83d8a);
  box-shadow: 0 8px 20px rgba(232, 61, 138, 0.35);
  z-index: 2;
  will-change: transform;
}

.gate-status {
  min-height: 1.2em;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink-600);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
