/* chiptrack landing — CRT cartridge aesthetic, Clayground palette */

:root {
  --bg:    #0a0d12;
  --panel: #14181f;
  --line:  #1f2731;
  --cyan:  #00d9ff;
  --teal:  #0f9d9a;
  --pink:  #ff3366;
  --gold:  #ffd93d;
  --ink:   #d8e2ee;
  --dim:   #6f7d90;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.5;
}

/* --- CRT scanlines + soft vignette ---------------------------------------- */

.crt {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(0,217,255,0.05), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(255,51,102,0.04), transparent 50%),
    var(--bg);
  overflow: hidden;
}

.crt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* --- cartridge panel ------------------------------------------------------ */

.cartridge {
  width: min(560px, 100%);
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 36px 32px 28px;
  box-shadow:
    0 0 0 1px rgba(0,217,255,0.05),
    0 30px 60px -20px rgba(0,0,0,0.7);
  position: relative;
}

.cartridge::after {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 6px;
  background: var(--line);
  border-radius: 0 0 4px 4px;
}

/* --- hero ----------------------------------------------------------------- */

.hero { text-align: center; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--dim);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.led {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.led--cyan { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.led--pink { background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.led--gold { background: var(--gold); box-shadow: 0 0 6px var(--gold); }

.wordmark {
  margin: 0;
  font-size: clamp(40px, 9vw, 64px);
  letter-spacing: 0.12em;
  font-weight: 800;
  background: linear-gradient(180deg, var(--cyan), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(0,217,255,0.25);
}

.tagline {
  margin: 8px 0 0;
  color: var(--ink);
  opacity: 0.8;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* --- launch button -------------------------------------------------------- */

.launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px auto 24px;
  padding: 18px 28px;
  width: 100%;
  text-decoration: none;
  background: linear-gradient(180deg, var(--pink), #cc1f4c);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2em;
  border: 2px solid #ff5c84;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(255,51,102,0.4),
    0 0 24px -4px rgba(255,51,102,0.6),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 80ms ease, box-shadow 200ms ease;
}

.launch:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,51,102,0.6),
    0 0 32px -2px rgba(255,51,102,0.8),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.launch:active { transform: translateY(1px); }

.launch-arrow { font-size: 14px; color: var(--gold); }
.launch-label { }

/* --- "Built with" line ---------------------------------------------------- */

.built-with {
  margin: -8px 0 24px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.built-with a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dotted var(--cyan);
}

.built-with a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.built-with-sub { opacity: 0.75; }

/* --- features ------------------------------------------------------------- */

.features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 13px;
  color: var(--ink);
}

.features li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.features li:last-child { border-bottom: 0; }

.bullet { color: var(--cyan); margin-right: 10px; }

kbd {
  display: inline-block;
  padding: 1px 6px;
  font-size: 11px;
  font-family: inherit;
  color: var(--gold);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* --- footer --------------------------------------------------------------- */

.meta {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.meta a {
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--dim);
}

.meta a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.dot { margin: 0 8px; opacity: 0.5; }
