:root {
  --pink: #ff4fa3;
  --pink-dark: #e83c91;
  --pink-soft: #ffd6e9;
  --text: #2f2730;
  --muted: #6e626b;
  --surface: rgba(255, 249, 252, 0.88);
  --border: rgba(255, 79, 163, 0.18);
  --shadow: 0 24px 70px rgba(110, 30, 73, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff8fb;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 214, 233, 0.78), transparent 35%),
    linear-gradient(180deg, #fffafd 0%, #fff4f9 100%);
}

.background {
  position: fixed;
  inset: -24px;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 247, 251, 0.83), rgba(255, 247, 251, 0.91)),
    url("assets/alisha-leerdam.webp") center 27% / cover no-repeat;
  filter: blur(18px) saturate(0.8);
  transform: scale(1.06);
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px clamp(20px, 4vw, 48px);
}

.brand {
  color: var(--pink);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero {
  display: grid;
  place-items: center;
  padding: 18px 20px 44px;
}

.card {
  width: min(100%, 470px);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.profile-wrap {
  width: 152px;
  height: 152px;
  margin: 0 auto 22px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff95c7, var(--pink), #ff79ba);
  box-shadow:
    0 0 0 6px rgba(255, 79, 163, 0.09),
    0 16px 34px rgba(255, 79, 163, 0.25);
}

.profile {
  width: 100%;
  height: 100%;
  display: block;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 34%;
}

h1 {
  margin: 0;
  color: var(--pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 7vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.tagline {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: clamp(1rem, 2.8vw, 1.1rem);
  line-height: 1.55;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 15px 24px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--pink), #ff67b1);
  box-shadow: 0 13px 30px rgba(255, 79, 163, 0.34);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 36px rgba(255, 79, 163, 0.42);
  filter: brightness(1.03);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible,
.brand:focus-visible,
footer a:focus-visible {
  outline: 3px solid rgba(255, 79, 163, 0.42);
  outline-offset: 4px;
}

.small-note {
  margin: 16px 0 0;
  color: #94868f;
  font-size: 0.79rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 16px 20px 22px;
  color: #8e8089;
  font-size: 0.78rem;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: var(--pink-dark);
}

@media (max-width: 520px) {
  .site-header {
    min-height: 60px;
    justify-content: center;
    padding-bottom: 6px;
  }

  .hero {
    padding-top: 4px;
  }

  .card {
    border-radius: 26px;
    padding: 30px 22px;
  }

  .profile-wrap {
    width: 138px;
    height: 138px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Second-step conversation page */
.conversation-card {
  max-width: 500px;
}

.profile-small {
  position: relative;
  width: 126px;
  height: 126px;
  margin-bottom: 10px;
}

.online-dot {
  position: absolute;
  right: 7px;
  bottom: 8px;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #39c977;
  box-shadow: 0 3px 10px rgba(57, 201, 119, 0.38);
}

.online-label {
  margin: 0 0 10px;
  color: #39a968;
  font-size: 0.82rem;
  font-weight: 700;
}

.conversation-card h1 {
  font-size: clamp(2rem, 6vw, 2.85rem);
}

.message {
  position: relative;
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 79, 163, 0.16);
  border-radius: 22px 22px 22px 6px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(110, 30, 73, 0.09);
}

.message::before {
  content: "";
  position: absolute;
  left: -7px;
  bottom: -1px;
  width: 16px;
  height: 20px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.82) 51%);
  transform: rotate(10deg);
}

.typing-name {
  display: block;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.message p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.message p:last-child {
  margin-bottom: 0;
}

.back-link {
  display: inline-block;
  margin-top: 19px;
  color: #9b7e8d;
  font-size: 0.83rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--pink-dark);
}
