:root{
  --bg: #0c0c0e;
  --panel: #111215;
  --text: #d9e6ee;
  --muted: #9aa4ad;
  --accent: #ff8c42;
  --border-subtle: rgba(255,255,255,0.04);
  --glass: rgba(255,255,255,0.02);
  --mono: 'Courier New', Courier, monospace;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg,var(--bg), #070708);
  color:var(--text);
  padding:20px;
}

.seccion {
  display: none;
  padding: 18px;
  font-family: var(--mono);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  border-radius:10px;
  border: 0.5px solid var(--border-subtle);
}

.seccion.activo {
  display: block;
}

nav .nav-btn {
  background-color: #ffffff;
  color: var(--accent);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  cursor: pointer;
  font-family: inherit;
  border-radius:8px;
  transition: background .12s ease, transform .06s ease, box-shadow .12s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
nav .nav-btn:hover{
  background: linear-gradient(180deg, #ffffff, #f6f6f6);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
}

.btn-itch{
  display:inline-block;
  background: linear-gradient(180deg,var(--accent), #e07a34);
  color:#071018;
  padding:8px 14px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.caja-codigo {
  background-color: #071214;
  border: 0.5px solid rgba(255,255,255,0.03);
  padding: 14px;
  color: #9ff59f;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre;
  font-family: var(--mono);
  font-size: 0.95rem;
}

h1 {
  color: var(--text);
  margin: 0 0 8px 0;
}

a { color: var(--accent); text-decoration:none }
a:hover{ text-decoration:underline }

.lightner-preview {
  margin-top: 12px;
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  padding: 10px;
  border-radius: 8px;
  border: 0.5px solid var(--border-subtle);
  max-width: 720px;
}
.lightner-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important }
}
