/* Page loader background */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Wrapper for rotating icons and text */
.loader-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

/* Text in center */
.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  text-align: center;
  z-index: 2;
}

.cyan {
  background: linear-gradient(90deg, cyan, #00ffff, #00aaff, cyan);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideText 2s linear infinite;
}

.white {
  color: white;
  animation: fadeWhite 2s ease-in-out infinite alternate;
}

/* Rotating icons */
.rotating-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 10s linear infinite;
  transform-origin: center;
  z-index: 1;
}

.rotating-ring i {
  position: absolute;
  font-size: 18px;
  color: #00ffcc;
}

/* Position icons around circle */
.rotating-ring i:nth-child(1)  { top: 0; left: 50%; transform: translateX(-50%); }
.rotating-ring i:nth-child(2)  { top: 20%; left: 85%; transform: translate(-50%, -50%); }
.rotating-ring i:nth-child(3)  { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.rotating-ring i:nth-child(4)  { top: 80%; left: 85%; transform: translate(-50%, -50%); }
.rotating-ring i:nth-child(5)  { top: 100%; left: 50%; transform: translate(-50%, -100%); }
.rotating-ring i:nth-child(6)  { top: 80%; left: 15%; transform: translate(-50%, -50%); }
.rotating-ring i:nth-child(7)  { top: 50%; left: 0%; transform: translate(-50%, -50%); }
.rotating-ring i:nth-child(8)  { top: 20%; left: 15%; transform: translate(-50%, -50%); }
.rotating-ring i:nth-child(9)  { top: 10%; left: 30%; transform: translate(-50%, -50%); }
.rotating-ring i:nth-child(10) { top: 10%; left: 70%; transform: translate(-50%, -50%); }

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideText {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

@keyframes fadeWhite {
  0% { opacity: 1; }
  100% { opacity: 0.6; }
}
