:root{
  --bg: #0b0f17;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.52);
  --stroke: rgba(255,255,255,.12);
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
}

*{ box-sizing:border-box; }

html, body{
  height: 100%;
}
body{
  min-height: 100vh;
}

body{
  margin:0;
  color: var(--text);
  background: radial-gradient(1200px 800px at 20% 10%, rgba(95, 145, 255, .18), transparent 60%),
              radial-gradient(900px 700px at 80% 20%, rgba(255, 120, 210, .14), transparent 55%),
              radial-gradient(900px 700px at 50% 90%, rgba(80, 255, 190, .10), transparent 55%),
              var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.35;
}

.wrap{
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: 32px 0 44px;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero{
  text-align:center;
  padding: 22px 18px 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card2), var(--card));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.avatar{
  width: 160px;
  height: 160px;
  margin: 6px auto 14px;
  border-radius: 999px;
  overflow:hidden;
  border: 2px solid var(--stroke);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.title h1{
  margin: 0;
  font-family: Fraunces, serif;
  font-size: 34px;
  letter-spacing: .2px;
}
.subtitle{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.bio{
  margin: 14px auto 14px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
}

.social{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:center;
  margin: 14px 0 6px;
}
.social-link{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.social-link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
.social-link svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: .92;
}

.links{
  margin-top: 18px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.045));
  text-decoration:none;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.055));
  border-color: rgba(255,255,255,.18);
}

.btn-left{
  display:flex;
  flex-direction:column;
  min-width: 0;
}
.btn-title{
  font-weight: 700;
  font-size: 15px;
}
.btn-sub{
  margin-top: 3px;
  color: var(--muted2);
  font-size: 13px;
}

.btn-right{
  font-size: 18px;
  opacity: .9;
}

.footer{
  margin-top: auto;     /* empuja el footer al final */
  padding-top: 18px;    /* en vez de margin-top: 18px */
  text-align:center;
  color: var(--muted2);
  font-size: 13px;
  background: transparent;
  border: none;
  border-radius: 0;
}

@media (max-width: 420px){
  .wrap{ padding: 20px 0 34px; }
  .title h1{ font-size: 28px; }
  .avatar{ width: 92px; height: 92px; }
  .btn{ padding: 14px 14px; }
  .social-link{ padding: 9px 11px; font-size: 13px; }
}
