/* Reset y base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body,#root { height: 100%; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fondo desenfocado */
.page { position: relative; width: 90%; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.bg {
  position: absolute;
  inset: 0;
  background-image: url('https://source.unsplash.com/1600x1200/?dj,studio,music');
  background-size: cover;
  background-position: center;
  filter: blur(10px) saturate(1.05);
  transform: scale(1.06);
  z-index: 0;
}
.bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
  z-index: 1;
}

/* Card / panel central (glassmorphism) */
.card{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  padding: clamp(1rem, 3.5vw, 2.25rem);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  text-align: center;
}

/* Profile */
.profile { display: flex; gap: 1rem; align-items: center; flex-direction: column; }
.avatar {
  width: clamp(84px, 14vw, 128px);
  height: clamp(84px, 14vw, 128px);
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.03);
}
.name {
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0.4rem;
  color: #ff2b2b; /* acento */
  /* textura sutil usando background-clip similar al diseño anterior */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06) 0.6px, transparent 1px),
    linear-gradient(90deg, #ff2b2b, #ff4b6b);
  background-size: 6px 6px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.bio { color: rgba(255,255,255,0.92); font-size: 0.95rem; margin-top: 0.15rem; }

/* Links (botones) */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}
.link-btn{
  width: 100%;
  max-width: 560px;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: center;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.link-btn .icon{
  width: 20px; height: 20px;
  color: #ffcccb;
  flex: 0 0 20px;
}
.link-btn:hover, .link-btn:focus{
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.55);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  outline: none;
}

/* Footer redes */
.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.15rem;
  font-size: 12px;
}
.social{
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: transform .12s ease, background .12s ease;
}
.social svg{ width: 18px; height: 18px; }
.social:hover, .social:focus{ transform: translateY(-4px); background: rgba(255,255,255,0.05); }

/* Responsive tweaks */
@media (max-width: 520px){
  .page { width: 100%;}
  .card{ padding: 1rem; border-radius: 12px; }
  .link-btn { padding: 0.9rem; font-size: 0.95rem; border-radius: 10px; }
  .social { width: 40px; height: 40px; }
}

/* Accessibility: focus states */
a:focus{
  box-shadow: 0 0 0 3px rgba(255,43,43,0.18);
  outline: none;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  * { transition: none !important; animation: none !important; }
}