/* ============================================
   Theme — Archivo de Viajes
   Variables, reset, nav, tipografía compartida
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #1a1a2e;
  --bg-card: #16213e;
  --bg-player: #0f3460;
  --accent: #e94560;
  --accent-light: #f07b8d;
  --text: #eaeaea;
  --text-muted: #8b8fa3;
  --text-dim: #5c6078;
  --border: #2a2d45;
  --success: #4ecca3;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* Nav compartida */
nav {
  background: linear-gradient(135deg, var(--bg-player) 0%, var(--bg-card) 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

nav h1 { font-size: 1.15rem; font-weight: 600; white-space: nowrap; }

nav .links { display: flex; gap: 12px; margin-left: auto; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover, nav a.active { background: var(--accent); color: #fff; }

/* Utility */
.hidden { display: none !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
