:root{
  --fg:#ffffff;
  --muted:rgba(255,255,255,.65);
  --chip:rgba(0,0,0,0);
  --chip-border:rgba(255,255,255,.35);
  --chip-hover:rgba(255,255,255,.16);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font:15px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--fg);
  -webkit-font-smoothing:antialiased;
  position:relative;
  overflow:hidden;          /* no scroll; we want centered hero */
}

/* VIDEO BEHIND EVERYTHING */
.bg-video{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
  filter:brightness(.35);    /* darken video so white pops */
}

/* a faint overlay in case video is very bright */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:radial-gradient(circle at top, rgba(0,0,0,.4), rgba(0,0,0,.85));
  z-index:-1;
}

/* CENTER CONTENT */
.wrap{
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:1.5rem;
}

/* transparent card */
.card{
  width:min(520px, 100%);
  display:flex;
  flex-direction:column;
  gap:1rem;
  /* fully transparent */
  background:transparent;
  z-index:10;
}

/* TOP ROW */
.top{
  display:flex;
  gap:.75rem;
  align-items:center;
}

.avatar{
  width:78px;
  height:78px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 10px 35px rgba(0,0,0,.4);
}

.text-block{
  display:flex;
  flex-direction:column;
  gap:0.45rem;
  min-width:0;
}

.name{
  margin:0;
  font-size:1.15rem;
  font-weight:600;
  letter-spacing:.01em;
}

.urdu{
  margin:-8px 0 -2px 0;
  font-size:.85rem;
  opacity:.9;
  width:max-content;
}

.loc{
  margin:0;
  display:flex;
  align-items:center;
  gap:.35rem;
  color:var(--muted);
  font-size:.8rem;
}

.ico{
  width:17px;
  height:17px;
}

/* PILLS */
.links{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem .65rem;
  max-width:420px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:var(--chip);
  border:1px solid var(--chip-border);
  border-radius:999px;
  padding:.48rem .85rem;
  text-decoration:none;
  color:#fff;
  font-weight:500;
  white-space:nowrap;
  font-size:.78rem;
  transition:.15s ease;
  backdrop-filter:blur(4px);   /* so text stays readable on moving video */
}
.pill:hover{
  background:var(--chip-hover);
  border-color:rgba(255,255,255,.6);
}

@media (max-width:520px){
  .card{align-items:flex-start;}
  .links{max-width:100%;}
  .top{align-items:flex-start;}
}
