@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --space-0: #050915;
  --space-2: #0C1024;
  --border-1: rgba(184,201,255,0.10);
  --border-2: rgba(184,201,255,0.18);
  --blue: #2E55FF;
  --blue-2: #5E7EFF;
  --blue-3: #89A5FF;
  --green: #17c9a0;
  --text-0: #EAF2FF;
  --text-1: #8496c9;
  --text-2: #384573;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16,1,.3,1);
}

html, body {
  height: 100%;
  background: var(--space-0);
  color: var(--text-0);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.bg-fx { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb-a { width: 620px; height: 620px; background: radial-gradient(circle, rgba(46,85,255,.55), transparent 70%); top: -220px; right: -160px; animation: float-a 20s ease-in-out infinite; }
.orb-b { width: 480px; height: 480px; background: radial-gradient(circle, rgba(23,201,160,.32), transparent 70%); bottom: -200px; left: -180px; animation: float-b 24s ease-in-out infinite; }
@keyframes float-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, 60px); } }
@keyframes float-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, -40px); } }

.invite-shell {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px;
  gap: 22px;
}

.invite-card {
  width: 100%; max-width: 440px;
  background: var(--space-2);
  border: 1px solid var(--border-1);
  border-radius: 20px;
  padding: 44px 36px 36px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.02) inset;
  animation: card-in .6s var(--ease);
}
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.shield-wrap { position: relative; width: 76px; height: 76px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; }
.shield { position: relative; z-index: 2; filter: drop-shadow(0 0 16px rgba(94,126,255,.55)); }
.shield .check { stroke-dasharray: 10; stroke-dashoffset: 10; animation: draw-check 1.8s var(--ease) infinite; }
@keyframes draw-check { 0% { stroke-dashoffset: 10; } 30%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -10; } }

.shield-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--blue-2);
  animation: ring-spin 2.2s linear infinite, ring-pulse 2.2s ease-in-out infinite;
  border-top-color: transparent;
  border-right-color: transparent;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

h1#statusTitle {
  font-size: 21px; font-weight: 800; letter-spacing: -0.01em;
  transition: opacity .25s;
}
.status-sub {
  margin-top: 6px; font-size: 13.5px; color: var(--text-1);
  transition: opacity .25s;
  min-height: 18px;
}

.fake-url-bar {
  margin-top: 26px;
  display: flex; align-items: center; gap: 9px;
  background: var(--space-0);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--blue-3);
  overflow: hidden;
  white-space: nowrap;
}
.lock-icn { width: 13px; height: 13px; flex-shrink: 0; color: var(--green); }
#fakeUrl {
  overflow: hidden; text-overflow: ellipsis;
  animation: url-flicker .15s steps(1) infinite;
}
@keyframes url-flicker { 0%, 92% { filter: none; } 93% { filter: blur(1px); } 100% { filter: none; } }

.progress-track {
  margin-top: 22px;
  height: 6px; border-radius: 100px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(94,126,255,.7);
  transition: width .2s linear;
}
.progress-pct {
  margin-top: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.invite-note {
  margin-top: 22px;
  font-size: 12.5px; color: var(--text-1); line-height: 1.6;
}
.invite-note a { color: var(--blue-3); }

.skip-link {
  font-size: 12.5px; color: var(--text-2); font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: color .2s, border-color .2s;
}
.skip-link:hover { color: var(--blue-3); border-color: var(--blue-3); }

@media (max-width: 480px) {
  .invite-card { padding: 34px 24px 28px; }
}