:root {
  --bg: #08060a;
  --card: rgba(255, 255, 255, 0.075);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #fff7fb;
  --muted: rgba(255, 247, 251, 0.68);
  --button-bg: #fff7fb;
  --button-text: #130c14;
}

* {
  box-sizing: border-box;
}

/* Prevent mobile long-press text selection / callout on the landing UI */
html,
body,
.page,
.card,
.verified-name,
.subtitle,
.hint,
.footer-note,
.main-button,
.progress,
.profile-photo {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

img,
.profile-photo {
  -webkit-user-drag: none;
  user-drag: none;
}

.hold-button,
.main-button {
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.copy-status {
  user-select: text;
  -webkit-user-select: text;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 160, 214, 0.34), transparent 34rem),
    radial-gradient(circle at 50% 100%, rgba(154, 88, 255, 0.24), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

button,
a,
input,
textarea {
  font-family: inherit;
}

.page {
  width: min(100%, 520px);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.card {
  width: 100%;
  min-height: 620px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 26px;
  border: 1px solid var(--card-border);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), var(--card));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  text-align: center;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.16), transparent 17rem);
  pointer-events: none;
}

.halo {
  position: absolute;
  width: 290px;
  height: 290px;
  top: 82px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 212, 238, 0.38), transparent 68%);
  filter: blur(4px);
}

.brand-mark {
  position: relative;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 206, 236, 0.78));
  color: #1c101d;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow:
    0 18px 50px rgba(255, 142, 212, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

h1 {
  position: relative;
  margin: 28px 0 10px;
  font-size: clamp(31px, 8vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.verified-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.verified-badge {
  flex: 0 0 auto;
  width: clamp(22px, 5vw, 27px);
  height: clamp(22px, 5vw, 27px);
  display: inline-grid;
  place-items: center;
  color: #0095f6;
  transform: translateY(2px);
}

.verified-badge svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0, 149, 246, 0.30));
}

.subtitle {
  position: relative;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

.main-button {
  position: relative;
  width: min(100%, 330px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, opacity 160ms ease;
}

.main-button:active,
.main-button.holding {
  transform: scale(0.975);
}

.progress {
  position: relative;
  width: min(100%, 300px);
  height: 6px;
  margin-top: 20px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.progress>div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.86);
  transition: width 80ms linear;
}

.hint {
  position: relative;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.footer-note {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  color: rgba(255, 247, 251, 0.45);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.6;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(120, 120, 120, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.age-modal.hidden {
  display: none;
}

.age-close {
  position: fixed;
  top: max(22px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.age-dialog {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.age-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  opacity: 0.96;
}

.age-title {
  margin: 0 0 22px;
  font-size: clamp(22px, 5vw, 29px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.age-message {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 3.2vw, 18px);
  line-height: 1.42;
  font-weight: 400;
}

.age-button {
  min-width: 180px;
  min-height: 56px;
  padding: 13px 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #151523;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.profile-photo {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 85% center;
  border: 3px solid #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

@media (max-height: 720px) {
  .card {
    min-height: calc(100vh - 56px);
  }
}

/* @media (max-width: 600px) {
  .card {
    transform: translateY(-45px);
  }
} */

.external-modal {
  z-index: 70;
}

.external-dialog {
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.external-phone {
  width: 132px;
  height: 188px;
  margin-bottom: 22px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.external-phone-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.external-phone-bar span {
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.external-phone-bar strong {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 3px solid #ff3b30;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.10);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.18);
}

.external-phone-bar strong::after {
  content: "↑";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #ff3b30;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}

.external-phone-body {
  height: calc(100% - 34px);
  display: grid;
  place-items: center;
  padding: 14px;
}

.external-arrow {
  display: none;
}

.external-mini-text {
  margin-top: -28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.external-message {
  margin-bottom: 18px;
}

.external-steps {
  width: min(100%, 360px);
  margin: 0 0 24px;
  padding-left: 24px;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.external-steps li {
  margin: 8px 0;
}

.external-steps strong {
  color: #fff;
  font-weight: 600;
}

.copy-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}