/* style.css : how the page looks. */

/* Colours we reuse everywhere, stored as "variables" */
:root {
  --bg: #16181d;        /* dark grey page background */
  --panel: #22252c;     /* slightly lighter card */
  --text: #e8e8e8;      /* light text */
  --muted: #9aa0aa;     /* grey text */
  --accent: #ff7a1a;    /* orange accent */
}

/* The whole page */
body {
  margin: 0;
  min-height: 100vh;            /* at least the full screen height */
  display: flex;                /* centre the card ... */
  align-items: center;          /* ... vertically */
  justify-content: center;      /* ... and horizontally */
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

/* The box in the middle */
.card {
  background: var(--panel);
  padding: 32px 40px;
  border-radius: 12px;
  text-align: center;
}

h1 {
  margin: 0 0 8px;
  color: var(--accent);
}

.tagline { color: var(--muted); margin: 0 0 20px; }

canvas {
  display: block;
  margin: 0 auto 20px;          /* centre the canvas, space below */
  background: #0f1013;
  border: 1px solid #333;
}

button {
  background: var(--accent);
  color: #111;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;              /* hand cursor on hover */
}

button:hover { filter: brightness(1.15); }   /* lighter when mouse is over it */

.message { color: var(--muted); font-size: 14px; }
