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

body {
  background-image: url('../img/flow.png'); 
  /* background-size: cover; */
  
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: center; /* centra horizontalmente */
}

.container {
  max-width: 1024px; /* ancho fijo */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* HEADER */
header {
  font-size: 25px;
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.minipills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.minipills .pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--glass);
  font-size: 12px;
  color: var(--muted);
}

/* PANELES */
.panel {
  background: rgba(2, 2, 2, 0.792);
  border-radius: 10px;
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(4, 4, 4, 0.6);
  backdrop-filter: blur(6px);
}

/* MAIN COLUMN */
.main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* HERO */
.hero {
  display: block;
  position: relative;
}

.avatar {
  float: left;
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.064);
  overflow: hidden;
  margin-right: 14px;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero h1 {
  margin: 0;
  font-family: "CaskaydiaCove Nerd Font Mono";
  font-size: 20px;
  color: var(--fg);
  letter-spacing: 1px;
}

.hero p {
  margin: 6px 0 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero ul {
  color: var(--muted);
  font-size: 14px;
  margin-left: 20px;
}

/* small floating tags */
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.segmentstitles {
  color: white;
  font-size: 20px;
  font-family: "CaskaydiaCove Nerd Font Mono";
  margin: 0 0 8px 0;
}

/* SIDEBAR */
.sidebar {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* MINI NAV */
.mini-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  font-size: 13px;
}

.mini-nav a:hover {
  color: var(--fg);
  transform: translateX(6px);
}

/* TERMINAL MR ROBOT */
.terminal {
  font-family: var(--mono);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(255, 255, 255, 0.02));
  color: #ffffff;
  padding: 12px;
  border-radius: 10px;
  min-height: 120px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 200, 0.04);
}

.term-head {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
}

.term-head .lights {
  display: flex;
  gap: 6px;
}

.light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.l-red { background: #ff6157; box-shadow: 0 0 6px rgba(255, 97, 87, 0.14); }
.l-yellow { background: #ffbf00; }
.l-green { background: #00d26a; }

.term-body {
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
  margin-bottom: 12px;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  margin-left: 6px;
  animation: blink 1s steps(2) infinite;
}

#cmd-line {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 13px;
  min-width: 20px;
  display: inline-block;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* CONTENEDOR PRINCIPAL */
.content-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Footer */
footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.834);
  font-size: 12px;
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .content-wrapper { flex-direction: column; }
  .sidebar { width: 100%; }
  .hero { flex-direction: column; align-items: flex-start; }
  .panel { flex-direction: column; }
  .container { flex-direction: column; }
}


.gobackbutton {
  text-decoration: none; 
  color: var(--fg); 
  cursor: pointer;  

}

.navigationlinks {
  text-decoration: none;
  color: var(--fg);
}

