/* Minimal eerie styles */
:root { --fg:#e9e9e9; --bg:#000; --muted:#8b8b8b; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.6;
}
a { color: var(--fg); text-underline-offset: 3px; }
.container { max-width: 820px; margin: 0 auto; padding: 24px; }
.header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { font-weight:700; letter-spacing:.06em; color:var(--muted); }
hr { border: 0; border-top: 1px solid #222; margin: 24px 0; }
figure { margin: 0; }
img.responsive { width:100%; height:auto; display:block; border-radius: 6px; box-shadow: 0 0 40px rgba(255,255,255,0.03); }
.footer { margin-top: 40px; color: var(--muted); font-size: 14px; }
.subtle { color: var(--muted); }
.center { text-align:center; }
.codeblock {
  background: #0a0a0a;
  border: 1px solid #111;
  padding: 12px;
  border-radius: 6px;
  overflow:auto;
  font-size: 14px;
}
.small { font-size: 12px; color: var(--muted); }
.hidden { display:none; }
.fade-in { opacity: 0; transition: opacity 2.5s ease; }
.loaded .fade-in { opacity: 1; }
.btn {
  display:inline-block; padding:8px 12px; border:1px solid #222; border-radius:6px; text-decoration:none;
  background:#0a0a0a; transition: transform .08s ease;
}
.btn:active { transform: scale(0.98); }
.bottom-note { margin-top: 48px; font-size: 12px; color: #777; }

.rgb-glitch {
  position: relative;
}
.rgb-glitch::before,
.rgb-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  color: red;
  z-index: -1;
}
.rgb-glitch::after {
  color: cyan;
  left: 2px;
}
.flicker {
  animation: flicker 3s infinite;
}
@keyframes flicker {
  0%, 100%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0; }
}