/* ========================================================
   Executive Global Loader - Thawra International Trade
   ======================================================== */

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
  background: radial-gradient(circle at center, #121722 0%, #06070a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s ease, transform 0.8s ease;
}

.loader-container.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-container .circie {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 10px;
}

.loader-container .circie span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(calc(18deg * var(--i)));
}

.loader-container .circie span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4b04d, #fff1a3);
  box-shadow: 0 0 10px #e4b04d, 0 0 20px #e4b04d, 0 0 30px #9a5916;
  transform: scale(0.15);
  animation: goldLoaderPulse 1.8s linear infinite;
  animation-delay: calc(0.08s * var(--i));
}

.loader-container .circie:nth-child(2) span::before {
  animation-direction: reverse;
}

@keyframes goldLoaderPulse {
  0% {
    transform: scale(1.1);
    opacity: 1;
  }
  80%, 100% {
    transform: scale(0.1);
    opacity: 0.15;
  }
}
