/* --- VARIABLES Y CONFIGURACIÓN GENERAL --- */
:root {
  --bg-color: #0f0c1b;         /* Fondo azul noche muy profundo */
  --card-bg: #1c1830;        /* Fondo de los cuadros */
  --accent-purple: #bfa2db;   /* Lavanda pastel */
  --accent-pink: #f7d6e0;     /* Rosa pastel */
  --text-color: #e2dcf2;      /* Texto principal */
  --text-muted: #a39bb8;      /* Texto secundario */
  --border-color: #3b335c;    /* Bordes sutiles */
}

body {
  background-image: url(''); /* Ruta a tu imagen */
  background-repeat: no-repeat;                     /* 'repeat' para patrones pequeños o 'no-repeat' */
  background-attachment: fixed;                  /* Deja el fondo fijo mientras haces scroll */
  background-position: center;
  background-size: cover;                        /* Usa 'cover' si es una sola imagen grande */

  color: var(--text-color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;

/* --- CONTENEDOR CENTRAL --- */
.site-container {
  max-width: 900px;
  margin: 0 auto;
}

/* --- ENCABEZADO --- */
.header {
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, #251e3e 0%, var(--card-bg) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
}

.header h1 {
  margin: 0;
  color: var(--accent-pink);
  font-size: 2.2rem;
  letter-spacing: 2px;
}

.subtitle {
  color: var(--accent-purple);
  margin-top: 5px;
  font-style: italic;
}

/* --- BARRA DE NAVEGACIÓN --- */
.navbar {
  display: flex;
  justify-content: center;
  gap: 15px;
  background-color: var(--card-bg);
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
}

.navbar a {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.navbar a:hover {
  background-color: var(--accent-purple);
  color: var(--bg-color);
}

/* --- MAQUETACIÓN DE COLUMNAS (FLEXBOX) --- */
.content-wrapper {
  display: flex;
  gap: 20px;
}

@media (max-width: 650px) {
  .content-wrapper {
    flex-direction: column;
  }
}

.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-content {
  flex: 2.5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- CUADROS Y CONTENEDORES --- */
.box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
}

.box h2, .box h3 {
  color: var(--accent-pink);
  margin-top: 0;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
}

.avatar-placeholder {
  font-size: 3rem;
  text-align: center;
  background: var(--bg-color);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin: 10px auto;
  border: 1px solid var(--accent-purple);
}

/* --- LISTAS --- */
ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* --- PIE DE PÁGINA --- */
.footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}