
:root {
  --blue: #3760df;
  --blue-dark: #294bc7;
  --text: #202b40;
  --muted: #737e94;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background: #edf2fc;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 15% 15%,
      rgba(255,255,255,.95), transparent 42%),
    radial-gradient(ellipse at 85% 15%,
      rgba(170,196,255,.55), transparent 45%),
    radial-gradient(ellipse at 20% 90%,
      rgba(190,180,255,.48), transparent 43%),
    linear-gradient(135deg, #f8faff, #e5edff 55%, #f6f7ff);
}

/* Ambient glass shapes */

.ambient {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(65px);
  border-radius: 50%;
  opacity: .65;
  animation: float 18s ease-in-out infinite alternate;
}

.ambient-one {
  width: 420px;
  height: 420px;
  background: rgba(120,155,255,.35);
  top: -160px;
  right: -90px;
}

.ambient-two {
  width: 380px;
  height: 380px;
  background: rgba(185,160,255,.32);
  bottom: -140px;
  left: -110px;
  animation-delay: -5s;
}

.ambient-three {
  width: 260px;
  height: 260px;
  background: rgba(130,205,255,.25);
  top: 40%;
  left: 5%;
  animation-delay: -9s;
}

.ambient-four {
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,.8);
  bottom: 10%;
  right: 5%;
  animation-delay: -3s;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(28px, -24px, 0);
  }
}

/* Main card */

.verification-card {
  width: min(100%, 490px);
  padding: 36px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 25px;

  background: rgba(255,255,255,.76);

  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);

  box-shadow:
    0 25px 75px rgba(55,75,130,.12),
    0 5px 18px rgba(55,75,130,.05),
    inset 0 1px 0 rgba(255,255,255,.95);

  animation: cardEnter .7s cubic-bezier(.2,.8,.2,1);
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Shield */

.shield-container {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;

  border-radius: 21px;
  background: linear-gradient(145deg, #ffffff, #e5ebff);

  border: 1px solid rgba(135,160,255,.25);

  box-shadow:
    0 8px 25px rgba(57,98,210,.16),
    inset 0 1px 2px white;

  animation: shieldFloat 4s ease-in-out infinite;
}

.shield-icon {
  width: 43px;
  height: 43px;
  position: relative;
  z-index: 2;
}

.shield-glow {
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: rgba(78,118,255,.12);
  filter: blur(15px);
}

@keyframes shieldFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Heading */

.heading {
  text-align: center;
  margin-bottom: 28px;
}

.heading h1 {
  font-size: clamp(27px, 5vw, 35px);
  font-weight: 750;
  letter-spacing: -1.2px;
  margin: 0 0 10px;
  color: #202b40;
}

.heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Verification section */

.verification-section {
  border: 1px solid rgba(213,220,239,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.42);
  padding: 17px;
  margin-bottom: 17px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.status-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #8790a3;
  background: #eef1f8;
  border-radius: 50%;
}

.status-icon svg {
  width: 22px;
  height: 22px;
}

.section-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-text strong {
  font-size: 14px;
  font-weight: 650;
}

.section-text span {
  font-size: 12px;
  color: var(--muted);
}

#turnstile-container {
  min-height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Proceed button */

#proceed-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 13px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  background: linear-gradient(105deg, #3674f4, #304bd5);
  color: white;

  font: inherit;
  font-size: 15px;
  font-weight: 650;

  cursor: pointer;

  box-shadow: 0 7px 18px rgba(48,83,207,.19);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    opacity .2s ease;
}

#proceed-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 25px rgba(48,83,207,.28);
}

#proceed-button:active:not(:disabled) {
  transform: translateY(0);
}

#proceed-button:disabled {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none;
}

.button-arrow {
  width: 19px;
  height: 19px;
  transition: transform .2s ease;
}

#proceed-button:hover:not(:disabled) .button-arrow {
  transform: translateX(4px);
}

/* Messages */

.message {
  min-height: 19px;
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: #b84b4b;
}

/* Footer */

.card-footer {
  margin-top: 19px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: #8b93a5;
  font-size: 11px;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-item svg {
  width: 17px;
  height: 17px;
}

.footer-divider {
  height: 19px;
  width: 1px;
  background: #d7ddea;
}

.page-footer {
  position: absolute;
  bottom: 15px;
  color: rgba(95,108,140,.65);
  font-size: 10px;
  letter-spacing: .3px;
}

/* Mobile */

@media (max-width: 560px) {
  .page {
    padding: 20px 15px;
  }

  .verification-card {
    padding: 27px 21px 23px;
    border-radius: 21px;
  }

  .shield-container {
    width: 60px;
    height: 60px;
    margin-bottom: 19px;
  }

  .shield-icon {
    width: 38px;
    height: 38px;
  }

  .heading {
    margin-bottom: 23px;
  }

  .heading p {
    font-size: 13px;
  }

  .verification-section {
    padding: 14px 11px;
  }

  .card-footer {
    gap: 10px;
    font-size: 10px;
  }

  .ambient {
    filter: blur(75px);
    opacity: .45;
  }
}

/* Short screens */

@media (max-height: 650px) {
  .page {
    align-items: flex-start;
    overflow-y: auto;
  }

  .verification-card {
    margin: auto 0;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
