body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(circle at top, #243b6b, #04091f);
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: white;
}

.hidden {
  display: none !important;
}


#start-screen, #end-screen {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #1b2e59, #04091f);
  z-index: 10;
}

.hidden { display: none; }

.start-box, .end-box {
  background: rgba(0,0,0,0.55);
  padding: 26px 30px;
  width: 90%;
  max-width: 340px;
  text-align: center;
  border-radius: 20px;
}

.floating-santa {
  font-size: 60px;
  animation: floatSanta 3s ease-in-out infinite;
}

@keyframes floatSanta {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.snow {
  position: absolute;
  inset: 0;
  background-image: url("https://cdn-icons-png.flaticon.com/512/1464/1464809.png");
  opacity: 0.4;
  animation: snowFall 12s linear infinite;
  pointer-events: none;
}

@keyframes snowFall {
  0% { background-position: 0 0; }
  100% { background-position: 0 600px; }
}

#start-btn {
  margin-top: 15px;
  background: linear-gradient(45deg, #ff2466, #ff6f91);
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 16px;
  color: white;
  cursor: pointer;
}

#map-screen {
  position: fixed;
  inset: 0;
}

#map {
  width: 100%;
  height: 100%;
}

#hud {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
}

#timer, #status {
  background: rgba(0,0,0,0.6);
  padding: 8px 14px;
  border-radius: 999px;
}
