body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #f0fff0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#game-container {
  width: 90%;
  max-width: 500px;
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#mode-buttons {
  margin: 15px 0;
}

.mode-btn {
  padding: 10px 15px;
  margin: 5px;
  border: none;
  border-radius: 10px;
  background: #6ab04c;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.1s;
}
.mode-btn:hover {
  transform: scale(1.05);
}
.mode-btn.hard {
  background: #e74c3c;
}

#hud {
  margin: 10px 0;
  font-size: 1.2rem;
  font-weight: bold;
}

#field {
  width: 100%;
  height: 400px;
  background: #dff9fb;
  border: 2px solid #6ab04c;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.namul {
  width: 50px;
  height: 50px;
  position: absolute;
  cursor: pointer;
  transition: transform 0.2s;
}
.namul:hover {
  transform: scale(1.2);
}

#game-over {
  margin-top: 20px;
}
.hidden {
  display: none;
}

.game-button {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  color: #fff;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.game-button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #66bb6a, #388e3c);
}

.game-button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.game-over-button {
  display: inline-block;
  margin: 10px;
  padding: 12px 28px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  text-align: center;
}

#restart-btn {
  background: linear-gradient(135deg, #f06292, #c2185b);
}
#restart-btn:hover {
  background: linear-gradient(135deg, #f48fb1, #d81b60);
  transform: scale(1.05);
}
#restart-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.lobby-btn {
  background: linear-gradient(135deg, #64b5f6, #1565c0);
}
.lobby-btn:hover {
  background: linear-gradient(135deg, #90caf9, #1e88e5);
  transform: scale(1.05);
}
.lobby-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
