* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100vh;
  overflow: hidden;
  font-family: "Space Grotesk", sans-serif;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.logo-container {
  animation: fadeInUp 1s ease-out;
  text-align: center;
  width: 100%;
}

.logo {
  max-width: 300px;
  width: 80vw;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.text-container {
  text-align: center;
}

.coming-soon-text {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  color: #ffffff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.typewriter {
  display: inline-block;
}

.dots {
  display: inline-flex;
  gap: 0.2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dots.animate {
  opacity: 1;
}

.dot {
  display: inline-block;
  font-size: 1.2em;
  animation: bounce 1.5s infinite;
}

.dot1 {
  animation-delay: 0s;
}

.dot2 {
  animation-delay: 0.3s;
}

.dot3 {
  animation-delay: 0.6s;
}

.loading-container {
  margin-top: 3rem;
  width: 300px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2s both;
  display: flex;
  justify-content: center;
}

.loader {
  width: 100%;
  border-radius: 10px;
  border: 4px solid transparent;
  position: relative;
  padding: 1px;
}

.loader:before {
  content: "";
  border: 1px solid #fff;
  border-radius: 10px;
  position: absolute;
  top: -4px;
  right: -4px;
  bottom: -4px;
  left: -4px;
}

.loader .loaderBar {
  position: absolute;
  border-radius: 10px;
  top: 0;
  right: 100%;
  bottom: 0;
  left: 0;
  background: #fff;
  width: 0;
  animation: borealisBar 2s linear infinite;
}

@keyframes borealisBar {
  0% {
    left: 0%;
    right: 100%;
    width: 0%;
  }
  10% {
    left: 0%;
    right: 75%;
    width: 25%;
  }
  90% {
    right: 0%;
    left: 75%;
    width: 25%;
  }
  100% {
    left: 100%;
    right: 0%;
    width: 0%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  40% {
    transform: translateY(-10px);
    opacity: 1;
  }
  60% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .logo {
    max-width: 250px;
  }

  .coming-soon-text {
    font-size: clamp(1.5rem, 8vw, 3rem);
    letter-spacing: 0.05em;
  }

  .logo-container {
    margin-bottom: 2rem;
  }

  .loading-container {
    width: 250px;
    bottom: 15%;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 1rem;
  }

  .logo {
    max-width: 180px;
  }

  .coming-soon-text {
    font-size: clamp(1.2rem, 10vw, 2.5rem);
    gap: 0.3rem;
  }

  .logo-container {
    margin-bottom: 1.5rem;
  }

  .loading-container {
    width: 200px;
    margin-top: 1.5rem;
  }

  .text-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dot {
    font-size: 1em;
  }
}
