* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: black;
}

/* Background Canvas */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #0ff, #ff00c8, #002BFF);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -3;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===========================
   PERFECT RESPONSIVE NAVBAR
   =========================== */

#Navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  border: 1px solid white;
  border-radius: 30px;
  height: 55px;
  width: 97%;
  max-width: 1310px;

  padding: 0 25px;
  margin: 15px auto;

  position: fixed;
  top: 1px;
  left: 50%;               /* FIX */
  transform: translateX(-50%); /* FIX */

  z-index: 1000;
  transition: 0.35s ease;
}

#Navbar.shrink {
  height: 50px;
  width: 90%;
  backdrop-filter: blur(6px);
}

/* Branding */
#divclass1 {
  display: flex;
  align-items: center;
  gap: 5px;
}

#h3id1 { 
  color: cyan; 
  font-size: 22px;
}

#h3id2 { 
  color: magenta; 
  font-size: 22px;
}

/* Center Menu */
#divclass2 {
  display: flex;
  align-items: center;
  gap: 25px;
}

#Navbar a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

#Navbar a:hover {
  color: cyan;
}

/* Right Buttons */
#divclass3 {
  display: flex;
  align-items: center;
  gap: 15px;
}

#buttonid1 {
  background: white;
  border: none;
  border-radius: 30px;
  height: 32px;
  width: 80px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
  font-weight: 600;
}

#buttonid1:hover {
  background: cyan;
}

/* ==================================
   TABLETS (max-width 900px)
   ================================== */
@media (max-width: 900px) {

  #Navbar {
    padding: 0 15px;
    gap: 10px;
  }

  #divclass2 {
    gap: 15px;
  }

  #Navbar a {
    font-size: 15px;
  }

  #buttonid1 {
    width: 75px;
    height: 30px;
    font-size: 13px;
  }
}

/* ==================================
   SMALL PHONES (max-width 600px)
   ================================== */
@media (max-width: 600px) {

  #Navbar {
    padding: 0 12px;
    height: 50px;
  }

  #h3id1, 
  #h3id2 {
    font-size: 18px;
  }

  #divclass2 {
    gap: 12px;
  }

  #Navbar a {
    font-size: 13px;
  }

  #buttonid1 {
    width: 70px;
    height: 28px;
    font-size: 12px;
  }
}

/* ==================================
   VERY SMALL PHONES (max-width 400px)
   ================================== */
@media (max-width: 400px) {

  #Navbar {
    padding: 0 10px;
    height: 48px;
  }

  #divclass2 {
    gap: 8px;
  }

  #Navbar a {
    font-size: 12px;
  }

  #h3id1, #h3id2 {
    font-size: 17px;
  }

  #buttonid1 {
    width: 65px;
    height: 26px;
    font-size: 11px;
  }
}

/* ================================
   MOBILE MENU BUTTON
   ================================ */

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s ease;
}

/* Hide center menu on mobile */
@media (max-width: 600px) {
  
  .menu-btn {
    display: flex;
  }

  #divclass2 {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(30px);
    width: 100%;
    position: absolute;
    top: 55px;
    left: 0;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  #divclass2.active {
    display: flex;
  }

  /* Animation for X icon */
  .menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* LOGIN FORM */

.login-section {
  width: 100%;
  padding-top: 150px;
  text-align: center;
  color: white;
}
.login-section h1 {
  font-size: 45px;
  margin-bottom: 40px;
}
.login-form {
  width: 90%;
  max-width: 450px;
  margin: auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.input-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 20px;
}
.input-box label {
  margin-bottom: 6px;
  font-size: 15px;
  opacity: 0.8;
}
.input-box input {
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: white;
  font-size: 15px;
}

.login-btn {
  margin-top: 10px;
  width: 100%;
  width: 200px;
  height: 45px;
  border: none;
  border-radius: 12px;
  background: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.login-btn:hover {
  background: cyan;
}

.login-link {
  margin-top: 15px;
  color: #ddd;
}

.login-link a {
  color: cyan;
  text-decoration: none;
  font-weight: bold;
}