:root{
  --bg1:#0b1020;
  --bg2:#0a2a43;
  --card:#0f172a;
  --text:#e5e7eb;
  --muted:#a7b0c0;
  --line:rgba(255,255,255,.10);
  --accent:#60a5fa;
  --accent2:#a78bfa;
  --shadow:0 18px 50px rgba(0,0,0,.45);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:radial-gradient(1200px 600px at 20% 10%, rgba(96,165,250,.25), transparent 60%),
             radial-gradient(1000px 700px at 80% 30%, rgba(167,139,250,.18), transparent 55%),
             linear-gradient(160deg, var(--bg1), var(--bg2));
}

.page{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.card{
  width:min(520px, 100%);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  backdrop-filter:blur(10px);
}

.header{
  display:flex;
  gap:14px;
  align-items:center;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.avatar{
  width:60px;
  height:60px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(96,165,250,.95), rgba(167,139,250,.95));
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.avatar-initial{
  font-weight:800;
  font-size:22px;
  letter-spacing:.5px;
  color:#08101f;
}

.name{
  margin:0;
  font-size:22px;
  line-height:1.2;
}

.tagline{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
}

.actions{
  display:flex;
  gap:10px;
  padding:16px 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  background:rgba(15,23,42,.45);
  flex:1 1 auto;
  min-height:42px;
}

.btn.primary{
  border-color:rgba(96,165,250,.55);
  background:linear-gradient(135deg, rgba(96,165,250,.22), rgba(167,139,250,.18));
}

.btn:focus-visible,
.link:focus-visible,
.social-link:focus-visible{
  outline:3px solid rgba(96,165,250,.65);
  outline-offset:2px;
}

.details{
  margin:0;
  padding:8px 0 4px;
}

.row{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:10px;
  padding:10px 0;
  border-top:1px solid var(--line);
}

.row:first-child{border-top:0}

dt{
  color:var(--muted);
  font-size:13px;
}

dd{
  margin:0;
  font-size:14px;
}

.link{
  color:var(--text);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.18);
}

.link:hover{border-bottom-color:rgba(96,165,250,.7)}

.social{
  display:grid;
  gap:10px;
  padding:14px 0 8px;
}

.social-link{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:14px;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(15,23,42,.35);
  text-decoration:none;
  color:var(--text);
}

.social-name{
  font-weight:700;
}

.social-handle{
  color:var(--muted);
  font-size:13px;
}

.social-link:hover{
  border-color:rgba(96,165,250,.45);
  transform:translateY(-1px);
}

.footer{
  padding-top:12px;
  border-top:1px solid var(--line);
  margin-top:10px;
}

.fineprint{
  margin:0;
  color:var(--muted);
  font-size:12px;
}

@media (max-width:420px){
  .row{grid-template-columns:92px 1fr}
  .card{padding:18px}
}
