:root {
  --bg: #07111f;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: #aab8ca;
  --accent: #33e6b3;
  --accent-2: #39b8ff;
  --accent-3: #ffd166;
  --dark: #06101c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 0%, rgba(51, 230, 179, .16), transparent 34rem),
    radial-gradient(circle at 50% 100%, rgba(57, 184, 255, .16), transparent 34rem),
    linear-gradient(180deg, #091626 0%, #07111f 48%, #050b14 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.35), transparent);
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .65;
  animation: blobMove 9s ease-in-out infinite;
}

.blob-1 {
  width: 260px;
  height: 260px;
  top: 80px;
  left: 50%;
  margin-left: -420px;
  background: rgba(51, 230, 179, .25);
}

.blob-2 {
  width: 260px;
  height: 260px;
  top: 280px;
  left: 50%;
  margin-left: 160px;
  background: rgba(57, 184, 255, .20);
  animation-delay: -3s;
}

.blob-3 {
  width: 220px;
  height: 220px;
  bottom: 40px;
  left: 50%;
  margin-left: -130px;
  background: rgba(255, 209, 102, .12);
  animation-delay: -5s;
}

.page {
  width: min(640px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0 22px;
}

.payment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(22px, 5vw, 42px);
  background:
    radial-gradient(circle at 18% 0%, rgba(51, 230, 179, .17), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,.115), rgba(255,255,255,.055));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.domain-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(51, 230, 179, .28);
  border-radius: 999px;
  background: rgba(51, 230, 179, .10);
  color: #dffff5;
  font-size: 13px;
  font-weight: 900;
}

.domain-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(51, 230, 179, .10);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 28px auto 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(51,230,179,.22), rgba(57,184,255,.18)),
    rgba(255,255,255,.08);
  box-shadow: 0 22px 48px rgba(0,0,0,.25);
}

.logo-core {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 31px;
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(42px, 11vw, 78px);
  line-height: .93;
  letter-spacing: -.07em;
}

.subtitle {
  max-width: 500px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(16px, 3.6vw, 19px);
  line-height: 1.58;
}

.phone-preview {
  position: relative;
  max-width: 360px;
  margin: 30px auto 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(51,230,179,.18), transparent 18rem),
    rgba(255,255,255,.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 24px 60px rgba(0,0,0,.28);
}

.phone-head {
  width: 88px;
  height: 15px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: rgba(0,0,0,.30);
}

.bot-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.075);
}

.bot-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 18px;
  background: rgba(51,230,179,.14);
  font-size: 24px;
}

.bot-status strong,
.bot-status span {
  display: block;
}

.bot-status strong {
  font-size: 15px;
}

.bot-status span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.status-line {
  height: 10px;
  margin: 16px 2px;
  border-radius: 99px;
  background: rgba(255,255,255,.11);
  overflow: hidden;
}

.status-line i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: progress 2s ease-in-out infinite;
}

.protocols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.protocols div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.075);
}

.protocols b,
.protocols span {
  display: block;
}

.protocols b {
  font-size: 20px;
}

.protocols span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.success-box {
  margin-top: 12px;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(51,230,179,.21), rgba(57,184,255,.14)),
    rgba(255,255,255,.075);
}

.success-box small,
.success-box span {
  color: var(--muted);
}

.success-box strong {
  margin: 4px 0;
  font-size: clamp(34px, 8vw, 44px);
  line-height: .95;
  letter-spacing: -.05em;
}

.payment-info {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 17px;
  background: rgba(255, 209, 102, .13);
  font-size: 22px;
}

.payment-info strong {
  display: block;
  margin-bottom: 4px;
}

.payment-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
  transition: transform .2s ease, filter .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn.primary {
  color: #06111c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  grid-column: span 3;
}

.btn.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
}

.redirect-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(51, 230, 179, .21);
  border-radius: 24px;
  background: rgba(51, 230, 179, .075);
}

.count {
  position: relative;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
}

.count svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.count circle {
  fill: none;
  stroke-width: 6;
}

.circle-bg {
  stroke: rgba(255,255,255,.14);
}

.circle-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: 0;
  animation: countdown 3s linear forwards;
}

.count b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 23px;
}

.redirect-card strong {
  display: block;
}

.redirect-card p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.steps article {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.052));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.steps article div {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  color: #dffff5;
  font-size: 20px;
  font-weight: 950;
}

.steps h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 4px 0;
  color: rgba(247,251,255,.58);
  font-size: 13px;
}

@keyframes countdown {
  to {
    stroke-dashoffset: 188.5;
  }
}

@keyframes progress {
  0%, 100% {
    width: 56%;
  }

  50% {
    width: 91%;
  }
}

@keyframes blobMove {
  0%, 100% {
    transform: translate3d(0,0,0) scale(1);
  }

  50% {
    transform: translate3d(18px,-18px,0) scale(1.08);
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 20px, 640px);
    padding-top: 18px;
  }

  .payment-card {
    border-radius: 28px;
  }

  .logo-mark {
    width: 82px;
    height: 82px;
    border-radius: 28px;
    margin-top: 22px;
  }

  .logo-core {
    width: 58px;
    height: 58px;
    border-radius: 21px;
  }

  .phone-preview {
    padding: 16px;
    border-radius: 28px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .btn.primary {
    grid-column: auto;
  }

  .redirect-card {
    align-items: flex-start;
  }

  .count {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .steps article {
    grid-template-columns: 46px 1fr;
    padding: 15px;
  }

  .steps article div {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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