* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  user-select: none;
}

body {
  margin: 0;
  background: #6dbf5a;
}

/* ===== TOP BAR ===== */
#topBar {
  height: 50px;
  background: #3e7d3a;
  color: white;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  font-size: 18px;
}

/* ===== GAME LAYOUT ===== */
#gameContainer {
  display: flex;
  height: calc(100vh - 50px);
}

/* ===== MAP ===== */
#mapArea {
  flex: 1;
  background: #79c56a;
  border-right: 4px solid #3e7d3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(0,0,0,0.3);
}

/* ===== UPGRADE PANEL ===== */
#upgradePanel {
  width: 320px;
  background: #e6cfa3;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

#upgradeTitle {
  text-align: center;
  font-weight: bold;
  background: #caa56a;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

#selectedTower {
  background: #f5e7c6;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
}

/* ===== UPGRADE PATHS ===== */
.upgradePath {
  background: #d8b77c;
  padding: 6px;
  margin-bottom: 8px;
  border-radius: 8px;
}

.upgradePath p {
  margin: 4px 0;
  font-weight: bold;
  text-align: center;
}

.upgradePath button {
  width: 100%;
  padding: 6px;
  margin: 3px 0;
  border: none;
  border-radius: 6px;
  background: #8c6b3f;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.upgradePath button:disabled {
  background: #555;
  cursor: not-allowed;
}

/* ===== BOTTOM CONTROLS ===== */
#bottomControls {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
}

#bottomControls button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  border: none;
  background: #ffd84d;
  cursor: pointer;
}

#bottomControls button:hover {
  transform: scale(1.05);
}
