/* Fondo de la web con portada.GIF */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  width: 100vw;
  min-height: 100vh;
}

body {
  background: url('Recursos/portada.GIF') no-repeat center center fixed;
  background-size: cover;
}

/* Profile card */
.profile-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(25,25,30,0.65);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.55);
  padding: 2.5rem 3.5rem;
  min-width: 340px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Marco GIF como fondo del avatar */
.avatar-frame {
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
  width: 140px;
  height: 140px;
}

.avatar-gif,
.marco-gif {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* Así quedan uno encima del otro, perfectamente centrados */
}

.avatar-gif {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  border: 3px solid #fff3;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.3);
  background: #181825;
}

.marco-gif {
  width: 250px;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  /* Puedes animar el marco agregando más estilos aquí */
}


/* Efecto Glow en el nombre */
h1 {
  font-size: 2.3rem;
  letter-spacing: 2px;
  margin: 0.5rem 0 0.6rem 0;
  font-weight: 700;
  text-shadow:
    0 0 8px #fff,
    0 0 16px #b54cff,
    0 0 40px #b54cff;
  filter: blur(0.2px);
  position: relative;
}

/* Partículas debajo del nombre */
.name-sparkles {
  width: 120px; height: 22px;
  margin: 0 auto 10px auto;
  background: url('Recursos/portada.GIF') center/contain no-repeat;
  /* Si tienes otro gif de sparkles ponlo aquí */
}

/* Más estilos del card */
.desc {
  font-size: 1.09rem;
  color: #c7c7e1;
  margin-bottom: 1rem;
}
.location {
  color: #d1a4ff;
  font-size: 1rem;
  margin-bottom: 1.3rem;
}
.social-icons {
  margin-top: 1.2rem;
  font-size: 2.1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-icons a {
  color: #fff;
  opacity: 0.85;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
}
.social-icons a:hover {
  color: #ff6fda;
  transform: scale(1.13) rotate(-6deg);
}

/* Botón mute */
#mute-btn {
  position: fixed;
  top: 1.3rem; right: 1.5rem;
  background: rgba(30,30,35,0.75);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 25px;
  padding: 0.3rem 1.1rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
}
#mute-btn:hover {
  background: #25174a;
}

@media (max-width: 600px) {
  .profile-card { padding: 1.2rem 0.8rem; min-width: 0; width: 94vw;}
  h1 { font-size: 1.45rem; }
  .desc, .location { font-size: 1rem;}
  .avatar-frame { width: 90px; height: 90px;}
  .avatar-gif { width: 70px; height: 70px;}
  .marco-gif { width: 160px; height: 128px; }
  .social-icons { font-size: 1.3rem; gap: 12px;}
  .name-sparkles { width: 70px; height: 12px;}
}
