body {
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

html {
  min-height: 100vh !important;
  background: #222222;
  color: white;
}

h1 {
  color: #ff5e62;
  margin-top: 30px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

#score {
  font-size: 1.5em;
  color: white;
  margin-bottom: 20px;
}

#gameCanvas {
  background: #fff;
  border: 4px solid #ff5e62;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.2);
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 600px;
}

#touch-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}
.touch-row {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
#touch-controls button {
  background: #ffecd2;
  border: 2px solid #ff5e62;
  color: #355c7d;
  font-size: 2em;
  border-radius: 8px;
  margin: 4px 50px;
  width: 90px;
  height: 90px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.1);
  transition: background 0.2s;
}
#touch-controls button:active {
  background: #fcb69f;
}

#start-btn {
  display: block;
  margin: 16px auto 8px auto;
  padding: 12px 32px;
  font-size: 1.5em;
  background: #ff5e62;
  color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.1);
  cursor: pointer;
  transition: background 0.2s;
}
#start-btn:active {
  background: #fcb69f;
}

@media (max-width: 800px) {
  html {
    zoom: 0.65;
  }
  html, body {
    background: gray;
  }
}

@media (min-width: 900px) {
  html {
    zoom: 67%;
  }
}