:root {
  --bg: #2f3424;
  --card: #3a4030;
  --lift: #454c38;
  --text: #f9d1d9;
  --muted: #d4c4b8;
  --sage: #838f58;
  --sage-2: #9aa670;
  --sage-deep: #6b7648;
  --pink: #f9d1d9;
  --pink-2: #f0b8c4;
  --line: rgba(249, 209, 217, 0.14);
  --tg: #2aabee;
  --ok: #00b67a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

html,
body {
  background: var(--bg);
  min-height: 100%;
  min-height: 100dvh;
}

body {
  font-family: Outfit, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 90% 42% at 50% -8%, rgba(249, 209, 217, 0.18), transparent 58%),
    radial-gradient(circle at 88% 18%, rgba(131, 143, 88, 0.22), transparent 28%),
    linear-gradient(180deg, #3a4030 0%, #2f3424 42%, #262a1e 100%);
}

.page {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 22px 16px calc(28px + env(safe-area-inset-bottom));
}

.profile {
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

.avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 130deg, #838f58, #f9d1d9, #9aa670, #6b7648, #838f58);
  filter: blur(7px);
  opacity: 0.7;
}

.avatar {
  position: relative;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(249, 209, 217, 0.88);
  background: #3a4030;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.online {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3dcf8e;
  border: 3px solid #2f3424;
  z-index: 2;
}

.chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(249, 209, 217, 0.12);
  border: 1px solid rgba(249, 209, 217, 0.28);
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip.tg {
  color: #8fd4f6;
  background: rgba(42, 171, 238, 0.12);
  border-color: rgba(42, 171, 238, 0.32);
}

.chip svg {
  width: 12px;
  height: 12px;
}

h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.78rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
  background: linear-gradient(120deg, #fff5f7 0%, #f9d1d9 45%, #c9b07a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--pink);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
}

.bio-short {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 auto 16px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0 0 16px;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 6px;
}

.stat b {
  display: block;
  color: var(--pink);
  font-size: 1.02rem;
  font-weight: 700;
}

.stat span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.panel {
  background: linear-gradient(180deg, rgba(58, 64, 48, 0.95), rgba(47, 52, 36, 0.95));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.panel h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
  color: var(--pink);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  text-align: left;
}

.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #2f3424;
  background: linear-gradient(160deg, #f9d1d9, #e8b8c4);
  box-shadow: 0 6px 16px rgba(249, 209, 217, 0.28);
  flex-shrink: 0;
}

.line {
  width: 1px;
  flex: 1;
  min-height: 18px;
  background: linear-gradient(180deg, rgba(249, 209, 217, 0.5), rgba(249, 209, 217, 0.08));
  margin: 6px 0;
}

.step:last-child .line {
  display: none;
}

.step-body {
  padding-bottom: 18px;
}

.step:last-child .step-body {
  padding-bottom: 4px;
}

.step h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff5f7;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hint {
  text-align: center;
  color: #e0d0c4;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 4px 0 16px;
}

.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #2f3424;
  background: linear-gradient(180deg, #f9d1d9 0%, #f0b8c4 42%, #e8a8b6 100%);
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow:
    0 12px 28px rgba(249, 209, 217, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: shine 3.8s ease-in-out infinite;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cta:active {
  transform: translateY(1px);
}

.cta-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2aabee;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 14px rgba(20, 90, 140, 0.28);
}

.cta-badge svg {
  width: 22px;
  height: 22px;
}

.cta-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.cta-copy strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.cta-copy small {
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #5a3d45;
}

.about p {
  color: #e0d0c4;
  font-size: 0.95rem;
  line-height: 1.62;
  margin-bottom: 12px;
}

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

.offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 16px;
  color: var(--pink);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.offer span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f9d1d9;
  box-shadow: 0 0 10px rgba(249, 209, 217, 0.85);
}

.feedback {
  padding: 18px 16px 12px;
  margin-top: 16px;
}

.fb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 4px;
}

.fb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  text-align: left;
}

.fb-brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fb-brand em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(249, 209, 217, 0.16);
  border: 1px solid rgba(249, 209, 217, 0.28);
  font-size: 1rem;
  flex-shrink: 0;
}

.fb-score {
  text-align: right;
}

.fb-score b {
  display: block;
  font-size: 1.2rem;
  color: #fff5f7;
  line-height: 1.1;
}

.fb-score em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 4px;
}

.rev-stars {
  color: #f9d1d9;
  letter-spacing: 1px;
  font-size: 0.86rem;
  line-height: 1;
  margin: 4px 0 8px;
}

.fb-score .rev-stars {
  margin: 4px 0 0;
  justify-content: flex-end;
}

.reviews {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px 10px;
}

.reviews::-webkit-scrollbar {
  display: none;
}

.review {
  flex: 0 0 86%;
  scroll-snap-align: center;
  background: #f9d1d9;
  color: #2f3424;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.who b {
  display: block;
  font-size: 0.95rem;
  color: #2f3424;
}

.who span {
  color: #6b5a58;
  font-size: 0.75rem;
}

.review p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3a3428;
}

.swipe-hint {
  text-align: center;
  color: #a89a8c;
  font-size: 0.75rem;
  margin-top: 8px;
}

.foot {
  text-align: center;
  color: #a89a8c;
  font-size: 0.78rem;
  margin-top: 18px;
}

@keyframes shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.65rem;
  }

  .cta-copy strong {
    font-size: 0.9rem;
  }
}
