* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar h1 {
  color: white;
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.game-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.game-wrapper {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

#gameCanvas {
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background: #87ceeb;
}

.game-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.controls {
  text-align: center;
  margin-top: 1rem;
  color: white;
  font-size: 0.9rem;
}

.footer {
  background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
  padding: 1rem;
  text-align: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.game-over,
.game-win {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  font-size: 1.5rem;
  display: none;
  z-index: 1000;
}

.game-win {
  background: rgba(0, 128, 0, 0.9);
}

button {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: transform 0.2s;
}

button:hover {
  transform: scale(1.05);
}
