/* Loading overlay styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 24, 31, 0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Tower bounce animation */
@keyframes tower-bounce {
  0%, 100% { transform: scaleY(0.6); opacity: 0.7; }
  40% { transform: scaleY(1.2); opacity: 1; }
  60% { transform: scaleY(0.9); opacity: 0.85; }
}

.tower-bar {
  display: inline-block;
  width: 10px;
  margin: 0 3px;
  border-radius: 0;
  background: linear-gradient(180deg, #bae6fd 0%, #c7d2fe 100%);
  box-shadow: 0 2px 8px #bae6fd44, 0 0 2px #c7d2fe;
  animation: tower-bounce 1.2s infinite;
}

.tower-bar:nth-child(1) { height: 18px; animation-delay: 0s; }
.tower-bar:nth-child(2) { height: 26px; animation-delay: 0.12s; }
.tower-bar:nth-child(3) { height: 34px; animation-delay: 0.24s; }
.tower-bar:nth-child(4) { height: 42px; animation-delay: 0.36s; }
.tower-bar:nth-child(5) { height: 50px; animation-delay: 0.48s; }

.loading-text {
  margin-top: 10px;
  font-size: 16px;
  color: #bae6fd;
}