


:root {
  --bg: #0a0a0f;
  --card: #111218;
  
  /* Colores RGB */
  --accent1: #ff3bff;
  --accent2: #37e3ff;
  --accent3: #6dff6b;
  
  --muted: #b7bcc3;
}

/* === FONDO RGB SUAVE === */
body {
  background: linear-gradient(135deg,
    rgba(255, 0, 255, 0.08),
    rgba(0, 255, 255, 0.08),
    rgba(0, 255, 127, 0.08)
  );
  background-size: 300% 300%;
  animation: rgbMove 12s ease infinite;
}

/* === HEADER CON LINEA RGB === */
header {
  background: var(--card);
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(
    90deg,
    var(--accent1),
    var(--accent2),
    var(--accent3)
  ) 1;
}

/* === TITULO RGB === */
header h1 {
  background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* === TARJETAS CON BORDE NEON === */
aside, .perfil {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 0 12px rgba(0,0,0,0.6),
              0 0 18px rgba(0,255,255,0.05);
  transition: 0.25s ease;
}

aside:hover, .perfil:hover {
  box-shadow: 0 0 18px rgba(0,255,255,0.25),
              0 0 24px rgba(255,0,255,0.25);
}

/* === DATOS CON ACENTO RGB === */
.dato {
  border-left: 3px solid var(--accent2);
  background: rgba(255,255,255,0.04);
  transition: 0.2s ease;
}
  background: rgba(255,255,255,0.08);
  border-left-color: var(--accent3);
}

/* === ANIMACIÓN RGB GLOBAL === */
@keyframes rgbMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
      }
      }
        body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: var(--bg);
      color: #eaf7f0;
    }
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: var(--card);
      padding: 12px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 1000;
    }
    header h1 {
      margin: 0;
      font-size: 18px;
      color: var(--accent);
    }
    nav a {
      margin-left: 16px;
      color: var(--muted);
      text-decoration: none;
      font-weight: 500;
    }
    .layout {
      display: grid;
      grid-template-columns: 220px 1fr 220px;
      gap: 18px;
      padding: 100px 24px 24px;
    }
    aside {
      background: var(--card);
      padding: 12px;
      border-radius: 8px;
    }
    .perfil {
      background: var(--card);
      border-radius: 12px;
      overflow: hidden;
    }
    .portada {
      height: 180px;
      background: url('https://i.imgur.com/3ZQ3Z3Z.jpg') center/cover;
      position: relative;
    }
    .foto-perfil {
      position: absolute;
      bottom: -40px;
      left: 24px;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 4px solid var(--card);
      background: url('https://i.imgur.com/1X1X1X1.jpg') center/cover;
    }
    .info {
      padding: 60px 24px 24px;
    }
    .info h2 {
      margin: 0;
      font-size: 22px;
    }
    .info p {
      margin: 6px 0;
      color: var(--muted);
    }
    .datos {
      margin-top: 12px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .dato {
      background: rgba(255,255,255,0.03);
      padding: 10px;
      border-radius: 8px;
      font-size: 14px;
    }
    @media (max-width: 768px) {
      .layout {
        grid-template-columns: 1fr;
      }
      aside {
        display: none;
      }
      .datos {
        grid-template-columns: 1fr;
      }
    }
