/* Copyright (c) 2026 TachyonDev, LLC. All rights reserved. Proprietary — see LICENSE. */
/* The game's title screen (godot/title.gd): solid black, the name in the
   title's monospace and spacing, the turning octahedron, the copyright at
   the foot, in the title's INK, DIM and FAINT. */
:root {
  --ink: #d8d3bc;
  --dim: #776f5c;
  --faint: #55503f;
  --mono: "Courier New", "Liberation Mono", "DejaVu Sans Mono", monospace;
}
html, body {
  margin: 0;
  height: 100%;
  background: #000;
  color: var(--dim);
  font-family: var(--mono);
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
h1 {
  margin: 0 0 1.6rem;
  color: var(--ink);
  font-size: 1.9rem;
  font-weight: normal;
  letter-spacing: 0.35rem;
  /* The spacing trails the last glyph; this centres the word. */
  margin-right: -0.35rem;
}
/* A square on its corner turned about the vertical once in 2.4 s
   (title.gd _draw_spin). */
.octa {
  width: 1rem;
  height: 1rem;
  perspective: 40rem;
}
.octa svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--dim);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  animation: turn 2.4s linear infinite;
}
@keyframes turn {
  to { transform: rotateY(1turn); }
}
@media (prefers-reduced-motion: reduce) {
  .octa svg { animation: none; }
}
.note {
  margin: 1.4rem 0 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.15rem;
}
button {
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--faint);
  background: none;
  color: var(--dim);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
button:hover, button:focus-visible, button[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
  outline: none;
}
.faint {
  margin: 0.6rem 0 0;
  color: var(--faint);
  font-size: 0.7rem;
}
footer {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  color: var(--faint);
  font-size: 0.7rem;
}
