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

body {
  font-family: 'Press Start 2P', cursive;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.container {
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  font-size: 14px;
}

.info-item {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  border-radius: 10px;
}

.info-item span:first-child {
  color: #FFD700;
}

canvas {
  background: #1a1a2e;
  border: 4px solid #FFD700;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: crosshair;
  display: block;
  margin: 0 auto;
}

.controls {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #FFD700;
}

.controls p {
  margin: 5px 0;
}

.btn {
  margin-top: 20px;
  padding: 15px 30px;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: #1a1a2e;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 3px solid #FFD700;
}

.modal h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.modal p {
  margin: 15px 0;
  font-size: 14px;
}

.modal span {
  color: #FFD700;
  font-weight: bold;
}

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }
  
  .game-info {
    font-size: 12px;
    gap: 20px;
  }
  
  .controls {
    font-size: 10px;
  }
  
  .btn {
    font-size: 10px;
    padding: 12px 24px;
  }
}
