/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #1a1a2e, #162447, #1b1b2f, #0f0f1a);
  background-size: cover;
  overflow: hidden;
}

#starCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* Content container */
.content {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Logo container */
#logoContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}

/* Logo parts styling with positioning */
.logo-part {
  position: absolute;
  opacity: 0; /* Initially hidden */
  transition: all 1s ease;
  width: 100%;
}

#logoBackground {
  top: 0;
  left: 0;
  width: 100%;
}

#logoIceberg {
  top: 130px;
  left: 65px;
  width: 50%;
}

#logoStars {
  top: 45px;
  left: 80px;
  width: 38%;
}

#logoText {
  bottom: -120px;
  left: 0px;
  width: 100%;
}

/* Slogan styling */
.slogan {
  font-size: 1.6rem;
  background: linear-gradient(to right, #5A4FCF, #c0c0c0, #1962aa);
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0; /* Initially hidden */
  margin-top: 150px;
  transition: opacity 1s ease;
}

/* Coming Soon text styling */
.coming-soon {
  font-size: 2.2rem;
  background: linear-gradient(to right, #5A4FCF, #c0c0c0, #1962aa);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
  margin-top: 50px;
}

/* Media Query for smaller screens */
@media (max-width: 600px) {
  #logoContainer {
    width: 200px;
    height: 200px;
  }

  #logoIceberg {
    top: 100px;
    left: 50px;
    width: 50%;
  }

  #logoStars {
    top: 35px;
    left: 60px;
    width: 38%;
  }

  #logoText {
    bottom: -90px;
    left: 0;
    width: 100%;
  }

  .slogan {
    font-size: 1rem;
    margin-top: 100px;
  }

  .coming-soon {
    font-size: 2rem;
    margin-top: 30px;
  }
}

/* Media Query for very small screens */
@media (max-width: 400px) {
  #logoContainer {
    width: 150px;
    height: 150px;
  }

  #logoIceberg {
    top: 75px;
    left: 40px;
    width: 50%;
  }

  #logoStars {
    top: 25px;
    left: 45px;
    width: 38%;
  }

  #logoText {
    bottom: -70px;
    left: 0;
    width: 100%;
  }

  .slogan {
    font-size: 0.9rem;
    margin-top: 80px;
  }

  .coming-soon {
    font-size: 1.8rem;
    margin-top: 20px;
  }
}
