*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  min-height:100dvh;
  background:#0c0a1a;
  color:#e8e6f0;
  font-family:system-ui,-apple-system,"PingFang SC","Segoe UI",Roboto,sans-serif;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:32px 20px;
  position:relative;overflow:hidden;
  -webkit-font-smoothing:antialiased;
}

.bg-orb{
  position:fixed;border-radius:50%;
  filter:blur(80px);opacity:.45;
  pointer-events:none;z-index:0;
  animation:orbFloat 12s ease-in-out infinite alternate;
}
.orb-1{width:420px;height:420px;background:#7c3aed;top:-120px;left:-80px}
.orb-2{width:380px;height:380px;background:#3b82f6;bottom:-100px;right:-80px;animation-delay:-4s}
.orb-3{width:300px;height:300px;background:#ec4899;top:40%;left:50%;transform:translateX(-50%);opacity:.25;animation-delay:-8s}
@keyframes orbFloat{
  from{transform:translate(0,0) scale(1)}
  to{transform:translate(30px,-20px) scale(1.1)}
}

.wrap{
  position:relative;z-index:1;
  display:flex;flex-direction:column;
  align-items:center;
  max-width:420px;width:100%;
  animation:wrapIn .5s cubic-bezier(.16,1,.3,1) both;
}
@keyframes wrapIn{
  from{opacity:0;transform:translateY(16px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.brand{
  display:inline-flex;align-items:center;gap:8px;
  text-decoration:none;color:rgba(255,255,255,.7);
  font-size:13px;font-weight:500;
  margin-bottom:40px;
  padding:7px 14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  backdrop-filter:blur(12px);
  transition:background .2s;
}
.brand:hover{background:rgba(255,255,255,.12);color:#fff}
.brand-logo{width:20px;height:20px;border-radius:4px;object-fit:contain}

.ring-wrap{
  position:relative;
  width:200px;height:200px;
  margin-bottom:32px;
}
.ring{
  width:100%;height:100%;
  transform:rotate(-90deg);
}
.ring-bg{
  fill:none;
  stroke:rgba(255,255,255,.08);
  stroke-width:6;
}
.ring-fg{
  fill:none;
  stroke:url(#ringGrad);
  stroke-width:6;
  stroke-linecap:round;
}
.ring-center{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:2px;
}
.ring-favicon{
  width:56px;height:56px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:4px;
  overflow:hidden;
  backdrop-filter:blur(8px);
}
.ring-favicon img{width:40px;height:40px;object-fit:contain}
.fb-text{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:800;
  background:linear-gradient(135deg,#a78bfa,#60a5fa);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.ring-num{
  font-size:36px;font-weight:800;
  line-height:1;
  background:linear-gradient(135deg,#fff,#c4b5fd);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
  font-variant-numeric:tabular-nums;
}
.ring-label{
  font-size:11px;color:rgba(255,255,255,.5);
  letter-spacing:.08em;text-transform:uppercase;font-weight:500;
}

.target-host{
  font-size:20px;font-weight:700;
  color:#fff;
  margin-bottom:36px;
  word-break:break-all;
  text-align:center;
  line-height:1.3;
  max-width:100%;
}

.actions{
  display:flex;gap:12px;
  width:100%;
  margin-bottom:20px;
}
.btn{
  flex:1;
  display:inline-flex;align-items:center;justify-content:center;
  gap:7px;
  padding:13px 20px;
  border-radius:12px;
  font-size:14px;font-weight:600;
  text-decoration:none;
  cursor:pointer;
  border:1px solid transparent;
  transition:transform .1s,box-shadow .2s,background .2s;
  -webkit-tap-highlight-color:transparent;
}
.btn:active{transform:scale(.97)}
.btn-primary{
  background:linear-gradient(135deg,#7c3aed,#3b82f6);
  color:#fff;
  box-shadow:0 4px 20px rgba(124,58,237,.4);
}
.btn-primary:hover{box-shadow:0 6px 28px rgba(124,58,237,.55)}
.btn-ghost{
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.8);
  border-color:rgba(255,255,255,.12);
  backdrop-filter:blur(8px);
}
.btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.btn svg{flex-shrink:0}

.warn{
  font-size:12px;line-height:1.6;
  color:rgba(255,255,255,.4);
  text-align:center;
  max-width:360px;
}

.footer{
  position:relative;z-index:1;
  margin-top:28px;
  font-size:12px;
  color:rgba(255,255,255,.3);
  text-align:center;
}

@media (max-width:420px){
  body{padding:24px 16px}
  .ring-wrap{width:170px;height:170px;margin-bottom:28px}
  .ring{width:170px;height:170px}
  .ring-num{font-size:30px}
  .ring-favicon{width:48px;height:48px;border-radius:12px}
  .ring-favicon img{width:34px;height:34px}
  .target-host{font-size:17px;margin-bottom:28px}
  .brand{margin-bottom:32px}
  .actions{flex-direction:column;gap:10px}
  .btn{padding:13px 20px}
}

@media (prefers-reduced-motion: reduce){
  .bg-orb,.wrap{animation:none}
  .bg-orb{display:none}
}
