/* Nebula Systems — LinkStack theme
   Basado en nebula-ghost-theme/assets/css/screen.css
*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
}
.column { width: 100%; box-sizing: border-box; }

@media (min-width: 400px) { .container { width: 85%; padding: 0; } }
@media (min-width: 550px) {
  .container { width: 80%; }
  .column, .columns { margin-left: 0; }
  .column:first-child, .columns:first-child { margin-left: 0; }
}


/* Fondo — mismo que body + ::before/::after del Ghost theme
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
  min-height: 100vh;
  font-family: var(--font-family) !important;
  background-color: var(--background-color);
  color: var(--title-color);
  font-size: var(--font-size);
  line-height: 1.7;
  font-weight: 400;
}

/* Glow azul arriba-derecha — copia de body::before en screen.css */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(ellipse, rgba(0, 157, 255, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Glow magenta abajo-izquierda — copia de body::after en screen.css */
body::after {
  content: '';
  position: fixed;
  bottom: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(ellipse, rgba(191, 0, 255, 0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}


/* Tipografía — .nb-hero-title y .nb-article-title del Ghost theme
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
  font-size: 1.9em;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #fff 30%, var(--nb-primary-light, #48b9ff) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  color: var(--description-color);
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 10px;
}

a {
  color: var(--nb-primary, #009dff);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--nb-primary-light, #48b9ff); }

.spacing { padding: 0 10px; padding-top: 50px; }


/* Separadores — --nb-border del Ghost theme */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

code {
  font-size: 0.82em;
  background: rgba(0, 157, 255, 0.10);
  color: var(--nb-primary-light, #48b9ff);
  padding: 0.15em 0.45em;
  border-radius: 5px;
  border: 1px solid rgba(0, 157, 255, 0.18);
}
pre > code { display: block; padding: 1rem 1.5rem; white-space: pre; }


/* Utilidades
–––––––––––––––––––––––––––––––––––––––––––––––––– */
* { -ms-overflow-style: none; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

button { margin-bottom: 1rem; display: block !important; }
.button { margin-bottom: 10px; }
input, textarea, select, fieldset { margin-bottom: 1.5rem; }
pre, blockquote, dl, figure, p, ol { margin-bottom: 2.5rem; }

.u-full-width     { width: 100%; box-sizing: border-box; }
.u-max-full-width { max-width: 100%; box-sizing: border-box; }
.u-pull-right     { float: right; }
.u-pull-left      { float: left; }


/* Credit footer — --nb-text-muted del Ghost theme */
.credit-txt {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.credit-icon   { display: none; }
.credit-footer { position: relative; right: 15px; }
.credit-txt-clr { color: var(--footer-text-color) !important; }
