html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: black;
}

#c {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tektur */
@font-face {
  font-family: 'Tektur-Regular';
  src: url('/assets/fonts/Tektur/Tektur-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Tektur-Medium';
  src: url('/assets/fonts/Tektur/Tektur-Medium.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* initial loader */
#initial-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  transition: opacity 0.5s ease-out;
}

.loading-container {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.space-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.star {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  animation: twinkle 4s infinite;
}

.initial-loader-content {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.orbit-system {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 30px;
  z-index: 1;
}

.orbit-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: rotate 8s linear infinite;
}

.planet-container {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.planet {
  position: absolute;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 30% 30%,
      #38bdf8 0%,
      #1e40af 50%,
      #0c4a6e 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.earth-svg {
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.fil1 {
  fill: #81c784;
}

.fil3 {
  fill: #74b377;
}

.moon {
  position: absolute;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at 65% 35%,
      #f1f5f9 30%,
      #94a3b8 60%,
      #64748b 100%);
  border-radius: 50%;
  top: 0;
  left: 70%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.moon::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(100, 116, 139, 0.4);
  border-radius: 50%;
  top: 30%;
  left: 20%;
}

.moon::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(100, 116, 139, 0.4);
  border-radius: 50%;
  top: 60%;
  left: 50%;
}

.loading-title {
  color: transparent;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  margin: 0 0 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
  background: linear-gradient(90deg, #fff, #38bdf8);
  background-clip: text;
  -webkit-background-clip: text;
}

.progress-container {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin: 10px 0;
  z-index: 1;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0c4a6e, #38bdf8);
  border-radius: 2px;
  animation: progress 2s ease-in-out infinite;
}

.progress-glow {
  position: absolute;
  top: 0;
  height: 100%;
  width: 10px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.8), transparent);
  filter: blur(3px);
  transform: translateX(-50%);
}

.status-text {
  color: #38bdf8;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  margin: 10px 0;
  z-index: 1;
}

.loading-message {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  margin-top: 5px;
  z-index: 1;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.6;
  }
}

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

  to {
    transform: rotate(360deg);
  }
}

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

  50% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}