body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(80, 80, 92, .08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(214, 35, 255, .05), transparent 28%),
    #08080b;
  overflow-x: hidden;
}

.pd-gate {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 16px 24px;
}

.pd-gate__wrap {
  width: min(100%, 620px);
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, .18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 100%, rgba(44, 112, 255, .08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(0, 255, 255, .10), transparent 34%),
    linear-gradient(180deg, rgba(15, 17, 26, .98), rgba(10, 12, 20, .98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .03),
    0 0 18px rgba(0, 255, 255, .08),
    0 14px 30px rgba(0, 0, 0, .22);
}

.pd-gate__banner {
  width: 100%;
  aspect-ratio: 1536 / 680;
  border-bottom: 1px solid rgba(0, 255, 255, .12);
}

.pd-gate__banner a {
  display: block;
  width: 100%;
  height: 100%;
}

.pd-gate__banner img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, .74) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .03),
    0 12px 34px rgba(0, 0, 0, .22);
}

.pd-gate__card {
  width: 100%;
  padding: 20px 22px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pd-gate__logo {
  display: inline-flex;
  gap: 0;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.pd-gate__logo.is-pending {
  opacity: 0;
}

.pd-gate__logo-media {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 70px;
}

.pd-gate__logo-icon {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  margin-right: 0;
}

.pd-gate__logo-wordmark {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
  margin-left: 0;
}

.pd-gate__eyebrow {
  margin: 0 0 6px;
  color: rgba(219, 224, 255, .64);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.pd-gate__title {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 720;
  line-height: 1.04;
}

.pd-gate__title span {
  color: #00FFFF;
}

.pd-gate__text {
  display: none;
  margin: 0;
  color: rgba(229, 233, 255, .72);
  font-size: 14px;
  line-height: 1.5;
}

.pd-gate__swipe {
  --pd-swipe-progress: 0;
  margin-top: 22px;
  padding: 6px 0 0;
}

.pd-gate__swipe-track {
  position: relative;
  width: min(100%, 332px);
  height: 88px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 20, 31, .98), rgba(10, 11, 19, .98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .03),
    0 0 0 1px rgba(0, 255, 255, .08),
    0 10px 28px rgba(0, 0, 0, .18);
  touch-action: none;
}

.pd-gate__swipe-track::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, .018) 0%,
    rgba(255, 255, 255, .012) 50%,
      rgba(44, 112, 255, calc(.04 + var(--pd-swipe-progress) * .06)) 82%,
      rgba(0, 255, 255, calc(.04 + var(--pd-swipe-progress) * .12)) 100%
  );
  pointer-events: none;
}

.pd-gate__swipe-track::after {
  display: none;
}

.pd-gate__swipe-thumb {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 62px;
  height: 62px;
  padding: 0;
  border: none;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .24), transparent 26%),
    radial-gradient(circle at 28% 72%, rgba(44, 112, 255, .72), transparent 42%),
    radial-gradient(circle at 74% 24%, rgba(0, 255, 255, .88), transparent 38%),
    linear-gradient(145deg, rgba(12, 88, 108, .98), rgba(0, 255, 255, .98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 0 24px rgba(0, 255, 255, .24),
    0 0 40px rgba(0, 255, 255, .18),
    0 16px 28px rgba(0, 0, 0, .26);
  cursor: grab;
  will-change: transform;
  overflow: hidden;
}

.pd-gate__swipe-thumb:active {
  cursor: grabbing;
}

.pd-gate__swipe-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .22), transparent 24%);
  background-size: 220% 100%;
  animation: pdGateOrbShine 2.6s linear infinite;
  pointer-events: none;
}

.pd-gate__swipe-thumb::after {
  display: none;
}

.pd-gate__swipe.is-active .pd-gate__swipe-thumb {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    0 0 28px rgba(0, 255, 255, .34),
    0 0 48px rgba(0, 255, 255, .22),
    0 18px 32px rgba(0, 0, 0, .28);
}

.pd-gate__swipe.is-success .pd-gate__swipe-track::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, .024) 0%,
    rgba(76, 156, 255, .10) 62%,
    rgba(0, 255, 255, .18) 100%
  );
}

.pd-gate__status {
  min-height: 18px;
  margin: 10px 0 0;
  color: rgba(229, 233, 255, .68);
  font-size: 13px;
  text-align: center;
}

.pd-gate__status:empty {
  display: none;
}

.pd-gate__status.is-error {
  color: #ff8f9f;
}

.pd-gate__status.is-success {
  color: #00FFFF;
}

@keyframes pdGateOrbShine {
  0% {
    background-position: 200% 50%;
  }

  100% {
    background-position: -40% 50%;
  }
}

@media (max-width: 760px) {
  .pd-gate {
    padding: 20px 12px 14px;
  }

  .pd-gate__wrap {
    width: min(100%, 420px);
    border-radius: 18px;
  }

  .pd-gate__card {
    padding: 16px 16px 12px;
  }

  .pd-gate__logo-media {
    gap: 6px;
    min-height: 58px;
  }

  .pd-gate__logo-icon {
    height: 42px;
    margin-right: 0;
  }

  .pd-gate__logo-wordmark {
    height: 36px;
    max-width: min(100%, 240px);
    margin-left: 0;
  }

  .pd-gate__title {
    font-size: 28px;
  }

  .pd-gate__text {
    font-size: 13px;
  }

  .pd-gate__swipe {
    margin-top: 18px;
    padding-top: 6px;
  }

  .pd-gate__swipe-track {
    width: min(100%, 286px);
    height: 76px;
  }

  .pd-gate__swipe-thumb {
    width: 52px;
    height: 52px;
  }
}
