body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #f7f3e9, #d9c9a3);
  color: #3b2f2f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 3rem;
  margin: 30px 0;
  text-shadow: 2px 2px #d2b48c;
}

#game-container {
  display: flex;
  width: 90%;
  justify-content: center;
  align-items: flex-start;
}

#click-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ore-count {
  font-size: 2rem;
  margin-bottom: 20px;
  padding: 15px 25px;
  background: #fff9e6;
  border-radius: 15px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  position: relative;
  overflow: visible;
}

#mine-btn {
  width: 150px;
  height: 150px;
  cursor: pointer;
  transition: transform 0.1s;
}

#mine-btn:hover {
  transform: scale(1.05) rotate(-5deg);
}

#mine-btn:active {
  transform: scale(0.95) rotate(5deg);
}

#upgrades-area {
  flex: 1;
  margin-left: 50px;
}

#upgrades-area h2 {
  font-size: 1.8rem;
  text-shadow: 1px 1px #d2b48c;
  margin-top: 20px;
  margin-bottom: 10px;
}

#click-upgrades button,
#auto-upgrades button {
  font-size: 1.1rem;
  padding: 10px 20px;
  margin: 8px 0;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to bottom, #7e5e3e, #a87f52);
  color: white;
  font-weight: bold;
  box-shadow: 0 3px #5a3f28;
  transition: transform 0.1s, background 0.2s, box-shadow 0.1s;
}

#click-upgrades button:hover,
#auto-upgrades button:hover {
  background: linear-gradient(to bottom, #a87f52, #c49e7c);
  transform: scale(1.05);
}

#click-upgrades button:active,
#auto-upgrades button:active {
  transform: scale(0.95);
  box-shadow: 0 2px #5a3f28;
}

.floating-text {
  position: absolute;
  font-weight: bold;
  color: #e8a03f;
  animation: floatUp 1s ease-out forwards;
  pointer-events: none;
}

@keyframes floatUp {
  0% { opacity: 1; transform: translateY(0px); }
  100% { opacity: 0; transform: translateY(-50px); }
}
