/* ===== Paleta del juego ===== */
:root {
  --fondo: #0b0a0f;
  --fondo-2: #15131c;
  --texto: #e8e2d6;
  --texto-suave: #9c96a8;
  --matrix: #00ff41;
  --jade: #2ec4a6;
  --menta: #9ad9aa;
  --ancho: 900px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--fondo);
  color: var(--texto);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
}

section { scroll-margin-top: 80px; }

/* ===== Barra de navegación ===== */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(11, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2633;
}

.logo {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--texto);
  text-decoration: none;
}

nav a {
  margin-left: 1.5rem;
  color: var(--texto-suave);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--jade); }

/* ===== Portada ===== */
#portada {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: radial-gradient(circle at 50% 40%,
    rgba(0, 255, 65, 0.15) 0,
    rgba(0, 255, 65, 0.04) 25%,
    transparent 50%);
}

#portada h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.1em;
  text-shadow: 0 0 25px rgba(193, 18, 31, 0.7);
}

.gancho {
  margin-top: 1rem;
  max-width: 600px;
  color: var(--texto-suave);
  font-size: 1.15rem;
}

/* ===== Secciones ===== */
main section:not(#portada) {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 5rem 2rem;
}

h2 {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--menta);
}

/* ===== Devlog ===== */
/* ===== Devlog ===== */
article {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.5rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 255, 65, 0.15);
  border-radius: 10px;
  background: rgba(0, 255, 65, 0.03);
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.06);
}

article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(to right, rgba(0, 255, 65, 0.6), rgba(0, 255, 65, 0) 85%);
}

article time {
  display: inline-block;
  font-size: 0.8rem;
  color: #00ff41;
  background: rgba(0, 255, 65, 0.1);
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

article h3 { margin-bottom: 0.5rem; }

/* ===== Pie de página ===== */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--texto-suave);
  font-size: 0.85rem;
  border-top: 1px solid #2a2633;
}

/* ===== Celulares ===== */
@media (max-width: 600px) {
  header { flex-direction: column; gap: 0.5rem; }
  nav a { margin: 0 0.6rem; }
}