
/* preloader */
#stc-preloader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  font-family: 'Rajdhani', sans-serif;
}

/* existing styles unchanged */
.preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
}

.logo-wrap svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* animations */
.part-gray {
  animation:
    slideInLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both,
    pulseLogo 2.8s ease-in-out 1.4s infinite,
    bounceLeft 4s linear 2s infinite;
}

.part-red {
  animation:
    slideInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both,
    pulseLogo 2.8s ease-in-out 1.4s infinite,
    bounceRight 4s linear 2s infinite;
}

.glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: glowBurst 0.6s ease-out 1.05s both;
  background: radial-gradient(circle, rgba(206, 17, 24, 0.28) 0%, transparent 70%);
}

/* keep all your keyframes exactly as-is */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
  }
}

@keyframes pulseLogo {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.15);
  }
}

@keyframes bounceLeft {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(5px);
  }

  75% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes bounceRight {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-5px);
  }

  75% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0);
  }
}

/* loading text */
.loading-text {
  margin-top: 15px;
  color: #b0b0b0;
  letter-spacing: 0.2em;
}

.progress-track {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #727376, #CE1118);
  animation: progressRun 3s ease infinite;
}

@keyframes progressRun {
  0% {
    width: 0;
  }

  80% {
    width: 100%;
  }

  100% {
    width: 100%;
    opacity: 0;
  }
}
