*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 50% -20%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(900px 500px at 30% 110%, rgba(0,0,0,.25), transparent 55%),
    #0b0f1a;
  color:#fff;
  display:grid;
  place-items:center;
  padding:18px;
}

.wrap{ width:min(520px, 100%); }

.card{
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  background: none; /* 🔥 quitamos el gris */
}


/* TOP cover = logo background */
.top-cover{
  position:relative;
  height: 190px;
  background: rgba(255,255,255,.05);
  background-size: cover;
  background-position: center;
}
.top-cover__fade{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.75));
}

/* fallback si no hay logo */
.top-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}
.top-fallback__letter{
  width: 86px;
  height: 86px;
  border-radius: 24px;
  display:grid;
  place-items:center;
  font-weight: 950;
  font-size: 42px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}

/* Profile */
.profile{
  padding: 14px 18px 6px;
  text-align:center;
}

.name{
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.7px;
  line-height: 1.1;
}

.bio{
  margin: 10px auto 10px;
  max-width: 440px;
  font-size: 13px;
  opacity:.82;
  line-height: 1.45;
  white-space: pre-line;
}

/* Social row */
.socials{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 8px 0 12px;
}

.social{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  text-decoration:none;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}

/* icon */
.social svg{
  width:18px;
  height:18px;
  stroke: currentColor;
  fill: none;
  stroke-width:2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Brand colors */
.social{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}
.social:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
  background: rgba(255,255,255,.10);
}

.social[data-type="whatsapp"]{
  background: rgba(37, 211, 102, .16);
  border: 1px solid rgba(37, 211, 102, .28);
  color: rgba(37, 211, 102, .95);
}
.social[data-type="whatsapp"]:hover{ background: rgba(37, 211, 102, .22); }

.social[data-type="instagram"]{
  background: rgba(225, 48, 108, .16);
  border: 1px solid rgba(225, 48, 108, .28);
  color: rgba(225, 48, 108, .95);
}
.social[data-type="instagram"]:hover{ background: rgba(225, 48, 108, .22); }

.social[data-type="facebook"]{
  background: rgba(24, 119, 242, .16);
  border: 1px solid rgba(24, 119, 242, .28);
  color: rgba(24, 119, 242, .95);
}
.social[data-type="facebook"]:hover{ background: rgba(24, 119, 242, .22); }

.social[data-type="youtube"]{
  background: rgba(255, 0, 0, .16);
  border: 1px solid rgba(255, 0, 0, .28);
  color: rgba(255, 70, 70, .98);
}
.social[data-type="youtube"]:hover{ background: rgba(255, 0, 0, .22); }

.social[data-type="linkedin"]{
  background: rgba(10, 102, 194, .16);
  border: 1px solid rgba(10, 102, 194, .28);
  color: rgba(10, 102, 194, .98);
}
.social[data-type="linkedin"]:hover{ background: rgba(10, 102, 194, .22); }

.social[data-type="email"]{
  background: rgba(250, 204, 21, .14);
  border: 1px solid rgba(250, 204, 21, .26);
  color: rgba(250, 204, 21, .95);
}
.social[data-type="email"]:hover{ background: rgba(250, 204, 21, .20); }

/* X / Twitter / TikTok neutros */
.social[data-type="x"],
.social[data-type="twitter"],
.social[data-type="tiktok"]{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
}
.social[data-type="x"]:hover,
.social[data-type="twitter"]:hover,
.social[data-type="tiktok"]:hover{
  background: rgba(255,255,255,.14);
}

/* Links */
.links{
  padding: 6px 16px 14px;
  display:grid;
  gap: 10px;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 650;
  color: rgba(0,0,0,.92);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.60);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.btn__txt{ padding: 0 14px; }

/* Bottom cover = bg */
.bottom-cover{
  position:relative;
  height: 140px;
  background: rgba(255,255,255,.04);
  background-size: cover;
  background-position: center;
}
.bottom-cover__fade{
  position:absolute;
  inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.20), rgba(0,0,0,.70));
}

.foot{
  text-align:center;
  margin-top: 12px;
  font-size: 12px;
  opacity:.6;
}

/* Responsive */
@media (max-width: 420px){
  .top-cover{ height: 170px; }
  .bottom-cover{ height: 120px; }
  .name{ font-size: 24px; }
}
.content{
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}
.profile{
  padding: 14px 18px 6px;
}
.links{
  padding: 6px 16px 14px;
}
