:root {
  --bg: #050505;
  --panel: #101010;
  --line: #2eff7a;
  --line-soft: #84ffb2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--line);
  font-family: "Courier New", Courier, monospace;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 4px
  );
}

.retro-head,
.retro-main,
.retro-foot {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
}

.retro-head {
  border-bottom: 1px solid #1f5f36;
}

.sysline {
  margin: 0;
  color: var(--line-soft);
  font-size: 0.82rem;
}

h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.7rem, 5vw, 3rem);
}

.subtitle {
  margin: 0.2rem 0 0;
  color: var(--line-soft);
}

.actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.actions a {
  color: var(--line);
  border: 1px solid #1f5f36;
  background: #0c120d;
  padding: 0.4rem 0.6rem;
  text-decoration: none;
}

.actions a:hover {
  background: #132217;
}

.retro-main {
  display: grid;
  gap: 0.8rem;
}

.box {
  border: 1px solid #1f5f36;
  background: var(--panel);
  padding: 0.9rem;
}

.box h2 {
  margin-top: 0;
}

.box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.retro-foot {
  border-top: 1px solid #1f5f36;
  color: var(--line-soft);
  font-size: 0.88rem;
}

.tab,
#about {
  display: none;
}

.tab:target,
#about:target {
  display: contents;
}

.default-view {
  display: grid;
  gap: 0.8rem;
}

body:has(.tab:target) .default-view,
body:has(#about:target) .default-view {
  display: none;
}

.hq-launch {
  display: flex;
  justify-content: center;
  margin: 1.4rem 0;
}

.big-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  text-decoration: none;
  color: var(--line);
  background: #0c120d;
  border: 2px solid var(--line);
  padding: 1.4rem 2.4rem;
  min-width: 240px;
  font-family: inherit;
  letter-spacing: 0.05em;
  box-shadow: 0 0 0 2px #050505 inset, 0 0 12px rgba(46, 255, 122, 0.18);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.big-btn:hover,
.big-btn:focus-visible {
  background: #132217;
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px #050505 inset, 0 0 18px rgba(46, 255, 122, 0.35);
  outline: none;
}

.big-btn-title {
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.big-btn-divider {
  display: block;
  width: 70%;
  height: 1px;
  background: var(--line-soft);
  opacity: 0.7;
}

.big-btn-sub {
  font-size: 1rem;
  color: var(--line-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
