/* Background */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
 background: linear-gradient(135deg, #080010, #0C041B, #15000B);
  font-family: Arial, sans-serif;
  color: #fff;
}

/* Container */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

/* Make particles cover whole page */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Send behind content */
}

/* Login box */
.login-box {
  display: flex;
  width: 900px;
  max-width: 100%;
  min-height: 500px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #150022, #0c0017);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
  transition: 0.3s;
  flex-wrap: wrap;
}

.logintitle{
	 text-align: center;
}

.login-box:hover {
  box-shadow: 0 0 40px rgba(255, 0, 255, 0.6);
  transform: scale(1.02);
}

/* Left side */
.login-left {
  flex: 1;
  padding: 60px;
  min-width: 300px;
}

.login-left h2 {
  margin-bottom: 25px;
  font-size: 28px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #1a0028;
  color: #fff;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
}

.input-group input:focus {
  box-shadow: 0 0 14px #ff00ff;
}

/* Button */
.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff00ff, #ff33cc);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  box-shadow: 0 0 20px #ff00ff;
  transform: translateY(-3px);
}

/* Sign up */
.signup-text {
  margin-top: 20px;
  font-size: 1em;
}

.signup-text a {
  color: #ff33cc;
  text-decoration: none;
}

.signup-text a:hover {
  text-shadow: 0 0 12px #ff00ff;
}

/* Right side */
.login-right {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(135deg, #660066, #660066, #660066);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px;
}

/* Glowing Welcome text */
.welcome-text {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 15px #ffffff, 0 0 30px rgba(255, 255, 255, 0.8);
}

/* Social login buttons */
.social-login {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 80%;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.social-btn img.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.login-left form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* space between inputs and button */
}

.input-group input,
.btn {
  width: 100%;
  box-sizing: border-box; /* includes padding and border in width */
}

/* Optional: make social buttons same width as inputs */
.mobile-social-placeholder .social-btn,
.login-right .social-login .social-btn {
  width: 100%;
  box-sizing: border-box;
}

/* Google button */
.google-btn {
  background: linear-gradient(135deg, #150022, #150022);
}
.google-btn:hover {
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
}

/* Discord button */
.discord-btn {
  background: linear-gradient(135deg, #5865f2, #404eed);
}
.discord-btn:hover {
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
}

.cyberpunk-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #9b59b6; /* purple border */
  border-radius: 5px;
  background-color: transparent;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  cursor: pointer;
}

.cyberpunk-checkbox:before {
  content: "";
  background-color: #9b59b6; /* purple fill when checked */
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.cyberpunk-checkbox:checked:before {
  transform: translate(-50%, -50%) scale(1);
}

.cyberpunk-checkbox-label {
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}


/* Responsive design */
/* Keep all your existing desktop styles unchanged */

/* Responsive adjustments for tablets/phones */
/* Responsive for phones */
@media (max-width: 819px) {
  /* Hide right side box */
  
  .social-login {
	 padding-left: 10%;
  }
  
  .input-group input,
  .btn,
  .mobile-social-placeholder .social-btn {
    font-size: 14px;
    padding: 12px;
  }
  
  
  .login-right {
    display: none;
  }

  /* Make placeholder flexible */
  .mobile-social-placeholder {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .login-left {
    width: 100%;
    padding: 40px 20px;
  }

  .input-group input, .btn, .social-btn {
    width: 100%;
  }
  
  .login-box {
  display: flex;
  width: 900px;
  max-width: 100%;
  min-height: 500px;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
 box-shadow: 0 0 0px rgba(255, 0, 255, 0.6);
  transition: 0.3s;
  flex-wrap: wrap;
}

.login-box:hover {
  box-shadow: 0 0 0px rgba(255, 0, 255, 0.6);
  transform: scale(1.00);
}

}

