/* Bike Runner — strict palette */
:root {
  --primary: #FDB433;   /* ground, score, highlights */
  --secondary: #333333; /* background, dark text */
  --accent: #337CFD;    /* bike frame, bird, jump effects */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background: var(--secondary);
  /* background: #222; */
  color: var(--primary);
  font-family: 'Courier New', Courier, monospace;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

#stage {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header {
  text-transform: uppercase;
  position: absolute;
  top: 15%;
  text-align: center;
}

#header h1 {
  /*color: #FDB433;*/
  opacity: 1;
}

#header p {
  color: #5f5f5f;
  opacity: 0.8;
}

#game {
  display: block;
  width: min(960px, 100%);
  height: 280px;
  background: var(--secondary);
  cursor: pointer;
  outline: none;
}

#footer {
  text-transform: uppercase;
  position: absolute;
  bottom: 13%;
  text-align: center;
}

#footer p {
  color: #5d5d5d;
  opacity: 0.8;
  margin-bottom: 1em;
}

#footer form input {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.5em 1em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

#footer form input:hover {
  background: var(--primary);
  color: var(--secondary);
}

#footer form input:active {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
}

#footer form input:disabled {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form input:disabled:hover {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form input:disabled:active {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form input:disabled:focus {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form input:disabled:focus:hover {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form input:disabled:focus:active {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form input:disabled:focus:active:hover {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form input:disabled:focus:active:hover {
  background: #555;
  color: #999;
  border-color: #555;
  cursor: not-allowed;
}

#footer form button {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.5em 1em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

#footer form button:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* #footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

#footer a:hover {
  text-decoration: underline;
} */
