/* BST Loader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

.bst-loader {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bst-letters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.bst-letter {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  animation: bstBounce 1.5s ease-in-out infinite;
  font-family: 'Arial', sans-serif;
  letter-spacing: 5px;
}

.bst-letter:nth-child(1) {
  animation-delay: 0s;
}

.bst-letter:nth-child(2) {
  animation-delay: 0.3s;
}

.bst-letter:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bstBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.8;
  }
}

.bst-tagline {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 2s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.bst-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: bstSpin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes bstSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bst-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.bst-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #e0e0e0, #ffffff);
  border-radius: 2px;
  animation: bstProgress 2s ease-in-out infinite;
}

@keyframes bstProgress {
  0% {
    width: 0%;
    transform: translateX(-100%);
  }
  50% {
    width: 100%;
    transform: translateX(0%);
  }
  100% {
    width: 100%;
    transform: translateX(100%);
  }
}

.bst-dots {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.bst-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: bstPulse 1.5s ease-in-out infinite;
}

.bst-dot:nth-child(1) {
  animation-delay: 0s;
}

.bst-dot:nth-child(2) {
  animation-delay: 0.3s;
}

.bst-dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bstPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Fade out animation for preloader */
.preloader-fade-out {
  animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .bst-letter {
    font-size: 3rem;
  }
  
  .bst-tagline {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .bst-progress {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .bst-letter {
    font-size: 2.5rem;
  }
  
  .bst-letters {
    gap: 10px;
  }
  
  .bst-tagline {
    font-size: 0.9rem;
  }
} 