:root {
  --gold: #d8ab4e;
  --velvet: #4a0f14;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #1a1310, #05040a 75%);
  color: #f3e6c9;
  font-family: "Segoe UI", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

header {
  text-align: center;
  margin: 1.5rem 0 0.5rem;
}

h1 {
  font-size: 2.2rem;
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 0 #000, 0 0 18px rgba(216, 171, 78, 0.4);
}

#phase-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  min-height: 1.4em;
  transition: transform 0.15s;
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

canvas {
  max-width: 100%;
  width: 800px;
  height: auto;
  background: #000;
  border-radius: 0.8rem;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7), 0 0 0 2px var(--gold);
}

footer {
  margin: 1rem 0 2rem;
  font-size: 0.85rem;
  opacity: 0.65;
  text-align: center;
  max-width: 32rem;
  padding: 0 1rem;
}
