/* terminal vibe: green on black — extended and responsive */
:root {
  --bg: #000;
  --fg: #b6ff9b;      /* soft neon green */
  --fg-dim: #3cff00;  /* brighter accent */
  --muted: #6fbf6f;
  --border: #103510;
  --shadow: 0 0 18px rgba(60, 255, 0, 0.08);
  --radius: 12px;
  --glass: rgba(16, 53, 16, 0.12);
  --glass-strong: rgba(16, 53, 16, 0.28);
}

/* baseline */
* { box-sizing: border-box; }
html, body { height: 100%; }
body.term {
  margin: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, var(--bg) 60%);
  color: var(--fg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 1.6;
  text-shadow: var(--shadow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* layout */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* header + nav */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dotted var(--border);
  padding-bottom: 12px;
  gap: 12px;
}

.brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 1.25rem;
}

.dim { color: var(--muted); }

.cursor {
  display: inline-block;
  width: 0.72ch;
  overflow: hidden;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

/* nav links inline on desktop, stacked on mobile */
.nav { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.nav .link {
  padding: 6px 10px;
  border: 1px dotted var(--border);
  border-radius: 8px;
  font-size: .9rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.12));
  transition: transform .08s ease, box-shadow .08s ease, background .12s;
}
.nav .link:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--glass-strong); }
/* subtle "coming soon" pill */
.nav .coming-soon {
  position: relative;
  --badge: #ffb86b;
}
.nav .coming-soon::after {
  content: "soon";
  font-size: .65rem;
  color: #111;
  background: #ffd27a;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 8px;
  position: absolute;
  right: -34px;
  top: 4px;
  transform: translateX(0);
  opacity: 1;
  border: 1px solid rgba(0,0,0,0.12);
}

/* content */
.content { padding-top: 18px; }

.center { text-align: center; }
.center-inner { max-width: 760px; margin: 0 auto; }

/* spacing helpers */
.mt { margin-top: 10px; }
.mt-lg { margin-top: 24px; }
.small { font-size: .9rem; }

/* call-to-action row */
.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  color: var(--fg);
  font-weight: 600;
}
.btn.ghost { background: transparent; border-style: dashed; }
.btn:hover {
  background: var(--glass-strong);
  text-decoration: none;
  transform: translateY(-3px);
  transition: transform .12s ease;
}

/* footer */
.footer {
  margin-top: 36px;
  border-top: 1px dotted var(--border);
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* scanline effect */
.scanline {
  position: relative;
  overflow: hidden;
}
.scanline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(60,255,0,0.03),
    rgba(60,255,0,0.03) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

/* accent color */
.accent { color: var(--fg-dim); font-weight:700; }

/* small responsive tweaks */
@media (max-width: 700px) {
  .wrap { padding: 14px; }
  .brand { font-size: 1.05rem; }
  .nav { gap: 8px; }
  .nav .coming-soon::after { display:none; } /* keep small screens uncluttered */
  .nav .link { font-size: .85rem; padding: 8px 10px; }
  .cta-row { flex-direction: column; gap: 10px; }
  .header { flex-direction: column; align-items: start; gap: 12px; }
  .center-inner { padding: 18px 4px; }
}

/* micro glitch text effect for fun (low intensity) */
@keyframes microglitch {
  0% { text-shadow: 0 0 6px rgba(60,255,0,0.06); transform: translateX(0) }
  50% { text-shadow: 0 0 12px rgba(60,255,0,0.12); transform: translateX(.6px) }
  100% { text-shadow: 0 0 6px rgba(60,255,0,0.06); transform: translateX(0) }
}
.brand { animation: microglitch 6s linear infinite; }

/* accessible focus styles */
a:focus, .btn:focus {
  outline: 2px dashed rgba(60,255,0,0.2);
  outline-offset: 3px;
  border-radius: 8px;
}
