* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  height: 100vh;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: url('galaxy-nature-aesthetic-background-starry-sky-mountain-remixed-media.jpg') no-repeat center center/cover;
  position: relative;
}

/* Dark overlay to dim background */
body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  transition: background 0.3s ease;
}

/* Dimmer overlay when inputs active */
body.dimmed::after {
  background: rgba(0, 0, 0, 0.85);
}

/* Weather widget */
#weather {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 1.2em;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Floating welcome clouds */
.cloud-welcome {
  position: absolute;
  top: 50px;
  left: -200px;
  font-size: 2rem;
  color: white;
  animation: cloudMove 5s ease-in-out forwards;
  z-index: 5;
}
@keyframes cloudMove {
  0% {
    left: -200px;
  }
  50% {
    left: 50%;
    transform: translateX(-50%);
  }
  100% {
    left: 120%;
  }
}

/* Particle container */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Login Box */
.login-box {
  position: relative;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(251, 249, 249, 0.5);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: transform 0.2s ease;
}
.login-box:hover {
  transform: translate(-50%, -50%) rotateX(3deg) rotateY(3deg);
}

/* Make LOGIN text white */
.login-box h2 {
  color: white;
}

/* Shimmer effect */
.login-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  animation: shimmer 10s infinite;
}
@keyframes shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

.user-box {
  position: relative;
  margin-bottom: 30px;
}
.user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: white;
  border: none;
  border-bottom: 1px solid white;
  outline: none;
  background: transparent;
}
.user-box label {
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  font-size: 16px;
  transition: 0.5s;
}
.user-box input:focus ~ label,
.user-box input:valid ~ label {
  top: -20px;
  font-size: 12px;
  color: #03e9f4;
}

/* Login Button */
.login-btn {
  display: inline-block;
  padding: 10px 20px;
  color: #03e9f4;
  border: 1px solid #03e9f4;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
}
.login-btn:hover {
  background: #03e9f4;
  color: #fff;
  box-shadow: 0 0 10px #03e9f4, 0 0 40px #03e9f4;
}

/* Social login icons */
.social-login {
  margin-top: 20px;
}
.social-login a {
  color: white;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: 0.3s;
}
.social-login a:hover {
  color: #03e9f4;
}

/* Curtain panel on left */
.curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 25vw;
  height: 100vh;
  background: linear-gradient(135deg, #03f4f40a, #021a2a95);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  user-select: none;
}

.curtain h1 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Simple robot character parts */
.robot-svg {
  width: 80px;             /* adjust size as you like */
  height: auto;
  animation: walkCycle 2s ease-in-out infinite;
  user-select: none;
  margin-top: 20px;
}

/* Optional: a subtle slip animation in the walk cycle */
@keyframes walkCycle {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(3deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-4px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}


