:root { --fg: #ffd84a; }

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--fg);
  background: #000; /* fallback while JS applies per-slide backgrounds */
}

/* Fullscreen canvas */
.ascii {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 0;
  white-space: pre;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--fg);
  text-shadow: 0 0 8px rgba(255, 216, 74, 0.2);
}

.ascii code {
  display: block;
}

.caption {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(255, 216, 74, 0.25);
  opacity: 0.9;
}

.x-link {
  position: fixed;
  top: 16px;
  right: 16px;
  text-decoration: none;
}

.x-ascii {
  margin: 0;
  color: var(--fg);
  line-height: 1;
  font-size: 10px;
  white-space: pre;
  opacity: 0.9;
}

.x-link:hover .x-ascii { opacity: 1; }

/* Intro overlay */
.intro {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  z-index: 10;
}

.address {
  position: fixed;
  top: 12px;
  left: 12px;
  color: var(--fg);
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.9;
  display: none;
  writing-mode: vertical-rl;
  text-orientation: upright;
  user-select: text;
  -webkit-user-select: text;
}

.intro-art {
  margin: 0;
  color: var(--fg);
  white-space: pre;
  line-height: 1.1;
  letter-spacing: 1px;
  text-align: center;
  font-size: clamp(16px, 6vw, 64px);
}

.proceed {
  margin: 24px 0 48px;
  padding: 10px 16px;
  background: transparent;
  color: var(--fg);
  border: 1px solid rgba(255, 216, 74, 0.6);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 2px;
}

.proceed:hover {
  border-color: var(--fg);
}


