/* Mini-Linktree - CSS maison (inspiré, pas copié) */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--font-1), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--txt);
  overflow-x:hidden;
}

.bg{
  position:fixed; inset:0;
  background: var(--bg);
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  z-index:-2;
}
.bg-overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,var(--bg-overlay));
}

.wrap{
  width:min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.profile{
  text-align:center;
  margin-bottom: 18px;
}

.avatar{
  width: 96px; height: 96px;
  border-radius: 999px;
  object-fit: cover;
  display:block;
  margin: 0 auto 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  background:#111;
}
.avatar--placeholder{background:#111}

h1{
  margin:0;
  font-size: 20px;
  font-weight: 700;
  color: var(--h1);
  letter-spacing: .2px;
}
.bio{
  margin: 10px auto 0;
  max-width: 52ch;
  font-family: var(--font-2), var(--font-1), sans-serif;
  font-size: 16px;
  line-height: 1.5;
  opacity: .95;
}

.social{
  display:flex;
  justify-content:center;
  gap: 14px;
  margin-top: 14px;
}
.social__a{
  width: 34px; height: 34px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  transition: transform .15s ease, background .15s ease;
}
.social__a:hover{transform: translateY(-1px); background: rgba(255,255,255,.13)}
.social svg{width:18px;height:18px; fill: #fff; opacity:.95}

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

.lt-btn{
  display:flex;
  align-items:center;
  gap: 12px;
  width:100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-txt);
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing:.15px;
  border: 1px solid rgba(255,255,255,.08);
}
.lt-btn .lt-btn__txt{flex:1}
.lt-btn--hover{
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.lt-btn--hover:hover{
  transform: translateY(-1px);
  filter: brightness(.97);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.lt-btn--thumb .thumb{
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 var(--thumb);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.lt-text{
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-2), var(--font-1), sans-serif;
  line-height: 1.5;
}

.embed{
  width:100%;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
}
.embed iframe{
  width:100%;
  aspect-ratio: 16/9;
  border:0;
  display:block;
}
.embed-filevideo video{
  width:100%;
  display:block;
}

.foot{
  text-align:center;
  margin-top: 22px;
  opacity: .75;
  font-size: 12px;
}
.adminlink{color: #fff; text-decoration:none; opacity:.75}
.adminlink:hover{opacity:1}

.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

@media (max-width: 420px){
  .wrap{width: calc(100% - 22px)}
  .lt-btn{padding: 13px 14px}
  .bio{font-size:15px}
}
