.lux-loader-container {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.search-loader {
  z-index: 9999;
}

.lux-clouds {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lux-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  opacity: 0.6;
  animation: lux-float 20s infinite linear;
}

.lux-cloud:before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
}

.lux-cloud:after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
}

.lux-cloud1 {
  width: 100px;
  height: 40px;
  top: 20%;
  left: -100px;
  animation-duration: 25s;
}

.lux-cloud1:before {
  width: 50px;
  height: 50px;
  top: -25px;
  left: 10px;
}

.lux-cloud1:after {
  width: 60px;
  height: 40px;
  top: -15px;
  right: 10px;
}

.lux-cloud2 {
  width: 80px;
  height: 30px;
  top: 40%;
  left: -80px;
  animation-duration: 30s;
  animation-delay: -10s;
}

.lux-cloud2:before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 15px;
}

.lux-cloud2:after {
  width: 50px;
  height: 30px;
  top: -10px;
  right: 15px;
}

.lux-cloud3 {
  width: 120px;
  height: 50px;
  top: 70%;
  left: -120px;
  animation-duration: 35s;
  animation-delay: -20s;
}

.lux-cloud3:before {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 20px;
}

.lux-cloud3:after {
  width: 70px;
  height: 50px;
  top: -20px;
  right: 20px;
}

.lux-cloud4 {
  width: 90px;
  height: 35px;
  top: 10%;
  left: -90px;
  animation-duration: 28s;
  animation-delay: -5s;
}

.lux-cloud4:before {
  width: 45px;
  height: 45px;
  top: -22px;
  left: 12px;
}

.lux-cloud4:after {
  width: 55px;
  height: 35px;
  top: -12px;
  right: 12px;
}

.lux-cloud5 {
  width: 110px;
  height: 45px;
  top: 60%;
  left: -110px;
  animation-duration: 40s;
  animation-delay: -15s;
}

.lux-cloud5:before {
  width: 55px;
  height: 55px;
  top: -27px;
  left: 18px;
}

.lux-cloud5:after {
  width: 65px;
  height: 45px;
  top: -17px;
  right: 18px;
}

.lux-cloud6 {
  width: 75px;
  height: 30px;
  top: 85%;
  left: -75px;
  animation-duration: 32s;
  animation-delay: -8s;
}

.lux-cloud6:before {
  width: 37px;
  height: 37px;
  top: -18px;
  left: 10px;
}

.lux-cloud6:after {
  width: 47px;
  height: 30px;
  top: -8px;
  right: 10px;
}

.lux-cloud7 {
  width: 95px;
  height: 38px;
  top: 30%;
  left: -95px;
  animation-duration: 26s;
  animation-delay: -12s;
}

.lux-cloud7:before {
  width: 47px;
  height: 47px;
  top: -23px;
  left: 14px;
}

.lux-cloud7:after {
  width: 57px;
  height: 38px;
  top: -13px;
  right: 14px;
}

.lux-cloud8 {
  width: 85px;
  height: 32px;
  top: 50%;
  left: -85px;
  animation-duration: 38s;
  animation-delay: -18s;
}

.lux-cloud8:before {
  width: 42px;
  height: 42px;
  top: -20px;
  left: 11px;
}

.lux-cloud8:after {
  width: 52px;
  height: 32px;
  top: -10px;
  right: 11px;
}

@keyframes lux-float {
  0% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(calc(100vw + 100px));
  }
}

.lux-airplane-container {
  position: relative;
}

.lux-airplane {
  width: 400px;
  position: relative;
  animation: lux-fly 2s ease-in-out infinite alternate;
}

.lux-airplane img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes lux-fly {
  0% {
    transform: translateY(0px) rotate(-2deg);
  }
  100% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.lux-progress-container {
  width: 90%;
  max-width: 400px;
  margin: 2rem 0;
  position: relative;
}

.lux-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lux-progress-fill {
  height: 100%;
  background: var(--tg-theme-primary);
  border-radius: 10px;
  transition: width 0.1s ease;
  box-shadow: 0 2px 8px var(--tg-theme-primary);
}

.lux-percentage {
  text-align: center;
  margin-top: 1rem;
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lux-loading-text {
  text-align: center;
  color: white;
  font-size: 1.5rem;
  margin-top: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lux-search-info {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-top: 2rem;
  line-height: 1.5;
}

.lux-dots {
  display: inline-block;
  animation: lux-typing 1.5s infinite;
}

@keyframes lux-typing {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .lux-airplane {
    width: 250px;
  }

  .lux-percentage {
    font-size: 2rem;
  }

  .lux-loading-text {
    font-size: 1.2rem;
  }

  .lux-search-info {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  .lux-progress-container {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .lux-airplane {
    width: 250px;
  }

  .lux-percentage {
    font-size: 1.8rem;
  }

  .lux-loading-text {
    font-size: 1rem;
  }

  .lux-search-info {
    font-size: 0.8rem;
  }
}

.lux-fade-out {
  animation: lux-fadeOut 0.5s ease-out forwards;
}

@keyframes lux-fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
