/* TinderOne home only — Telegram bot section. Do not reuse on ScanLove. */

.tgBot {
  --tg-red: #f5613a;
  --tg-pink: #f33673;
  --tg-blue: #2aabee;
  --tg-ink: #1e1e1e;
  --tg-muted: #5c5560;
  background:
    radial-gradient(640px 280px at 8% 0%, rgba(245, 97, 58, 0.14), transparent 62%),
    radial-gradient(520px 260px at 96% 88%, rgba(42, 171, 238, 0.12), transparent 58%),
    #fff5f2;
  padding: 28px 0 64px;
}

.tgBot__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(25, 31, 62, 0.1);
}

.tgBot__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 48px 40px 48px 44px;
  font-family: "Montserrat", "Manrope", sans-serif;
}

.tgBot__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #eef8fe;
  color: #1a7fb3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tgBot__eyebrow img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.tgBot__copy h2 {
  margin: 0 0 14px;
  max-width: 16ch;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--tg-ink);
}

.tgBot__lead {
  margin: 0 0 22px;
  max-width: 42ch;
  color: var(--tg-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.tgBot__lead strong {
  color: var(--tg-ink);
  font-weight: 700;
}

.tgBot__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 28rem;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.tgBot__steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff8f5;
  border: 1px solid #f3ddd4;
}

.tgBot__stepNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tg-red), var(--tg-pink));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tgBot__steps p {
  margin: 0;
  color: var(--tg-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.tgBot__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--tg-red) 0%, var(--tg-pink) 100%);
  color: #fff;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(245, 97, 58, 0.32);
}

.tgBot__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(245, 97, 58, 0.4);
}

.tgBot__cta img {
  width: 22px;
  height: 22px;
}

.tgBot__handle {
  margin: 12px 0 0;
  color: var(--tg-muted);
  font-size: 14px;
  font-weight: 600;
}

.tgBot__handle a {
  color: var(--tg-blue);
  font-weight: 800;
}

.tgBot__handle a:hover {
  text-decoration: underline;
}

.tgBot__art {
  position: relative;
  isolation: isolate;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(180px 140px at 18% 18%, rgba(255, 255, 255, 0.28), transparent 70%),
    linear-gradient(160deg, #ff8a65 0%, #f5613a 42%, #f33673 100%);
}

.tgBot__stage {
  position: absolute;
  inset: 0;
}

.tgBot__phone {
  position: absolute;
  right: -6%;
  bottom: -8%;
  z-index: 2;
  width: min(72%, 340px);
  height: auto;
  max-width: none;
  pointer-events: none;
  filter: drop-shadow(0 18px 28px rgba(80, 12, 36, 0.28));
}

.tgBot__chat {
  position: absolute;
  left: 7%;
  top: 12%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(58%, 248px);
  overflow: hidden;
  border-radius: 22px;
  background: #eef2f5;
  box-shadow:
    0 18px 40px rgba(40, 12, 28, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.tgBot__chatHead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #229ed9;
  color: #fff;
}

.tgBot__chatHead img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
}

.tgBot__chatHead strong,
.tgBot__chatHead span {
  display: block;
}

.tgBot__chatHead strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.tgBot__chatHead span {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.88;
}

.tgBot__bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 10px;
}

.tgBot__bubble {
  max-width: 92%;
  padding: 8px 10px;
  border-radius: 14px;
  font-family: "Manrope", "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.tgBot__bubble--in {
  align-self: flex-start;
  background: #fff;
  color: #1e1e1e;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.06);
}

.tgBot__bubble--out {
  align-self: flex-end;
  background: #eeffde;
  color: #1b3a1f;
  border-bottom-right-radius: 4px;
}

.tgBot__start {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(120deg, #f5613a, #f33673);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tgBot__avatars {
  position: absolute;
  left: 8%;
  bottom: 8%;
  z-index: 4;
  width: min(54%, 220px);
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(40, 12, 28, 0.22));
}

.tgBot__capsule {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 72px;
  height: 98px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(40, 12, 28, 0.18);
}

.tgBot__capsule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tgBot__capsule--a {
  top: 8%;
  right: 10%;
  background: #c2b5ff;
}

.tgBot__capsule--b {
  top: 42%;
  right: 4%;
  width: 58px;
  height: 80px;
  background: #7ecfec;
}

.tgBot__heart {
  position: absolute;
  left: 42%;
  top: 6%;
  z-index: 4;
  width: 42px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(40, 12, 28, 0.2));
}

.tgBot__tgFloat {
  position: absolute;
  right: 10%;
  bottom: 10%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 24px rgba(16, 70, 110, 0.22);
}

.tgBot__tgFloat img {
  width: 34px;
  height: 34px;
}

@media (max-width: 1024px) {
  .tgBot__copy {
    padding: 36px 28px;
  }

  .tgBot__art {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .tgBot {
    padding: 16px 0 40px;
  }

  .tgBot__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgBot__copy {
    padding: 28px 22px 20px;
  }

  .tgBot__copy h2 {
    max-width: none;
  }

  .tgBot__cta {
    width: 100%;
  }

  .tgBot__art {
    min-height: 400px;
    order: 2;
  }

  .tgBot__chat {
    left: 5%;
    top: 8%;
    width: min(58%, 220px);
  }

  .tgBot__phone {
    width: min(64%, 260px);
    right: -6%;
    bottom: -10%;
  }

  .tgBot__capsule--b,
  .tgBot__bubble--out,
  .tgBot__bubbles .tgBot__bubble--in:last-of-type,
  .tgBot__start {
    display: none;
  }

  .tgBot__avatars {
    left: auto;
    right: 6%;
    bottom: 16%;
    width: min(46%, 180px);
  }
}

@media (max-width: 480px) {
  .tgBot__copy {
    padding: 24px 18px 16px;
  }

  .tgBot__art {
    min-height: 340px;
  }

  .tgBot__chat {
    width: 62%;
    max-width: 210px;
  }

  .tgBot__phone {
    width: 66%;
  }

  .tgBot__capsule--a {
    width: 56px;
    height: 76px;
    top: 6%;
    right: 8%;
  }

  .tgBot__heart {
    width: 32px;
    left: 58%;
  }

  .tgBot__tgFloat {
    width: 46px;
    height: 46px;
    right: 8%;
    bottom: 8%;
  }

  .tgBot__tgFloat img {
    width: 28px;
    height: 28px;
  }
}
