body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  text-align: center;
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

.container {
  padding-top: 80px;
}

.inputs {
  margin: 20px 0;
}

input, button {
  padding: 10px 14px;
  margin: 5px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

button {
  background-color: #f9a825;
  color: #222;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #ffeb3b;
}

#timerDisplay {
  font-size: 2.3rem;
  margin-top: 20px;
}

#earningDisplay {
  font-size: 1.6rem;
  margin-top: 10px;
}

/* Gold animation */
#goldContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.gold {
  position: absolute;
  top: -50px;
  width: 30px;
  height: 30px;
  background-image: radial-gradient(circle at 30% 30%, #ffd700, #f9a825, #ffb300);
  border-radius: 50%;
  animation: fall linear forwards;
  opacity: 0.9;
}

@keyframes fall {
  0% { transform: translateY(-60px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* Theme Store */
#themeStoreBtn {
  margin-top: 30px;
  cursor: pointer;
  background-color: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
}

#themeStoreBtn:hover {
  background-color: rgba(255,255,255,0.25);
}

/* Modal */
#themeModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.theme-modal-content {
  background: #222;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
}

.hidden { display: none;
    opacity: 0;
    pointer-events: none; }

.themes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 15px;
}

.theme {
  width: 45%;
  padding: 10px;
  background-color: #444;
  border-radius: 10px;
  margin: 5px;
  cursor: pointer;
}

.theme:hover {
  background-color: #666;
}

.theme.locked {
  opacity: 0.5;
  cursor: not-allowed;
}
