@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

.game-body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 100px);
  width: 100%;
  position: relative;
}

#game-canvas {
  image-rendering: pixelated;
  border: 4px solid #fff;
  background-color: #222;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  max-width: 90vw;
  max-height: 80vh;
}

.hud {
  position: absolute;
  top: 10px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  font-size: 14px;
  pointer-events: none;
}

.game-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  padding: 40px;
  border: 4px solid #f0f;
  text-align: center;
  z-index: 10;
  min-width: 300px;
}

.game-over-overlay {
  border-color: #f00;
}

.spinning-cat {
  display: inline-block;
  font-size: 50px;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.5); }
  to { transform: rotate(360deg) scale(1); }
}

.game-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-family: 'Press Start 2P', cursive;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.1s;
}

.game-btn:hover {
  background: #f0f;
  color: #fff;
}

.blink {
  animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

.power-up-text {
  color: #0f0;
}
