/* Fondo animado multicolor */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #b0eaff, #d4f7c5, #ffcdd2);
  background-size: 400% 400%;
  animation: fondoAnimado 15s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0; /* eliminamos padding-top porque el header ya lo ocupa */
}

@keyframes fondoAnimado {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header y navegación */
header {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* translúcido sobre fondo animado */
  color: white;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 10;
}

header h1 {
  font-size: 1.4em;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1em;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
}

nav a {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffeb3b;
}

/* Perfil */
.perfil {
  text-align: center;
  margin: 3em 0 2em 0;
}

.perfil img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.perfil h1 {
  margin: 0.5em 0 0.2em 0;
  color: white;
  font-size: 1.9em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.perfil p {
  color: white;
  font-weight: 500;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

/* Enlaces */
.links {
  width: 90%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.link {
  padding: 1em 1.2em;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.3s;
}

.link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Colores por plataforma */
.wattpad {
  background: #ff5722;
}

.tiktok {
  background: #1d1d1d;
}

.instagram {
  background: linear-gradient(135deg, #feda75, #d62976, #962fbf);
}

.correo {
  background: #4caf50;
}

.otros {
  background: #2196f3;
}

/* Footer */
footer {
  margin-top: 2.5em;
  color: white;
  font-size: 0.9em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
  padding-bottom: 2em;
}

/*
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fafafa;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2em;
}


header {
  width: 100%;
  background-color: #333;
  color: white;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
}

nav a {
  color: white;
  text-decoration: none;
}


.perfil {
  text-align: center;
  margin-bottom: 2em;
}

.perfil img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007BFF;
}

.perfil h1 {
  margin: 0.5em 0 0.2em 0;
  color: #333;
}

.perfil p {
  color: #555;
  margin: 0;
}


.links {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 90%;
  max-width: 400px;
}

.link {
  display: inline-block;
  margin-top: 1em;
  background: linear-gradient(135deg, #007BFF, #005dc1);
  color: white;
  padding: 0.75em 1.8em;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
  transition: all 0.3s ease;
}

.link:hover {
  background: linear-gradient(135deg, #005dc1, #004aad);
  box-shadow: 0 6px 10px rgba(0, 123, 255, 0.3);
  transform: translateY(-2px);
}


footer {
  margin-top: 2em;
  font-size: 0.9em;
  color: #aaa;
}
*/