/* ✅ Balloons: same as original */
.draggable {
  width: 200px;
  height: 200px;
  background: no-repeat center center;
  background-size: contain;
  position: absolute;          /* free placement */
  cursor: grab;
  transition: transform 0.3s;
  z-index: 10;
  touch-action: none;
}




.draggable.shake {
  animation: shake 0.3s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* ✅ Drop zones: aligned at bottom (like baskets) */
#drop-zone-container {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;              /* ✅ Allow wrapping into rows */
  justify-content: center;
  gap: 20px;
  overflow-x: auto;             /* ✅ Enable scroll if needed */
  z-index: 20;
  max-height: 40vh; 
  overflow-y: auto;
}


.drop-zone {
  width: 200px;
  height: 120px;
  border: 2px dashed transparent;
  border-radius: 12px;
  background: url('../../assets/balloons/basket.png') no-repeat center center;
  background-size: contain;
  position: relative;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  backdrop-filter: blur(2px);
}

.zone-label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

.zone-label-image {
  position: absolute;
  top: -30px;
  width: 40px;
  height: 40px;
}


/* ✅ Celebration overlay */
#celebration-screen {
  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;
  color: #fff;
  font-size: 36px;
  z-index: 9999;
}

.hidden { display: none; }


.drop-zone .draggable {
  position: relative !important;
  width: 60px;
  height: 60px;
  margin: 3px;
  display: inline-block;
}


.shake { animation: shake 0.3s; }
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}


#celebration-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;               /* ✅ Hidden by default */
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 40px;
  z-index: 10000;
}
#celebration-screen.active {    /* ✅ Visible only when active */
  display: flex;
}


.drop-zone {
  width: 150px;
  height: 150px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}


.drop-zone:hover {
  transform: scale(1.1);
}

.zone-label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

.zone-counter {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background: white;
  padding: 2px 8px;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
