/* ÆYER — aeyer.io
   cyberpunk minimalist terminal. crt scanlines + phosphor glow. */

:root {
  --bg: #0a0e0a;
  --fg: #c8e6c8;
  --fg-bright: #d4ffd4;
  --fg-dim: #8eb88e;
  --fg-muted: #6b9a6b;
  --fg-faint: #2a3a2a;
  --glow: rgba(180, 255, 180, 0.35);
  --glow-strong: rgba(150, 255, 150, 0.6);
  --hover-bg: rgba(120, 255, 120, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 0 2px var(--glow);
  -webkit-font-smoothing: antialiased;
}

/* CRT scanlines + drifting phosphor band over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.18) 0px,
    rgba(0,0,0,0.18) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 100;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(120,255,120,0.04) 50%,
    transparent 100%
  );
  pointer-events: none;
  animation: drift 8s linear infinite;
  z-index: 101;
}
@keyframes drift {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .cursor { animation: none; opacity: 1; }
}

.term {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.wordmark-ascii {
  color: var(--fg-bright);
  font-size: 11px;
  line-height: 1.1;
  white-space: pre;
  margin: 0 0 1.75rem;
  text-shadow: 0 0 4px var(--glow-strong), 0 0 12px rgba(80, 200, 80, 0.3);
  overflow-x: auto;
}

.wordmark-text {
  display: none;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--fg-bright);
  text-shadow: 0 0 6px var(--glow-strong), 0 0 16px rgba(80, 200, 80, 0.4);
  margin: 0 0 1.5rem;
}

/* mobile: swap ASCII for clean wordmark */
@media (max-width: 600px) {
  .wordmark-ascii { display: none; }
  .wordmark-text { display: block; }
  .term { padding: 2rem 1.25rem 3rem; }
  body { font-size: 13px; }
}

.meta {
  color: var(--fg-muted);
  margin: 0 0 2rem;
  font-size: 13px;
}
.meta span { color: var(--fg); }

section { margin-bottom: 1.5rem; }

.cmd { margin: 1.25rem 0 0.5rem; }
.prompt { color: var(--fg-muted); }
.cmd-text { color: var(--fg-bright); }

.output {
  padding-left: 2ch;
  color: var(--fg-dim);
  font-size: 13px;
}

/* release listing — ls -la style */
.release-list { font-size: 13px; }
.release-row {
  display: grid;
  grid-template-columns: 12ch 6ch 11ch 1fr;
  gap: 12px;
  padding: 2px 0;
  align-items: baseline;
}
.release-row:hover { background: var(--hover-bg); }
.release-perm  { color: var(--fg-muted); }
.release-plays { color: var(--fg-dim); text-align: right; }
.release-date  { color: var(--fg-muted); }
.release-name  { color: var(--fg-bright); }

@media (max-width: 600px) {
  .release-row {
    grid-template-columns: 8ch 1fr;
    gap: 8px;
  }
  .release-perm, .release-plays { display: none; }
}

/* link list */
.link-list {
  padding-left: 2ch;
  font-size: 13px;
}
.link-list .row {
  display: flex;
  gap: 1ch;
  padding: 1px 0;
}
.link-list .label { color: var(--fg-muted); min-width: 13ch; }

a.link {
  color: var(--fg-bright);
  text-decoration: none;
  border-bottom: 1px dashed rgba(180, 255, 180, 0.3);
  transition: all 0.15s;
}
a.link:hover,
a.link:focus {
  color: #ffffff;
  border-bottom-color: var(--fg-bright);
  background: var(--hover-bg);
  outline: none;
}

/* blinking cursor */
.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--fg-bright);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
  box-shadow: 0 0 6px var(--glow);
}
@keyframes blink { 50% { opacity: 0; } }
