@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Poppins:wght@400;500;600&display=swap');

:root{
  --from: #5b2a86;
  --to: #1c0f33;
  --accent: #ffb703;
  --card: #ffffff;
  --text: #241a2e;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  min-height:100vh;
  font-family:'Poppins', sans-serif;
  color:#fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(255,255,255,.10), transparent 45%),
    linear-gradient(160deg, var(--from), var(--to));
  background-attachment: fixed;
  display:flex;
  justify-content:center;
  padding: 48px 16px 80px;
  position:relative;
  overflow-x:hidden;
}

/* Formas flotantes decorativas tipo "gamificación" */
body::before, body::after{
  content:"";
  position:fixed;
  border-radius:50%;
  filter: blur(2px);
  opacity:.18;
  z-index:0;
}
body::before{
  width:220px; height:220px;
  background:var(--accent);
  top:-60px; left:-60px;
}
body::after{
  width:280px; height:280px;
  background:#fff;
  bottom:-100px; right:-80px;
}

.wrap{
  width:100%;
  max-width:480px;
  position:relative;
  z-index:1;
  text-align:center;
}

.avatar{
  width:104px; height:104px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid rgba(255,255,255,.85);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  background:#fff;
}
.avatar-fallback{
  width:104px; height:104px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto;
  font-size:42px;
  background:linear-gradient(135deg, var(--accent), #fff2);
  border:4px solid rgba(255,255,255,.85);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}

h1.site-name{
  font-family:'Fredoka', sans-serif;
  font-size:26px;
  font-weight:700;
  margin:18px 0 4px;
  letter-spacing:.3px;
}

.tagline{
  font-size:15px;
  font-weight:600;
  color:var(--accent);
  margin:0 0 10px;
}

.bio{
  font-size:14px;
  line-height:1.5;
  color:rgba(255,255,255,.85);
  margin:0 auto 22px;
  max-width:340px;
}

.socials{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-bottom:28px;
  flex-wrap:wrap;
}
.socials a{
  width:42px; height:42px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  transition:.2s ease;
  backdrop-filter: blur(4px);
}
.socials a:hover{
  background:var(--accent);
  color:#1c0f33;
  transform:translateY(-3px);
}
.socials svg{ width:19px; height:19px; fill:currentColor; }

.links{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.link-btn{
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--card);
  color:var(--text);
  text-decoration:none;
  padding:16px 20px;
  border-radius:16px;
  font-weight:600;
  font-size:15px;
  box-shadow:0 6px 18px rgba(0,0,0,.20);
  border:2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position:relative;
}
.link-btn:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow:0 12px 24px rgba(0,0,0,.28);
  border-color: var(--accent);
}
.link-btn .icon{
  font-size:22px;
  width:32px;
  text-align:center;
  flex-shrink:0;
}
.link-btn .title{
  flex:1;
  text-align:left;
}
.link-btn .arrow{
  opacity:.4;
  font-size:16px;
}

.style-pill .link-btn{ border-radius:999px; }
.style-square .link-btn{ border-radius:10px; }
.style-soft .link-btn{ border-radius:22px; }

footer.watermark{
  margin-top:38px;
  font-size:12px;
  color:rgba(255,255,255,.55);
}
footer.watermark a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
  font-weight:600;
}

.empty-state{
  background:rgba(255,255,255,.1);
  border:1px dashed rgba(255,255,255,.35);
  border-radius:16px;
  padding:26px;
  font-size:14px;
  color:rgba(255,255,255,.8);
}

.back-link{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:rgba(255,255,255,.85);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  margin-bottom:18px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
}
.back-link:hover{ background:rgba(255,255,255,.2); }

.password-gate{
  margin-top:26px;
  max-width:320px;
  margin-left:auto;
  margin-right:auto;
}
.password-gate form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.password-gate input[type="password"]{
  padding:14px 16px;
  border-radius:14px;
  border:none;
  font-size:15px;
  font-family:inherit;
  text-align:center;
  background:rgba(255,255,255,.92);
  color:var(--text);
}
.password-gate input[type="password"]:focus{ outline:2px solid var(--accent); }
.btn-unlock{
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-weight:700;
  font-size:15px;
  padding:14px 16px;
  border-radius:14px;
  background:var(--accent);
  color:#1c0f33;
  transition:transform .15s ease;
}
.btn-unlock:hover{ transform:translateY(-2px); }
.gate-error{
  background:rgba(229,72,77,.18);
  border:1px solid rgba(229,72,77,.4);
  color:#fff;
  font-size:13px;
  font-weight:600;
  padding:10px 14px;
  border-radius:12px;
  margin:0 0 12px;
}

@media (max-width:380px){
  h1.site-name{ font-size:22px; }
  .link-btn{ padding:14px 16px; }
}
